diff --git a/data/data.go b/data/data.go index 7f99bb4..1c8df1d 100644 --- a/data/data.go +++ b/data/data.go @@ -35,7 +35,7 @@ var ( // IsPrimary i.e. Is Primary Node IsPrimary bool // Version of JANUSEC - Version = "1.4.0" + Version = "1.4.1" ) // InitConfig init Data Access Layer diff --git a/data/setting.go b/data/setting.go index fd4cfcc..6a76cc3 100644 --- a/data/setting.go +++ b/data/setting.go @@ -30,7 +30,6 @@ var ( 403 Forbidden - +

JANUSEC

@@ -66,6 +65,58 @@ var ( ` + + shieldHTML string = ` + + + Checking + + + +
+

JANUSEC

+
+

+ Checking your browser, please wait 5 seconds ... +

+
+ + + ` ) // UpdateBackendLastModified ... @@ -144,6 +195,10 @@ func InitDefaultSettings() { if !DAL.ExistsSetting("block_html") { _ = DAL.SaveStringSetting("block_html", blockHTML) } + if !DAL.ExistsSetting("shield_html") { + // v1.4.1 added + _ = DAL.SaveStringSetting("shield_html", shieldHTML) + } // SMTP shared with PrimarySetting if !DAL.ExistsSetting("smtp_enabled") { @@ -313,6 +368,7 @@ func LoadSettings() { PrimarySetting.SearchEngines = DAL.SelectStringSetting("search_engines") PrimarySetting.WebSSHEnabled = DAL.SelectBoolSetting("webssh_enabled") PrimarySetting.BlockHTML = DAL.SelectStringSetting("block_html") + PrimarySetting.ShieldHTML = DAL.SelectStringSetting("shield_html") // v1.4.1 added // v1.2.0 add SMTP smtpSetting := &models.SMTPSetting{} smtpSetting.SMTPEnabled = DAL.SelectBoolSetting("smtp_enabled") @@ -340,6 +396,7 @@ func LoadSettings() { NodeSetting.SkipSEEnabled = PrimarySetting.SkipSEEnabled NodeSetting.SearchEnginesPattern = UpdateSecondShieldPattern(PrimarySetting.SearchEngines) NodeSetting.BlockHTML = PrimarySetting.BlockHTML + NodeSetting.ShieldHTML = PrimarySetting.ShieldHTML // NodeSetting.SMTP and PrimarySetting.SMTP point to the same SMTP setting NodeSetting.SMTP = smtpSetting // LoadAuthConfig @@ -667,6 +724,8 @@ func UpdatePrimarySetting(r *http.Request, body []byte, clientIP string, authUse NodeSetting.SearchEnginesPattern = UpdateSecondShieldPattern(PrimarySetting.SearchEngines) DAL.SaveStringSetting("block_html", PrimarySetting.BlockHTML) NodeSetting.BlockHTML = PrimarySetting.BlockHTML + DAL.SaveStringSetting("shield_html", PrimarySetting.ShieldHTML) + NodeSetting.ShieldHTML = PrimarySetting.ShieldHTML DAL.SaveBoolSetting("smtp_enabled", PrimarySetting.SMTP.SMTPEnabled) DAL.SaveStringSetting("smtp_server", PrimarySetting.SMTP.SMTPServer) DAL.SaveStringSetting("smtp_port", PrimarySetting.SMTP.SMTPPort) diff --git a/gateway/shield.go b/gateway/shield.go index 508eff9..c4c5215 100644 --- a/gateway/shield.go +++ b/gateway/shield.go @@ -78,7 +78,7 @@ func SecondShieldAuthorization(w http.ResponseWriter, r *http.Request) { // GenerateShieldPage for first access if 5-second shield enabled func GenerateShieldPage(w http.ResponseWriter, r *http.Request, urlPath string) { if tmplShieldReq == nil { - tmplShieldReq, _ = template.New("shieldReq").Parse(shieldHTML) + tmplShieldReq, _ = template.New("shieldReq").Parse(data.NodeSetting.ShieldHTML) } session, _ := store.Get(r, "janusec-token") session.Values["timestamp"] = time.Now().Unix() @@ -94,57 +94,3 @@ func GenerateShieldPage(w http.ResponseWriter, r *http.Request, urlPath string) utils.DebugPrintln("GenerateShieldPage tmpl.Execute error", err) } } - -const shieldHTML = ` - - -Checking - - - -
-

JANUSEC

-
-

-Checking your browser, please wait 5 seconds ... -

-
- - - -` diff --git a/models/gateway.go b/models/gateway.go index 7e6ebf1..075e276 100644 --- a/models/gateway.go +++ b/models/gateway.go @@ -134,6 +134,9 @@ type PrimarySetting struct { // BlockHTML, v1.4.0 added BlockHTML string `json:"block_html"` + // ShieldHTML for 5-second shield, v1.4.1 added + ShieldHTML string `json:"shield_html"` + // WAFLogDays for WAF logs WAFLogDays int64 `json:"waf_log_days"` @@ -175,6 +178,9 @@ type NodeShareSetting struct { // BlockHTML, v1.4.0 added BlockHTML string `json:"block_html"` + // ShieldHTML for 5-second shield, v1.4.1 added + ShieldHTML string `json:"shield_html"` + // AuthConfig for authentication AuthConfig *OAuthConfig `json:"auth_config"` diff --git a/release_batch.sh b/release_batch.sh index bc6cf0b..e428280 100755 --- a/release_batch.sh +++ b/release_batch.sh @@ -2,7 +2,7 @@ printf "Creating installation package\n" printf "Checklist:\n" printf "* Angular Admin Version Check. \n" printf "* Janusec Version Check. \n" -version="1.4.0" +version="1.4.1" printf "Version: ${version} \n" read -r -p "Are You Sure? [Y/n] " option diff --git a/static/janusec-admin/index.html b/static/janusec-admin/index.html index 3678d7c..c4ff3d1 100644 --- a/static/janusec-admin/index.html +++ b/static/janusec-admin/index.html @@ -12,6 +12,6 @@ - + \ No newline at end of file diff --git a/static/janusec-admin/main-es2015.098172721d6d09a63b25.js b/static/janusec-admin/main-es2015.0c666de6e5ba0fed0aad.js similarity index 91% rename from static/janusec-admin/main-es2015.098172721d6d09a63b25.js rename to static/janusec-admin/main-es2015.0c666de6e5ba0fed0aad.js index d76c959..f243e44 100644 --- a/static/janusec-admin/main-es2015.098172721d6d09a63b25.js +++ b/static/janusec-admin/main-es2015.0c666de6e5ba0fed0aad.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+qE3":function(e,t,i){"use strict";var n,r="object"==typeof Reflect?Reflect:null,s=r&&"function"==typeof r.apply?r.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)};n=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var c=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,i,n){var r,s,a;if(l(i),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),s=e._events),a=s[t]),void 0===a)a=s[t]=i,++e._eventsCount;else if("function"==typeof a?a=s[t]=n?[i,a]:[a,i]:n?a.unshift(i):a.push(i),(r=d(e))>0&&a.length>r&&!a.warned){a.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=a.length,console&&console.warn&&console.warn(o)}return e}function h(){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(e,t,i){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},r=h.bind(n);return r.listener=i,n.wrapFn=r,r}function p(e,t,i){var n=e._events;if(void 0===n)return[];var r=n[t];return void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?function(e){for(var t=new Array(e.length),i=0;i0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var c=r[e];if(void 0===c)return!1;if("function"==typeof c)s(c,this,t);else{var l=c.length,d=_(c,l);for(i=0;i=0;s--)if(i[s]===t||i[s].listener===t){a=i[s].listener,r=s;break}if(r<0)return this;0===r?i.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},"+s0g":function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},"//9w":function(e,t,i){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".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\u017ees",past:"ma\u014bit %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\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"/POA":function(e,t,i){window,e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,(function(t){return e[t]}).bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=32)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(14);t.IBufferService=n.createDecorator("BufferService"),t.ICoreMouseService=n.createDecorator("CoreMouseService"),t.ICoreService=n.createDecorator("CoreService"),t.ICharsetService=n.createDecorator("CharsetService"),t.IDirtyRowService=n.createDecorator("DirtyRowService"),t.IInstantiationService=n.createDecorator("InstantiationService"),t.ILogService=n.createDecorator("LogService"),t.IOptionsService=n.createDecorator("OptionsService"),t.IUnicodeService=n.createDecorator("UnicodeService")},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var i=0;i>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?s.stringFromCodePoint(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[a.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[a.CHAR_DATA_CHAR_INDEX].length){var i=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=i&&i<=56319){var n=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=n&&n<=57343?this.content=1024*(i-55296)+n-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(i(6).AttributeData);t.CellData=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.fg=0,this.bg=0}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e}();t.AttributeData=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=e.length);for(var n="",r=t;r65535?(s-=65536,n+=String.fromCharCode(55296+(s>>10))+String.fromCharCode(s%1024+56320)):n+=String.fromCharCode(s)}return n};var n=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var n=0,r=0;this._interim&&(56320<=(o=e.charCodeAt(r++))&&o<=57343?t[n++]=1024*(this._interim-55296)+o-56320+65536:(t[n++]=this._interim,t[n++]=o),this._interim=0);for(var s=r;s=i)return this._interim=a,n;var o;56320<=(o=e.charCodeAt(s))&&o<=57343?t[n++]=1024*(a-55296)+o-56320+65536:(t[n++]=a,t[n++]=o)}else t[n++]=a}return n},e}();t.StringToUtf32=n;var r=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var n,r,s,a,o=0,c=0,l=0;if(this.interim[0]){var d=!1,u=this.interim[0];u&=192==(224&u)?31:224==(240&u)?15:7;for(var h=0,f=void 0;(f=63&this.interim[++h])&&h<4;)u<<=6,u|=f;for(var p=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=p-h;l=i)return 0;if(128!=(192&(f=e[l++]))){l--,d=!0;break}this.interim[h++]=f,u<<=6,u|=63&f}d||(2===p?u<128?l--:t[o++]=u:3===p?u<2048||u>=55296&&u<=57343||(t[o++]=u):u<65536||u>1114111||(t[o++]=u)),this.interim.fill(0)}for(var _=i-4,b=l;b=i)return this.interim[0]=n,o;if(128!=(192&(r=e[b++]))){b--;continue}if((c=(31&n)<<6|63&r)<128){b--;continue}t[o++]=c}else if(224==(240&n)){if(b>=i)return this.interim[0]=n,o;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=i)return this.interim[0]=n,this.interim[1]=r,o;if(128!=(192&(s=e[b++]))){b--;continue}if((c=(15&n)<<12|(63&r)<<6|63&s)<2048||c>=55296&&c<=57343)continue;t[o++]=c}else if(240==(248&n)){if(b>=i)return this.interim[0]=n,o;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=i)return this.interim[0]=n,this.interim[1]=r,o;if(128!=(192&(s=e[b++]))){b--;continue}if(b>=i)return this.interim[0]=n,this.interim[1]=r,this.interim[2]=s,o;if(128!=(192&(a=e[b++]))){b--;continue}if((c=(7&n)<<18|(63&r)<<12|(63&s)<<6|63&a)<65536||c>1114111)continue;t[o++]=c}}return o},e}();t.Utf8ToUtf32=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=function(e,t,i,n){e.addEventListener(t,i,n);var r=!1;return{dispose:function(){r&&(r=!0,e.removeEventListener(t,i,n))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,i){"use strict";var n,r,s,a;function o(e){var t=e.toString(16);return t.length<2?"0"+t:t}function c(e,t){return e>>0}}(n=t.channels||(t.channels={})),(r=t.color||(t.color={})).blend=function(e,t){var i=(255&t.rgba)/255;if(1===i)return{css:t.css,rgba:t.rgba};var r=t.rgba>>16&255,s=t.rgba>>8&255,a=e.rgba>>24&255,o=e.rgba>>16&255,c=e.rgba>>8&255,l=a+Math.round(((t.rgba>>24&255)-a)*i),d=o+Math.round((r-o)*i),u=c+Math.round((s-c)*i);return{css:n.toCss(l,d,u),rgba:n.toRgba(l,d,u)}},r.ensureContrastRatio=function(e,t,i){var n=a.ensureContrastRatio(e.rgba,t.rgba,i);if(n)return a.toColor(n>>24&255,n>>16&255,n>>8&255)},r.opaque=function(e){var t=(255|e.rgba)>>>0,i=a.toChannels(t);return{css:n.toCss(i[0],i[1],i[2]),rgba:t}},(t.css||(t.css={})).toColor=function(e){return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0}},function(e){function t(e,t,i){var n=e/255,r=t/255,s=i/255;return.2126*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(s=t.rgb||(t.rgb={})),function(e){function t(e,t,i){for(var n=e>>24&255,r=e>>16&255,a=e>>8&255,o=t>>24&255,l=t>>16&255,d=t>>8&255,u=c(s.relativeLuminance2(o,d,l),s.relativeLuminance2(n,r,a));u0||l>0||d>0);)o-=Math.max(0,Math.ceil(.1*o)),l-=Math.max(0,Math.ceil(.1*l)),d-=Math.max(0,Math.ceil(.1*d)),u=c(s.relativeLuminance2(o,d,l),s.relativeLuminance2(n,r,a));return(o<<24|l<<16|d<<8|255)>>>0}function i(e,t,i){for(var n=e>>24&255,r=e>>16&255,a=e>>8&255,o=t>>24&255,l=t>>16&255,d=t>>8&255,u=c(s.relativeLuminance2(o,d,l),s.relativeLuminance2(n,r,a));u>>0}e.ensureContrastRatio=function(e,n,r){var a=s.relativeLuminance(e>>8),o=s.relativeLuminance(n>>8);if(c(a,o)>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,i){return{css:n.toCss(e,t,i),rgba:n.toRgba(e,t,i)}}}(a=t.rgba||(t.rgba={})),t.toPaddedHex=o,t.contrastRatio=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof navigator,r=n?"node":navigator.userAgent,s=n?"node":navigator.platform;function a(e,t){return e.indexOf(t)>=0}t.isFirefox=!!~r.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(r),t.isMac=a(["Macintosh","MacIntel","MacPPC","Mac68K"],s),t.isIpad="iPad"===s,t.isIphone="iPhone"===s,t.isWindows=a(["Windows","Win16","Win32","WinCE"],s),t.isLinux=s.indexOf("Linux")>=0},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.NUL="\0",e.SOH="\x01",e.STX="\x02",e.ETX="\x03",e.EOT="\x04",e.ENQ="\x05",e.ACK="\x06",e.BEL="\x07",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="\x0e",e.SI="\x0f",e.DLE="\x10",e.DC1="\x11",e.DC2="\x12",e.DC3="\x13",e.DC4="\x14",e.NAK="\x15",e.SYN="\x16",e.ETB="\x17",e.CAN="\x18",e.EM="\x19",e.SUB="\x1a",e.ESC="\x1b",e.FS="\x1c",e.GS="\x1d",e.RS="\x1e",e.US="\x1f",e.SP=" ",e.DEL="\x7f"}(t.C0||(t.C0={})),function(e){e.PAD="\x80",e.HOP="\x81",e.BPH="\x82",e.NBH="\x83",e.IND="\x84",e.NEL="\x85",e.SSA="\x86",e.ESA="\x87",e.HTS="\x88",e.HTJ="\x89",e.VTS="\x8a",e.PLD="\x8b",e.PLU="\x8c",e.RI="\x8d",e.SS2="\x8e",e.SS3="\x8f",e.DCS="\x90",e.PU1="\x91",e.PU2="\x92",e.STS="\x93",e.CCH="\x94",e.MW="\x95",e.SPA="\x96",e.EPA="\x97",e.SOS="\x98",e.SGCI="\x99",e.SCI="\x9a",e.CSI="\x9b",e.ST="\x9c",e.OSC="\x9d",e.PM="\x9e",e.APC="\x9f"}(t.C1||(t.C1={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3),r=i(9),s=i(23),a=i(6),o=i(26),c=i(10),l=function(){function e(e,t,i,n,r,s,a,o){this._container=e,this._alpha=n,this._colors=r,this._rendererId=s,this._bufferService=a,this._optionsService=o,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=i.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;this._container.removeChild(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=o.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,i){void 0===i&&(i=!1)},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=s.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype._fillCells=function(e,t,i,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,n*this._scaledCellHeight)},e.prototype._fillBottomLineAtCells=function(e,t,i){void 0===i&&(i=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,i*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*i,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,i,n){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,i*this._scaledCellWidth-window.devicePixelRatio,n*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,i,n){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,n*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,n*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,i){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(i),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},e.prototype._drawChars=function(e,t,i){var s,a,o=this._getContrastColor(e);o||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,i,o):(e.isInverse()?(s=e.isBgDefault()?r.INVERTED_DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?r.INVERTED_DEFAULT_COLOR:e.getFgColor()):(a=e.isBgDefault()?n.DEFAULT_COLOR:e.getBgColor(),s=e.isFgDefault()?n.DEFAULT_COLOR:e.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||n.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||n.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,i))},e.prototype._drawUncachedChars=function(e,t,i,n){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(n)this._ctx.fillStyle=n.css;else if(e.isBgDefault())this._ctx.fillStyle=c.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var s=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8&&(s+=8),this._ctx.fillStyle=this._colors.ansi[s].css}else if(n)this._ctx.fillStyle=n.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var o=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),this._ctx.fillStyle=this._colors.ansi[o].css}this._clipRow(i),e.isDim()&&(this._ctx.globalAlpha=r.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},e.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var i=e.getFgColor(),n=e.getFgColorMode(),r=e.getBgColor(),s=e.getBgColorMode(),a=!!e.isInverse(),o=!!e.isInverse();if(a){var l=i;i=r,r=l;var d=n;n=s,s=d}var u=this._resolveBackgroundRgba(s,r,a),h=this._resolveForegroundRgba(n,i,a,o),f=c.rgba.ensureContrastRatio(u,h,this._optionsService.options.minimumContrastRatio);if(f){var p={css:c.channels.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(e.bg,e.fg,p),p}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},e.prototype._resolveBackgroundRgba=function(e,t,i){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,i,n){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&n&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.background.rgba:this._colors.foreground.rgba}},e}();t.BaseRenderLayer=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="di$target",r="di$dependencies";function s(e,t,i){t[n]===t?t[r].push({id:e,index:i}):(t[r]=[{id:e,index:i}],t[n]=t)}t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[r]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var i=function(e,t,n){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");s(i,e,n)};return i.toString=function(){return e},t.serviceRegistry.set(e,i),i}},function(e,t,i){"use strict";function n(e,t,i,n){if(void 0===i&&(i=0),void 0===n&&(n=e.length),i>=e.length)return e;n=n>=e.length?e.length:(e.length+n)%e.length;for(var r=i=(e.length+i)%e.length;r>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):i]},e.prototype.set=function(e,t){this._data[3*e+1]=t[r.CHAR_DATA_ATTR_INDEX],t[r.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[r.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[r.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?n.stringFromCodePoint(2097151&t):""},e.prototype.loadCell=function(e,t){var i=3*e;return t.content=this._data[i+0],t.fg=this._data[i+1],t.bg=this._data[i+2],2097152&t.content&&(t.combinedData=this._combined[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,i,n,r){this._data[3*e+0]=t|i<<22,this._data[3*e+1]=n,this._data[3*e+2]=r},e.prototype.addCodepointToCell=function(e,t){var i=this._data[3*e+0];2097152&i?this._combined[e]+=n.stringFromCodePoint(t):(2097151&i?(this._combined[e]=n.stringFromCodePoint(2097151&i)+n.stringFromCodePoint(t),i&=-2097152,i|=2097152):i=t|1<<22,this._data[3*e+0]=i)},e.prototype.insertCells=function(e,t,i,n){var r,a,o,c;if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===(r=n)||void 0===r?void 0:r.fg)||0,(null===(a=n)||void 0===a?void 0:a.bg)||0),t=0;--d)this.setCell(e+t+d,this.loadCell(e+d,l));for(d=0;dthis.length){var i=new Uint32Array(3*e);this.length&&i.set(3*e=e&&delete this._combined[s]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={};for(var t=0;t=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,i,n,r){var s=e._data;if(r)for(var a=n-1;a>=0;a--)for(var o=0;o<3;o++)this._data[3*(i+a)+o]=s[3*(t+a)+o];else for(a=0;a=t&&(this._combined[l-t+i]=e._combined[l])}},e.prototype.translateToString=function(e,t,i){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===i&&(i=this.length),e&&(i=Math.min(i,this.getTrimmedLength()));for(var s="";t>22||1}return s},e}();t.BufferLine=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"\u25c6",a:"\u2592",b:"\u2409",c:"\u240c",d:"\u240d",e:"\u240a",f:"\xb0",g:"\xb1",h:"\u2424",i:"\u240b",j:"\u2518",k:"\u2510",l:"\u250c",m:"\u2514",n:"\u253c",o:"\u23ba",p:"\u23bb",q:"\u2500",r:"\u23bc",s:"\u23bd",t:"\u251c",u:"\u2524",v:"\u2534",w:"\u252c",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03c0","|":"\u2260","}":"\xa3","~":"\xb7"},t.CHARSETS.A={"#":"\xa3"},t.CHARSETS.B=null,t.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},t.CHARSETS.C=t.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},t.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},t.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},t.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},t.CHARSETS.E=t.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},t.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},t.CHARSETS.H=t.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var i=new e;if(!t.length)return i;for(var n=t[0]instanceof Array?1:0;n>8,n=255&this._subParamsIdx[t];n-i>0&&e.push(Array.prototype.slice.call(this._subParams,i,n))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,i=255&this._subParamsIdx[e];return i-t>0?this._subParams.subarray(t,i):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t>8,n=255&this._subParamsIdx[t];n-i>0&&(e[t]=this._subParams.slice(i,n))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var i=this._digitIsSub?this._subParams:this.params,n=i[t-1];i[t-1]=~n?Math.min(10*n+e,2147483647):e}},e}();t.Params=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(21),r=i(7),s=function(){function e(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},e.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;t>=0;t--)e[t].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,i){var n=this._handlers[this._id];if(n)for(var s=n.length-1;s>=0;s--)n[s].put(e,t,i);else this._handlerFb(this._id,"PUT",r.utf32ToString(e,t,i))},e.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var i=t.length-1;i>=0&&!1===t[i].end(e);i--);for(i--;i>=0;i--)t[i].end(!1)}else this._handlerFb(this._id,"END",e)},e.prototype.start=function(){this.reset(),this._id=-1,this._state=1},e.prototype.put=function(e,t,i){if(3!==this._state){if(1===this._state)for(;t0&&this._put(e,t,i)}},e.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},e}();t.OscParser=s;var a=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,i){this._hitLimit||(this._data+=r.utf32ToString(e,t,i),this._data.length>n.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},e}();t.OscHandler=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=1e7},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7),r=i(19),s=i(21),a=[],o=function(){function e(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=a,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,i){if(this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,i);else this._handlerFb(this._ident,"PUT",n.utf32ToString(e,t,i))},e.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;t>=0&&!1===this._active[t].unhook(e);t--);for(t--;t>=0;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0},e}();t.DcsParser=o;var c=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,i){this._hitLimit||(this._data+=n.utf32ToString(e,t,i),this._data.length>s.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params?this._params:new r.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},e}();t.DcsHandler=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(24),r=i(42),s=[];t.acquireCharAtlas=function(e,t,i,a,o){for(var c=n.generateConfig(a,o,e,i),l=0;l=0){if(n.configEquals(u.config,c))return u.atlas;1===u.ownedBy.length?(u.atlas.dispose(),s.splice(l,1)):u.ownedBy.splice(d,1);break}}for(l=0;l1)for(var u=this._getJoinedRanges(n,o,s,t,r),h=0;h1)for(u=this._getJoinedRanges(n,o,s,t,r),h=0;h=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new n.CellData)},e.prototype.translateToString=function(e,t,i){return this._line.translateToString(e,t,i)},e}(),d=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,(function(e){return t(e.toArray())}))},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.addDcsHandler(e,(function(e,i){return t(e,i.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}(),u=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!0,configurable:!0}),e}()},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(34),a=i(35),o=i(36),c=i(12),l=i(37),d=i(39),u=i(49),h=i(50),f=i(11),p=i(8),m=i(17),_=i(53),b=i(54),g=i(55),y=i(56),v=i(58),w=i(1),C=i(16),S=i(59),k=i(25),x=i(60),M=i(0),D=i(61),L=i(4),T=i(62),E=i(63),A=i(2),O=i(69),P=i(70),I=i(71),R=i(72),j=i(73),Y=i(74),V=i(75),W=i(76),F=i(77),H=i(79),B="undefined"!=typeof window?window.document:null,z=function(e){function t(t){void 0===t&&(t={});var i=e.call(this)||this;return i.browser=f,i.mouseEvents=0,i._keyDownHandled=!1,i._blankLine=null,i._onCursorMove=new w.EventEmitter,i._onData=new w.EventEmitter,i._onBinary=new w.EventEmitter,i._onKey=new w.EventEmitter,i._onLineFeed=new w.EventEmitter,i._onRender=new w.EventEmitter,i._onResize=new w.EventEmitter,i._onScroll=new w.EventEmitter,i._onSelectionChange=new w.EventEmitter,i._onTitleChange=new w.EventEmitter,i._onFocus=new w.EventEmitter,i._onBlur=new w.EventEmitter,i.onA11yCharEmitter=new w.EventEmitter,i.onA11yTabEmitter=new w.EventEmitter,i._instantiationService=new j.InstantiationService,i.optionsService=new D.OptionsService(t),i._instantiationService.setService(M.IOptionsService,i.optionsService),i._bufferService=i._instantiationService.createInstance(E.BufferService),i._instantiationService.setService(M.IBufferService,i._bufferService),i._logService=i._instantiationService.createInstance(I.LogService),i._instantiationService.setService(M.ILogService,i._logService),i._coreService=i._instantiationService.createInstance(P.CoreService,(function(){return i.scrollToBottom()})),i._instantiationService.setService(M.ICoreService,i._coreService),i._coreService.onData((function(e){return i._onData.fire(e)})),i._coreService.onBinary((function(e){return i._onBinary.fire(e)})),i._coreMouseService=i._instantiationService.createInstance(Y.CoreMouseService),i._instantiationService.setService(M.ICoreMouseService,i._coreMouseService),i._dirtyRowService=i._instantiationService.createInstance(R.DirtyRowService),i._instantiationService.setService(M.IDirtyRowService,i._dirtyRowService),i.unicodeService=i._instantiationService.createInstance(F.UnicodeService),i._instantiationService.setService(M.IUnicodeService,i.unicodeService),i._charsetService=i._instantiationService.createInstance(H.CharsetService),i._instantiationService.setService(M.ICharsetService,i._charsetService),i._setupOptionsListeners(),i._setup(),i._writeBuffer=new V.WriteBuffer((function(e){return i._inputHandler.parse(e)})),i}return r(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this.onA11yCharEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this.onA11yTabEmitter.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){var t,i,n,r;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0,null===(i=this._renderService)||void 0===i||i.dispose(),this._customKeyEventHandler=null,this.write=function(){},null===(r=null===(n=this.element)||void 0===n?void 0:n.parentNode)||void 0===r||r.removeChild(this.element))},t.prototype._setup=function(){var e=this;this._customKeyEventHandler=null,this.insertMode=!1,this.bracketedPasteMode=!1,this._userScrolling=!1,this._inputHandler?this._inputHandler.reset():(this._inputHandler=new l.InputHandler(this,this._bufferService,this._charsetService,this._coreService,this._dirtyRowService,this._logService,this.optionsService,this._coreMouseService,this.unicodeService,this._instantiationService),this._inputHandler.onRequestBell((function(){return e.bell()})),this._inputHandler.onRequestRefreshRows((function(t,i){return e.refresh(t,i)})),this._inputHandler.onRequestReset((function(){return e.reset()})),this._inputHandler.onCursorMove((function(){return e._onCursorMove.fire()})),this._inputHandler.onLineFeed((function(){return e._onLineFeed.fire()})),this.register(this._inputHandler)),this.linkifier||(this.linkifier=new u.Linkifier(this._bufferService,this._logService,this.optionsService,this.unicodeService)),this.options.windowsMode&&this._enableWindowsMode()},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(S.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},(function(){return S.updateWindowsModeWrappedState(e._bufferService),!1}))),this._windowsMode={dispose:function(){t.forEach((function(e){return e.dispose()}))}}}},Object.defineProperty(t.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},t.prototype._setupOptionsListeners=function(){var e=this;this.optionsService.onOptionChange((function(t){var i,n,r,s,a;switch(t){case"fontFamily":case"fontSize":null===(i=e._renderService)||void 0===i||i.clear(),null===(n=e._charSizeService)||void 0===n||n.measure();break;case"cursorBlink":case"cursorStyle":e.refresh(e.buffer.y,e.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":e._renderService&&(e._renderService.clear(),e._renderService.onResize(e.cols,e.rows),e.refresh(0,e.rows-1));break;case"rendererType":e._renderService&&(e._renderService.setRenderer(e._createRenderer()),e._renderService.onResize(e.cols,e.rows));break;case"scrollback":e.buffers.resize(e.cols,e.rows),null===(r=e.viewport)||void 0===r||r.syncScrollArea();break;case"screenReaderMode":e.optionsService.options.screenReaderMode?!e._accessibilityManager&&e._renderService&&(e._accessibilityManager=new g.AccessibilityManager(e,e._renderService)):(null===(s=e._accessibilityManager)||void 0===s||s.dispose(),e._accessibilityManager=null);break;case"tabStopWidth":e.buffers.setupTabStops();break;case"theme":e._setTheme(e.optionsService.options.theme);break;case"windowsMode":e.optionsService.options.windowsMode?e._enableWindowsMode():(null===(a=e._windowsMode)||void 0===a||a.dispose(),e._windowsMode=void 0)}}))},t.prototype._onTextAreaFocus=function(e){this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this.showCursor(),this._onFocus.fire()},t.prototype.blur=function(){return this.textarea.blur()},t.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},t.prototype._initGlobal=function(){var e=this;this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",(function(t){e.hasSelection()&&o.copyHandler(t,e._selectionService)})));var t=function(t){return o.handlePasteEvent(t,e.textarea,e.bracketedPasteMode,e._coreService)};this.register(p.addDisposableDomListener(this.textarea,"paste",t)),this.register(p.addDisposableDomListener(this.element,"paste",t)),this.register(f.isFirefox?p.addDisposableDomListener(this.element,"mousedown",(function(t){2===t.button&&o.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)})):p.addDisposableDomListener(this.element,"contextmenu",(function(t){o.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),f.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",(function(t){1===t.button&&o.moveTextAreaUnderMouseCursor(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register(p.addDisposableDomListener(this.textarea,"compositionend",(function(){return e._compositionHelper.compositionend()}))),this.register(this.onRender((function(){return e._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(t){return e._queueLinkification(t.start,t.end)})))},t.prototype.open=function(e){var t=this;if(!e)throw new Error("Terminal requires a parent element.");B.body.contains(e)||this._logService.warn("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var i=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),i.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),i.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",m.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(p.addDisposableDomListener(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register(p.addDisposableDomListener(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var n=this._instantiationService.createInstance(W.CoreBrowserService,this.textarea);this._instantiationService.setService(L.ICoreBrowserService,n),this._charSizeService=this._instantiationService.createInstance(T.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(L.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(s.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(i),this._theme=this.options.theme||this._theme,this.options.theme=void 0,this._colorManager=new k.ColorManager(B,this.options.allowTransparency),this.optionsService.onOptionChange((function(e){return t._colorManager.onOptionsChange(e)})),this._colorManager.setTheme(this._theme);var r=this._createRenderer();this._renderService=this._instantiationService.createInstance(x.RenderService,r,this.rows,this.screenElement),this._instantiationService.setService(L.IRenderService,this._renderService),this._renderService.onRender((function(e){return t._onRender.fire(e)})),this.onResize((function(e){return t._renderService.resize(e.cols,e.rows)})),this._soundService=this._instantiationService.createInstance(_.SoundService),this._instantiationService.setService(L.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(L.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(a.Viewport,(function(e,i){return t.scrollLines(e,i)}),this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this.viewport),this.register(this.onCursorMove((function(){return t._renderService.onCursorMove()}))),this.register(this.onResize((function(){return t._renderService.onResize(t.cols,t.rows)}))),this.register(this.onBlur((function(){return t._renderService.onBlur()}))),this.register(this.onFocus((function(){return t._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return t.viewport.syncScrollArea()}))),this._selectionService=this._instantiationService.createInstance(h.SelectionService,(function(e,i){return t.scrollLines(e,i)}),this.element,this.screenElement),this._instantiationService.setService(L.ISelectionService,this._selectionService),this.register(this._selectionService.onSelectionChange((function(){return t._onSelectionChange.fire()}))),this.register(this._selectionService.onRedrawRequest((function(e){return t._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(e){t.textarea.value=e,t.textarea.focus(),t.textarea.select()}))),this.register(this.onScroll((function(){t.viewport.syncScrollArea(),t._selectionService.refresh()}))),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(b.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return t._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.register(p.addDisposableDomListener(this.element,"mousedown",(function(e){return t._selectionService.onMouseDown(e)}))),this.mouseEvents?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},t.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(d.Renderer,this._colorManager.colors,this.screenElement,this.linkifier);case"dom":return this._instantiationService.createInstance(y.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},t.prototype._setTheme=function(e){var t,i,n;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(i=this._renderService)||void 0===i||i.setColors(this._colorManager.colors),null===(n=this.viewport)||void 0===n||n.onThemeChange(this._colorManager.colors)},t.prototype.bindMouse=function(){var e=this,t=this,i=this.element;function n(e){var i,n,r;if(!(i=t._mouseService.getRawByteCoords(e,t.screenElement,t.cols,t.rows)))return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(n=3,void 0!==e.button&&(n=e.button<3?e.button:3)):n=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,n=e.button<3?e.button:3;break;case"mousedown":r=1,n=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),n=4;break;default:return!1}return!(void 0===r||void 0===n||n>4)&&t._coreMouseService.triggerMouseEvent({col:i.x-33,row:i.y-33,button:n,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},s=function(t){return n(t),t.buttons||(e._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.removeEventListener("mousemove",r.mousedrag)),e.cancel(t)},a=function(t){return n(t),t.preventDefault(),e.cancel(t)},o=function(e){e.buttons&&n(e)},l=function(e){e.buttons||n(e)};this._coreMouseService.onProtocolChange((function(t){e.mouseEvents=t,t?("debug"===e.optionsService.options.logLevel&&e._logService.debug("Binding to mouse events:",e._coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?r.mousemove||(i.addEventListener("mousemove",l),r.mousemove=l):(i.removeEventListener("mousemove",r.mousemove),r.mousemove=null),16&t?r.wheel||(i.addEventListener("wheel",a),r.wheel=a):(i.removeEventListener("wheel",r.wheel),r.wheel=null),2&t?r.mouseup||(r.mouseup=s):(e._document.removeEventListener("mouseup",r.mouseup),r.mouseup=null),4&t?r.mousedrag||(r.mousedrag=o):(e._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(i,"mousedown",(function(t){if(t.preventDefault(),e.focus(),e.mouseEvents&&!e._selectionService.shouldForceSelection(t))return n(t),r.mouseup&&e._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.addEventListener("mousemove",r.mousedrag),e.cancel(t)}))),this.register(p.addDisposableDomListener(i,"wheel",(function(t){if(r.wheel);else if(!e.buffer.hasScrollback){var i=e.viewport.getLinesScrolled(t);if(0===i)return;for(var n=c.C0.ESC+(e._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),s="",a=0;a=this.buffer.ybase&&(this._userScrolling=!1);var i=this.buffer.ydisp;this.buffer.ydisp=Math.max(Math.min(this.buffer.ydisp+e,this.buffer.ybase),0),i!==this.buffer.ydisp&&(t||this._onScroll.fire(this.buffer.ydisp),this.refresh(0,this.rows-1))},t.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},t.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},t.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},t.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},t.prototype.paste=function(e){o.paste(e,this.textarea,this.bracketedPasteMode,this._coreService)},t.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},t.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},t.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},t.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},t.prototype.registerLinkMatcher=function(e,t,i){var n=this.linkifier.registerLinkMatcher(e,t,i);return this.refresh(0,this.rows-1),n},t.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},t.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},t.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(t.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!0,configurable:!0}),t.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},t.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},t.prototype.select=function(e,t,i){this._selectionService.setSelection(e,t,i)},t.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},t.prototype.getSelectionPosition=function(){if(this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},t.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},t.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},t.prototype.selectLines=function(e,t){var i;null===(i=this._selectionService)||void 0===i||i.selectLines(e,t)},t.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=v.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===t.type||2===t.type){var i=this.rows-1;return this.scrollLines(2===t.type?-i:i),this.cancel(e,!0)}return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==c.C0.ETX&&t.key!==c.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)))},t.prototype._isThirdLevelShift=function(e,t){var i=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?i:i&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e))},t.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null==e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t,!0),0))},t.prototype.bell=function(){var e=this;this._soundBell()&&this._soundService.playBellSound(),this._visualBell()&&(this.element.classList.add("visual-bell-active"),clearTimeout(this._visualBellTimer),this._visualBellTimer=window.setTimeout((function(){e.element.classList.remove("visual-bell-active")}),200))},t.prototype.resize=function(e,t){var i,n;isNaN(e)||isNaN(t)||(e!==this.cols||t!==this.rows?(e=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(4),a=i(0),o=function(){function e(e,t,i,n,r,s){this._textarea=e,this._compositionView=t,this._bufferService=i,this._optionsService=n,this._charSizeService=r,this._coreService=s,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((function(){t._compositionPosition.end=t._textarea.value.length}),0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,this._clearTextareaPosition(),e){var i={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,e=t._isComposing?t._textarea.value.substring(i.start,i.end):t._textarea.value.substring(i.start),t._coreService.triggerDataEvent(e,!0))}),0)}else{this._isSendingComposition=!1;var n=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(n,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout((function(){if(!e._isComposing){var i=e._textarea.value.replace(t,"");i.length>0&&e._coreService.triggerDataEvent(i,!0)}}),0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var i=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),n=this._bufferService.buffer.y*i,r=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=r+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=i+"px",this._compositionView.style.lineHeight=i+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var s=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=n+"px",this._textarea.style.width=s.width+"px",this._textarea.style.height=s.height+"px",this._textarea.style.lineHeight=s.height+"px"}e||setTimeout((function(){return t.updateCompositionElements(!0)}),0)}},e.prototype._clearTextareaPosition=function(){this._textarea.style.left="",this._textarea.style.top=""},n([r(2,a.IBufferService),r(3,a.IOptionsService),r(4,s.ICharSizeService),r(5,a.ICoreService)],e)}();t.CompositionHelper=o},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),c=i(8),l=i(4),d=i(0),u=function(e){function t(t,i,n,r,s,a,o){var l=e.call(this)||this;return l._scrollLines=t,l._viewportElement=i,l._scrollArea=n,l._bufferService=r,l._optionsService=s,l._charSizeService=a,l._renderService=o,l.scrollBarWidth=0,l._currentRowHeight=0,l._lastRecordedBufferLength=0,l._lastRecordedViewportHeight=0,l._lastRecordedBufferHeight=0,l._lastTouchY=0,l._lastScrollTop=0,l._wheelPartialScroll=0,l._refreshAnimationFrame=null,l._ignoreNextScrollEvent=!1,l.scrollBarWidth=l._viewportElement.offsetWidth-l._scrollArea.offsetWidth||15,l.register(c.addDisposableDomListener(l._viewportElement,"scroll",l._onScroll.bind(l))),setTimeout((function(){return l.syncScrollArea()}),0),l}return r(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return t._innerRefresh()})))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._bufferService.buffer.ydisp*this._currentRowHeight&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t,!0)}},t.prototype._bubbleScroll=function(e,t){return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var i=this._optionsService.options.fastScrollModifier;return"alt"===i&&t.altKey||"ctrl"===i&&t.ctrlKey||"shift"===i&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},s([a(3,d.IBufferService),a(4,d.IOptionsService),a(5,l.ICharSizeService),a(6,l.IRenderService)],t)}(o.Disposable);t.Viewport=u},function(e,t,i){"use strict";function n(e){return e.replace(/\r?\n/g,"\r")}function r(e,t){return t?"\x1b[200~"+e+"\x1b[201~":e}function s(e,t,i,s){e=r(e=n(e),i),s.triggerDataEvent(e,!0),t.value=""}function a(e,t,i){var n=i.getBoundingClientRect(),r=e.clientX-n.left-10,s=e.clientY-n.top-10;t.style.position="absolute",t.style.width="20px",t.style.height="20px",t.style.left=r+"px",t.style.top=s+"px",t.style.zIndex="1000",t.focus(),setTimeout((function(){t.style.position="",t.style.width="",t.style.height="",t.style.left="",t.style.top="",t.style.zIndex=""}),200)}Object.defineProperty(t,"__esModule",{value:!0}),t.prepareTextForTerminal=n,t.bracketTextForPaste=r,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,i,n){e.stopPropagation(),e.clipboardData&&s(e.clipboardData.getData("text/plain"),t,i,n)},t.paste=s,t.moveTextAreaUnderMouseCursor=a,t.rightClickHandler=function(e,t,i,n,r){a(e,t,i),r&&!n.isClickInSelection(e)&&n.selectWordAtCursor(e),t.value=n.selectionText,t.select()}},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(12),a=i(18),o=i(38),c=i(2),l=i(15),d=i(7),u=i(16),h=i(1),f=i(3),p=i(5),m=i(6),_=i(20),b=i(22),g=i(4),y={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function v(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}var w=function(){function e(e,t,i,n){this._bufferService=e,this._coreService=t,this._logService=i,this._optionsService=n,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,i){this._data=l.concat(this._data,e.subarray(t,i))},e.prototype.unhook=function(e){if(e){var t=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(s.C0.ESC+'P1$r0"q'+s.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(s.C0.ESC+'P1$r61;1"p'+s.C0.ESC+"\\");case"r":return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+s.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r0m"+s.C0.ESC+"\\");case" q":var i={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+(i-=this._optionsService.options.cursorBlink?1:0)+" q"+s.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(s.C0.ESC+"P0$r"+s.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},e}(),C=function(e){function t(t,i,n,r,c,l,f,m,b,g,y){void 0===y&&(y=new o.EscapeSequenceParser);var v=e.call(this)||this;v._terminal=t,v._bufferService=i,v._charsetService=n,v._coreService=r,v._dirtyRowService=c,v._logService=l,v._optionsService=f,v._coreMouseService=m,v._unicodeService=b,v._instantiationService=g,v._parser=y,v._parseBuffer=new Uint32Array(4096),v._stringDecoder=new d.StringToUtf32,v._utf8Decoder=new d.Utf8ToUtf32,v._workCell=new p.CellData,v._windowTitle="",v._iconName="",v._windowTitleStack=[],v._iconNameStack=[],v._curAttrData=u.DEFAULT_ATTR_DATA.clone(),v._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone(),v._onRequestRefreshRows=new h.EventEmitter,v._onRequestReset=new h.EventEmitter,v._onRequestBell=new h.EventEmitter,v._onCursorMove=new h.EventEmitter,v._onLineFeed=new h.EventEmitter,v._onScroll=new h.EventEmitter,v.register(v._parser),v._parser.setCsiHandlerFallback((function(e,t){v._logService.debug("Unknown CSI code: ",{identifier:v._parser.identToString(e),params:t.toArray()})})),v._parser.setEscHandlerFallback((function(e){v._logService.debug("Unknown ESC code: ",{identifier:v._parser.identToString(e)})})),v._parser.setExecuteHandlerFallback((function(e){v._logService.debug("Unknown EXECUTE code: ",{code:e})})),v._parser.setOscHandlerFallback((function(e,t,i){v._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:i})})),v._parser.setDcsHandlerFallback((function(e,t,i){"HOOK"===t&&(i=i.toArray()),v._logService.debug("Unknown DCS code: ",{identifier:v._parser.identToString(e),action:t,payload:i})})),v._parser.setPrintHandler((function(e,t,i){return v.print(e,t,i)})),v._parser.setCsiHandler({final:"@"},(function(e){return v.insertChars(e)})),v._parser.setCsiHandler({intermediates:" ",final:"@"},(function(e){return v.scrollLeft(e)})),v._parser.setCsiHandler({final:"A"},(function(e){return v.cursorUp(e)})),v._parser.setCsiHandler({intermediates:" ",final:"A"},(function(e){return v.scrollRight(e)})),v._parser.setCsiHandler({final:"B"},(function(e){return v.cursorDown(e)})),v._parser.setCsiHandler({final:"C"},(function(e){return v.cursorForward(e)})),v._parser.setCsiHandler({final:"D"},(function(e){return v.cursorBackward(e)})),v._parser.setCsiHandler({final:"E"},(function(e){return v.cursorNextLine(e)})),v._parser.setCsiHandler({final:"F"},(function(e){return v.cursorPrecedingLine(e)})),v._parser.setCsiHandler({final:"G"},(function(e){return v.cursorCharAbsolute(e)})),v._parser.setCsiHandler({final:"H"},(function(e){return v.cursorPosition(e)})),v._parser.setCsiHandler({final:"I"},(function(e){return v.cursorForwardTab(e)})),v._parser.setCsiHandler({final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.setCsiHandler({prefix:"?",final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.setCsiHandler({final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.setCsiHandler({prefix:"?",final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.setCsiHandler({final:"L"},(function(e){return v.insertLines(e)})),v._parser.setCsiHandler({final:"M"},(function(e){return v.deleteLines(e)})),v._parser.setCsiHandler({final:"P"},(function(e){return v.deleteChars(e)})),v._parser.setCsiHandler({final:"S"},(function(e){return v.scrollUp(e)})),v._parser.setCsiHandler({final:"T"},(function(e){return v.scrollDown(e)})),v._parser.setCsiHandler({final:"X"},(function(e){return v.eraseChars(e)})),v._parser.setCsiHandler({final:"Z"},(function(e){return v.cursorBackwardTab(e)})),v._parser.setCsiHandler({final:"`"},(function(e){return v.charPosAbsolute(e)})),v._parser.setCsiHandler({final:"a"},(function(e){return v.hPositionRelative(e)})),v._parser.setCsiHandler({final:"b"},(function(e){return v.repeatPrecedingCharacter(e)})),v._parser.setCsiHandler({final:"c"},(function(e){return v.sendDeviceAttributesPrimary(e)})),v._parser.setCsiHandler({prefix:">",final:"c"},(function(e){return v.sendDeviceAttributesSecondary(e)})),v._parser.setCsiHandler({final:"d"},(function(e){return v.linePosAbsolute(e)})),v._parser.setCsiHandler({final:"e"},(function(e){return v.vPositionRelative(e)})),v._parser.setCsiHandler({final:"f"},(function(e){return v.hVPosition(e)})),v._parser.setCsiHandler({final:"g"},(function(e){return v.tabClear(e)})),v._parser.setCsiHandler({final:"h"},(function(e){return v.setMode(e)})),v._parser.setCsiHandler({prefix:"?",final:"h"},(function(e){return v.setModePrivate(e)})),v._parser.setCsiHandler({final:"l"},(function(e){return v.resetMode(e)})),v._parser.setCsiHandler({prefix:"?",final:"l"},(function(e){return v.resetModePrivate(e)})),v._parser.setCsiHandler({final:"m"},(function(e){return v.charAttributes(e)})),v._parser.setCsiHandler({final:"n"},(function(e){return v.deviceStatus(e)})),v._parser.setCsiHandler({prefix:"?",final:"n"},(function(e){return v.deviceStatusPrivate(e)})),v._parser.setCsiHandler({intermediates:"!",final:"p"},(function(e){return v.softReset(e)})),v._parser.setCsiHandler({intermediates:" ",final:"q"},(function(e){return v.setCursorStyle(e)})),v._parser.setCsiHandler({final:"r"},(function(e){return v.setScrollRegion(e)})),v._parser.setCsiHandler({final:"s"},(function(e){return v.saveCursor(e)})),v._parser.setCsiHandler({final:"t"},(function(e){return v.windowOptions(e)})),v._parser.setCsiHandler({final:"u"},(function(e){return v.restoreCursor(e)})),v._parser.setCsiHandler({intermediates:"'",final:"}"},(function(e){return v.insertColumns(e)})),v._parser.setCsiHandler({intermediates:"'",final:"~"},(function(e){return v.deleteColumns(e)})),v._parser.setExecuteHandler(s.C0.BEL,(function(){return v.bell()})),v._parser.setExecuteHandler(s.C0.LF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(s.C0.VT,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(s.C0.FF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(s.C0.CR,(function(){return v.carriageReturn()})),v._parser.setExecuteHandler(s.C0.BS,(function(){return v.backspace()})),v._parser.setExecuteHandler(s.C0.HT,(function(){return v.tab()})),v._parser.setExecuteHandler(s.C0.SO,(function(){return v.shiftOut()})),v._parser.setExecuteHandler(s.C0.SI,(function(){return v.shiftIn()})),v._parser.setExecuteHandler(s.C1.IND,(function(){return v.index()})),v._parser.setExecuteHandler(s.C1.NEL,(function(){return v.nextLine()})),v._parser.setExecuteHandler(s.C1.HTS,(function(){return v.tabSet()})),v._parser.setOscHandler(0,new _.OscHandler((function(e){v.setTitle(e),v.setIconName(e)}))),v._parser.setOscHandler(1,new _.OscHandler((function(e){return v.setIconName(e)}))),v._parser.setOscHandler(2,new _.OscHandler((function(e){return v.setTitle(e)}))),v._parser.setEscHandler({final:"7"},(function(){return v.saveCursor()})),v._parser.setEscHandler({final:"8"},(function(){return v.restoreCursor()})),v._parser.setEscHandler({final:"D"},(function(){return v.index()})),v._parser.setEscHandler({final:"E"},(function(){return v.nextLine()})),v._parser.setEscHandler({final:"H"},(function(){return v.tabSet()})),v._parser.setEscHandler({final:"M"},(function(){return v.reverseIndex()})),v._parser.setEscHandler({final:"="},(function(){return v.keypadApplicationMode()})),v._parser.setEscHandler({final:">"},(function(){return v.keypadNumericMode()})),v._parser.setEscHandler({final:"c"},(function(){return v.fullReset()})),v._parser.setEscHandler({final:"n"},(function(){return v.setgLevel(2)})),v._parser.setEscHandler({final:"o"},(function(){return v.setgLevel(3)})),v._parser.setEscHandler({final:"|"},(function(){return v.setgLevel(3)})),v._parser.setEscHandler({final:"}"},(function(){return v.setgLevel(2)})),v._parser.setEscHandler({final:"~"},(function(){return v.setgLevel(1)})),v._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return v.selectDefaultCharset()})),v._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return v.selectDefaultCharset()}));var C=function(e){S._parser.setEscHandler({intermediates:"(",final:e},(function(){return v.selectCharset("("+e)})),S._parser.setEscHandler({intermediates:")",final:e},(function(){return v.selectCharset(")"+e)})),S._parser.setEscHandler({intermediates:"*",final:e},(function(){return v.selectCharset("*"+e)})),S._parser.setEscHandler({intermediates:"+",final:e},(function(){return v.selectCharset("+"+e)})),S._parser.setEscHandler({intermediates:"-",final:e},(function(){return v.selectCharset("-"+e)})),S._parser.setEscHandler({intermediates:".",final:e},(function(){return v.selectCharset("."+e)})),S._parser.setEscHandler({intermediates:"/",final:e},(function(){return v.selectCharset("/"+e)}))},S=this;for(var k in a.CHARSETS)C(k);return v._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return v.screenAlignmentPattern()})),v._parser.setErrorHandler((function(e){return v._logService.error("Parsing error: ",e),e})),v._parser.setDcsHandler({intermediates:"$",final:"q"},new w(v._bufferService,v._coreService,v._logService,v._optionsService)),v}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.parse=function(e){var t=this._bufferService.buffer,i=t.x,n=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length131072)for(var r=0;r0&&2===p.getWidth(s.x-1)&&p.setCellFromCodePoint(s.x-1,0,1,h.fg,h.bg);for(var m=t;m=c)if(l)s.x=0,s.y++,s.y===s.scrollBottom+1?(s.y--,this._terminal.scroll(this._eraseAttrData(),!0)):(s.y>=this._bufferService.rows&&(s.y=this._bufferService.rows-1),s.lines.get(s.y).isWrapped=!0),p=s.lines.get(s.y+s.ybase);else if(s.x=c-1,2===r)continue;if(u&&(p.insertCells(s.x,r,s.getNullCell(h),h),2===p.getWidth(c-1)&&p.setCellFromCodePoint(c-1,f.NULL_CELL_CODE,f.NULL_CELL_WIDTH,h.fg,h.bg)),p.setCellFromCodePoint(s.x++,n,r,h.fg,h.bg),r>0)for(;--r;)p.setCellFromCodePoint(s.x++,0,0,h.fg,h.bg)}else p.getWidth(s.x-1)?p.addCodepointToCell(s.x-1,n):p.addCodepointToCell(s.x-2,n)}i-t>0&&(p.loadCell(s.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),s.x0&&0===p.getWidth(s.x)&&!p.hasContent(s.x)&&p.setCellFromCodePoint(s.x,0,1,h.fg,h.bg),this._dirtyRowService.markDirty(s.y)},t.prototype.addCsiHandler=function(e,t){var i=this;return this._parser.addCsiHandler(e,"t"!==e.final||e.prefix||e.intermediates?t:function(e){return!v(e.params[0],i._optionsService.options.windowOptions)||t(e)})},t.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new b.DcsHandler(t))},t.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new _.OscHandler(t))},t.prototype.bell=function(){this._onRequestBell.fire()},t.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},t.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},t.prototype.backspace=function(){this._restrictCursor(),this._bufferService.buffer.x>0&&this._bufferService.buffer.x--},t.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var e=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._terminal.onA11yTabEmitter.fire(this._bufferService.buffer.x-e)}},t.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},t.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},t.prototype._restrictCursor=function(){this._bufferService.buffer.x=Math.min(this._bufferService.cols-1,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},t.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;this._moveCursor(0,t>=0?-Math.min(t,e.params[0]||1):-(e.params[0]||1))},t.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;this._moveCursor(0,t>=0?Math.min(t,e.params[0]||1):e.params[0]||1)},t.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},t.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},t.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},t.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.cursorPosition=function(e){this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},t.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},t.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},t.prototype.hVPosition=function(e){this.cursorPosition(e)},t.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},t.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},t.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.x=i.prevStop()},t.prototype._eraseInBufferLine=function(e,t,i,n){void 0===n&&(n=!1);var r=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);r.replaceCells(t,i,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n&&(r.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(this._dirtyRowService.markDirty(t=this._bufferService.buffer.y),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((t=this._bufferService.rows)-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var i=this._bufferService.buffer.lines.length-this._bufferService.rows;i>0&&(this._bufferService.buffer.lines.trimStart(i),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-i,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-i,0),this._onScroll.fire(0))}},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1,i=this._bufferService.buffer;if(!(i.y>i.scrollBottom||i.yi.scrollBottom||i.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.y0||(this._terminal.is("xterm")||this._terminal.is("rxvt-unicode")||this._terminal.is("screen")?this._coreService.triggerDataEvent(s.C0.ESC+"[?1;2c"):this._terminal.is("linux")&&this._coreService.triggerDataEvent(s.C0.ESC+"[?6c"))},t.prototype.sendDeviceAttributesSecondary=function(e){e.params[0]>0||(this._terminal.is("xterm")?this._coreService.triggerDataEvent(s.C0.ESC+"[>0;276;0c"):this._terminal.is("rxvt-unicode")?this._coreService.triggerDataEvent(s.C0.ESC+"[>85;95;0c"):this._terminal.is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._terminal.is("screen")&&this._coreService.triggerDataEvent(s.C0.ESC+"[>83;40003;0c"))},t.prototype.setMode=function(e){for(var t=0;t=2||2===n[1]&&s+r>=5)break;n[1]&&(r=1)}while(++s+t=30&&t<=37?(n.fg&=-50331904,n.fg|=16777216|t-30):t>=40&&t<=47?(n.bg&=-50331904,n.bg|=16777216|t-40):t>=90&&t<=97?(n.fg&=-50331904,n.fg|=16777224|t-90):t>=100&&t<=107?(n.bg&=-50331904,n.bg|=16777224|t-100):0===t?(n.fg=u.DEFAULT_ATTR_DATA.fg,n.bg=u.DEFAULT_ATTR_DATA.bg):1===t?n.fg|=134217728:3===t?n.bg|=67108864:4===t?n.fg|=268435456:5===t?n.fg|=536870912:7===t?n.fg|=67108864:8===t?n.fg|=1073741824:2===t?n.bg|=134217728:22===t?(n.fg&=-134217729,n.bg&=-134217729):23===t?n.bg&=-67108865:24===t?n.fg&=-268435457:25===t?n.fg&=-536870913:27===t?n.fg&=-67108865:28===t?n.fg&=-1073741825:39===t?(n.fg&=-67108864,n.fg|=16777215&u.DEFAULT_ATTR_DATA.fg):49===t?(n.bg&=-67108864,n.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):38===t||48===t?r+=this._extractColor(e,r,n):100===t?(n.fg&=-67108864,n.fg|=16777215&u.DEFAULT_ATTR_DATA.fg,n.bg&=-67108864,n.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(s.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(s.C0.ESC+"["+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.deviceStatusPrivate=function(e){switch(e.params[0]){case 6:this._coreService.triggerDataEvent(s.C0.ESC+"[?"+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.softReset=function(e){var t;this._coreService.isCursorHidden=!1,this._terminal.insertMode=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._bufferService.buffer.x=this._bufferService.buffer.y=0,this._coreService.reset(),this._charsetService.reset()},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}this._optionsService.options.cursorBlink=t%2==1},t.prototype.setScrollRegion=function(e){var t,i=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>i&&(this._bufferService.buffer.scrollTop=i-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},t.prototype.windowOptions=function(e){if(v(e.params[0],this._optionsService.options.windowOptions)){var t=e.length>1?e.params[1]:0,i=this._instantiationService.getService(g.IRenderService);switch(e.params[0]){case 14:if(i&&2!==t){console.log(i.dimensions);var n=i.dimensions.scaledCanvasWidth.toFixed(0),r=i.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(s.C0.ESC+"[4;"+r+";"+n+"t")}break;case 16:i&&(n=i.dimensions.scaledCellWidth.toFixed(0),r=i.dimensions.scaledCellHeight.toFixed(0),this._coreService.triggerDataEvent(s.C0.ESC+"[6;"+r+";"+n+"t"));break;case 18:this._bufferService&&this._coreService.triggerDataEvent(s.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},t.prototype.saveCursor=function(e){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},t.prototype.restoreCursor=function(e){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},t.prototype.setTitle=function(e){this._windowTitle=e,this._terminal.handleTitle(e)},t.prototype.setIconName=function(e){this._iconName=e},t.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},t.prototype.keypadApplicationMode=function(){var e;this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.keypadNumericMode=function(){var e;this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,a.DEFAULT_CHARSET)},t.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(y[e[0]],a.CHARSETS[e[1]]||a.DEFAULT_CHARSET):this.selectDefaultCharset()},t.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),this._restrictCursor()},t.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},t.prototype.reverseIndex=function(){this._restrictCursor();var e=this._bufferService.buffer;e.y===e.scrollTop?(e.lines.shiftElements(e.y+e.ybase,e.scrollBottom-e.scrollTop,1),e.lines.set(e.y+e.ybase,e.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)):(e.y--,this._restrictCursor())},t.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},t.prototype.reset=function(){this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){this._charsetService.setgLevel(e)},t.prototype.screenAlignmentPattern=function(){var e=new p.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var i=0;i1)throw new Error("only one byte as prefix supported");if((i=e.prefix.charCodeAt(0))&&60>i||i>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var n=0;nr||r>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");i<<=8,i|=r}}if(1!==e.final.length)throw new Error("final must be a single byte");var s=e.final.charCodeAt(0);if(t[0]>s||s>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(i<<=8)|s},i.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},i.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},i.prototype.setPrintHandler=function(e){this._printHandler=e},i.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},i.prototype.addEscHandler=function(e,t){var i=this._identifier(e,[48,126]);void 0===this._escHandlers[i]&&(this._escHandlers[i]=[]);var n=this._escHandlers[i];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},i.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},i.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},i.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},i.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},i.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},i.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},i.prototype.addCsiHandler=function(e,t){var i=this._identifier(e);void 0===this._csiHandlers[i]&&(this._csiHandlers[i]=[]);var n=this._csiHandlers[i];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},i.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},i.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},i.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},i.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},i.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},i.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},i.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},i.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},i.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},i.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},i.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},i.prototype.setErrorHandler=function(e){this._errorHandler=e},i.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},i.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},i.prototype.parse=function(e,t){for(var i=0,n=0,r=this.currentState,s=this._oscParser,a=this._dcsParser,o=this._collect,c=this._params,l=this.TRANSITIONS.table,d=0;d>4){case 2:for(var u=d+1;;++u){if(u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}}break;case 3:this._executeHandlers[i]?this._executeHandlers[i]():this._executeHandlerFb(i),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:d,code:i,currentState:r,collect:o,params:c,abort:!1}).abort)return;break;case 7:for(var h=this._csiHandlers[o<<8|i],f=h?h.length-1:-1;f>=0&&!1===h[f](c);f--);f<0&&this._csiHandlerFb(o<<8|i,c),this.precedingCodepoint=0;break;case 8:do{switch(i){case 59:c.addParam(0);break;case 58:c.addSubParam(-1);break;default:c.addDigit(i-48)}}while(++d47&&i<60);d--;break;case 9:o<<=8,o|=i;break;case 10:for(var p=this._escHandlers[o<<8|i],m=p?p.length-1:-1;m>=0&&!1===p[m]();m--);m<0&&this._escHandlerFb(o<<8|i),this.precedingCodepoint=0;break;case 11:c.reset(),c.addParam(0),o=0;break;case 12:a.hook(o<<8|i,c);break;case 13:for(var _=d+1;;++_)if(_>=t||24===(i=e[_])||26===i||27===i||i>127&&i<160){a.put(e,d,_),d=_-1;break}break;case 14:a.unhook(24!==i&&26!==i),27===i&&(n|=1),c.reset(),c.addParam(0),o=0,this.precedingCodepoint=0;break;case 4:s.start();break;case 5:for(var b=d+1;;b++)if(b>=t||(i=e[b])<32||i>127&&i<=159){s.put(e,d,b),d=b-1;break}break;case 6:s.end(24!==i&&26!==i),27===i&&(n|=1),c.reset(),c.addParam(0),o=0,this.precedingCodepoint=0}r=15&n}this._collect=o,this.currentState=r},i}(s.Disposable);t.EscapeSequenceParser=u},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(40),c=i(46),l=i(47),d=i(48),u=i(27),h=i(2),f=i(4),p=i(0),m=i(23),_=i(1),b=1,g=function(e){function t(t,i,n,r,s,a,h,f){var p=e.call(this)||this;p._colors=t,p._screenElement=i,p._linkifier=n,p._bufferService=r,p._charSizeService=s,p._optionsService=a,p.coreService=h,p.coreBrowserService=f,p._id=b++,p._onRequestRefreshRows=new _.EventEmitter;var m=p._optionsService.options.allowTransparency;return p._characterJoinerRegistry=new u.CharacterJoinerRegistry(p._bufferService),p._renderLayers=[new o.TextRenderLayer(p._screenElement,0,p._colors,p._characterJoinerRegistry,m,p._id,p._bufferService,a),new c.SelectionRenderLayer(p._screenElement,1,p._colors,p._id,p._bufferService,a),new d.LinkRenderLayer(p._screenElement,2,p._colors,p._id,p._linkifier,p._bufferService,a),new l.CursorRenderLayer(p._screenElement,3,p._colors,p._id,p._onRequestRefreshRows,p._bufferService,a,h,f)],p.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},p._devicePixelRatio=window.devicePixelRatio,p._updateDimensions(),p.onOptionsChanged(),p}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._renderLayers.forEach((function(e){return e.dispose()})),m.removeTerminalFromCache(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){var t=this;this._colors=e,this._renderLayers.forEach((function(e){e.setColors(t._colors),e.reset()}))},t.prototype.onResize=function(e,t){var i=this;this._updateDimensions(),this._renderLayers.forEach((function(e){return e.resize(i.dimensions)})),this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation((function(e){return e.onBlur()}))},t.prototype.onFocus=function(){this._runOperation((function(e){return e.onFocus()}))},t.prototype.onSelectionChanged=function(e,t,i){void 0===i&&(i=!1),this._runOperation((function(n){return n.onSelectionChanged(e,t,i)}))},t.prototype.onCursorMove=function(){this._runOperation((function(e){return e.onCursorMove()}))},t.prototype.onOptionsChanged=function(){this._runOperation((function(e){return e.onOptionsChanged()}))},t.prototype.clear=function(){this._runOperation((function(e){return e.reset()}))},t.prototype._runOperation=function(e){this._renderLayers.forEach((function(t){return e(t)}))},t.prototype.renderRows=function(e,t){this._renderLayers.forEach((function(i){return i.onGridChanged(e,t)}))},t.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},t.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},s([a(3,p.IBufferService),a(4,f.ICharSizeService),a(5,p.IOptionsService),a(6,p.ICoreService),a(7,f.ICoreBrowserService)],t)}(h.Disposable);t.Renderer=g},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(41),a=i(13),o=i(6),c=i(3),l=i(27),d=i(5),u=function(e){function t(t,i,n,r,a,o,c,l){var u=e.call(this,t,"text",i,a,n,o,c,l)||this;return u.bufferService=c,u.optionsService=l,u._characterWidth=0,u._characterFont="",u._characterOverlapCache={},u._workCell=new d.CellData,u._state=new s.GridCache,u._characterJoinerRegistry=r,u}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var i=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===i||(this._characterWidth=t.scaledCharWidth,this._characterFont=i,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,i,n){for(var r=e;r<=t;r++)for(var s=r+this._bufferService.buffer.ydisp,a=this._bufferService.buffer.lines.get(s),o=i?i.getJoinedCharacters(s):[],d=0;d0&&d===o[0][0]){h=!0;var p=o.shift();u=new l.JoinedCellData(this._workCell,a.translateToString(!0,p[0],p[1]),p[1]-p[0]),f=p[1]-1}!h&&this._isOverlapping(u)&&fthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=i,i},t}(a.BaseRenderLayer);t.TextRenderLayer=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var i=0;i>>24,r=t.rgba>>>16&255,s=t.rgba>>>8&255,a=0;a=this.capacity)this._unlinkNode(i=this._head),delete this._map[i.key],i.key=e,i.value=t,this._map[e]=i;else{var n=this._nodePool;n.length>0?((i=n.pop()).key=e,i.value=t):i={prev:null,next:null,key:e,value:t},this._map[e]=i,this.size++}this._appendNode(i)},e}();t.LRUMap=n},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(t,i,n,r,s,a){var o=e.call(this,t,"selection",i,!0,n,r,s,a)||this;return o.bufferService=s,o.optionsService=a,o._clearState(),o}return r(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(e,t,i){if(this._didStateChange(e,t,i,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var n=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,s=Math.max(n,0),a=Math.min(r,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||a<0)){if(this._ctx.fillStyle=this._colors.selection.css,i){var o=e[0];this._fillCells(o,s,t[0]-o,a-s+1)}else{this._fillCells(o=n===s?e[0]:0,s,(s===a?t[0]:this._bufferService.cols)-o,1);var c=Math.max(a-s-1,0);this._fillCells(0,s+1,this._bufferService.cols,c),s!==a&&this._fillCells(0,a,r===a?t[0]:this._bufferService.cols,1)}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,i,n){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||i!==this._state.columnSelectMode||n!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},t}(i(13).BaseRenderLayer);t.SelectionRenderLayer=s},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(13),a=i(5),o=function(e){function t(t,i,n,r,s,o,c,l,d){var u=e.call(this,t,"cursor",i,!0,n,r,o,c)||this;return u._onRequestRefreshRowsEvent=s,u.bufferService=o,u.optionsService=c,u._coreService=l,u._coreBrowserService=d,u._cell=new a.CellData,u._state={x:0,y:0,isFocused:!1,style:"",width:0},u._cursorRenderers={bar:u._renderBarCursor.bind(u),block:u._renderBlockCursor.bind(u),underline:u._renderUnderlineCursor.bind(u)},u}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},t.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new c(this._coreBrowserService.isFocused,(function(){t._render(!0)}))):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,i=t-this._bufferService.buffer.ydisp;if(i<0||i>=this._bufferService.rows)this._clearCursor();else if(this._bufferService.buffer.lines.get(t).loadCell(this._bufferService.buffer.x,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var n=this._optionsService.options.cursorStyle;return n&&"block"!==n?this._cursorRenderers[n](this._bufferService.buffer.x,i,this._cell):this._renderBlurCursor(this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=n,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===this._bufferService.buffer.x&&this._state.y===i&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,i.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(i,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,i){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,i.getWidth(),1),this._ctx.restore()},t}(s.BaseRenderLayer);t.CursorRenderLayer=o;var c=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=setTimeout((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0})),t._blinkInterval=setInterval((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0}))}),600)}),e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(13),a=i(9),o=i(24),c=function(e){function t(t,i,n,r,s,a,o){var c=e.call(this,t,"link",i,!0,n,r,a,o)||this;return c.bufferService=a,c.optionsService=o,s.onLinkHover((function(e){return c._onLinkHover(e)})),s.onLinkLeave((function(e){return c._onLinkLeave(e)})),c}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onLinkHover=function(e){if(this._ctx.fillStyle=e.fg===a.INVERTED_DEFAULT_COLOR?this._colors.background.css:e.fg&&o.is256Color(e.fg)?this._colors.ansi[e.fg].css:this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t=e.lines.length)){for(var i=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,n=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,t,i,n,n);r.hasNext();)for(var s=r.next(),a=0;a=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t>9&511:void 0;i.validationCallback?i.validationCallback(o,(function(e){r._rowsTimeoutId||e&&r._addLink(l[1],l[0]-r._bufferService.buffer.ydisp,o,i,h)})):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,o,i,h)},c=this;null!==(n=s.exec(t))&&"break"!==o(););},e.prototype._addLink=function(e,t,i,n,r){var a=this;if(this._mouseZoneManager&&this._element){var o=this._unicodeService.getStringCellWidth(i),c=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),d=(c+o)%this._bufferService.cols,u=l+Math.floor((c+o)/this._bufferService.cols);0===d&&(d=this._bufferService.cols,u--),this._mouseZoneManager.add(new s(c+1,l+1,d+1,u+1,(function(e){if(n.handler)return n.handler(e,i);var t=window.open();t?(t.opener=null,t.location.href=i):console.warn("Opening link blocked as opener could not be cleared")}),(function(){a._onLinkHover.fire(a._createLinkHoverEvent(c,l,d,u,r)),a._element.classList.add("xterm-cursor-pointer")}),(function(e){a._onLinkTooltip.fire(a._createLinkHoverEvent(c,l,d,u,r)),n.hoverTooltipCallback&&n.hoverTooltipCallback(e,i,{start:{x:c,y:l},end:{x:d,y:u}})}),(function(){a._onLinkLeave.fire(a._createLinkHoverEvent(c,l,d,u,r)),a._element.classList.remove("xterm-cursor-pointer"),n.hoverLeaveCallback&&n.hoverLeaveCallback()}),(function(e){return!n.willLinkActivate||n.willLinkActivate(e,i)})))}},e.prototype._createLinkHoverEvent=function(e,t,i,n,r){return{x1:e,y1:t,x2:i,y2:n,cols:this._bufferService.cols,fg:r}},e._timeBeforeLatency=200,e}();t.Linkifier=r;var s=function(e,t,i,n,r,s,a,o,c){this.x1=e,this.y1=t,this.x2=i,this.y2=n,this.clickCallback=r,this.hoverCallback=s,this.tooltipCallback=a,this.leaveCallback=o,this.willLinkActivate=c};t.MouseZone=s},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(11),a=i(51),o=i(5),c=i(1),l=i(4),d=i(0),u=i(28),h=i(52),f=String.fromCharCode(160),p=new RegExp(f,"g"),m=function(){function e(e,t,i,n,r,s,l,d){var u=this;this._scrollLines=e,this._element=t,this._screenElement=i,this._charSizeService=n,this._bufferService=r,this._coreService=s,this._mouseService=l,this._optionsService=d,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new o.CellData,this._mouseDownTimeStamp=0,this._onLinuxMouseSelection=new c.EventEmitter,this._onRedrawRequest=new c.EventEmitter,this._onSelectionChange=new c.EventEmitter,this._mouseMoveListener=function(e){return u._onMouseMove(e)},this._mouseUpListener=function(e){return u._onMouseUp(e)},this._coreService.onUserInput((function(){u.hasSelection&&u.clearSelection()})),this._trimListener=this._bufferService.buffer.lines.onTrim((function(e){return u._onTrim(e)})),this._bufferService.buffers.onBufferActivate((function(e){return u._onBufferActivate(e)})),this.enable(),this._model=new a.SelectionModel(this._bufferService),this._activeSelectionMode=0}return Object.defineProperty(e.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onRedrawRequest",{get:function(){return this._onRedrawRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._removeMouseDownListeners()},e.prototype.reset=function(){this.clearSelection()},e.prototype.disable=function(){this.clearSelection(),this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},Object.defineProperty(e.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var i=this._bufferService.buffer,n=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var r=e[1];r<=t[1];r++){var a=i.translateBufferLineToString(r,!0,e[0],t[0]);n.push(a)}}else{for(n.push(i.translateBufferLineToString(e[1],!0,e[0],e[1]===t[1]?t[0]:void 0)),r=e[1]+1;r<=t[1]-1;r++){var o=i.lines.get(r);a=i.translateBufferLineToString(r,!0),o&&o.isWrapped?n[n.length-1]+=a:n.push(a)}e[1]!==t[1]&&(o=i.lines.get(t[1]),a=i.translateBufferLineToString(t[1],!0,0,t[0]),o&&o.isWrapped?n[n.length-1]+=a:n.push(a))}return n.map((function(e){return e.replace(p," ")})).join(s.isWindows?"\r\n":"\n")},enumerable:!0,configurable:!0}),e.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},e.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return t._refresh()}))),s.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},e.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},e.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),i=this._model.finalSelectionStart,n=this._model.finalSelectionEnd;return!!(i&&n&&t)&&this._areCoordsInSelection(t,i,n)},e.prototype._areCoordsInSelection=function(e,t,i){return e[1]>t[1]&&e[1]=t[0]&&e[0]=t[0]},e.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},e.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},e.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},e.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},e.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},e.prototype._getMouseEventScrollAmount=function(e){var t=u.getCoordsRelativeToElement(e,this._screenElement)[1],i=this._bufferService.rows*Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight);return t>=0&&t<=i?0:(t>i&&(t-=i),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},e.prototype.shouldForceSelection=function(e){return s.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},e.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},e.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return e._dragScroll()}),50)},e.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},e.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},e.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},e.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},e.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},e.prototype.shouldColumnSelect=function(e){return e.altKey&&!(s.isMac&&this._optionsService.options.macOptionClickForcesSelection)},e.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var i=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},e.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500){if(e.altKey&&this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var i=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(i&&void 0!==i[0]&&void 0!==i[1]){var n=h.moveToCellSequence(i[0]-1,i[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(n,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},e.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((function(e){return t._onTrim(e)}))},e.prototype._convertViewportColToCharacterIndex=function(e,t){for(var i=t[0],n=0;t[0]>=n;n++){var r=e.loadCell(n,this._workCell).getChars().length;0===this._workCell.getWidth()?i--:r>1&&t[0]!==n&&(i+=r-1)}return i},e.prototype.setSelection=function(e,t,i){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=i,this.refresh()},e.prototype._getWordAt=function(e,t,i,n){if(void 0===i&&(i=!0),void 0===n&&(n=!0),!(e[0]>=this._bufferService.cols)){var r=this._bufferService.buffer,s=r.lines.get(e[1]);if(s){var a=r.translateBufferLineToString(e[1],!1),o=this._convertViewportColToCharacterIndex(s,e),c=o,l=e[0]-o,d=0,u=0,h=0,f=0;if(" "===a.charAt(o)){for(;o>0&&" "===a.charAt(o-1);)o--;for(;c1&&(f+=_-1,c+=_-1);p>0&&o>0&&!this._isCharWordSeparator(s.loadCell(p-1,this._workCell));){s.loadCell(p-1,this._workCell);var b=this._workCell.getChars().length;0===this._workCell.getWidth()?(d++,p--):b>1&&(h+=b-1,o-=b-1),o--,p--}for(;m1&&(f+=g-1,c+=g-1),c++,m++}}c++;var y=o+l-d+h,v=Math.min(this._bufferService.cols,c-o+d+u-h-f);if(t||""!==a.slice(o,c).trim()){if(i&&0===y&&32!==s.getCodePoint(0)){var w=r.lines.get(e[1]-1);if(w&&s.isWrapped&&32!==w.getCodePoint(this._bufferService.cols-1)){var C=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(C){var S=this._bufferService.cols-C.start;y-=S,v+=S}}}if(n&&y+v===this._bufferService.cols&&32!==s.getCodePoint(this._bufferService.cols-1)){var k=r.lines.get(e[1]+1);if(k&&k.isWrapped&&32!==k.getCodePoint(0)){var x=this._getWordAt([0,e[1]+1],!1,!1,!0);x&&(v+=x.length)}}return{start:y,length:v}}}}},e.prototype._selectWordAt=function(e,t){var i=this._getWordAt(e,t);if(i){for(;i.start<0;)i.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[i.start,e[1]],this._model.selectionStartLength=i.length}},e.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var i=e[1];t.start<0;)t.start+=this._bufferService.cols,i--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,i++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,i]}},e.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.options.wordSeparator.indexOf(e.getChars())>=0},e.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},n([r(3,l.ICharSizeService),r(4,d.IBufferService),r(5,d.ICoreService),r(6,l.IMouseService),r(7,d.IOptionsService)],e)}();t.SelectionService=m},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!0,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12);function r(e,t,i,n){var r=e-s(i,e),o=t-s(i,t);return l(Math.abs(r-o)-function(e,t,i){for(var n=0,r=e-s(i,e),o=t-s(i,t),c=0;c=0&&tt?"A":"B"}function o(e,t,i,n,r,s){for(var a=e,o=t,c="";a!==i||o!==n;)a+=r?1:-1,r&&a>s.cols-1?(c+=s.buffer.translateBufferLineToString(o,!1,e,a),a=0,e=0,o++):!r&&a<0&&(c+=s.buffer.translateBufferLineToString(o,!1,0,e+1),e=a=s.cols-1,o--);return c+s.buffer.translateBufferLineToString(o,!1,e,a)}function c(e,t){return n.C0.ESC+(t?"O":"[")+e}function l(e,t){e=Math.floor(e);for(var i="",n=0;n0?n-s(a,n):t;var h=n,f=function(e,t,i,n,a,o){var c;return c=r(i,n,a,o).length>0?n-s(a,n):t,e=i&&ce?"D":"C",l(Math.abs(d-e),c(a,n));a=u>t?"D":"C";var h=Math.abs(u-t);return l(function(e,t){return t.cols-e}(u>t?e:d,i)+(h-1)*i.cols+1+((u>t?d:e)-1),c(a,n))}},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!0,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var i=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),(function(e){i.buffer=e,i.connect(t.destination),i.start(0)}))}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),i=t.length,n=new Uint8Array(i),r=0;r=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),c=i(8),l=i(4),d=i(0),u=function(e){function t(t,i,n,r,s){var a=e.call(this)||this;return a._element=t,a._screenElement=i,a._bufferService=n,a._mouseService=r,a._selectionService=s,a._zones=[],a._areZonesActive=!1,a._lastHoverCoords=[void 0,void 0],a._initialSelectionLength=0,a.register(c.addDisposableDomListener(a._element,"mousedown",(function(e){return a._onMouseDown(e)}))),a._mouseMoveListener=function(e){return a._onMouseMove(e)},a._mouseLeaveListener=function(e){return a._onMouseLeave(e)},a._clickListener=function(e){return a._onClick(e)},a}return r(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var i=0;ie&&n.y1<=t+1||n.y2>e&&n.y2<=t+1||n.y1t+1)&&(this._currentZone&&this._currentZone===n&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(i--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,i=this._findZoneEventAt(e);i!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),i&&(this._currentZone=i,i.hoverCallback&&i.hoverCallback(e),this._tooltipTimeout=setTimeout((function(){return t._onTooltip(e)}),500)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){var t;this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive&&(null===(t=this._findZoneEventAt(e))||void 0===t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),i=this._getSelectionLength();t&&i===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var i=t[0],n=t[1],r=0;r=s.x1&&i=s.x1||n===s.y2&&is.y1&&ne;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=s.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)}),0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&this._liveRegion.parentNode&&this._accessibilityTreeRoot.removeChild(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var i=this._terminal.buffer,n=i.lines.length.toString(),r=e;r<=t;r++){var s=i.translateBufferLineToString(i.ydisp+r,!0),a=(i.ydisp+r+1).toString(),o=this._rowElements[r];o&&(0===s.length?o.innerHTML=" ":o.textContent=s,o.setAttribute("aria-posinset",a),o.setAttribute("aria-setsize",n))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(57),c=i(9),l=i(2),d=i(4),u=i(0),h=i(1),f=i(10),p="xterm-dom-renderer-owner-",m="xterm-rows",_="xterm-selection",b=1,g=function(e){function t(t,i,n,r,s,a,c,l){var d=e.call(this)||this;return d._colors=t,d._element=i,d._screenElement=n,d._viewportElement=r,d._linkifier=s,d._charSizeService=a,d._optionsService=c,d._bufferService=l,d._terminalClass=b++,d._rowElements=[],d._onRequestRefreshRows=new h.EventEmitter,d._rowContainer=document.createElement("div"),d._rowContainer.classList.add(m),d._rowContainer.style.lineHeight="normal",d._rowContainer.setAttribute("aria-hidden","true"),d._refreshRowElements(d._bufferService.cols,d._bufferService.rows),d._selectionContainer=document.createElement("div"),d._selectionContainer.classList.add(_),d._selectionContainer.setAttribute("aria-hidden","true"),d.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},d._updateDimensions(),d._injectCss(),d._rowFactory=new o.DomRendererRowFactory(document,d._optionsService,d._colors),d._element.classList.add(p+d._terminalClass),d._screenElement.appendChild(d._rowContainer),d._screenElement.appendChild(d._selectionContainer),d._linkifier.onLinkHover((function(e){return d._onLinkHover(e)})),d._linkifier.onLinkLeave((function(e){return d._onLinkLeave(e)})),d}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove(p+this._terminalClass),this._screenElement.removeChild(this._rowContainer),this._screenElement.removeChild(this._selectionContainer),this._screenElement.removeChild(this._themeStyleElement),this._screenElement.removeChild(this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){var e=this;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this._rowElements.forEach((function(t){t.style.width=e.dimensions.canvasWidth+"px",t.style.height=e.dimensions.actualCellHeight+"px",t.style.lineHeight=e.dimensions.actualCellHeight+"px",t.style.overflow="hidden"})),this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.innerHTML=this._terminalSelector+" ."+m+" span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" ."+m+" { color: "+this._colors.foreground.css+"; background-color: "+this._colors.background.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+o.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+o.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+o.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",t+=this._terminalSelector+" ."+m+":not(.xterm-focus) ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" ."+m+".xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+":not(."+o.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" ."+m+" ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" ."+m+" ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=this._terminalSelector+" ."+_+" { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" ."+_+" div { position: absolute; background-color: "+this._colors.selection.css+";}",this._colors.ansi.forEach((function(i,n){t+=e._terminalSelector+" .xterm-fg-"+n+" { color: "+i.css+"; }"+e._terminalSelector+" .xterm-bg-"+n+" { background-color: "+i.css+"; }"})),t+=this._terminalSelector+" .xterm-fg-"+c.INVERTED_DEFAULT_COLOR+" { color: "+f.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+c.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var i=this._rowElements.length;i<=t;i++){var n=document.createElement("div");this._rowContainer.appendChild(n),this._rowElements.push(n)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},t.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},t.prototype.onSelectionChanged=function(e,t,i){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var n=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,s=Math.max(n,0),a=Math.min(r,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||a<0)){var o=document.createDocumentFragment();i?o.appendChild(this._createSelectionElement(s,e[0],t[0],a-s+1)):(o.appendChild(this._createSelectionElement(s,n===s?e[0]:0,s===a?t[0]:this._bufferService.cols)),o.appendChild(this._createSelectionElement(s+1,0,this._bufferService.cols,a-s-1)),s!==a&&o.appendChild(this._createSelectionElement(a,0,r===a?t[0]:this._bufferService.cols))),this._selectionContainer.appendChild(o)}}},t.prototype._createSelectionElement=function(e,t,i,n){void 0===n&&(n=1);var r=document.createElement("div");return r.style.height=n*this.dimensions.actualCellHeight+"px",r.style.top=e*this.dimensions.actualCellHeight+"px",r.style.left=t*this.dimensions.actualCellWidth+"px",r.style.width=this.dimensions.actualCellWidth*(i-t)+"px",r},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){this._rowElements.forEach((function(e){return e.innerHTML=""}))},t.prototype.renderRows=function(e,t){for(var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=this._bufferService.buffer.x,r=this._optionsService.options.cursorBlink,s=e;s<=t;s++){var a=this._rowElements[s];a.innerHTML="";var o=s+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(o);a.appendChild(this._rowFactory.createRow(c,o===i,this._optionsService.options.cursorStyle,n,r,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return"."+p+this._terminalClass},enumerable:!0,configurable:!0}),t.prototype.registerCharacterJoiner=function(e){return-1},t.prototype.deregisterCharacterJoiner=function(e){return!1},t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,i,n,r,s){for(;e!==t||i!==n;){var a=this._rowElements[i];if(!a)return;var o=a.children[e];o&&(o.style.textDecoration=s?"underline":"none"),++e>=r&&(e=0,i++)}},s([a(5,d.ICharSizeService),a(6,u.IOptionsService),a(7,u.IBufferService)],t)}(l.Disposable);t.DomRenderer=g},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),r=i(3),s=i(5),a=i(10);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var o=function(){function e(e,t,i){this._document=e,this._optionsService=t,this._colors=i,this._workCell=new s.CellData}return e.prototype.setColors=function(e){this._colors=e},e.prototype.createRow=function(e,i,s,o,l,d,u){for(var h=this._document.createDocumentFragment(),f=0,p=Math.min(e.length,u)-1;p>=0;p--)if(e.loadCell(p,this._workCell).getCode()!==r.NULL_CELL_CODE||i&&p===o){f=p+1;break}for(p=0;p1&&(_.style.width=d*m+"px"),i&&p===o)switch(_.classList.add(t.CURSOR_CLASS),l&&_.classList.add(t.CURSOR_BLINK_CLASS),s){case"bar":_.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":_.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:_.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&_.classList.add(t.BOLD_CLASS),this._workCell.isItalic()&&_.classList.add(t.ITALIC_CLASS),this._workCell.isDim()&&_.classList.add(t.DIM_CLASS),this._workCell.isUnderline()&&_.classList.add(t.UNDERLINE_CLASS),_.textContent=this._workCell.isInvisible()?r.WHITESPACE_CELL_CHAR:this._workCell.getChars()||r.WHITESPACE_CELL_CHAR;var b=this._workCell.getFgColor(),g=this._workCell.getFgColorMode(),y=this._workCell.getBgColor(),v=this._workCell.getBgColorMode(),w=!!this._workCell.isInverse();if(w){var C=b;b=y,y=C;var S=g;g=v,v=S}switch(g){case 16777216:case 33554432:this._workCell.isBold()&&b<8&&this._optionsService.options.drawBoldTextInBrightColors&&(b+=8),this._applyMinimumContrast(_,this._colors.background,this._colors.ansi[b])||_.classList.add("xterm-fg-"+b);break;case 50331648:var k=a.rgba.toColor(b>>16&255,b>>8&255,255&b);this._applyMinimumContrast(_,this._colors.background,k)||this._addStyle(_,"color:#"+c(b.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(_,this._colors.background,this._colors.foreground)||w&&_.classList.add("xterm-fg-"+n.INVERTED_DEFAULT_COLOR)}switch(v){case 16777216:case 33554432:_.classList.add("xterm-bg-"+y);break;case 50331648:this._addStyle(_,"background-color:#"+c(y.toString(16),"0",6));break;case 0:default:w&&_.classList.add("xterm-bg-"+n.INVERTED_DEFAULT_COLOR)}h.appendChild(_)}}return h},e.prototype._applyMinimumContrast=function(e,t,i){if(1===this._optionsService.options.minimumContrastRatio)return!1;var n=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===n&&(n=a.color.ensureContrastRatio(t,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=n?n:null)),!!n&&(this._addStyle(e,"color:"+n.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e}();function c(e,t,i){for(;e.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,i,s){var a={type:0,cancel:!1,key:void 0},o=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?n.C0.ESC+"OA":n.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?n.C0.ESC+"OD":n.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?n.C0.ESC+"OC":n.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?n.C0.ESC+"OB":n.C0.ESC+"[B");break;case 8:if(e.shiftKey){a.key=n.C0.BS;break}if(e.altKey){a.key=n.C0.ESC+n.C0.DEL;break}a.key=n.C0.DEL;break;case 9:if(e.shiftKey){a.key=n.C0.ESC+"[Z";break}a.key=n.C0.HT,a.cancel=!0;break;case 13:a.key=n.C0.CR,a.cancel=!0;break;case 27:a.key=n.C0.ESC,a.cancel=!0;break;case 37:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"D",a.key===n.C0.ESC+"[1;3D"&&(a.key=n.C0.ESC+(i?"b":"[1;5D"))):a.key=t?n.C0.ESC+"OD":n.C0.ESC+"[D";break;case 39:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"C",a.key===n.C0.ESC+"[1;3C"&&(a.key=n.C0.ESC+(i?"f":"[1;5C"))):a.key=t?n.C0.ESC+"OC":n.C0.ESC+"[C";break;case 38:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"A",i||a.key!==n.C0.ESC+"[1;3A"||(a.key=n.C0.ESC+"[1;5A")):a.key=t?n.C0.ESC+"OA":n.C0.ESC+"[A";break;case 40:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"B",i||a.key!==n.C0.ESC+"[1;3B"||(a.key=n.C0.ESC+"[1;5B")):a.key=t?n.C0.ESC+"OB":n.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=n.C0.ESC+"[2~");break;case 46:a.key=o?n.C0.ESC+"[3;"+(o+1)+"~":n.C0.ESC+"[3~";break;case 36:a.key=o?n.C0.ESC+"[1;"+(o+1)+"H":t?n.C0.ESC+"OH":n.C0.ESC+"[H";break;case 35:a.key=o?n.C0.ESC+"[1;"+(o+1)+"F":t?n.C0.ESC+"OF":n.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:a.key=n.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:a.key=n.C0.ESC+"[6~";break;case 112:a.key=o?n.C0.ESC+"[1;"+(o+1)+"P":n.C0.ESC+"OP";break;case 113:a.key=o?n.C0.ESC+"[1;"+(o+1)+"Q":n.C0.ESC+"OQ";break;case 114:a.key=o?n.C0.ESC+"[1;"+(o+1)+"R":n.C0.ESC+"OR";break;case 115:a.key=o?n.C0.ESC+"[1;"+(o+1)+"S":n.C0.ESC+"OS";break;case 116:a.key=o?n.C0.ESC+"[15;"+(o+1)+"~":n.C0.ESC+"[15~";break;case 117:a.key=o?n.C0.ESC+"[17;"+(o+1)+"~":n.C0.ESC+"[17~";break;case 118:a.key=o?n.C0.ESC+"[18;"+(o+1)+"~":n.C0.ESC+"[18~";break;case 119:a.key=o?n.C0.ESC+"[19;"+(o+1)+"~":n.C0.ESC+"[19~";break;case 120:a.key=o?n.C0.ESC+"[20;"+(o+1)+"~":n.C0.ESC+"[20~";break;case 121:a.key=o?n.C0.ESC+"[21;"+(o+1)+"~":n.C0.ESC+"[21~";break;case 122:a.key=o?n.C0.ESC+"[23;"+(o+1)+"~":n.C0.ESC+"[23~";break;case 123:a.key=o?n.C0.ESC+"[24;"+(o+1)+"~":n.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(i&&!s||!e.altKey||e.metaKey)i&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(a.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(a.key=n.C0.US);else{var c=r[e.keyCode],l=c&&c[e.shiftKey?1:0];l?a.key=n.C0.ESC+l:e.keyCode>=65&&e.keyCode<=90&&(a.key=n.C0.ESC+String.fromCharCode(e.ctrlKey?e.keyCode-64:e.keyCode+32))}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=n.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=n.C0.DEL:219===e.keyCode?a.key=n.C0.ESC:220===e.keyCode?a.key=n.C0.FS:221===e.keyCode&&(a.key=n.C0.GS)}return a}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3);t.updateWindowsModeWrappedState=function(e){var t,i=null===(t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1))||void 0===t?void 0:t.get(e.cols-1),r=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);r&&i&&(r.isWrapped=i[n.CHAR_DATA_CODE_INDEX]!==n.NULL_CELL_CODE&&i[n.CHAR_DATA_CODE_INDEX]!==n.WHITESPACE_CELL_CODE)}},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(29),c=i(1),l=i(2),d=i(30),u=i(8),h=i(0),f=i(4),p=function(e){function t(t,i,n,r,s){var a=e.call(this)||this;if(a._renderer=t,a._rowCount=i,a.screenElement=n,a.optionsService=r,a.charSizeService=s,a._isPaused=!1,a._needsFullRefresh=!1,a._canvasWidth=0,a._canvasHeight=0,a._onDimensionsChange=new c.EventEmitter,a._onRender=new c.EventEmitter,a._onRefreshRequest=new c.EventEmitter,a._renderDebouncer=new o.RenderDebouncer((function(e,t){return a._renderRows(e,t)})),a.register(a._renderDebouncer),a._screenDprMonitor=new d.ScreenDprMonitor,a._screenDprMonitor.setListener((function(){return a.onDevicePixelRatioChange()})),a.register(a._screenDprMonitor),a.register(r.onOptionChange((function(){return a._renderer.onOptionsChanged()}))),a.register(s.onCharSizeChange((function(){return a.onCharSizeChanged()}))),a._renderer.onRequestRefreshRows((function(e){return a.refreshRows(e.start,e.end)})),a.register(u.addDisposableDomListener(window,"resize",(function(){return a.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var l=new IntersectionObserver((function(e){return a._onIntersectionChange(e[e.length-1])}),{threshold:0});l.observe(n),a.register({dispose:function(){return l.disconnect()}})}return a}return r(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!0,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=0===e.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t){this._isPaused?this._needsFullRefresh=!0:this._renderDebouncer.refresh(e,t,this._rowCount)},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._onRender.fire({start:e,end:t})},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){this._renderer.dispose(),e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRefreshRows((function(e){return t.refreshRows(e.start,e.end)})),this.refreshRows(0,this._rowCount-1)},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,i){this._renderer.onSelectionChanged(e,t,i)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},t.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},s([a(3,h.IOptionsService),a(4,f.ICharSizeService)],t)}(l.Disposable);t.RenderService=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(11),s=i(31);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:t.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:r.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var a=["cols","rows"],o=function(){function e(e){var i=this;this._onOptionChange=new n.EventEmitter,this.options=s.clone(t.DEFAULT_OPTIONS),Object.keys(e).forEach((function(t){t in i.options&&(i.options[t]=e[t])}))}return Object.defineProperty(e.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!0,configurable:!0}),e.prototype.setOption=function(e,i){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==a.indexOf(e))throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==i&&(i=this._sanitizeAndValidateOption(e,i),this.options[e]!==i&&(this.options[e]=i,this._onOptionChange.fire(e)))},e.prototype._sanitizeAndValidateOption=function(e,i){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":i||(i=t.DEFAULT_OPTIONS[e]);break;case"cursorWidth":i=Math.floor(i);case"lineHeight":case"tabStopWidth":if(i<1)throw new Error(e+" cannot be less than 1, value: "+i);break;case"minimumContrastRatio":i=Math.max(1,Math.min(21,Math.round(10*i)/10));break;case"scrollback":if((i=Math.min(i,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+i);break;case"fastScrollSensitivity":case"scrollSensitivity":if(i<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+i)}return i},e.prototype.getOption=function(e){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},e}();t.OptionsService=o},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(1),o=function(){function e(e,t,i){this.document=e,this.parentElement=t,this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new a.EventEmitter,this._measureStrategy=new c(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!0,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},n([r(2,s.IOptionsService)],e)}();t.CharSizeService=o;var c=function(){function e(e,t,i){this._document=e,this._parentElement=t,this._optionsService=i,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(64);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var o=function(){function e(e){this._optionsService=e,this.cols=Math.max(e.options.cols,t.MINIMUM_COLS),this.rows=Math.max(e.options.rows,t.MINIMUM_ROWS),this.buffers=new a.BufferSet(e,this)}return Object.defineProperty(e.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){this.cols=e,this.rows=t},e.prototype.reset=function(){this.buffers=new a.BufferSet(this._optionsService,this)},n([r(0,s.IOptionsService)],e)}();t.BufferService=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(65),r=i(1),s=function(){function e(e,t){this.optionsService=e,this.bufferService=t,this._onBufferActivate=new r.EventEmitter,this._normal=new n.Buffer(!0,e,t),this._normal.fillViewportRows(),this._alt=new n.Buffer(!1,e,t),this._activeBuffer=this._normal,this.setupTabStops()}return Object.defineProperty(e.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal},enumerable:!0,configurable:!0}),e.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},e.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},e.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},e.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},e}();t.BufferSet=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(66),r=i(16),s=i(5),a=i(3),o=i(67),c=i(68),l=i(18);t.MAX_BUFFER_SIZE=4294967295;var d=function(){function e(e,t,i){this._hasScrollback=e,this._optionsService=t,this._bufferService=i,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=r.DEFAULT_ATTR_DATA.clone(),this.savedCharset=l.DEFAULT_CHARSET,this.markers=[],this._nullCell=s.CellData.fromCharData([0,a.NULL_CELL_CHAR,a.NULL_CELL_WIDTH,a.NULL_CELL_CODE]),this._whitespaceCell=s.CellData.fromCharData([0,a.WHITESPACE_CELL_CHAR,a.WHITESPACE_CELL_WIDTH,a.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new n.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg):(this._nullCell.fg=0,this._nullCell.bg=0),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new r.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&et.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:i},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=r.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new n.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var i=this.getNullCell(r.DEFAULT_ATTR_DATA),n=this._getCorrectBufferLength(t);if(n>this.lines.maxLength&&(this.lines.maxLength=n),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+a+1?(this.ybase--,a++,this.ydisp>0&&this.ydisp--):this.lines.push(new r.BufferLine(e,i)));else for(o=this._rows;o>t;o--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(n0&&(this.lines.trimStart(c),this.ybase=Math.max(this.ybase-c,0),this.ydisp=Math.max(this.ydisp-c,0),this.savedY=Math.max(this.savedY-c,0)),this.lines.maxLength=n}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),a&&(this.y+=a),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(s=0;sthis._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var i=o.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(r.DEFAULT_ATTR_DATA));if(i.length>0){var n=o.reflowLargerCreateNewLayout(this.lines,i);o.reflowLargerApplyNewLayout(this.lines,n.layout),this._reflowLargerAdjustViewport(e,t,n.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,i){for(var n=this.getNullCell(r.DEFAULT_ATTR_DATA),s=i;s-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length=0;a--){var c=this.lines.get(a);if(!(!c||!c.isWrapped&&c.getTrimmedLength()<=e)){for(var l=[c];c.isWrapped&&a>0;)c=this.lines.get(--a),l.unshift(c);var d=this.ybase+this.y;if(!(d>=a&&d0&&(n.push({start:a+l.length+s,newLines:m}),s+=m.length),l.push.apply(l,m);var g=f.length-1,y=f[g];0===y&&(y=f[--g]);for(var v=l.length-p-1,w=h;v>=0;){var C=Math.min(w,y);if(l[g].copyCellsFrom(l[v],w-C,y-C,C,!0),0==(y-=C)&&(y=f[--g]),0==(w-=C)){v--;var S=Math.max(v,0);w=o.getWrappedLineTrimmedLength(l,S,this._cols)}}for(_=0;_0;)0===this.ybase?this.y0){var x=[],M=[];for(_=0;_=0;_--)if(E&&E.start>L+A){for(var O=E.newLines.length-1;O>=0;O--)this.lines.set(_--,E.newLines[O]);_++,x.push({index:L+1,amount:E.newLines.length}),A+=E.newLines.length,E=n[++T]}else this.lines.set(_,M[L--]);var P=0;for(_=x.length-1;_>=0;_--)x[_].index+=P,this.lines.onInsertEmitter.fire(x[_]),P+=x[_].amount;var I=Math.max(0,D+s-this.lines.maxLength);I>0&&this.lines.onTrimEmitter.fire(I)}},e.prototype.stringIndexToBufferIndex=function(e,t,i){for(void 0===i&&(i=!1);t;){var n=this.lines.get(e);if(!n)return[-1,-1];for(var r=i?n.getTrimmedLength():n.length,s=0;s0&&this.lines.get(t).isWrapped;)t--;for(;i+10;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e=this._cols?this._cols-1:e<0?0:e},e.prototype.addMarker=function(e){var t=this,i=new c.Marker(e);return this.markers.push(i),i.register(this.lines.onTrim((function(e){i.line-=e,i.line<0&&i.dispose()}))),i.register(this.lines.onInsert((function(e){i.line>=e.index&&(i.line+=e.amount)}))),i.register(this.lines.onDelete((function(e){i.line>=e.index&&i.linee.index&&(i.line-=e.amount)}))),i.register(i.onDispose((function(){return t._removeMarker(i)}))),i},e.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,i,n,r){return new u(this,e,t,i,n,r)},e}();t.Buffer=d;var u=function(){function e(e,t,i,n,r,s){void 0===i&&(i=0),void 0===n&&(n=e.lines.length),void 0===r&&(r=0),void 0===s&&(s=0),this._buffer=e,this._trimRight=t,this._startIndex=i,this._endIndex=n,this._startOverscan=r,this._endOverscan=s,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",i=e.first;i<=e.last;++i)t+=this._buffer.translateBufferLineToString(i,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new n.EventEmitter,this.onInsertEmitter=new n.EventEmitter,this.onTrimEmitter=new n.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),i=0;ithis._length)for(var t=this._length;t=e;r--)this._array[this._getCyclicIndex(r+i.length)]=this._array[this._getCyclicIndex(r)];for(r=0;rthis._maxLength){var s=this._length+i.length-this._maxLength;this._startIndex+=s,this._length=this._maxLength,this.onTrimEmitter.fire(s)}else this._length+=i.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,i){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(i>0){for(var n=t-1;n>=0;n--)this.set(e+n+i,this.get(e+n));var r=e+t+i-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(n=0;n=o&&r0&&(g>u||0===d[g].getTrimmedLength());g--)b++;b>0&&(a.push(o+d.length-b),a.push(b)),o+=d.length-1}}}return a},t.reflowLargerCreateNewLayout=function(e,t){for(var i=[],n=0,r=t[n],s=0,a=0;al&&(a-=l,o++);var d=2===e[o].getWidth(a-1);d&&a--;var u=d?i-1:i;r.push(u),c+=u}return r},t.getWrappedLineTrimmedLength=n},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(1),a=function(e){function t(i){var n=e.call(this)||this;return n.line=i,n._id=t._nextId++,n.isDisposed=!1,n._onDispose=new s.EventEmitter,n}return r(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},t._nextId=1,t}(i(2).Disposable);t.Marker=a},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(4),a=i(28),o=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,i,n,r){return a.getCoords(e,t,i,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,r)},e.prototype.getRawByteCoords=function(e,t,i,n){var r=this.getCoords(e,t,i,n);return a.getRawByteCoords(r)},n([r(0,s.IRenderService),r(1,s.ICharSizeService)],e)}();t.MouseService=o},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(1),o=i(31),c=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,origin:!1,wraparound:!0}),l=function(){function e(e,t,i,n){this._scrollToBottom=e,this._bufferService=t,this._logService=i,this._optionsService=n,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=new a.EventEmitter,this._onUserInput=new a.EventEmitter,this._onBinary=new a.EventEmitter,this.decPrivateModes=o.clone(c)}return Object.defineProperty(e.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.decPrivateModes=o.clone(c)},e.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var i=this._bufferService.buffer;i.ybase!==i.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},e.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},n([r(1,s.IBufferService),r(2,s.ILogService),r(3,s.IOptionsService)],e)}();t.CoreService=l},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}},s=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){ethis._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var i=e;e=t,t=i}ethis._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},n([r(0,s.IBufferService)],e)}();t.DirtyRowService=a},function(e,t,i){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t0?r[0].index:t.length;if(t.length!==u)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(u+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,n([void 0],n(t,a))))},e}();t.InstantiationService=o},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(1),o={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var i=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(i|=64,i|=e.action):(i|=3&e.button,4&e.button&&(i|=64),8&e.button&&(i|=128),32===e.action?i|=32:0!==e.action||t||(i|=3)),i}var l=String.fromCharCode,d={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"\x1b[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"\x1b[<"+c(e,!0)+";"+e.col+";"+e.row+t}},u=function(){function e(e,t){var i=this;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new a.EventEmitter,this._lastEvent=null,Object.keys(o).forEach((function(e){return i.addProtocol(e,o[e])})),Object.keys(d).forEach((function(e){return i.addEncoding(e,d[e])})),this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!0,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{DOWN:!!(1&e),UP:!!(2&e),DRAG:!!(4&e),MOVE:!!(8&e),WHEEL:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},n([r(0,s.IBufferService),r(1,s.ICoreService)],e)}();t.CoreMouseService=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return e.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return i._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var i=this._writeBuffer[this._bufferOffset],n=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(i),this._pendingData-=i.length,n&&n(),Date.now()-t>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return e._innerWrite()}),0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!0,configurable:!0}),e}();t.CoreBrowserService=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(78),s=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new n.EventEmitter;var e=new r.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!0,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,i=e.length,n=0;n=i)return t+this.wcwidth(r);var s=e.charCodeAt(n);56320<=s&&s<=57343?r=1024*(r-55296)+s-56320+65536:t+=this.wcwidth(s)}t+=this.wcwidth(r)}return t},e}();t.UnicodeService=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=i(15),s=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],a=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],o=function(){function e(){if(this.version="6",!n){n=new Uint8Array(65536),r.fill(n,1),n[0]=0,r.fill(n,0,1,32),r.fill(n,0,127,160),r.fill(n,2,4352,4448),n[9001]=2,n[9002]=2,r.fill(n,2,11904,42192),n[12351]=1,r.fill(n,2,44032,55204),r.fill(n,2,63744,64256),r.fill(n,2,65040,65050),r.fill(n,2,65072,65136),r.fill(n,2,65280,65377),r.fill(n,2,65504,65511);for(var e=0;et[r][1])return!1;for(;r>=n;)if(e>t[i=n+r>>1][1])n=i+1;else{if(!(e=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.charsets=[],this.glevel=0}return e.prototype.reset=function(){this.charset=void 0,this.charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this.charsets[e]},e.prototype.setgCharset=function(e,t){this.charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var i=this,n={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(n),t.dispose=function(){return i._wrappedAddonDispose(n)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,i=0;i=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i("wd/R"))},"0tRk":function(e,t,i){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(i("wd/R"))},1:function(e,t){},"1CSz":function(e,t,i){"use strict";var n=i("P7XM"),r=i("hwdV").Buffer,s=i("ZDAU"),a=r.alloc(128);function o(e,t){s.call(this,"digest"),"string"==typeof t&&(t=r.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=r.concat([t,a],64));for(var i=this._ipad=r.allocUnsafe(64),n=this._opad=r.allocUnsafe(64),o=0;o<64;o++)i[o]=54^t[o],n[o]=92^t[o];this._hash=[i]}n(o,s),o.prototype._update=function(e){this._hash.push(e)},o.prototype._final=function(){var e=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,e]))},e.exports=o},"1IWx":function(e,t,i){e.exports=r;var n=i("+qE3").EventEmitter;function r(){n.call(this)}i("P7XM")(r,n),r.Readable=i("43KI"),r.Writable=i("LGOv"),r.Duplex=i("CWBI"),r.Transform=i("0XuU"),r.PassThrough=i("wq4j"),r.Stream=r,r.prototype.pipe=function(e,t){var i=this;function r(t){e.writable&&!1===e.write(t)&&i.pause&&i.pause()}function s(){i.readable&&i.resume&&i.resume()}i.on("data",r),e.on("drain",s),e._isStdio||t&&!1===t.end||(i.on("end",o),i.on("close",c));var a=!1;function o(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(d(),0===n.listenerCount(this,"error"))throw e}function d(){i.removeListener("data",r),e.removeListener("drain",s),i.removeListener("end",o),i.removeListener("close",c),i.removeListener("error",l),e.removeListener("error",l),i.removeListener("end",d),i.removeListener("close",d),e.removeListener("close",d)}return i.on("error",l),e.on("error",l),i.on("end",d),i.on("close",d),e.on("close",d),e.emit("pipe",i),e}},"1rYy":function(e,t,i){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},"1sBl":function(e,t,i){var n=i("e/Dd").getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,i=n(e),r=145===i?26:2*Math.ceil((i-13)/(2*t-2)),s=[i-7],a=1;a>>1|G<<31)^(Z>>>8|G<<24)^(Z>>>7|G<<25),Q=l[U-2],ee=Q.high,te=Q.low,ie=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),ne=l[U-7],re=l[U-16],se=re.low;q.high=$=($=($=((G>>>1|Z<<31)^(G>>>8|Z<<24)^G>>>7)+ne.high+((J=X+ne.low)>>>0>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((J+=ie)>>>0>>0?1:0))+re.high+((J+=se)>>>0>>0?1:0),q.low=J}var ae,oe=Y&W^~Y&H,ce=V&F^~V&B,le=T&A^T&P^A&P,de=(E>>>28|T<<4)^(E<<30|T>>>2)^(E<<25|T>>>7),ue=c[U],he=ue.low,fe=z+((Y>>>14|V<<18)^(Y>>>18|V<<14)^(Y<<23|V>>>9))+((ae=N+((V>>>14|Y<<18)^(V>>>18|Y<<14)^(V<<23|Y>>>9)))>>>0>>0?1:0),pe=de+(E&O^E&I^O&I);z=H,N=B,H=W,B=F,W=Y,F=V,Y=R+(fe=(fe=(fe=fe+oe+((ae+=ce)>>>0>>0?1:0))+ue.high+((ae+=he)>>>0>>0?1:0))+$+((ae+=J)>>>0>>0?1:0))+((V=j+ae|0)>>>0>>0?1:0)|0,R=P,j=I,P=A,I=O,A=T,O=E,T=fe+(((T>>>28|E<<4)^(T<<30|E>>>2)^(T<<25|E>>>7))+le+(pe>>>0>>0?1:0))+((E=ae+pe|0)>>>0>>0?1:0)|0}p=n.low=p+E,n.high=f+T+(p>>>0>>0?1:0),_=r.low=_+O,r.high=m+A+(_>>>0>>0?1:0),g=s.low=g+I,s.high=b+P+(g>>>0>>0?1:0),v=a.low=v+j,a.high=y+R+(v>>>0>>0?1:0),C=o.low=C+V,o.high=w+Y+(C>>>0>>0?1:0),k=d.low=k+F,d.high=S+W+(k>>>0>>0?1:0),M=u.low=M+B,u.high=x+H+(M>>>0>>0?1:0),L=h.low=L+N,h.high=D+z+(L>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),t[31+(n+128>>>10<<5)]=i,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(d),e.HmacSHA512=t._createHmacHelper(d)}(),n.SHA512)},"1w4i":function(e){e.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"}')},"1xZ4":function(e,t,i){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_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\xe7_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\xe0 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\xed %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|\xe8|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i("wd/R"))},2:function(e,t){},"2QA8":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));let n=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},"2fjn":function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(i("wd/R"))},"2j6C":function(e,t){function i(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=i,i.equal=function(e,t,i){if(e!=t)throw new Error(i||"Assertion failed: "+e+" != "+t)}},"2pl3":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"2ykv":function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},3:function(e,t){},"3BRs":function(e,t,i){"use strict";(function(t,n,r){var s=i("lm0R");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,i){var n=e.entry;for(e.entry=null;n;){var r=n.callback;t.pendingcb--,r(void 0),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=g;var o,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:s;g.WritableState=b;var l=i("Onz0");l.inherits=i("P7XM");var d,u={deprecate:i("t9FE")},h=i("QpuX"),f=i("hwdV").Buffer,p=r.Uint8Array||function(){},m=i("RoFp");function _(){}function b(e,t){o=o||i("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof o&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===e.decodeStrings),this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var i=e._writableState,n=i.sync,r=i.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(i),t)!function(e,t,i,n,r){--t.pendingcb,i?(s(r,n),s(k,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(r(n),e._writableState.errorEmitted=!0,e.emit("error",n),k(e,t))}(e,i,n,t,r);else{var a=C(i);a||i.corked||i.bufferProcessing||!i.bufferedRequest||w(e,i),n?c(v,e,i,a,r):v(e,i,a,r)}}(t,e)},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 a(this)}function g(e){if(o=o||i("sZro"),!(d.call(g,this)||this instanceof o))return new g(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function y(e,t,i,n,r,s,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,i?e._writev(r,t.onwrite):e._write(r,s,t.onwrite),t.sync=!1}function v(e,t,i,n){i||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),k(e,t)}function w(e,t){t.bufferProcessing=!0;var i=t.bufferedRequest;if(e._writev&&i&&i.next){var n=new Array(t.bufferedRequestCount),r=t.corkedRequestsFree;r.entry=i;for(var s=0,o=!0;i;)n[s]=i,i.isBuf||(o=!1),i=i.next,s+=1;n.allBuffers=o,y(e,t,!0,t.length,n,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new a(t)}else{for(;i;){var c=i.chunk;if(y(e,t,!1,t.objectMode?1:c.length,c,i.encoding,i.callback),i=i.next,t.writing)break}null===i&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=i,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(i){t.pendingcb--,i&&e.emit("error",i),t.prefinished=!0,e.emit("prefinish"),k(e,t)}))}function k(e,t){var i=C(t);return i&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,s(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),i}l.inherits(g,h),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||e&&e._writableState instanceof b}})):d=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,i){var n,r=this._writableState,a=!1,o=(f.isBuffer(n=e)||n instanceof p)&&!r.objectMode;return o&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(i=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof i&&(i=_),r.ended?function(e,t){var i=new Error("write after end");e.emit("error",i),s(t,i)}(this,i):(o||function(e,t,i,n){var r=!0,a=!1;return null===i?a=new TypeError("May not write null values to stream"):"string"==typeof i||void 0===i||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),s(n,a),r=!1),r}(this,r,e,i))&&(r.pendingcb++,a=function(e,t,i,n,r,s){if(!i){var a=function(e,t,i){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,i)),t}(t,n,r);n!==a&&(i=!0,r="buffer",n=a)}var o=t.objectMode?1:n.length;t.length+=o;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},g.prototype._write=function(e,t,i){i(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,i){var n=this._writableState;"function"==typeof e?(i=e,e=null,t=null):"function"==typeof t&&(i=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,i){t.ending=!0,k(e,t),i&&(t.finished?s(i):e.once("finish",i)),t.ended=!0,e.writable=!1}(this,n,i)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,i("8oxB"),i("URgk").setImmediate,i("aWmh"))},"3E1r":function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i("wd/R"))},"3X7Y":function(e,t,i){var n=i("u/Db");function r(e){this.mode=n.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){var t,i,n;for(t=0;t+3<=this.data.length;t+=3)i=this.data.substr(t,3),n=parseInt(i,10),e.put(n,10);var r=this.data.length-t;r>0&&(i=this.data.substr(t),n=parseInt(i,10),e.put(n,3*r+1))},e.exports=r},"3y9D":function(e,t,i){var n,r,s,a,o,c,l;e.exports=(l=i("Ib8C"),s=(r=(n=l).lib).WordArray,o=[],c=n.algo.SHA1=(a=r.Hasher).extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var i=this._hash.words,n=i[0],r=i[1],s=i[2],a=i[3],c=i[4],l=0;l<80;l++){if(l<16)o[l]=0|e[t+l];else{var d=o[l-3]^o[l-8]^o[l-14]^o[l-16];o[l]=d<<1|d>>>31}var u=(n<<5|n>>>27)+c+o[l];u+=l<20?1518500249+(r&s|~r&a):l<40?1859775393+(r^s^a):l<60?(r&s|r&a|s&a)-1894007588:(r^s^a)-899497514,c=a,a=s,s=r<<30|r>>>2,r=n,n=u}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+s|0,i[3]=i[3]+a|0,i[4]=i[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(i/4294967296),t[15+(n+64>>>9<<4)]=i,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c),l.SHA1)},"43KI":function(e,t,i){(t=e.exports=i("rXFu")).Stream=t,t.Readable=t,t.Writable=i("3BRs"),t.Duplex=i("sZro"),t.Transform=i("J78i"),t.PassThrough=i("eA/Y")},"49sm":function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},"4Hv8":function(e,t,i){var n=i("WnY+"),r=i("tcrS"),s=i("afKu"),a=i("fSpj"),o=i("n53Y"),c=i("hwdV").Buffer,l=c.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function u(e,t,i){var a=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new r).update(e).digest()}:"md5"===e?n:function(t){return s(e).update(t).digest()}}(e),o="sha512"===e||"sha384"===e?128:64;t.length>o?t=a(t):t.length=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i("wd/R"))},"4dMO":function(e,t,i){(function(t){var n=i("MzeL"),r=i("OZ/i");e.exports=function(e){return new a(e)};var s={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 a(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function o(e,i,n){Array.isArray(e)||(e=e.toArray());var r=new t(e);if(n&&r.lengthn.pipe(c((i,n)=>Object(o.a)(e(i,n)).pipe(Object(a.a)((e,r)=>t(i,e,n,r))),i)):("number"==typeof t&&(i=t),t=>t.lift(new l(e,i)))}class l{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new d(e,this.project,this.concurrent))}}class d extends r.a{constructor(e,t,i=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("7o/Q");class r extends n.a{constructor(e,t,i){super(),this.parent=e,this.outerValue=t,this.outerIndex=i,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5hvy":function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("MlIO"),function(e){var t=n,i=t.lib,r=i.WordArray,s=i.Hasher,a=t.x64.Word,o=t.algo,c=[],l=[],d=[];!function(){for(var e=1,t=0,i=0;i<24;i++){c[e+5*t]=(i+1)*(i+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var r=1,s=0;s<24;s++){for(var o=0,u=0,h=0;h<7;h++){if(1&r){var f=(1<>>24)|4278255360&(s<<24|s>>>8),(A=i[r]).high^=a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),A.low^=s}for(var o=0;o<24;o++){for(var h=0;h<5;h++){for(var f=0,p=0,m=0;m<5;m++)f^=(A=i[h+5*m]).high,p^=A.low;var _=u[h];_.high=f,_.low=p}for(h=0;h<5;h++){var b=u[(h+4)%5],g=u[(h+1)%5],y=g.high,v=g.low;for(f=b.high^(y<<1|v>>>31),p=b.low^(v<<1|y>>>31),m=0;m<5;m++)(A=i[h+5*m]).high^=f,A.low^=p}for(var w=1;w<25;w++){var C=(A=i[w]).high,S=A.low,k=c[w];k<32?(f=C<>>32-k,p=S<>>32-k):(f=S<>>64-k,p=C<>>64-k);var x=u[l[w]];x.high=f,x.low=p}var M=u[0],D=i[0];for(M.high=D.high,M.low=D.low,h=0;h<5;h++)for(m=0;m<5;m++){var L=u[w=h+5*m],T=u[(h+1)%5+5*m],E=u[(h+2)%5+5*m];(A=i[w]).high=L.high^~T.high&E.high,A.low=L.low^~T.low&E.low}var A,O=d[o];(A=i[0]).high^=O.high,A.low^=O.low}},_doFinalize:function(){var t=this._data,i=t.words,n=8*t.sigBytes,s=32*this.blockSize;i[n>>>5]|=1<<24-n%32,i[(e.ceil((n+1)/s)*s>>>5)-1]|=128,t.sigBytes=4*i.length,this._process();for(var a=this._state,o=this.cfg.outputLength/8,c=o/8,l=[],d=0;d>>24)|4278255360&(h<<24|h>>>8),l.push(f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)),l.push(h)}return new r.init(l,o)},clone:function(){for(var e=s.clone.call(this),t=e._state=this._state.slice(0),i=0;i<25;i++)t[i]=t[i].clone();return e}});t.SHA3=s._createHelper(h),t.HmacSHA3=s._createHmacHelper(h)}(Math),n.SHA3)},"6+QB":function(e,t,i){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},"6B0Y":function(e,t,i){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,i){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wd/R"))},"6F8h":function(e){e.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"}}')},"6lN/":function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ"),s=r.getNAF,a=r.getJSF,o=r.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.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 i=this.n&&this.p.div(this.n);!i||i.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){o(e.precomputed);var i=e._getDoubles(),n=s(t,1,this._bitLength),r=(1<=c;t--)l=(l<<1)+n[t];a.push(l)}for(var d=this.jpoint(null,null,null),u=this.jpoint(null,null,null),h=r;h>0;h--){for(c=0;c=0;l--){for(t=0;l>=0&&0===a[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var d=a[l];o(0!==d),c="affine"===e.type?c.mixedAdd(d>0?r[d-1>>1]:r[-d-1>>1].neg()):c.add(d>0?r[d-1>>1]:r[-d-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,i,n,r){for(var o=this._wnafT1,c=this._wnafT2,l=this._wnafT3,d=0,u=0;u=1;u-=2){var f=u-1,p=u;if(1===o[f]&&1===o[p]){var m=[t[f],null,null,t[p]];0===t[f].y.cmp(t[p].y)?(m[1]=t[f].add(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg())):0===t[f].y.cmp(t[p].y.redNeg())?(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].add(t[p].neg())):(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],b=a(i[f],i[p]);d=Math.max(b[0].length,d),l[f]=new Array(d),l[p]=new Array(d);for(var g=0;g=0;u--){for(var w=0;u>=0;){var C=!0;for(g=0;g=0&&w++,y=y.dblp(w),u<0)break;for(g=0;g0?S=c[g][k-1>>1]:k<0&&(S=c[g][-k-1>>1].neg()),y="affine"===S.type?y.mixedAdd(S):y.add(S))}}for(u=0;u=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],n=this,r=0;r11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i("wd/R"))},"7ckf":function(e,t,i){"use strict";var n=i("w8CP"),r=i("2j6C");function s(){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}t.BlockHash=s,s.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending=this.pending?this.pending.concat(e):e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var i=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-i,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-i,this.endian);for(var r=0;r>>24&255,n[r++]=e>>>16&255,n[r++]=e>>>8&255,n[r++]=255&e}else for(n[r++]=255&e,n[r++]=e>>>8&255,n[r++]=e>>>16&255,n[r++]=e>>>24&255,n[r++]=0,n[r++]=0,n[r++]=0,n[r++]=0,s=8;sthis._complete.call(this._context);o.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(i){if(this.unsubscribe(),o.a.useDeprecatedSynchronousErrorHandling)throw i;Object(c.a)(i)}}__tryOrSetError(e,t,i){if(!o.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(n){return o.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(Object(c.a)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"7uVY":function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},"7zrB":function(e,t,i){var n=i("f3pb"),r=i("P7XM");function s(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new s(e,t)},s.prototype._createNamed=function(e){var t;try{t=i("BwZh").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(n){t=function(e){this._initNamed(e)}}return r(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},s.prototype._getDecoder=function(e){return this.decoders.hasOwnProperty(e=e||"der")||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},s.prototype.decode=function(e,t,i){return this._getDecoder(t).decode(e,i)},s.prototype._getEncoder=function(e){return this.encoders.hasOwnProperty(e=e||"der")||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},s.prototype.encode=function(e,t,i){return this._getEncoder(t).encode(e,i)}},"8/+R":function(e,t,i){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i("wd/R"))},"86MQ":function(e,t,i){"use strict";var n=t,r=i("OZ/i"),s=i("2j6C"),a=i("dlgc");n.assert=s,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(e,t,i){var n=new Array(Math.max(e.bitLength(),i)+1);n.fill(0);for(var r=1<(r>>1)-1?(r>>1)-c:c):o=0,n[a]=o,s.iushrn(1)}return n},n.getJSF=function(e,t){var i=[[],[]];e=e.clone(),t=t.clone();for(var n=0,r=0;e.cmpn(-n)>0||t.cmpn(-r)>0;){var s,a,o,c=e.andln(3)+n&3,l=t.andln(3)+r&3;3===c&&(c=-1),3===l&&(l=-1),s=0==(1&c)?0:3!=(o=e.andln(7)+n&7)&&5!==o||2!==l?c:-c,i[0].push(s),a=0==(1&l)?0:3!=(o=t.andln(7)+r&7)&&5!==o||2!==c?l:-l,i[1].push(a),2*n===s+1&&(n=1-n),2*r===a+1&&(r=1-r),e.iushrn(1),t.iushrn(1)}return i},n.cachedProperty=function(e,t,i){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=i.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new r(e,"hex","le")}},"8mBD":function(e,t,i){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},"8oxB":function(e,t){var i,n,r=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c,l=[],d=!1,u=-1;function h(){d&&c&&(d=!1,c.length?l=c.concat(l):u=-1,l.length&&f())}function f(){if(!d){var e=o(h);d=!0;for(var t=l.length;t;){for(c=l,l=[];++u1)for(var i=1;i>>32-t}function l(e,t,i,n,r,s,a){return c(e+(t&i|~t&n)+r+s|0,a)+t|0}function d(e,t,i,n,r,s,a){return c(e+(t&n|i&~n)+r+s|0,a)+t|0}function u(e,t,i,n,r,s,a){return c(e+(t^i^n)+r+s|0,a)+t|0}function h(e,t,i,n,r,s,a){return c(e+(i^(t|~n))+r+s|0,a)+t|0}n(o,r),o.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,n=this._b,r=this._c,s=this._d;i=l(i,n,r,s,e[0],3614090360,7),s=l(s,i,n,r,e[1],3905402710,12),r=l(r,s,i,n,e[2],606105819,17),n=l(n,r,s,i,e[3],3250441966,22),i=l(i,n,r,s,e[4],4118548399,7),s=l(s,i,n,r,e[5],1200080426,12),r=l(r,s,i,n,e[6],2821735955,17),n=l(n,r,s,i,e[7],4249261313,22),i=l(i,n,r,s,e[8],1770035416,7),s=l(s,i,n,r,e[9],2336552879,12),r=l(r,s,i,n,e[10],4294925233,17),n=l(n,r,s,i,e[11],2304563134,22),i=l(i,n,r,s,e[12],1804603682,7),s=l(s,i,n,r,e[13],4254626195,12),r=l(r,s,i,n,e[14],2792965006,17),i=d(i,n=l(n,r,s,i,e[15],1236535329,22),r,s,e[1],4129170786,5),s=d(s,i,n,r,e[6],3225465664,9),r=d(r,s,i,n,e[11],643717713,14),n=d(n,r,s,i,e[0],3921069994,20),i=d(i,n,r,s,e[5],3593408605,5),s=d(s,i,n,r,e[10],38016083,9),r=d(r,s,i,n,e[15],3634488961,14),n=d(n,r,s,i,e[4],3889429448,20),i=d(i,n,r,s,e[9],568446438,5),s=d(s,i,n,r,e[14],3275163606,9),r=d(r,s,i,n,e[3],4107603335,14),n=d(n,r,s,i,e[8],1163531501,20),i=d(i,n,r,s,e[13],2850285829,5),s=d(s,i,n,r,e[2],4243563512,9),r=d(r,s,i,n,e[7],1735328473,14),i=u(i,n=d(n,r,s,i,e[12],2368359562,20),r,s,e[5],4294588738,4),s=u(s,i,n,r,e[8],2272392833,11),r=u(r,s,i,n,e[11],1839030562,16),n=u(n,r,s,i,e[14],4259657740,23),i=u(i,n,r,s,e[1],2763975236,4),s=u(s,i,n,r,e[4],1272893353,11),r=u(r,s,i,n,e[7],4139469664,16),n=u(n,r,s,i,e[10],3200236656,23),i=u(i,n,r,s,e[13],681279174,4),s=u(s,i,n,r,e[0],3936430074,11),r=u(r,s,i,n,e[3],3572445317,16),n=u(n,r,s,i,e[6],76029189,23),i=u(i,n,r,s,e[9],3654602809,4),s=u(s,i,n,r,e[12],3873151461,11),r=u(r,s,i,n,e[15],530742520,16),i=h(i,n=u(n,r,s,i,e[2],3299628645,23),r,s,e[0],4096336452,6),s=h(s,i,n,r,e[7],1126891415,10),r=h(r,s,i,n,e[14],2878612391,15),n=h(n,r,s,i,e[5],4237533241,21),i=h(i,n,r,s,e[12],1700485571,6),s=h(s,i,n,r,e[3],2399980690,10),r=h(r,s,i,n,e[10],4293915773,15),n=h(n,r,s,i,e[1],2240044497,21),i=h(i,n,r,s,e[8],1873313359,6),s=h(s,i,n,r,e[15],4264355552,10),r=h(r,s,i,n,e[6],2734768916,15),n=h(n,r,s,i,e[13],1309151649,21),i=h(i,n,r,s,e[4],4149444226,6),s=h(s,i,n,r,e[11],3174756917,10),r=h(r,s,i,n,e[2],718787259,15),n=h(n,r,s,i,e[9],3951481745,21),this._a=this._a+i|0,this._b=this._b+n|0,this._c=this._c+r|0,this._d=this._d+s|0},o.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 e=s.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=o},"9ppp":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9rRi":function(e,t,i){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","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\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 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\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wd/R"))},"A+xa":function(e,t,i){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i("wd/R"))},ALsQ:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,i,n){var r=this._iv;if(r){var s=r.slice(0);this._iv=void 0}else s=this._prevBlock;n.encryptBlock(s,0);for(var a=0;a0;n--)t+=this._buffer(e,t),i+=this._flushBuffer(r,i);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,i;return e&&(t=this.update(e)),i="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(i):i},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i("wd/R"))},"B/J0":function(e,t,i){"use strict";var n=i("w8CP"),r=i("bu2F");function s(){if(!(this instanceof s))return new s;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(s,r),e.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},B55N:function(e,t,i){!function(e){"use strict";e.defineLocale("ja",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,i){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()>>2}function d(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,r=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,u=0;u<16;++u)i[u]=e.readInt32BE(4*u);for(;u<80;++u)i[u]=i[u-3]^i[u-8]^i[u-14]^i[u-16];for(var h=0;h<80;++h){var f=~~(h/20),p=0|((t=n)<<5|t>>>27)+d(f,r,s,o)+c+i[h]+a[f];c=o,o=s,s=l(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},CWBI:function(e,t,i){e.exports=i("sZro")},CfXC:function(e,t,i){var n=i("OfWw"),r=i("hwdV").Buffer,s=i("ZDAU");function a(e,t,i,a){s.call(this),this._cipher=new n.AES(t),this._prev=r.from(i),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=a,this._mode=e}i("P7XM")(a,s),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},Cfvw:function(e,t,i){"use strict";var n=i("HDdC"),r=i("SeVD"),s=i("quSY"),a=i("kJWO"),o=i("jZKg"),c=i("Lhse"),l=i("c2HN"),d=i("I55L");function u(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new n.a(i=>{const n=new s.a;return n.add(t.schedule(()=>{const r=e[a.a]();n.add(r.subscribe({next(e){n.add(t.schedule(()=>i.next(e)))},error(e){n.add(t.schedule(()=>i.error(e)))},complete(){n.add(t.schedule(()=>i.complete()))}}))})),n})}(e,t);if(Object(l.a)(e))return function(e,t){return new n.a(i=>{const n=new s.a;return n.add(t.schedule(()=>e.then(e=>{n.add(t.schedule(()=>{i.next(e),n.add(t.schedule(()=>i.complete()))}))},e=>{n.add(t.schedule(()=>i.error(e)))}))),n})}(e,t);if(Object(d.a)(e))return Object(o.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.a(i=>{const n=new s.a;let r;return n.add(()=>{r&&"function"==typeof r.return&&r.return()}),n.add(t.schedule(()=>{r=e[c.a](),n.add(t.schedule((function(){if(i.closed)return;let e,t;try{const i=r.next();e=i.value,t=i.done}catch(n){return void i.error(n)}t?i.complete():(i.next(e),this.schedule())})))})),n})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof n.a?e:new n.a(Object(r.a)(e))}i.d(t,"a",(function(){return u}))},CjzT:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},CoRJ:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(i("wd/R"))},"D/JM":function(e,t,i){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},DH7j:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},"DKr+":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[i][0]:r[i][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(i("wd/R"))},DLvh:function(e,t,i){"use strict";var n,r=t,s=i("fZJM"),a=i("QTa/"),o=i("86MQ").assert;function c(e){this.curve="short"===e.type?new a.short(e):"edwards"===e.type?new a.edwards(e):new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var i=new c(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=c,l("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:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("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:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("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:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("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:s.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"]}),l("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:s.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"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),l("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:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=i("QJsb")}catch(d){n=void 0}l("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:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},DaRl:function(e,t,i){"use strict";var n=i("2j6C"),r=i("P7XM"),s={};function a(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t=100?100:null])}},week:{dow:1,doy:7}})}(i("wd/R"))},DxQv:function(e,t,i){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},DyzK:function(e,t,i){var n=i("Ku4m"),r=i("9GDS"),s=i("g9U9"),a=i("OZ/i"),o=i("qVij"),c=i("mObS"),l=i("UpF+"),d=i("ZYru").Buffer;e.exports=function(e,t,i){var u;u=e.padding?e.padding:i?1:4;var h,f=n(e),p=f.modulus.byteLength();if(t.length>p||new a(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=i?l(new a(t),f):o(t,f);var m=d.alloc(p-h.length);if(h=d.concat([m,h],p),4===u)return function(e,t){var i=e.modulus.byteLength(),n=c("sha1").update(d.alloc(0)).digest(),a=n.length;if(0!==t[0])throw new Error("decryption error");var o=t.slice(1,a+1),l=t.slice(a+1),u=s(o,r(l,a)),h=s(l,r(u,i-a-1));if(function(e,t){e=d.from(e),t=d.from(t);var i=0,n=e.length;e.length!==t.length&&(i++,n=Math.min(e.length,t.length));for(var r=-1;++r=t.length){s++;break}var a=t.slice(2,r-1);if(("0002"!==n.toString("hex")&&!i||"0001"!==n.toString("hex")&&i)&&s++,a.length<8&&s++,s)throw new Error("decryption error");return t.slice(r)}(0,h,i);if(3===u)return h;throw new Error("unknown padding")}},Dzi0:function(e,t,i){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("wd/R"))},"E+IA":function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=i("qlaj"),a=n.rotl32,o=n.sum32,c=n.sum32_5,l=s.ft_1,d=r.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,d),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var i=this.W,n=0;n<16;n++)i[n]=e[t+n];for(;n=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var r=t.words[n];return 1===n.length?i?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".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:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},E4JC:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.StreamCipher,i=[],r=[],s=[],a=e.algo.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,i=0;i<4;i++)e[i]=16711935&(e[i]<<8|e[i]>>>24)|4278255360&(e[i]<<24|e[i]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,i=0;i<4;i++)o.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var s=t.words,a=s[0],c=s[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=l>>>16|4294901760&d,h=d<<16|65535&l;for(r[0]^=l,r[1]^=u,r[2]^=d,r[3]^=h,r[4]^=l,r[5]^=u,r[6]^=d,r[7]^=h,i=0;i<4;i++)o.call(this)}},_doProcessBlock:function(e,t){var n=this._X;o.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function o(){for(var e=this._X,t=this._C,i=0;i<8;i++)r[i]=t[i];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,i=0;i<8;i++){var n=e[i]+t[i],a=65535&n,o=n>>>16;s[i]=((a*a>>>17)+a*o>>>15)+o*o^((4294901760&n)*n|0)+((65535&n)*n|0)}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),n.Rabbit)},ELBg:function(e,t,i){"use strict";var n={single_source_shortest_paths:function(e,t,i){var r={},s={};s[t]=0;var a,o,c,l,d,u,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(c in l=(a=h.pop()).cost,d=e[o=a.value]||{})d.hasOwnProperty(c)&&(u=l+d[c],(void 0===s[c]||s[c]>u)&&(s[c]=u,h.push(c,u),r[c]=o));if(void 0!==i&&void 0===s[i]){var f=["Could not find a path from ",t," to ",i,"."].join("");throw new Error(f)}return r},extract_shortest_path_from_predecessor_list:function(e,t){for(var i=[],n=t;n;)i.push(n),n=e[n];return i.reverse(),i},find_path:function(e,t,i){var r=n.single_source_shortest_paths(e,t,i);return n.extract_shortest_path_from_predecessor_list(r,i)},PriorityQueue:{make:function(e){var t,i=n.PriorityQueue,r={};for(t in e=e||{},i)i.hasOwnProperty(t)&&(r[t]=i[t]);return r.queue=[],r.sorter=e.sorter||i.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},ELcG:function(e,t,i){var n;e.exports=(n=i("Ib8C"),function(e){var t=n,i=t.lib,r=i.WordArray,s=i.Hasher,a=t.algo,o=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=a.RIPEMD160=s.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var i=0;i<16;i++){var n=t+i,r=e[n];e[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s,a,f,v,w,C,S,k,x,M,D,L=this._hash.words,T=u.words,E=h.words,A=o.words,O=c.words,P=l.words,I=d.words;for(C=s=L[0],S=a=L[1],k=f=L[2],x=v=L[3],M=w=L[4],i=0;i<80;i+=1)D=s+e[t+A[i]]|0,D+=i<16?p(a,f,v)+T[0]:i<32?m(a,f,v)+T[1]:i<48?_(a,f,v)+T[2]:i<64?b(a,f,v)+T[3]:g(a,f,v)+T[4],D=(D=y(D|=0,P[i]))+w|0,s=w,w=v,v=y(f,10),f=a,a=D,D=C+e[t+O[i]]|0,D+=i<16?g(S,k,x)+E[0]:i<32?b(S,k,x)+E[1]:i<48?_(S,k,x)+E[2]:i<64?m(S,k,x)+E[3]:p(S,k,x)+E[4],D=(D=y(D|=0,I[i]))+M|0,C=M,M=x,x=y(k,10),k=S,S=D;D=L[1]+f+x|0,L[1]=L[2]+v+M|0,L[2]=L[3]+w+C|0,L[3]=L[4]+s+S|0,L[4]=L[0]+a+k|0,L[0]=D},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,s=r.words,a=0;a<5;a++){var o=s[a];s[a]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}return r},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,i){return e^t^i}function m(e,t,i){return e&t|~e&i}function _(e,t,i){return(e|~t)^i}function b(e,t,i){return e&i|t&~i}function g(e,t,i){return e^(t|~i)}function y(e,t){return e<>>32-t}t.RIPEMD160=s._createHelper(f),t.HmacRIPEMD160=s._createHmacHelper(f)}(Math),n.RIPEMD160)},EOgW:function(e,t,i){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,i){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i("wd/R"))},ETIr:function(e,t,i){var n,r;e.exports=(r=i("Ib8C"),n=r.lib.WordArray,r.enc.Base64={stringify:function(e){var t=e.words,i=e.sigBytes,n=this._map;e.clamp();for(var r=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,o=0;o<4&&s+.75*o>>6*(3-o)&63));var c=n.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,i=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s>>6-a%4*2;r[s>>>2]|=(o|c)<<24-s%4*8,s++}return n.create(r,s)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64)},EW2V:function(e,t,i){e.exports=i("tOiH")},Edxu:function(e,t,i){"use strict";(function(t,n){var r=i("hwdV").Buffer,s=t.crypto||t.msCrypto;e.exports=s&&s.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var i=r.allocUnsafe(e);if(e>0)if(e>65536)for(var a=0;a>>2]|=e[r]<<24-r%4*8;t.call(this,n,i)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},FUXG:function(e,t,i){"use strict";t.utils=i("Xudb"),t.Cipher=i("AYSA"),t.DES=i("Titl"),t.CBC=i("DaRl"),t.EDE=i("H+yo")},Fzww:function(e,t,i){window,e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,(function(t){return e[t]}).bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this._disposables=[],this._socket=e,this._socket.binaryType="arraybuffer",this._bidirectional=!t||!1!==t.bidirectional}return e.prototype.activate=function(e){var t=this;this._disposables.push(r(this._socket,"message",(function(t){var i=t.data;e.write("string"==typeof i?i:new Uint8Array(i))}))),this._bidirectional&&(this._disposables.push(e.onData((function(e){return t._sendData(e)}))),this._disposables.push(e.onBinary((function(e){return t._sendBinary(e)})))),this._disposables.push(r(this._socket,"close",(function(){return t.dispose()}))),this._disposables.push(r(this._socket,"error",(function(){return t.dispose()})))},e.prototype.dispose=function(){this._disposables.forEach((function(e){return e.dispose()}))},e.prototype._sendData=function(e){1===this._socket.readyState&&this._socket.send(e)},e.prototype._sendBinary=function(e){if(1===this._socket.readyState){for(var t=new Uint8Array(e.length),i=0;ii?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length0?a-4:a;for(i=0;i>16&255,c[d++]=t>>8&255,c[d++]=255&t;return 2===o&&(t=r[e.charCodeAt(i)]<<2|r[e.charCodeAt(i+1)]>>4,c[d++]=255&t),1===o&&(t=r[e.charCodeAt(i)]<<10|r[e.charCodeAt(i+1)]<<4|r[e.charCodeAt(i+2)]>>2,c[d++]=t>>8&255,c[d++]=255&t),c},t.fromByteArray=function(e){for(var t,i=e.length,r=i%3,s=[],a=0,o=i-r;ao?o:a+16383));return 1===r?s.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===r&&s.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),s.join("")};for(var n=[],r=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function d(e,t,i){for(var r,s=[],a=t;a>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},H8ED:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,r;return"m"===i?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(n=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},HDdC:function(e,t,i){"use strict";var n=i("7o/Q"),r=i("2QA8"),s=i("gRHU"),a=i("kJWO"),o=i("mCNh"),c=i("2fFW");i.d(t,"a",(function(){return l}));let l=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(e,t,i){const{operator:a}=this,o=function(e,t,i){if(e){if(e instanceof n.a)return e;if(e[r.a])return e[r.a]()}return e||t||i?new n.a(e,t,i):new n.a(s.a)}(e,t,i);if(o.add(a?a.call(o,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),c.a.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:i,isStopped:r}=e;if(t||r)return!1;e=i&&i instanceof n.a?i:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=d(t))((t,i)=>{let n;n=this.subscribe(t=>{try{e(t)}catch(r){i(r),n&&n.unsubscribe()}},i,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[a.a](){return this}pipe(...e){return 0===e.length?this:Object(o.b)(e)(this)}toPromise(e){return new(e=d(e))((e,t)=>{let i;this.subscribe(e=>i=e,e=>t(e),()=>e(i))})}}return e.create=t=>new e(t),e})();function d(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HEbw:function(e,t,i){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=i("Edxu"),t.createHash=t.Hash=i("mObS"),t.createHmac=t.Hmac=i("Giow");var n=i("EW2V"),r=Object.keys(n),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);t.getHashes=function(){return s};var a=i("oJl4");t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var o=i("lWpZ");t.Cipher=o.Cipher,t.createCipher=o.createCipher,t.Cipheriv=o.Cipheriv,t.createCipheriv=o.createCipheriv,t.Decipher=o.Decipher,t.createDecipher=o.createDecipher,t.Decipheriv=o.Decipheriv,t.createDecipheriv=o.createDecipheriv,t.getCiphers=o.getCiphers,t.listCiphers=o.listCiphers;var c=i("ANxK");t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var l=i("tpL1");t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=i("4dMO");var d=i("ZEK9");t.publicEncrypt=d.publicEncrypt,t.privateEncrypt=d.privateEncrypt,t.publicDecrypt=d.publicDecrypt,t.privateDecrypt=d.privateDecrypt;var u=i("dcwN");t.randomFill=u.randomFill,t.randomFillSync=u.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.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}},HP3h:function(e,t,i){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,s,a){var o=i(t),c=n[e][i(t)];return 2===o&&(c=c[r?0:1]),c.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wd/R"))},Hjy1:function(e,t,i){var n=i("ZDAU"),r=i("FUXG"),s=i("P7XM"),a=i("StGT").Buffer,o={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function c(e){n.call(this);var t,i=e.mode.toLowerCase(),r=o[i];t=e.decrypt?"decrypt":"encrypt";var s=e.key;a.isBuffer(s)||(s=a.from(s)),"des-ede"!==i&&"des-ede-cbc"!==i||(s=a.concat([s,s.slice(0,8)]));var c=e.iv;a.isBuffer(c)||(c=a.from(c)),this._des=r.create({key:s,iv:c,type:t})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],e.exports=c,s(c,n),c.prototype._update=function(e){return a.from(this._des.update(e))},c.prototype._final=function(){return a.from(this._des.final())}},I55L:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IBtZ:function(e,t,i){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(i("wd/R"))},IG1u:function(e,t,i){(function(t,n){var r,s=i("fSpj"),a=i("n53Y"),o=i("4Hv8"),c=i("hwdV").Buffer,l=t.crypto&&t.crypto.subtle,d={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"},u=[];function h(e,t,i,n,r){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:i,hash:{name:r}},e,n<<3)})).then((function(e){return c.from(e)}))}e.exports=function(e,i,f,p,m,_){"function"==typeof m&&(_=m,m=void 0);var b=d[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof t.Promise)return n.nextTick((function(){var t;try{t=o(e,i,f,p,m)}catch(n){return _(n)}_(null,t)}));if(s(e,i,f,p),"function"!=typeof _)throw new Error("No callback provided to pbkdf2");c.isBuffer(e)||(e=c.from(e,a)),c.isBuffer(i)||(i=c.from(i,a)),function(e,t){e.then((function(e){n.nextTick((function(){t(null,e)}))}),(function(e){n.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==u[e])return u[e];var i=h(r=r||c.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return u[e]=i,i}(b).then((function(t){return t?h(e,i,f,p,b):o(e,i,f,p,m)})),_)}}).call(this,i("aWmh"),i("8oxB"))},IPZY:function(e,t,i){var n=t;n.der=i("z71Z"),n.pem=i("jfd1")},ITfd:function(e,t,i){"use strict";var n=i("w8CP"),r=i("2j6C");function s(e,t,i){if(!(this instanceof s))return new s(e,t,i);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,i))}e.exports=s,s.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t>>2]|=(i[s>>>2]>>>24-s%4*8&255)<<24-(n+s)%4*8;else for(s=0;s>>2]=i[s>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,i=this.sigBytes;t[i>>>2]&=4294967295<<32-i%4*8,t.length=e.ceil(i/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var i,n=[],r=function(t){t=t;var i=987654321,n=4294967295;return function(){var r=((i=36969*(65535&i)+(i>>16)&n)<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},s=0;s>>2]>>>24-r%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(i,t/2)}},l=o.Latin1={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r>>2]>>>24-r%4*8&255));return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(i,t)}},d=o.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},u=r.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var i=this._data,n=i.words,r=i.sigBytes,s=this.blockSize,o=r/(4*s),c=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*s,l=e.min(4*c,r);if(c){for(var d=0;d31&&(e=31);var i=[];return i.push("$2a$"),e<10&&i.push("0"),i.push(e.toString()),i.push("$"),i.push(h(a(m),m)),i.join("")},t.genSalt=function(e,i,n){if("function"==typeof i&&(n=i,i=void 0),"function"==typeof e&&(n=e,e=void 0),void 0===e)e=_;else if("number"!=typeof e)throw Error("illegal arguments: "+typeof e);function r(i){c((function(){try{i(null,t.genSaltSync(e))}catch(n){i(n)}}))}if(!n)return new Promise((function(e,t){r((function(i,n){i?t(i):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);r(n)},t.hashSync=function(e,i){if(void 0===i&&(i=_),"number"==typeof i&&(i=t.genSaltSync(i)),"string"!=typeof e||"string"!=typeof i)throw Error("Illegal arguments: "+typeof e+", "+typeof i);return k(e,i)},t.hash=function(e,i,n,r){function s(n){"string"==typeof e&&"number"==typeof i?t.genSalt(i,(function(t,i){k(e,i,n,r)})):"string"==typeof e&&"string"==typeof i?k(e,i,n,r):c(n.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof i)))}if(!n)return new Promise((function(e,t){s((function(i,n){i?t(i):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);s(n)},t.compareSync=function(e,i){if("string"!=typeof e||"string"!=typeof i)throw Error("Illegal arguments: "+typeof e+", "+typeof i);return 60===i.length&&o(t.hashSync(e,i.substr(0,i.length-31)),i)},t.compare=function(e,i,n,r){function s(n){"string"==typeof e&&"string"==typeof i?60===i.length?t.hash(e,i.substr(0,29),(function(e,t){e?n(e):n(null,o(t,i))}),r):c(n.bind(this,null,!1)):c(n.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof i)))}if(!n)return new Promise((function(e,t){s((function(i,n){i?t(i):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);s(n)},t.getRounds=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);return parseInt(e.split("$")[2],10)},t.getSalt=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);if(60!==e.length)throw Error("Illegal hash length: "+e.length+" != 60");return e.substring(0,29)};var c=void 0!==n&&n&&"function"==typeof n.nextTick?"function"==typeof r?r:n.nextTick:setTimeout,l="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,54,55,56,57,58,59,60,61,62,63,-1,-1,-1,-1,-1,-1,-1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,-1,-1,-1,-1,-1,-1,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,-1,-1,-1,-1,-1],u=String.fromCharCode;function h(e,t){var i,n,r=0,s=[];if(t<=0||t>e.length)throw Error("Illegal len: "+t);for(;r>2&63]),i=(3&i)<<4,r>=t){s.push(l[63&i]);break}if(n=255&e[r++],s.push(l[63&(i|=n>>4&15)]),i=(15&n)<<2,r>=t){s.push(l[63&i]);break}n=255&e[r++],s.push(l[63&(i|=n>>6&3)]),s.push(l[63&n])}return s.join("")}function f(e,t){var i,n,r,s,a,o=0,c=e.length,l=0,h=[];if(t<=0)throw Error("Illegal len: "+t);for(;o>>0,h.push(u(s|=(48&n)>>4)),!(++l>=t||o>=c))&&-1!=(r=(a=e.charCodeAt(o++))>>0,h.push(u(s|=(60&r)>>2)),!(++l>=t||o>=c));)a=e.charCodeAt(o++),s=(3&r)<<6>>>0,h.push(u(s|=a>6&31|192),t(63&i|128)):i<65536?(t(i>>12&15|224),t(i>>6&63|128),t(63&i|128)):(t(i>>18&7|240),t(i>>12&63|128),t(i>>6&63|128),t(63&i|128)),i=null},decodeUTF8:function(e,t){for(var i,n,r,s,a=function(e){e=e.slice(0,e.indexOf(null));var t=Error(e.toString());throw t.name="TruncatedError",t.bytes=e,t};null!==(i=e());)if(0==(128&i))t(i);else if(192==(224&i))null===(n=e())&&a([i,n]),t((31&i)<<6|63&n);else if(224==(240&i))(null===(n=e())||null===(r=e()))&&a([i,n,r]),t((15&i)<<12|(63&n)<<6|63&r);else{if(240!=(248&i))throw RangeError("Illegal starting byte: "+i);(null===(n=e())||null===(r=e())||null===(s=e()))&&a([i,n,r,s]),t((7&i)<<18|(63&n)<<12|(63&r)<<6|63&s)}},UTF16toUTF8:function(e,t){for(var i,n=null;null!==(i=null!==n?n:e());)i>=55296&&i<=57343&&null!==(n=e())&&n>=56320&&n<=57343?(t(1024*(i-55296)+n-56320+65536),n=null):t(i);null!==n&&t(n)},UTF8toUTF16:function(e,t){var i=null;for("number"==typeof e&&(i=e,e=function(){return null});null!==i||null!==(i=e());)i<=65535?t(i):(t(55296+((i-=65536)>>10)),t(i%1024+56320)),i=null},encodeUTF16toUTF8:function(t,i){e.UTF16toUTF8(t,(function(t){e.encodeUTF8(t,i)}))},decodeUTF8toUTF16:function(t,i){e.decodeUTF8(t,(function(t){e.UTF8toUTF16(t,i)}))},calculateCodePoint:function(e){return e<128?1:e<2048?2:e<65536?3:4},calculateUTF8:function(t){for(var i,n=0;null!==(i=t());)n+=e.calculateCodePoint(i);return n},calculateUTF16asUTF8:function(t){var i=0,n=0;return e.UTF16toUTF8(t,(function(t){++i,n+=e.calculateCodePoint(t)})),[i,n]}};return e}();Date.now=Date.now||function(){return+new Date};var m=16,_=10,b=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],g=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],y=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892];function v(e,t,i,n){var r,s=e[t],a=e[t+1];return r=n[(s^=i[0])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[1])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[2])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[3])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[4])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[5])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[6])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[7])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[8])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[9])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[10])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[11])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[12])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[13])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[14])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[15])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],s^=(r+=n[768|255&a])^i[16],e[t]=a^i[17],e[t+1]=s,e}function w(e,t){for(var i=0,n=0;i<4;++i)n=n<<8|255&e[t],t=(t+1)%e.length;return{key:n,offp:t}}function C(e,t,i){for(var n,r=0,s=[0,0],a=t.length,o=i.length,c=0;c31){if(s=Error("Illegal number of rounds (4-31): "+i),n)return void c(n.bind(this,s));throw s}if(t.length!==m){if(s=Error("Illegal salt length: "+t.length+" != "+m),n)return void c(n.bind(this,s));throw s}i=1<>>0;var l,d,u,h=0;function f(){if(r&&r(h/i),!(h>1;u++)v(a,u<<1,l,d);var s=[];for(h=0;h>24&255)>>>0),s.push((a[h]>>16&255)>>>0),s.push((a[h]>>8&255)>>>0),s.push((255&a[h])>>>0);return n?void n(null,s):s}for(var p=Date.now();h100)););n&&c(f)}if(Int32Array?(l=new Int32Array(b),d=new Int32Array(g)):(l=b.slice(),d=g.slice()),function(e,t,i,n){for(var r,s=0,a=[0,0],o=i.length,c=n.length,l=0;l"$"){if(r=Error("Missing salt rounds"),i)return void c(i.bind(this,r));throw r}var o,l,d,u=10*parseInt(t.substring(a,a+1),10)+parseInt(t.substring(a+1,a+2),10),_=t.substring(a+3,a+25),b=(o=e+=s>="a"?"\0":"",l=[],d=0,p.encodeUTF16toUTF8((function(){return d>=o.length?null:o.charCodeAt(d++)}),(function(e){l.push(e)})),l),g=f(_,m);function v(e){var t=[];return t.push("$2"),s>="a"&&t.push(s),t.push("$"),u<10&&t.push("0"),t.push(u.toString()),t.push("$"),t.push(h(g,g.length)),t.push(h(e,4*y.length-1)),t.join("")}if(void 0===i)return v(S(b,g,u));S(b,g,u,(function(e,t){e?i(e,null):i(null,v(t))}),n)}return t.encodeBase64=h,t.decodeBase64=f,t})?s.apply(t,[]):s)||(e.exports=a)}).call(this,i("2pl3")(e),i("8oxB"),i("URgk").setImmediate)},J6Nv:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},J78i:function(e,t,i){"use strict";e.exports=a;var n=i("sZro"),r=i("Onz0");function s(e){this.afterTransform=function(t,i){return function(e,t,i){var n=e._transformState;n.transforming=!1;var r=n.writecb;if(!r)return e.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=i&&e.push(i),r(t);var s=e._readableState;s.reading=!1,(s.needReadable||s.length10&&e<20}function r(e){return t[e].split("_")}function s(e,t,s,a){var o=e+" ";return 1===e?o+i(0,t,s[0],a):t?o+(n(e)?r(s)[1]:r(s)[0]):a?o+r(s)[1]:o+(n(e)?r(s)[1]:r(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_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\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".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:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,i,n){return t?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:s,m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(i("wd/R"))},JzKC:function(e,t,i){var n=i("Wogr"),r=i("aZ40");t.mul=function(e,t){var i=new n(e.length+t.length-1);i.fill(0);for(var s=0;s=0;){for(var s=i[0],a=0;a=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},K3mO:function(e,t,i){var n,r,s,a,o,c,l;e.exports=(l=i("Ib8C"),i("3y9D"),i("WYAk"),a=(r=(n=l).lib).WordArray,c=(o=n.algo).EvpKDF=(s=r.Base).extend({cfg:s.extend({keySize:4,hasher:o.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var i=this.cfg,n=i.hasher.create(),r=a.create(),s=r.words,o=i.keySize,c=i.iterations;s.length=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var r=t.words[n];return 1===n.length?i?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},KmYQ:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.pad.ZeroPadding={pad:function(e,t){var i=4*t;e.clamp(),e.sigBytes+=i-(e.sigBytes%i||i)},unpad:function(e){for(var t=e.words,i=e.sigBytes-1;!(t[i>>>2]>>>24-i%4*8&255);)i--;e.sigBytes=i+1}},n.pad.ZeroPadding)},KqfI:function(e,t,i){"use strict";function n(){}i.d(t,"a",(function(){return n}))},Ku4m:function(e,t,i){var n=i("QRH4"),r=i("1w4i"),s=i("TdD3"),a=i("/ab2"),o=i("oJl4"),c=i("hwdV").Buffer;function l(e){var t;"object"!=typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=c.from(e));var i,l,d=s(e,t),u=d.tag,h=d.data;switch(u){case"CERTIFICATE":l=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=n.PublicKey.decode(h,"der")),i=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=n.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var i=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),s=r[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,d=e.subjectPrivateKey,u=parseInt(s.split("-")[1],10)/8,h=o.pbkdf2Sync(t,i,n,u,"sha1"),f=a.createDecipheriv(s,h,l),p=[];return p.push(f.update(d)),p.push(f.final()),c.concat(p)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(i=(l=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:n.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=n.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+u)}}e.exports=l,l.signature=n.signature},LGOv:function(e,t,i){e.exports=i("3BRs")},Lhse:function(e,t,i){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}i.d(t,"a",(function(){return r}));const r=n()},Loxo:function(e,t,i){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".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:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(i("wd/R"))},Lzq4:function(e,t,i){var n=i("u/Db"),r=i("e/Dd");function s(e){this.mode=n.KANJI,this.data=e}s.getBitsLength=function(e){return 13*e},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t=33088&&i<=40956)i-=33088;else{if(!(i>=57408&&i<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");i-=49472}e.put(i=192*(i>>>8&255)+(255&i),13)}},e.exports=s},"MO+k":function(e,t,i){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=function(e,i){return function(e){var i={};for(var n in t)t.hasOwnProperty(n)&&(i[t[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in r)if(r.hasOwnProperty(s)){if(!("channels"in r[s]))throw new Error("missing channels property: "+s);if(!("labels"in r[s]))throw new Error("missing channel labels property: "+s);if(r[s].labels.length!==r[s].channels)throw new Error("channel and label counts mismatch: "+s);var a=r[s].channels,o=r[s].labels;delete r[s].channels,delete r[s].labels,Object.defineProperty(r[s],"channels",{value:a}),Object.defineProperty(r[s],"labels",{value:o})}r.rgb.hsl=function(e){var t,i,n=e[0]/255,r=e[1]/255,s=e[2]/255,a=Math.min(n,r,s),o=Math.max(n,r,s),c=o-a;return o===a?t=0:n===o?t=(r-s)/c:r===o?t=2+(s-n)/c:s===o&&(t=4+(n-r)/c),(t=Math.min(60*t,360))<0&&(t+=360),i=(a+o)/2,[t,100*(o===a?0:i<=.5?c/(o+a):c/(2-o-a)),100*i]},r.rgb.hsv=function(e){var t,i,n,r,s,a=e[0]/255,o=e[1]/255,c=e[2]/255,l=Math.max(a,o,c),d=l-Math.min(a,o,c),u=function(e){return(l-e)/6/d+.5};return 0===d?r=s=0:(s=d/l,t=u(a),i=u(o),n=u(c),a===l?r=n-i:o===l?r=1/3+t-n:c===l&&(r=2/3+i-t),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},r.rgb.hwb=function(e){var t=e[0],i=e[1],n=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(i,n))*100,100*(n=1-1/255*Math.max(t,Math.max(i,n)))]},r.rgb.cmyk=function(e){var t,i=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*((1-i-(t=Math.min(1-i,1-n,1-r)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=i[e];if(n)return n;var r,s,a,o=1/0;for(var c in t)if(t.hasOwnProperty(c)){var l=(s=e,a=t[c],Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)+Math.pow(s[2]-a[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*i+.0722*n),100*(.0193*t+.1192*i+.9505*n)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),i=t[0],n=t[1],s=t[2];return n/=100,s/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(s=s>.008856?Math.pow(s,1/3):7.787*s+16/116))]},r.hsl.rgb=function(e){var t,i,n,r,s,a=e[0]/360,o=e[1]/100,c=e[2]/100;if(0===o)return[s=255*c,s,s];t=2*c-(i=c<.5?c*(1+o):c+o-c*o),r=[0,0,0];for(var l=0;l<3;l++)(n=a+1/3*-(l-1))<0&&n++,n>1&&n--,r[l]=255*(s=6*n<1?t+6*(i-t)*n:2*n<1?i:3*n<2?t+(i-t)*(2/3-n)*6:t);return r},r.hsl.hsv=function(e){var t=e[0],i=e[1]/100,n=e[2]/100,r=i,s=Math.max(n,.01);return i*=(n*=2)<=1?n:2-n,r*=s<=1?s:2-s,[t,100*(0===n?2*r/(s+r):2*i/(n+i)),(n+i)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,i=e[1]/100,n=e[2]/100,r=Math.floor(t)%6,s=t-Math.floor(t),a=255*n*(1-i),o=255*n*(1-i*s),c=255*n*(1-i*(1-s));switch(n*=255,r){case 0:return[n,c,a];case 1:return[o,n,a];case 2:return[a,n,c];case 3:return[a,o,n];case 4:return[c,a,n];case 5:return[n,a,o]}},r.hsv.hsl=function(e){var t,i,n,r=e[0],s=e[1]/100,a=e[2]/100,o=Math.max(a,.01);return n=(2-s)*a,i=s*o,[r,100*(i=(i/=(t=(2-s)*o)<=1?t:2-t)||0),100*(n/=2)]},r.hwb.rgb=function(e){var t,i,n,r,s,a,o,c=e[0]/360,l=e[1]/100,d=e[2]/100,u=l+d;switch(u>1&&(l/=u,d/=u),n=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(n=1-n),r=l+n*((i=1-d)-l),t){default:case 6:case 0:s=i,a=r,o=l;break;case 1:s=r,a=i,o=l;break;case 2:s=l,a=i,o=r;break;case 3:s=l,a=r,o=i;break;case 4:s=r,a=l,o=i;break;case 5:s=i,a=l,o=r}return[255*s,255*a,255*o]},r.cmyk.rgb=function(e){var t=e[1]/100,i=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-n)+n)),255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n))]},r.xyz.rgb=function(e){var t,i,n,r=e[0]/100,s=e[1]/100,a=e[2]/100;return i=-.9689*r+1.8758*s+.0415*a,n=.0557*r+-.204*s+1.057*a,t=(t=3.2406*r+-1.5372*s+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]},r.xyz.lab=function(e){var t=e[0],i=e[1],n=e[2];return i/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(t-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},r.lab.xyz=function(e){var t,i,n;t=e[1]/500+(i=(e[0]+16)/116),n=i-e[2]/200;var r=Math.pow(i,3),s=Math.pow(t,3),a=Math.pow(n,3);return i=r>.008856?r:(i-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,[t*=95.047,i*=100,n*=108.883]},r.lab.lch=function(e){var t,i=e[0],n=e[1],r=e[2];return(t=360*Math.atan2(r,n)/2/Math.PI)<0&&(t+=360),[i,Math.sqrt(n*n+r*r),t]},r.lch.lab=function(e){var t,i=e[1];return t=e[2]/360*2*Math.PI,[e[0],i*Math.cos(t),i*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],i=e[1],n=e[2],s=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(s=Math.round(s/50)))return 30;var a=30+(Math.round(n/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],i=e[1],n=e[2];return t===i&&i===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var i=.5*(1+~~(e>50));return[(1&t)*i*255,(t>>1&1)*i*255,(t>>2&1)*i*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var i;return e-=16,[Math.floor(e/36)/5*255,Math.floor((i=e%36)/6)/5*255,i%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var i=t[0];3===t[0].length&&(i=i.split("").map((function(e){return e+e})).join(""));var n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},r.rgb.hcg=function(e){var t,i=e[0]/255,n=e[1]/255,r=e[2]/255,s=Math.max(Math.max(i,n),r),a=Math.min(Math.min(i,n),r),o=s-a;return t=o<=0?0:s===i?(n-r)/o%6:s===n?2+(r-i)/o:4+(i-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?a/(1-o):0)]},r.hsl.hcg=function(e){var t,i=e[1]/100,n=e[2]/100,r=0;return(t=n<.5?2*i*n:2*i*(1-n))<1&&(r=(n-.5*t)/(1-t)),[e[0],100*t,100*r]},r.hsv.hcg=function(e){var t=e[2]/100,i=e[1]/100*t,n=0;return i<1&&(n=(t-i)/(1-i)),[e[0],100*i,100*n]},r.hcg.rgb=function(e){var t=e[1]/100,i=e[2]/100;if(0===t)return[255*i,255*i,255*i];var n,r=[0,0,0],s=e[0]/360%1*6,a=s%1,o=1-a;switch(Math.floor(s)){case 0:r[0]=1,r[1]=a,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=a;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=a,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return[255*(t*r[0]+(n=(1-t)*i)),255*(t*r[1]+n),255*(t*r[2]+n)]},r.hcg.hsv=function(e){var t=e[1]/100,i=t+e[2]/100*(1-t),n=0;return i>0&&(n=t/i),[e[0],100*n,100*i]},r.hcg.hsl=function(e){var t=e[1]/100,i=e[2]/100*(1-t)+.5*t,n=0;return i>0&&i<.5?n=t/(2*i):i>=.5&&i<1&&(n=t/(2*(1-i))),[e[0],100*n,100*i]},r.hcg.hwb=function(e){var t=e[1]/100,i=t+e[2]/100*(1-t);return[e[0],100*(i-t),100*(1-i)]},r.hwb.hcg=function(e){var t=1-e[2]/100,i=t-e[1]/100,n=0;return i<1&&(n=(t-i)/(1-i)),[e[0],100*i,100*n]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(i={exports:{}}),i.exports}();function n(e,t){return function(i){return t(e(i))}}function r(e,t){for(var r=[t[e].parent,e],s=i[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),s=n(i[t[a].parent][a],s),a=t[a].parent;return s.conversion=r,s}var s={};Object.keys(i).forEach((function(e){s[e]={},Object.defineProperty(s[e],"channels",{value:i[e].channels}),Object.defineProperty(s[e],"labels",{value:i[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(i),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var i=e(t);if("object"==typeof i)for(var n=i.length,r=0;r1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var a=s,o={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c={getRgba:l,getHsla:d,getRgb:function(e){var t=l(e);return t&&t.slice(0,3)},getHsl:function(e){var t=d(e);return t&&t.slice(0,3)},getHwb:u,getAlpha:function(e){var t=l(e);return t?t[3]:(t=d(e))?t[3]:(t=u(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+_(e[0])+_(e[1])+_(e[2])+(t>=0&&t<1?_(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:h,percentString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:f,hslString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:p,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return b[e.slice(0,3)]}};function l(e){if(e){var t=[0,0,0],i=1,n=e.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(n){r=(n=n[1])[3];for(var s=0;si?(t+.05)/(i+.05):(i+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,i=(t[0]+e)%360;return t[0]=i<0?360+i:i,this.setValues("hsl",t),this},mix:function(e,t){var i=e,n=void 0===t?.5:t,r=2*n-1,s=this.alpha()-i.alpha(),a=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,o=1-a;return this.rgb(a*this.red()+o*i.red(),a*this.green()+o*i.green(),a*this.blue()+o*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var e,t,i=new y,n=this.values,r=i.values;for(var s in n)n.hasOwnProperty(s)&&("[object Array]"===(t={}.toString.call(e=n[s]))?r[s]=e.slice(0):"[object Number]"===t?r[s]=e:console.error("unexpected color value:",e));return i}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(e){for(var t=this.values,i={},n=0;n=0;r--)t.call(i,e[r],r);else for(r=0;r=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:1===e?1:(i||(i=.3),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i))},easeOutElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:1===e?1:(i||(i=.3),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},easeInOutElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:2==(e/=.5)?1:(i||(i=.45),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),e<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-x.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*x.easeInBounce(2*e):.5*x.easeOutBounce(2*e-1)+.5}},M={effects:x};k.easingEffects=x;var D=Math.PI,L=D/180,T=2*D,E=D/2,A=D/4,O=2*D/3,P={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,i,n,r,s){if(s){var a=Math.min(s,r/2,n/2),o=t+a,c=i+a,l=t+n-a,d=i+r-a;e.moveTo(t,c),ot.left-1e-6&&e.xt.top-1e-6&&e.y0&&this.requestAnimationFrame()},advance:function(){for(var e,t,i,n,r=this.animations,s=0;s=i?(H.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(s,1)):++s}},G=H.options.resolve,Z=["push","pop","shift","splice","unshift"];function X(e,t){var i=e._chartjs;if(i){var n=i.listeners,r=n.indexOf(t);-1!==r&&n.splice(r,1),n.length>0||(Z.forEach((function(t){delete e[t]})),delete e._chartjs)}}var Q=function(e,t){this.initialize(e,t)};H.extend(Q.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var i=this;i.chart=e,i.index=t,i.linkScales(),i.addElements(),i._type=i.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,i=t.scales,n=this.getDataset(),r=t.options.scales;null!==e.xAxisID&&e.xAxisID in i&&!n.xAxisID||(e.xAxisID=n.xAxisID||r.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in i&&!n.yAxisID||(e.yAxisID=n.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&X(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,i=this.getMeta(),n=this.getDataset().data||[],r=i.data;for(e=0,t=n.length;ei&&this.insertElements(i,n-i)},insertElements:function(e,t){for(var i=0;ir?e.arc(a,o,t.innerRadius-r,n+(s=r/t.innerRadius),i-s,!0):e.arc(a,o,r,n+Math.PI/2,i-Math.PI/2),e.closePath(),e.clip()}j._set("global",{elements:{arc:{backgroundColor:j.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ne=q.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)o;)r-=te;for(;r=a&&r<=o&&s>=i.innerRadius&&s<=i.outerRadius}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,i=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*i,y:e.y+Math.sin(t)*i}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,i=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*i,y:e.y+Math.sin(t)*i}},draw:function(){var e,t=this._chart.ctx,i=this._view,n="inner"===i.borderAlign?.33:0,r={x:i.x,y:i.y,innerRadius:i.innerRadius,outerRadius:Math.max(i.outerRadius-n,0),pixelMargin:n,startAngle:i.startAngle,endAngle:i.endAngle,fullCircles:Math.floor(i.circumference/te)};if(t.save(),t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+te,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e=s.left&&t<=s.right)&&(r||i>=s.top&&i<=s.bottom)}j._set("global",{elements:{rectangle:{backgroundColor:ue,borderColor:ue,borderSkipped:"bottom",borderWidth:0}}});var _e=q.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,i=function(e){var t=fe(e),i=t.right-t.left,n=t.bottom-t.top,r=function(e,t,i){var n,r,s,a,o=e.borderWidth,c=function(e){var t=e.borderSkipped,i={};return t?(e.horizontal?e.base>e.x&&(t=pe(t,"left","right")):e.basei?i:n,r:c.right||r<0?0:r>t?t:r,b:c.bottom||s<0?0:s>i?i:s,l:c.left||a<0?0:a>t?t:a}}(e,i/2,n/2);return{outer:{x:t.left,y:t.top,w:i,h:n},inner:{x:t.left+r.l,y:t.top+r.t,w:i-r.l-r.r,h:n-r.t-r.b}}}(t),n=i.outer,r=i.inner;e.fillStyle=t.backgroundColor,e.fillRect(n.x,n.y,n.w,n.h),n.w===r.w&&n.h===r.h||(e.save(),e.beginPath(),e.rect(n.x,n.y,n.w,n.h),e.clip(),e.fillStyle=t.borderColor,e.rect(r.x,r.y,r.w,r.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return me(this._view,e,t)},inLabelRange:function(e,t){var i=this._view;return he(i)?me(i,e,null):me(i,null,t)},inXRange:function(e){return me(this._view,e,null)},inYRange:function(e){return me(this._view,null,e)},getCenterPoint:function(){var e,t,i=this._view;return he(i)?(e=i.x,t=(i.y+i.base)/2):(e=(i.x+i.base)/2,t=i.y),{x:e,y:t}},getArea:function(){var e=this._view;return he(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),be={},ge=ae,ye=de,ve=_e;be.Arc=ne,be.Line=ge,be.Point=ye,be.Rectangle=ve;var we=H._deprecated,Ce=H.valueOrDefault;j._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),j._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Se=ee.extend({dataElementType:be.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,i=this;ee.prototype.initialize.apply(i,arguments),(e=i.getMeta()).stack=i.getDataset().stack,e.bar=!0,t=i._getIndexScale().options,we("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),we("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),we("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),we("bar chart",i._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),we("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,i=n.length;t=0&&m.min>=0?m.min:m.max,v=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,w=p.length;if(b||void 0===b&&void 0!==g)for(n=0;n=0&&l.max>=0?l.max:l.min,(m.min<0&&s<0||m.max>=0&&s>0)&&(y+=s));return a=u.getPixelForValue(y),c=(o=u.getPixelForValue(y+v))-a,void 0!==_&&Math.abs(c)<_&&(c=_,o=v>=0&&!h||v<0&&h?a-_:a+_),{size:c,base:a,head:o,center:o+c/2}},calculateBarIndexPixels:function(e,t,i,n){var r="flex"===n.barThickness?function(e,t,i){var n,r=t.pixels,s=r[e],a=e>0?r[e-1]:null,o=e0?Math.min(a,Math.abs(n-i)):a,i=n;return a}(t.scale,t.pixels):-1;return H.isNullOrUndef(s)?(n=c*i.categoryPercentage,r=i.barPercentage):(n=s*a,r=1),{chunk:n/a,ratio:r,start:o-n/2}}(t,i,n),s=this.getStackIndex(e,this.getMeta().stack),a=r.start+r.chunk*s+r.chunk/2,o=Math.min(Ce(n.maxBarThickness,1/0),r.chunk*r.ratio);return{base:a-o/2,head:a+o/2,center:a,size:o}},draw:function(){var e=this.chart,t=this._getValueScale(),i=this.getMeta().data,n=this.getDataset(),r=i.length,s=0;for(H.canvas.clipArea(e.ctx,e.chartArea);s=Le?-Te:_<-Le?Te:0)+p,g=Math.cos(_),y=Math.sin(_),v=Math.cos(b),w=Math.sin(b),C=_<=0&&b>=0||b>=Te,S=_<=Ee&&b>=Ee||b>=Te+Ee,k=_<=-Ee&&b>=-Ee||b>=Le+Ee,x=_===-Le||b>=Le?-1:Math.min(g,g*f,v,v*f),M=k?-1:Math.min(y,y*f,w,w*f),D=C?1:Math.max(g,g*f,v,v*f),L=S?1:Math.max(y,y*f,w,w*f);o=(D-x)/2,c=(L-M)/2,l=-(D+x)/2,d=-(L+M)/2}for(t=0,i=h.length;t0&&!isNaN(e)?Te*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,i,n,r,s,a,o,c,l=0,d=this.chart;if(!e)for(t=0,i=d.data.datasets.length;t(l=(o=a.borderWidth)>l?o:l)?c:l);return l},setHoverStyle:function(e){var t=e._model,i=e._options,n=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=De(i.hoverBackgroundColor,n(i.backgroundColor)),t.borderColor=De(i.hoverBorderColor,n(i.borderColor)),t.borderWidth=De(i.hoverBorderWidth,i.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,i=0;i0&&Re(c[e-1]._model,o)&&(i.controlPointPreviousX=l(i.controlPointPreviousX,o.left,o.right),i.controlPointPreviousY=l(i.controlPointPreviousY,o.top,o.bottom)),e0&&(s=e.getDatasetMeta(s[0]._datasetIndex).data),s},"x-axis":function(e,t){return Ze(e,t,{intersect:!1})},point:function(e,t){return Je(e,qe(t,e))},nearest:function(e,t,i){var n=qe(t,e);i.axis=i.axis||"xy";var r=Ge(i.axis);return Ke(e,n,i.intersect,r)},x:function(e,t,i){var n=qe(t,e),r=[],s=!1;return $e(e,(function(e){e.inXRange(n.x)&&r.push(e),e.inRange(n.x,n.y)&&(s=!0)})),i.intersect&&!s&&(r=[]),r},y:function(e,t,i){var n=qe(t,e),r=[],s=!1;return $e(e,(function(e){e.inYRange(n.y)&&r.push(e),e.inRange(n.x,n.y)&&(s=!0)})),i.intersect&&!s&&(r=[]),r}}},Qe=H.extend;function et(e,t){return H.where(e,(function(e){return e.pos===t}))}function tt(e,t){return e.sort((function(e,i){var n=t?i:e,r=t?e:i;return n.weight===r.weight?n.index-r.index:n.weight-r.weight}))}function it(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function nt(e,t,i){var n,r,s=i.box,a=e.maxPadding;if(i.size&&(e[i.pos]-=i.size),i.size=i.horizontal?s.height:s.width,e[i.pos]+=i.size,s.getPadding){var o=s.getPadding();a.top=Math.max(a.top,o.top),a.left=Math.max(a.left,o.left),a.bottom=Math.max(a.bottom,o.bottom),a.right=Math.max(a.right,o.right)}if(n=t.outerWidth-it(a,e,"left","right"),r=t.outerHeight-it(a,e,"top","bottom"),n!==e.w||r!==e.h){e.w=n,e.h=r;var c=i.horizontal?[n,e.w]:[r,e.h];return!(c[0]===c[1]||isNaN(c[0])&&isNaN(c[1]))}}function rt(e,t){var i,n=t.maxPadding;return i={left:0,top:0,right:0,bottom:0},(e?["left","right"]:["top","bottom"]).forEach((function(e){i[e]=Math.max(t[e],n[e])})),i}function st(e,t,i){var n,r,s,a,o,c,l=[];for(n=0,r=e.length;n div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&ot.default||ot,dt=["animationstart","webkitAnimationStart"],ut={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ht(e,t){var i=H.getStyle(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var ft=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(i){}return e}()&&{passive:!0};function pt(e,t,i){e.addEventListener(t,i,ft)}function mt(e,t,i){e.removeEventListener(t,i,ft)}function _t(e,t,i,n,r){return{type:e,chart:t,native:r||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function bt(e){var t=document.createElement("div");return t.className=e||"",t}var gt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var i=e.$chartjs||(e.$chartjs={});if(!i.containsStyles){i.containsStyles=!0,t="/* Chart.js */\n"+t;var n=document.createElement("style");n.setAttribute("type","text/css"),n.appendChild(document.createTextNode(t)),e.appendChild(n)}}(t.host?t:document.head,lt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(this._ensureLoaded(e),function(e,t){var i=e.style,n=e.getAttribute("height"),r=e.getAttribute("width");if(e.$chartjs={initial:{height:n,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===r||""===r){var s=ht(e,"width");void 0!==s&&(e.width=s)}if(null===n||""===n)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=ht(e,"height");void 0!==s&&(e.height=a)}}(e,t),i):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var i=t.$chartjs.initial;["height","width"].forEach((function(e){var n=i[e];H.isNullOrUndef(n)?t.removeAttribute(e):t.setAttribute(e,n)})),H.each(i.style||{},(function(e,i){t.style[i]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,i){var n=e.canvas;if("resize"!==t){var r=i.$chartjs||(i.$chartjs={});pt(n,t,(r.proxies||(r.proxies={}))[e.id+"_"+t]=function(t){i(function(e,t){var i=ut[e.type]||e.type,n=H.getRelativePosition(e,t);return _t(i,t,n.x,n.y,e)}(t,e))})}else!function(e,t,i){var n,r,s,a,o=e.$chartjs||(e.$chartjs={}),c=o.resizer=function(e){var t=bt("chartjs-size-monitor"),i=bt("chartjs-size-monitor-expand"),n=bt("chartjs-size-monitor-shrink");i.appendChild(bt()),n.appendChild(bt()),t.appendChild(i),t.appendChild(n),t._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,n.scrollLeft=1e6,n.scrollTop=1e6};var r=function(){t._reset(),e()};return pt(i,"scroll",r.bind(i,"expand")),pt(n,"scroll",r.bind(n,"shrink")),t}((n=function(){if(o.resizer){var n=i.options.maintainAspectRatio&&e.parentNode,r=n?n.clientWidth:0;t(_t("resize",i)),n&&n.clientWidth0){var s=e[0];s.label?i=s.label:s.xLabel?i=s.xLabel:r>0&&s.index-1?e.split("\n"):e}function Dt(e){var t=j.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Ct(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Ct(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Ct(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Ct(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Ct(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Ct(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Ct(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Ct(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Ct(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Lt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Tt(e){return xt([],Mt(e))}var Et=q.extend({initialize:function(){this._model=Dt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,i=t.callbacks,n=i.beforeTitle.apply(e,arguments),r=i.title.apply(e,arguments),s=i.afterTitle.apply(e,arguments),a=[];return a=xt(a,Mt(n)),a=xt(a,Mt(r)),xt(a,Mt(s))},getBeforeBody:function(){return Tt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var i=this,n=i._options.callbacks,r=[];return H.each(e,(function(e){var s={before:[],lines:[],after:[]};xt(s.before,Mt(n.beforeLabel.call(i,e,t))),xt(s.lines,n.label.call(i,e,t)),xt(s.after,Mt(n.afterLabel.call(i,e,t))),r.push(s)})),r},getAfterBody:function(){return Tt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,i=t.beforeFooter.apply(e,arguments),n=t.footer.apply(e,arguments),r=t.afterFooter.apply(e,arguments),s=[];return s=xt(s,Mt(i)),s=xt(s,Mt(n)),xt(s,Mt(r))},update:function(e){var t,i,n,r,s,a,o,c,l,d,u=this,h=u._options,f=u._model,p=u._model=Dt(h),m=u._active,_=u._data,b={xAlign:f.xAlign,yAlign:f.yAlign},g={x:f.x,y:f.y},y={width:f.width,height:f.height},v={x:f.caretX,y:f.caretY};if(m.length){p.opacity=1;var w=[],C=[];v=kt[h.position].call(u,m,u._eventPosition);var S=[];for(t=0,i=m.length;tn.width&&(r=n.width-t.width),r<0&&(r=0)),"top"===c?s+=l:s-="bottom"===c?t.height+l:t.height/2,"center"===c?"left"===o?r+=l:"right"===o&&(r-=l):"left"===o?r-=d:"right"===o&&(r+=d),{x:r,y:s}}(p,y,b=function(e,t){var i,n,r,s,a,o=e._model,c=e._chart,l=e._chart.chartArea,d="center",u="center";o.yc.height-t.height&&(u="bottom");var h=(l.left+l.right)/2,f=(l.top+l.bottom)/2;"center"===u?(i=function(e){return e<=h},n=function(e){return e>h}):(i=function(e){return e<=t.width/2},n=function(e){return e>=c.width-t.width/2}),r=function(e){return e+t.width+o.caretSize+o.caretPadding>c.width},s=function(e){return e-t.width-o.caretSize-o.caretPadding<0},a=function(e){return e<=f?"top":"bottom"},i(o.x)?(d="left",r(o.x)&&(d="center",u=a(o.y))):n(o.x)&&(d="right",s(o.x)&&(d="center",u=a(o.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:d,yAlign:p.yAlign?p.yAlign:u}}(this,y),u._chart)}else p.opacity=0;return p.xAlign=b.xAlign,p.yAlign=b.yAlign,p.x=g.x,p.y=g.y,p.width=y.width,p.height=y.height,p.caretX=v.x,p.caretY=v.y,u._model=p,e&&h.custom&&h.custom.call(u,p),u},drawCaret:function(e,t){var i=this._chart.ctx,n=this.getCaretPosition(e,t,this._view);i.lineTo(n.x1,n.y1),i.lineTo(n.x2,n.y2),i.lineTo(n.x3,n.y3)},getCaretPosition:function(e,t,i){var n,r,s,a,o,c,l=i.caretSize,d=i.cornerRadius,u=i.xAlign,h=i.yAlign,f=e.x,p=e.y,m=t.width,_=t.height;if("center"===h)o=p+_/2,"left"===u?(r=(n=f)-l,s=n,a=o+l,c=o-l):(r=(n=f+m)+l,s=n,a=o-l,c=o+l);else if("left"===u?(n=(r=f+d+l)-l,s=r+l):"right"===u?(n=(r=f+m-d-l)-l,s=r+l):(n=(r=i.caretX)-l,s=r+l),"top"===h)o=(a=p)-l,c=a;else{o=(a=p+_)+l,c=a;var b=s;s=n,n=b}return{x1:n,x2:r,x3:s,y1:a,y2:o,y3:c}},drawTitle:function(e,t,i){var n,r,s,a=t.title,o=a.length;if(o){var c=St(t.rtl,t.x,t.width);for(e.x=Lt(t,t._titleAlign),i.textAlign=c.textAlign(t._titleAlign),i.textBaseline="middle",n=t.titleFontSize,r=t.titleSpacing,i.fillStyle=t.titleFontColor,i.font=H.fontString(n,t._titleFontStyle,t._titleFontFamily),s=0;s0&&i.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var i={width:t.width,height:t.height},n={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=r,this.drawBackground(n,t,e,i),n.y+=t.yPadding,H.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),H.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===e.type?i._active=[]:(i._active=i._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&i._active.reverse()),(t=!H.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:e.x,y:e.y},i.update(!0),i.pivot())),t}});Et.positioners=kt;var At=H.valueOrDefault;function Ot(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,i,n){if("xAxes"===e||"yAxes"===e){var r,s,a,o=i[e].length;for(t[e]||(t[e]=[]),r=0;r=t[e].length&&t[e].push({}),H.merge(t[e][r],!t[e][r].type||a.type&&a.type!==t[e][r].type?[wt.getScaleDefaults(s),a]:a)}else H._merger(e,t,i,n)}})}function Pt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,i,n){var r=t[e]||Object.create(null),s=i[e];"scales"===e?t[e]=Ot(r,s):"scale"===e?t[e]=H.merge(r,[wt.getScaleDefaults(s.type),s]):H._merger(e,t,i,n)}})}function It(e){var t=e.options;H.each(e.scales,(function(t){ct.removeBox(e,t)})),t=Pt(j.global,j[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Rt(e,t,i){var n,r=function(e){return e.id===n};do{n=t+i++}while(H.findIndex(e,r)>=0);return n}function jt(e){return"top"===e||"bottom"===e}function Yt(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}j._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Vt=function(e,t){return this.construct(e,t),this};H.extend(Vt.prototype,{construct:function(e,t){var i=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Pt(j.global,j[e.type],e.options||{}),e}(t);var n=yt.acquireContext(e,t),r=n&&n.canvas,s=r&&r.height,a=r&&r.width;i.id=H.uid(),i.ctx=n,i.canvas=r,i.config=t,i.width=a,i.height=s,i.aspectRatio=s?a/s:null,i.options=t.options,i._bufferedRender=!1,i._layers=[],i.chart=i,i.controller=i,Vt.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(e){i.config.data=e}}),n&&r?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return vt.notify(e,"beforeInit"),H.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),vt.notify(e,"afterInit"),e},clear:function(){return H.canvas.clear(this),this},stop:function(){return K.cancelAnimation(this),this},resize:function(e){var t=this,i=t.options,n=t.canvas,r=i.maintainAspectRatio&&t.aspectRatio||null,s=Math.max(0,Math.floor(H.getMaximumWidth(n))),a=Math.max(0,Math.floor(r?s/r:H.getMaximumHeight(n)));if((t.width!==s||t.height!==a)&&(n.width=t.width=s,n.height=t.height=a,n.style.width=s+"px",n.style.height=a+"px",H.retinaScale(t,i.devicePixelRatio),!e)){var o={width:s,height:a};vt.notify(t,"resize",[o]),i.onResize&&i.onResize(t,o),t.stop(),t.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},i=e.scale;H.each(t.xAxes,(function(e,i){e.id||(e.id=Rt(t.xAxes,"x-axis-",i))})),H.each(t.yAxes,(function(e,i){e.id||(e.id=Rt(t.yAxes,"y-axis-",i))})),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,i=e.scales||{},n=[],r=Object.keys(i).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(n=n.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&n.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(n,(function(t){var n=t.options,s=n.id,a=At(n.type,t.dtype);jt(n.position)!==jt(t.dposition)&&(n.position=t.dposition),r[s]=!0;var o=null;if(s in i&&i[s].type===a)(o=i[s]).options=n,o.ctx=e.ctx,o.chart=e;else{var c=wt.getScaleConstructor(a);if(!c)return;o=new c({id:s,type:a,options:n,ctx:e.ctx,chart:e}),i[o.id]=o}o.mergeTicksOptions(),t.isDefault&&(e.scale=o)})),H.each(r,(function(e,t){e||delete i[t]})),e.scales=i,wt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,i=this,n=[],r=i.data.datasets;for(e=0,t=r.length;e=0;--i)this.drawDataset(t[i],e);vt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var i={meta:e,index:e.index,easingValue:t};!1!==vt.notify(this,"beforeDatasetDraw",[i])&&(e.controller.draw(t),vt.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this.tooltip,i={tooltip:t,easingValue:e};!1!==vt.notify(this,"beforeTooltipDraw",[i])&&(t.draw(),vt.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(e){return Xe.modes.single(this,e)},getElementsAtEvent:function(e){return Xe.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Xe.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,i){var n=Xe.modes[t];return"function"==typeof n?n(this,e,i):[]},getDatasetAtEvent:function(e){return Xe.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var i=t._meta[this.id];return i||(i=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),i},getVisibleDatasetCount:function(){for(var e=0,t=0,i=this.data.datasets.length;t3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&e!==Math.floor(e)&&(n=e-Math.floor(e));var r=H.log10(Math.abs(n)),s="";if(0!==e)if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var a=H.log10(Math.abs(e)),o=Math.floor(a)-Math.floor(r);o=Math.max(Math.min(o,20),0),s=e.toExponential(o)}else{var c=-1*Math.floor(r);c=Math.max(Math.min(c,20),0),s=e.toFixed(c)}else s="0";return s},logarithmic:function(e,t,i){var n=e/Math.pow(10,Math.floor(H.log10(e)));return 0===e?"0":1===n||2===n||5===n||0===t||t===i.length-1?e.toExponential():""}}},Nt=H.isArray,Ut=H.isNullOrUndef,qt=H.valueOrDefault,$t=H.valueAtIndexOrDefault;function Jt(e,t,i){var n,r=e.getTicks().length,s=Math.min(t,r-1),a=e.getPixelForTick(s),o=e._startPixel,c=e._endPixel;if(!(i&&(n=1===r?Math.max(a-o,c-a):0===t?(e.getPixelForTick(1)-a)/2:(a-e.getPixelForTick(s-1))/2,(a+=sc+1e-6)))return a}function Kt(e){return e.drawTicks?e.tickMarkLength:0}function Gt(e){var t,i;return e.display?(t=H.options._parseFont(e),i=H.options.toPadding(e.padding),t.lineHeight+i.height):0}function Zt(e,t){return H.extend(H.options._parseFont({fontFamily:qt(t.fontFamily,e.fontFamily),fontSize:qt(t.fontSize,e.fontSize),fontStyle:qt(t.fontStyle,e.fontStyle),lineHeight:qt(t.lineHeight,e.lineHeight)}),{color:H.options.resolve([t.fontColor,e.fontColor,j.global.defaultFontColor])})}function Xt(e){var t=Zt(e,e.minor);return{minor:t,major:e.major.enabled?Zt(e,e.major):t}}function Qt(e){var t,i,n,r=[];for(i=0,n=e.length;i=h||d<=1||!o.isHorizontal()?o.labelRotation=u:(t=(e=o._getLabelSizes()).widest.width,i=e.highest.height-e.highest.offset,n=Math.min(o.maxWidth,o.chart.width-t),t+6>(r=c.offset?o.maxWidth/d:n/(d-1))&&(r=n/(d-(c.offset?.5:1)),s=o.maxHeight-Kt(c.gridLines)-l.padding-Gt(c.scaleLabel),a=Math.sqrt(t*t+i*i),f=H.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/r,1)),Math.asin(Math.min(s/a,1))-Math.asin(i/a))),f=Math.max(u,Math.min(h,f))),o.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},i=e.chart,n=e.options,r=n.ticks,s=n.scaleLabel,a=n.gridLines,o=e._isVisible(),c="bottom"===n.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:o&&(t.width=Kt(a)+Gt(s)),l?o&&(t.height=Kt(a)+Gt(s)):t.height=e.maxHeight,r.display&&o){var d=Xt(r),u=e._getLabelSizes(),h=u.first,f=u.last,p=u.widest,m=u.highest,_=.4*d.minor.lineHeight,b=r.padding;if(l){var g=0!==e.labelRotation,y=H.toRadians(e.labelRotation),v=Math.cos(y),w=Math.sin(y);t.height=Math.min(e.maxHeight,t.height+(w*p.width+v*(m.height-(g?m.offset:0))+(g?0:_))+b);var C,S,k=e.getPixelForTick(0)-e.left,x=e.right-e.getPixelForTick(e.getTicks().length-1);g?(C=c?v*h.width+w*h.offset:w*(h.height-h.offset),S=c?w*(f.height-f.offset):v*f.width+w*f.offset):(C=h.width/2,S=f.width/2),e.paddingLeft=Math.max((C-k)*e.width/(e.width-k),0)+3,e.paddingRight=Math.max((S-x)*e.width/(e.width-x),0)+3}else t.width=Math.min(e.maxWidth,t.width+(r.mirror?0:p.width+b+_)),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}e.handleMargins(),l?(e.width=e._length=i.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=i.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Ut(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,i,n,r=this;for(r.ticks=e.map((function(e){return e.value})),r.beforeTickToLabelConversion(),t=r.convertTicksToLabels(e)||r.ticks,r.afterTickToLabelConversion(),i=0,n=e.length;it){for(i=0;ii-1?null:this.getPixelForDecimal(e*n+(t?n/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,i,n,r,s=this.options.ticks,a=s.maxTicksLimit||this._length/this._tickSize()+1,o=s.major.enabled?function(e){var t,i,n=[];for(t=0,i=e.length;ta)return function(e,t,i){var n,r,s=0,a=t[0];for(i=Math.ceil(i),n=0;nl)return s;return Math.max(l,1)}(o,e,0,a),c>0){for(t=0,i=c-1;t1?(d-l)/(c-1):null)?0:l-r,l),ei(e,n,d,H.isNullOrUndef(r)?e.length:d+r),Qt(e)}return ei(e,n),Qt(e)},_tickSize:function(){var e=this.options.ticks,t=H.toRadians(this.labelRotation),i=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),r=this._getLabelSizes(),s=e.autoSkipPadding||0,a=r?r.widest.width+s:0,o=r?r.highest.height+s:0;return this.isHorizontal()?o*i>a*n?a/i:o/n:o*n=0&&(a=e),void 0!==s&&(e=i.indexOf(s))>=0&&(o=e),t.minIndex=a,t.maxIndex=o,t.min=i[a],t.max=i[o]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,i=this.maxIndex;this.ticks=0===t&&i===e.length-1?e:e.slice(t,i+1)},getLabelForIndex:function(e,t){var i=this.chart;return i.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(i.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,i=e.ticks;ii.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),i&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(i.length-(t?0:1),1))},getPixelForValue:function(e,t,i){var n,r,s,a=this;return ni(t)||ni(i)||(e=a.chart.data.datasets[i].data[t]),ni(e)||(n=a.isHorizontal()?e.x:e.y),(void 0!==n||void 0!==e&&isNaN(t))&&(r=a._getLabels(),e=H.valueOrDefault(n,e),t=-1!==(s=r.indexOf(e))?s:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});ri._defaults={position:"bottom"};var si=H.isNullOrUndef,ai=ii.extend({getRightValue:function(e){return"string"==typeof e?+e:ii.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var i=H.sign(e.min),n=H.sign(e.max);i<0&&n<0?e.max=0:i>0&&n>0&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,s=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(e.min=null===e.min?t.suggestedMin:Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(e.max=null===e.max?t.suggestedMax:Math.max(e.max,t.suggestedMax)),r!==s&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,i=t.stepSize,n=t.maxTicksLimit;return i?e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(e=this._computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:H.noop,buildTicks:function(){var e=this,t=e.options.ticks,i=e.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:t.min,max:t.max,precision:t.precision,stepSize:H.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var i,n,r,s,a=[],o=e.stepSize,c=o||1,l=e.maxTicks-1,d=e.min,u=e.max,h=e.precision,f=t.min,p=t.max,m=H.niceNum((p-f)/l/c)*c;if(m<1e-14&&si(d)&&si(u))return[f,p];(s=Math.ceil(p/m)-Math.floor(f/m))>l&&(m=H.niceNum(s*m/l/c)*c),o||si(h)?i=Math.pow(10,H._decimalPlaces(m)):(i=Math.pow(10,h),m=Math.ceil(m*i)/i),n=Math.floor(f/m)*m,r=Math.ceil(p/m)*m,o&&(!si(d)&&H.almostWhole(d/m,m/1e3)&&(n=d),!si(u)&&H.almostWhole(u/m,m/1e3)&&(r=u)),s=H.almostEquals(s=(r-n)/m,Math.round(s),m/1e3)?Math.round(s):Math.ceil(s),n=Math.round(n*i)/i,r=Math.round(r*i)/i,a.push(si(d)?n:d);for(var _=1;_t.length-1?null:this.getPixelForValue(t[e])}});di._defaults=oi;var ui=H.valueOrDefault,hi=H.math.log10,fi={position:"left",ticks:{callback:zt.formatters.logarithmic}};function pi(e,t){return H.isFinite(e)&&e>=0?e:t}var mi=ii.extend({determineDataLimits:function(){var e,t,i,n,r,s,a=this,o=a.options,c=a.chart,l=c.data.datasets,d=a.isHorizontal();function u(e){return d?e.xAxisID===a.id:e.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=o.stacked;if(void 0===h)for(e=0;e0){var t=H.min(e),i=H.max(e);a.min=Math.min(a.min,t),a.max=Math.max(a.max,i)}}))}else for(e=0;e0?e.min:e.max<1?Math.pow(10,Math.floor(hi(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,i=!e.isHorizontal(),n={min:pi(t.min),max:pi(t.max)},r=e.ticks=function(e,t){var i,n,r=[],s=ui(e.min,Math.pow(10,Math.floor(hi(t.min)))),a=Math.floor(hi(t.max)),o=Math.ceil(t.max/Math.pow(10,a));0===s?(i=Math.floor(hi(t.minNotZero)),n=Math.floor(t.minNotZero/Math.pow(10,i)),r.push(s),s=n*Math.pow(10,i)):(i=Math.floor(hi(s)),n=Math.floor(s/Math.pow(10,i)));var c=i<0?Math.pow(10,Math.abs(i)):1;do{r.push(s),10==++n&&(n=1,c=++i>=0?1:c),s=Math.round(n*Math.pow(10,i)*c)/c}while(it.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(hi(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,i=0;ii.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),i=ui(e.options.ticks.fontSize,j.global.defaultFontSize)/e._length),e._startValue=hi(t),e._valueOffset=i,e._valueRange=(hi(e.max)-hi(t))/(1-i)},getPixelForValue:function(e){var t=this,i=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(i=(hi(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(i)},getValueForPixel:function(e){var t=this,i=t.getDecimalForPixel(e);return 0===i&&0===t.min?0:Math.pow(10,t._startValue+(i-t._valueOffset)*t._valueRange)}});mi._defaults=fi;var _i=H.valueOrDefault,bi=H.valueAtIndexOrDefault,gi=H.options.resolve,yi={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:zt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function vi(e){var t=e.ticks;return t.display&&e.display?_i(t.fontSize,j.global.defaultFontSize)+2*t.backdropPaddingY:0}function wi(e,t,i,n,r){return e===n||e===r?{start:t-i/2,end:t+i/2}:er?{start:t-i,end:t}:{start:t,end:t+i}}function Ci(e){return 0===e||180===e?"center":e<180?"left":"right"}function Si(e,t,i,n){var r,s,a=i.y+n/2;if(H.isArray(t))for(r=0,s=t.length;r270||e<90)&&(i.y-=t.h)}function xi(e){return H.isNumber(e)?e:0}var Mi=ai.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=vi(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;H.each(t.data.datasets,(function(r,s){if(t.isDatasetVisible(s)){var a=t.getDatasetMeta(s);H.each(r.data,(function(t,r){var s=+e.getRightValue(t);isNaN(s)||a.data[r].hidden||(i=Math.min(s,i),n=Math.max(s,n))}))}})),e.min=i===Number.POSITIVE_INFINITY?0:i,e.max=n===Number.NEGATIVE_INFINITY?0:n,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/vi(this.options))},convertTicksToLabels:function(){var e=this;ai.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=H.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,i,n,r=H.options._parseFont(e.options.pointLabels),s={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=r.string,e._pointLabelSizes=[];var o,c,l,d=e.chart.data.labels.length;for(t=0;ts.r&&(s.r=f.end,a.r=u),p.starts.b&&(s.b=p.end,a.b=u)}e.setReductions(e.drawingArea,s,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,i){var n=this,r=t.l/Math.sin(i.l),s=Math.max(t.r-n.width,0)/Math.sin(i.r),a=-t.t/Math.cos(i.t),o=-Math.max(t.b-(n.height-n.paddingTop),0)/Math.cos(i.b);r=xi(r),s=xi(s),a=xi(a),o=xi(o),n.drawingArea=Math.min(Math.floor(e-(r+s)/2),Math.floor(e-(a+o)/2)),n.setCenterPoint(r,s,a,o)},setCenterPoint:function(e,t,i,n){var r=this,s=i+r.drawingArea,a=r.height-r.paddingTop-n-r.drawingArea;r.xCenter=Math.floor((e+r.drawingArea+(r.width-t-r.drawingArea))/2+r.left),r.yCenter=Math.floor((s+a)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,i=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(i<0?i+360:i)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(H.isNullOrUndef(e))return NaN;var i=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*i:(e-t.min)*i},getPointPosition:function(e,t){var i=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(i)*t+this.xCenter,y:Math.sin(i)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,i=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&i<0?i:t>0&&i>0?t:0)},_drawGrid:function(){var e,t,i,n=this,r=n.ctx,s=n.options,a=s.gridLines,o=s.angleLines,c=_i(o.lineWidth,a.lineWidth),l=_i(o.color,a.color);if(s.pointLabels.display&&function(e){var t=e.ctx,i=e.options,n=i.pointLabels,r=vi(i),s=e.getDistanceFromCenterForValue(i.ticks.reverse?e.min:e.max),a=H.options._parseFont(n);t.save(),t.font=a.string,t.textBaseline="middle";for(var o=e.chart.data.labels.length-1;o>=0;o--){var c=e.getPointPosition(o,s+(0===o?r/2:0)+5),l=bi(n.fontColor,o,j.global.defaultFontColor);t.fillStyle=l;var d=e.getIndexAngle(o),u=H.toDegrees(d);t.textAlign=Ci(u),ki(u,e._pointLabelSizes[o],c),Si(t,e.pointLabels[o],c,a.lineHeight)}t.restore()}(n),a.display&&H.each(n.ticks,(function(e,i){0!==i&&(t=n.getDistanceFromCenterForValue(n.ticksAsNumbers[i]),function(e,t,i,n){var r,s=e.ctx,a=t.circular,o=e.chart.data.labels.length,c=bi(t.color,n-1),l=bi(t.lineWidth,n-1);if((a||o)&&c&&l){if(s.save(),s.strokeStyle=c,s.lineWidth=l,s.setLineDash&&(s.setLineDash(t.borderDash||[]),s.lineDashOffset=t.borderDashOffset||0),s.beginPath(),a)s.arc(e.xCenter,e.yCenter,i,0,2*Math.PI);else{r=e.getPointPosition(0,i),s.moveTo(r.x,r.y);for(var d=1;d=0;e--)t=n.getDistanceFromCenterForValue(s.ticks.reverse?n.min:n.max),i=n.getPointPosition(e,t),r.beginPath(),r.moveTo(n.xCenter,n.yCenter),r.lineTo(i.x,i.y),r.stroke();r.restore()}},_drawLabels:function(){var e=this,t=e.ctx,i=e.options.ticks;if(i.display){var n,r,s=e.getIndexAngle(0),a=H.options._parseFont(i),o=_i(i.fontColor,j.global.defaultFontColor);t.save(),t.font=a.string,t.translate(e.xCenter,e.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",H.each(e.ticks,(function(s,c){(0!==c||i.reverse)&&(n=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),i.showLabelBackdrop&&(r=t.measureText(s).width,t.fillStyle=i.backdropColor,t.fillRect(-r/2-i.backdropPaddingX,-n-a.size/2-i.backdropPaddingY,r+2*i.backdropPaddingX,a.size+2*i.backdropPaddingY)),t.fillStyle=o,t.fillText(s,0,-n))})),t.restore()}},_drawTitle:H.noop});Mi._defaults=yi;var Di=H._deprecated,Li=H.options.resolve,Ti=H.valueOrDefault,Ei=Number.MIN_SAFE_INTEGER||-9007199254740991,Ai=Number.MAX_SAFE_INTEGER||9007199254740991,Oi={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Pi=Object.keys(Oi);function Ii(e,t){return e-t}function Ri(e){return H.valueOrDefault(e.time.min,e.ticks.min)}function ji(e){return H.valueOrDefault(e.time.max,e.ticks.max)}function Yi(e,t,i,n){var r=function(e,t,i){for(var n,r,s,a=0,o=e.length-1;a>=0&&a<=o;){if(s=e[n=a+o>>1],!(r=e[n-1]||null))return{lo:null,hi:s};if(s[t]i))return{lo:r,hi:s};o=n-1}}return{lo:s,hi:null}}(e,t,i),s=r.lo?r.hi?r.lo:e[e.length-2]:e[0],a=r.lo?r.hi?r.hi:e[e.length-1]:e[1],o=a[t]-s[t];return s[n]+(a[n]-s[n])*(o?(i-s[t])/o:0)}function Vi(e,t){var i=e._adapter,n=e.options.time,r=n.parser,s=r||n.format,a=t;return"function"==typeof r&&(a=r(a)),H.isFinite(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null!==a?+a:(r||"function"!=typeof s||(a=s(t),H.isFinite(a)||(a=i.parse(a))),a)}function Wi(e,t){if(H.isNullOrUndef(t))return null;var i=e.options.time,n=Vi(e,e.getRightValue(t));return null===n?n:(i.round&&(n=+e._adapter.startOf(n,i.round)),n)}function Fi(e,t,i,n){var r,s,a=Pi.length;for(r=Pi.indexOf(e);r=0&&(t[s].major=!0);return t}(e,s,a,i):s}var Bi=ii.extend({initialize:function(){this.mergeTicksOptions(),ii.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,i=t.time||(t.time={}),n=e._adapter=new Bt._date(t.adapters.date);return Di("time scale",i.format,"time.format","time.parser"),Di("time scale",i.min,"time.min","ticks.min"),Di("time scale",i.max,"time.max","ticks.max"),H.mergeIf(i.displayFormats,n.formats()),ii.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),ii.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,i,n,r,s,a,o=this,c=o.chart,l=o._adapter,d=o.options,u=d.time.unit||"day",h=Ai,f=Ei,p=[],m=[],_=[],b=o._getLabels();for(e=0,i=b.length;e1?function(e){var t,i,n,r={},s=[];for(t=0,i=e.length;t1e5*l)throw t+" and "+i+" are too far apart with stepSize of "+l+" "+c;for(r=u;r=r&&i<=s&&d.push(i);return n.min=r,n.max=s,n._unit=c.unit||(o.autoSkip?Fi(c.minUnit,n.min,n.max,u):function(e,t,i,n,r){var s,a;for(s=Pi.length-1;s>=Pi.indexOf(i);s--)if(Oi[a=Pi[s]].common&&e._adapter.diff(r,n,a)>=t-1)return a;return Pi[i?Pi.indexOf(i):0]}(n,d.length,c.minUnit,n.min,n.max)),n._majorUnit=o.major.enabled&&"year"!==n._unit?function(e){for(var t=Pi.indexOf(e)+1,i=Pi.length;tt&&o=0&&e0?o:1}});Bi._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var zi={category:ri,linear:di,logarithmic:mi,radialLinear:Mi,time:Bi},Ni={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Bt._date.override("function"==typeof e?{_id:"moment",formats:function(){return Ni},parse:function(t,i){return"string"==typeof t&&"string"==typeof i?t=e(t,i):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,i){return e(t).format(i)},add:function(t,i,n){return e(t).add(i,n).valueOf()},diff:function(t,i,n){return e(t).diff(e(i),n)},startOf:function(t,i,n){return t=e(t),"isoWeek"===i?t.isoWeekday(n).valueOf():t.startOf(i).valueOf()},endOf:function(t,i){return e(t).endOf(i).valueOf()},_create:function(t){return e(t)}}:{}),j._set("global",{plugins:{filler:{propagate:!0}}});var Ui={dataset:function(e){var t=e.fill,i=e.chart,n=i.getDatasetMeta(t),r=n&&i.isDatasetVisible(t)&&n.dataset._children||[],s=r.length||0;return s?function(e,t){return t=i)&&n;switch(s){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return s;default:return!1}}function $i(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,i,n,r,s,a=e.el._scale,o=a.options,c=a.chart.data.labels.length,l=e.fill,d=[];if(!c)return null;for(i=o.ticks.reverse?a.min:a.max,n=a.getPointPositionForValue(0,t=o.ticks.reverse?a.max:a.min),r=0;r0;--s)H.canvas.lineTo(e,i[s],i[s-1],!0);else for(a=i[0].cx,o=i[0].cy,c=Math.sqrt(Math.pow(i[0].x-a,2)+Math.pow(i[0].y-o,2)),s=r-1;s>0;--s)e.arc(a,o,c,i[s].angle,i[s-1].angle,!0)}}function Xi(e,t,i,n,r,s){var a,o,c,l,d,u,h,f,p=t.length,m=n.spanGaps,_=[],b=[],g=0,y=0;for(e.beginPath(),a=0,o=p;a=0;--i)(t=c[i].$filler)&&t.visible&&(s=(n=t.el)._children||[],o=(r=n._view).backgroundColor||j.global.defaultColor,(a=t.mapper)&&o&&s.length&&(H.canvas.clipArea(l,e.chartArea),Xi(l,s,a,r,o,n._loop),H.canvas.unclipArea(l)))}},en=H.rtl.getRtlAdapter,tn=H.noop,nn=H.valueOrDefault;function rn(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}j._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var i=t.datasetIndex,n=this.chart,r=n.getDatasetMeta(i);r.hidden=null===r.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,i=e.options.legend||{},n=i.labels&&i.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(i){var r=i.controller.getStyle(n?0:void 0);return{text:t[i.index].label,fillStyle:r.backgroundColor,hidden:!e.isDatasetVisible(i.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:i.index}}),this)}}},legendCallback:function(e){var t,i,n,r=document.createElement("ul"),s=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,i=s.length;tc.width)&&(u+=a+i.padding,d[d.length-(t>0?0:1)]=0),o[t]={left:0,top:0,width:n,height:a},d[d.length-1]+=n+i.padding})),c.height+=u}else{var h=i.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=i.padding,_=0,b=0;H.each(e.legendItems,(function(e,t){var n=rn(i,a)+a/2+r.measureText(e.text).width;t>0&&b+a+2*h>c.height&&(m+=_+i.padding,f.push(_),p.push(b),_=0,b=0),_=Math.max(_,n),b+=a+h,o[t]={left:0,top:0,width:n,height:a}})),m+=_,f.push(_),p.push(b),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:tn,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,i=t.labels,n=j.global,r=n.defaultColor,s=n.elements.line,a=e.height,o=e.columnHeights,c=e.width,l=e.lineWidths;if(t.display){var d,u=en(t.rtl,e.left,e.minSize.width),h=e.ctx,f=nn(i.fontColor,n.defaultFontColor),p=H.options._parseFont(i),m=p.size;h.textAlign=u.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var _=rn(i,m),b=e.legendHitBoxes,g=function(e,n){switch(t.align){case"start":return i.padding;case"end":return e-n;default:return(e-n+i.padding)/2}},y=e.isHorizontal();d=y?{x:e.left+g(c,l[0]),y:e.top+i.padding,line:0}:{x:e.left+i.padding,y:e.top+g(a,o[0]),line:0},H.rtl.overrideTextDirection(e.ctx,t.textDirection);var v=m+i.padding;H.each(e.legendItems,(function(t,n){var f=h.measureText(t.text).width,p=_+m/2+f,w=d.x,C=d.y;u.setWidth(e.minSize.width),y?n>0&&w+p+i.padding>e.left+e.minSize.width&&(C=d.y+=v,d.line++,w=d.x=e.left+g(c,l[d.line])):n>0&&C+v>e.top+e.minSize.height&&(w=d.x=w+e.columnWidths[d.line]+i.padding,d.line++,C=d.y=e.top+g(a,o[d.line]));var S=u.x(w);!function(e,t,n){if(!(isNaN(_)||_<=0)){h.save();var a=nn(n.lineWidth,s.borderWidth);if(h.fillStyle=nn(n.fillStyle,r),h.lineCap=nn(n.lineCap,s.borderCapStyle),h.lineDashOffset=nn(n.lineDashOffset,s.borderDashOffset),h.lineJoin=nn(n.lineJoin,s.borderJoinStyle),h.lineWidth=a,h.strokeStyle=nn(n.strokeStyle,r),h.setLineDash&&h.setLineDash(nn(n.lineDash,s.borderDash)),i&&i.usePointStyle){var o=_*Math.SQRT2/2,c=u.xPlus(e,_/2);H.canvas.drawPoint(h,n.pointStyle,o,c,t+m/2,n.rotation)}else h.fillRect(u.leftForLtr(e,_),t,_,m),0!==a&&h.strokeRect(u.leftForLtr(e,_),t,_,m);h.restore()}}(S,C,t),b[n].left=u.leftForLtr(S,b[n].width),b[n].top=C,function(e,t,i,n){var r=m/2,s=u.xPlus(e,_+r),a=t+r;h.fillText(i.text,s,a),i.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(s,a),h.lineTo(u.xPlus(s,n),a),h.stroke())}(S,C,t,f),y?d.x+=p+i.padding:d.y+=v})),H.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var i,n,r,s=this;if(e>=s.left&&e<=s.right&&t>=s.top&&t<=s.bottom)for(r=s.legendHitBoxes,i=0;i=(n=r[i]).left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height)return s.legendItems[i];return null},handleEvent:function(e){var t,i=this,n=i.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else{if("click"!==r)return;if(!n.onClick)return}t=i._getLegendItemAt(e.x,e.y),"click"===r?t&&n.onClick&&n.onClick.call(i,e.native,t):(n.onLeave&&t!==i._hoveredItem&&(i._hoveredItem&&n.onLeave.call(i,e.native,i._hoveredItem),i._hoveredItem=t),n.onHover&&t&&n.onHover.call(i,e.native,t))}});function an(e,t){var i=new sn({ctx:e.ctx,options:t,chart:e});ct.configure(e,i,t),ct.addBox(e,i),e.legend=i}var on={id:"legend",_element:sn,beforeInit:function(e){var t=e.options.legend;t&&an(e,t)},beforeUpdate:function(e){var t=e.options.legend,i=e.legend;t?(H.mergeIf(t,j.global.legend),i?(ct.configure(e,i,t),i.options=t):an(e,t)):i&&(ct.removeBox(e,i),delete e.legend)},afterEvent:function(e,t){var i=e.legend;i&&i.handleEvent(t)}},cn=H.noop;j._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ln=q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:cn,update:function(e,t,i){var n=this;return n.beforeUpdate(),n.maxWidth=e,n.maxHeight=t,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:cn,beforeSetDimensions:cn,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:cn,beforeBuildLabels:cn,buildLabels:cn,afterBuildLabels:cn,beforeFit:cn,fit:function(){var e,t=this,i=t.options,n=t.minSize={},r=t.isHorizontal();i.display?(e=(H.isArray(i.text)?i.text.length:1)*H.options._parseFont(i).lineHeight+2*i.padding,t.width=n.width=r?t.maxWidth:e,t.height=n.height=r?e:t.maxHeight):t.width=n.width=t.height=n.height=0},afterFit:cn,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,i=e.options;if(i.display){var n,r,s,a=H.options._parseFont(i),o=a.lineHeight,c=o/2+i.padding,l=0,d=e.top,u=e.left,h=e.bottom,f=e.right;t.fillStyle=H.valueOrDefault(i.fontColor,j.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(r=u+(f-u)/2,s=d+c,n=f-u):(r="left"===i.position?u+c:f-c,s=d+(h-d)/2,n=h-d,l=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(r,s),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var p=i.text;if(H.isArray(p))for(var m=0,_=0;_=0;n--){var r=e[n];if(t(r))return r}},H.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},H.almostEquals=function(e,t,i){return Math.abs(e-t)=e},H.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},H.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},H.toRadians=function(e){return e*(Math.PI/180)},H.toDegrees=function(e){return e*(180/Math.PI)},H._decimalPlaces=function(e){if(H.isFinite(e)){for(var t=1,i=0;Math.round(e*t)/t!==e;)t*=10,i++;return i}},H.getAngleFromPoint=function(e,t){var i=t.x-e.x,n=t.y-e.y,r=Math.sqrt(i*i+n*n),s=Math.atan2(n,i);return s<-.5*Math.PI&&(s+=2*Math.PI),{angle:s,distance:r}},H.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},H.aliasPixel=function(e){return e%2==0?0:.5},H._alignPixel=function(e,t,i){var n=e.currentDevicePixelRatio,r=i/2;return Math.round((t-r)*n)/n+r},H.splineCurve=function(e,t,i,n){var r=e.skip?t:e,s=t,a=i.skip?t:i,o=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),c=Math.sqrt(Math.pow(a.x-s.x,2)+Math.pow(a.y-s.y,2)),l=o/(o+c),d=c/(o+c),u=n*(l=isNaN(l)?0:l),h=n*(d=isNaN(d)?0:d);return{previous:{x:s.x-u*(a.x-r.x),y:s.y-u*(a.y-r.y)},next:{x:s.x+h*(a.x-r.x),y:s.y+h*(a.y-r.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(e){var t,i,n,r,s,a,o,c,l,d=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),u=d.length;for(t=0;t0?d[t-1]:null,(r=t0?d[t-1]:null)&&!i.model.skip&&(n.model.controlPointPreviousX=n.model.x-(l=(n.model.x-i.model.x)/3),n.model.controlPointPreviousY=n.model.y-l*n.mK),r&&!r.model.skip&&(n.model.controlPointNextX=n.model.x+(l=(r.model.x-n.model.x)/3),n.model.controlPointNextY=n.model.y+l*n.mK))},H.nextItem=function(e,t,i){return i?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},H.previousItem=function(e,t,i){return i?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},H.niceNum=function(e,t){var i=Math.floor(H.log10(e)),n=e/Math.pow(10,i);return(t?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},H.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},H.getRelativePosition=function(e,t){var i,n,r=e.originalEvent||e,s=e.target||e.srcElement,a=s.getBoundingClientRect(),o=r.touches;o&&o.length>0?(i=o[0].clientX,n=o[0].clientY):(i=r.clientX,n=r.clientY);var c=parseFloat(H.getStyle(s,"padding-left")),l=parseFloat(H.getStyle(s,"padding-top")),d=parseFloat(H.getStyle(s,"padding-right")),u=parseFloat(H.getStyle(s,"padding-bottom")),h=a.bottom-a.top-l-u;return{x:i=Math.round((i-a.left-c)/(a.right-a.left-c-d)*s.width/t.currentDevicePixelRatio),y:n=Math.round((n-a.top-l)/h*s.height/t.currentDevicePixelRatio)}},H.getConstraintWidth=function(e){return i(e,"max-width","clientWidth")},H.getConstraintHeight=function(e){return i(e,"max-height","clientHeight")},H._calculatePadding=function(e,t,i){return(t=H.getStyle(e,t)).indexOf("%")>-1?i*parseInt(t,10)/100:parseInt(t,10)},H._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},H.getMaximumWidth=function(e){var t=H._getParentNode(e);if(!t)return e.clientWidth;var i=t.clientWidth,n=i-H._calculatePadding(t,"padding-left",i)-H._calculatePadding(t,"padding-right",i),r=H.getConstraintWidth(e);return isNaN(r)?n:Math.min(n,r)},H.getMaximumHeight=function(e){var t=H._getParentNode(e);if(!t)return e.clientHeight;var i=t.clientHeight,n=i-H._calculatePadding(t,"padding-top",i)-H._calculatePadding(t,"padding-bottom",i),r=H.getConstraintHeight(e);return isNaN(r)?n:Math.min(n,r)},H.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},H.retinaScale=function(e,t){var i=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=e.canvas,r=e.height,s=e.width;n.height=r*i,n.width=s*i,e.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=r+"px",n.style.width=s+"px")}},H.fontString=function(e,t,i){return t+" "+e+"px "+i},H.longestText=function(e,t,i,n){var r=(n=n||{}).data=n.data||{},s=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(r=n.data={},s=n.garbageCollect=[],n.font=t),e.font=t;var a,o,c,l,d,u=0,h=i.length;for(a=0;ai.length){for(a=0;an&&(n=s),n},H.numberOfLabelLines=function(e){var t=1;return H.each(e,(function(e){H.isArray(e)&&e.length>t&&(t=e.length)})),t},H.color=v?function(e){return e instanceof CanvasGradient&&(e=j.global.defaultColor),v(e)}:function(e){return console.error("Color.js not found!"),e},H.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:H.color(e).saturate(.5).darken(.1).rgbString()}}(),Wt._adapters=Bt,Wt.Animation=J,Wt.animationService=K,Wt.controllers=Ue,Wt.DatasetController=ee,Wt.defaults=j,Wt.Element=q,Wt.elements=be,Wt.Interaction=Xe,Wt.layouts=ct,Wt.platform=yt,Wt.plugins=vt,Wt.Scale=ii,Wt.scaleService=wt,Wt.Ticks=zt,Wt.Tooltip=Et,Wt.helpers.each(zi,(function(e,t){Wt.scaleService.registerScaleType(t,e,e._defaults)})),un)un.hasOwnProperty(mn)&&Wt.plugins.register(un[mn]);Wt.platform.initialize();var _n=Wt;return"undefined"!=typeof window&&(window.Chart=Wt),Wt.Chart=Wt,Wt.Legend=un.legend._element,Wt.Title=un.title._element,Wt.pluginService=Wt.plugins,Wt.PluginBase=Wt.Element.extend({}),Wt.canvasHelpers=Wt.helpers.canvas,Wt.layoutService=Wt.layouts,Wt.LinearScaleBase=ai,Wt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Wt[e]=function(t,i){return new Wt(t,Wt.helpers.merge(i||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),_n}(function(){try{return i("wd/R")}catch(e){}}())},MlIO:function(e,t,i){var n,r,s,a,o;e.exports=(o=i("Ib8C"),r=(n=o.lib).Base,s=n.WordArray,(a=o.x64={}).Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,i=[],n=0;n=0&&(a=t,o=i),n.negative&&(n=n.neg(),s=s.neg()),a.negative&&(a=a.neg(),o=o.neg()),[{a:n,b:s},{a,b:o}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],n=t[1],r=n.b.mul(e).divRound(this.n),s=i.b.neg().mul(e).divRound(this.n),a=r.mul(i.a),o=s.mul(n.a),c=r.mul(i.b),l=s.mul(n.b);return{k1:e.sub(a).sub(o),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=i.redSqrt();if(0!==n.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var s=n.fromRed().isOdd();return(t&&!s||!t&&s)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,n=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===i.redSqr().redISub(r).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,i){for(var n=this._endoWnafT1,r=this._endoWnafT2,s=0;s":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var i=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,n)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,i=this.x.redSqr(),n=e.redInvm(),r=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(n),s=r.redSqr().redISub(this.x.redAdd(this.x)),a=r.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,a)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new r(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,i){var n=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,r):this.curve._wnafMulAdd(1,n,r,2)},l.prototype.jmulAdd=function(e,t,i){var n=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,r,!0):this.curve._wnafMulAdd(1,n,r,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var i=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(n)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(n)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(d,a.BasePoint),c.prototype.jpoint=function(e,t,i){return new d(this,e,t,i)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(i,n)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),n=this.x.redMul(t),r=e.x.redMul(i),s=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(i.redMul(this.z)),o=n.redSub(r),c=s.redSub(a);if(0===o.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=o.redSqr(),d=l.redMul(o),u=n.redMul(l),h=c.redSqr().redIAdd(d).redISub(u).redISub(u),f=c.redMul(u.redISub(h)).redISub(s.redMul(d)),p=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(h,f,p)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,n=e.x.redMul(t),r=this.y,s=e.y.redMul(t).redMul(this.z),a=i.redSub(n),o=r.redSub(s);if(0===a.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),l=c.redMul(a),d=i.redMul(c),u=o.redSqr().redIAdd(l).redISub(d).redISub(d),h=o.redMul(d.redISub(u)).redISub(r.redMul(l)),f=this.z.redMul(a);return this.curve.jpoint(u,h,f)},d.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,i=0;i=0)return!1;if(i.redIAdd(r),0===this.x.cmp(i))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},MzeL:function(e,t,i){"use strict";var n=t;n.version=i("KAEN").version,n.utils=i("86MQ"),n.rand=i("/ayr"),n.curve=i("QTa/"),n.curves=i("DLvh"),n.ec=i("uagp"),n.eddsa=i("lF1L")},N2jm:function(e,t,i){var n=i("P7XM"),r=i("tjlA").Buffer,s=i("f3pb"),a=s.base,o=s.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){a.Node.call(this,"der",e)}function d(e){return e<10?"0"+e:e}e.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(l,a.Node),l.prototype._encodeComposite=function(e,t,i,n){var s,a=function(e,t,i,n){var r;if("seqof"===e?e="seq":"setof"===e&&(e="set"),o.tagByName.hasOwnProperty(e))r=o.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);r=e}return r>=31?n.error("Multi-octet tag encoding unsupported"):(t||(r|=32),r|o.tagClassByName[i||"universal"]<<6)}(e,t,i,this.reporter);if(n.length<128)return(s=new r(2))[0]=a,s[1]=n.length,this._createEncoderBuffer([s,n]);for(var c=1,l=n.length;l>=256;l>>=8)c++;(s=new r(2+c))[0]=a,s[1]=128|c,l=1+c;for(var d=n.length;d>0;l--,d>>=8)s[l]=255&d;return this._createEncoderBuffer([s,n])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var i=new r(2*e.length),n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var s=0;for(n=0;n=128;a>>=7)s++}var o=new r(s),c=o.length-1;for(n=e.length-1;n>=0;n--)for(o[c--]=127&(a=e[n]);(a>>=7)>0;)o[c--]=128|127&a;return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(e,t){var i,n=new Date(e);return"gentime"===t?i=[d(n.getFullYear()),d(n.getUTCMonth()+1),d(n.getUTCDate()),d(n.getUTCHours()),d(n.getUTCMinutes()),d(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?i=[d(n.getFullYear()%100),d(n.getUTCMonth()+1),d(n.getUTCDate()),d(n.getUTCHours()),d(n.getUTCMinutes()),d(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(i,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!r.isBuffer(e)){var i=e.toArray();!e.sign&&128&i[0]&&i.unshift(0),e=new r(i)}if(r.isBuffer(e)){var n=e.length;0===e.length&&n++;var s=new r(n);return e.copy(s),0===e.length&&(s[0]=0),this._createEncoderBuffer(s)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var a=e;a>=256;a>>=8)n++;for(a=(s=new Array(n)).length-1;a>=0;a--)s[a]=255&e,e>>=8;return 128&s[0]&&s.unshift(0),this._createEncoderBuffer(new r(s))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,i){var n,r=this._baseState;if(null===r.default)return!1;var s=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,i).join()),s.length!==r.defaultBuffer.length)return!1;for(n=0;n{throw e},0)}i.d(t,"a",(function(){return n}))},NPxG:function(e,t,i){var n=i("ekOh"),r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],s=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return r[4*(e-1)+0];case n.M:return r[4*(e-1)+1];case n.Q:return r[4*(e-1)+2];case n.H:return r[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return s[4*(e-1)+0];case n.M:return s[4*(e-1)+1];case n.Q:return s[4*(e-1)+2];case n.H:return s[4*(e-1)+3];default:return}}},NQVK:function(e,t,i){var n=i("hwdV").Buffer,r=i("jIre");function s(e,t,i){var s=t.length,a=r(t,e._cache);return e._cache=e._cache.slice(s),e._prev=n.concat([e._prev,i?t:a]),a}t.encrypt=function(e,t,i){for(var r,a=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){a=n.concat([a,s(e,t,i)]);break}a=n.concat([a,s(e,t.slice(0,r=e._cache.length),i)]),t=t.slice(r)}return a}},"OA+I":function(e,t,i){"use strict";var n=i("86MQ"),r=n.assert,s=n.parseBytes,a=n.cachedProperty;function o(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}o.fromPublic=function(e,t){return t instanceof o?t:new o(e,{pub:t})},o.fromSecret=function(e,t){return t instanceof o?t:new o(e,{secret:t})},o.prototype.secret=function(){return this._secret},a(o,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(o,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(o,"privBytes",(function(){var e=this.eddsa,t=this.hash(),i=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[i]&=127,n[i]|=64,n})),a(o,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(o,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(o,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),o.prototype.sign=function(e){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},o.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},o.prototype.getSecret=function(e){return r(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},o.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=o},OIYi:function(e,t,i){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wd/R"))},OLod:function(e,t,i){var n,r,s,a,o,c,l,d,u,h,f,p,m,_,b,g,y,v,w;e.exports=(n=i("Ib8C"),i("K3mO"),void(n.lib.Cipher||(r=n,s=r.lib,a=s.Base,o=s.WordArray,c=s.BufferedBlockAlgorithm,l=r.enc,d=l.Base64,u=r.algo.EvpKDF,h=s.Cipher=c.extend({cfg:a.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,i){this.cfg=this.cfg.extend(i),this._xformMode=e,this._key=t,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?w:y}return function(t){return{encrypt:function(i,n,r){return e(n).encrypt(t,i,n,r)},decrypt:function(i,n,r){return e(n).decrypt(t,i,n,r)}}}}()}),s.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),f=r.mode={},p=s.BlockCipherMode=a.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),m=f.CBC=function(){var e=p.extend();function t(e,t,i){var n=this._iv;if(n){var r=n;this._iv=void 0}else r=this._prevBlock;for(var s=0;s>>2]}},s.BlockCipher=h.extend({cfg:h.cfg.extend({mode:m,padding:_}),reset:function(){h.reset.call(this);var e=this.cfg,t=e.iv,i=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=i.createEncryptor;else n=i.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==n?this._mode.init(this,t&&t.words):(this._mode=n.call(i,this,t&&t.words),this._mode.__creator=n)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),b=s.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,i=e.salt;if(i)var n=o.create([1398893684,1701076831]).concat(i).concat(t);else n=t;return n.toString(d)},parse:function(e){var t=d.parse(e),i=t.words;if(1398893684==i[0]&&1701076831==i[1]){var n=o.create(i.slice(2,4));i.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:n})}},y=s.SerializableCipher=a.extend({cfg:a.extend({format:g}),encrypt:function(e,t,i,n){n=this.cfg.extend(n);var r=e.createEncryptor(i,n),s=r.finalize(t),a=r.cfg;return b.create({ciphertext:s,key:i,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,i,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(i,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(r.kdf={}).OpenSSL={execute:function(e,t,i,n){n||(n=o.random(8));var r=u.create({keySize:t+i}).compute(e,n),s=o.create(r.words.slice(t),4*i);return r.sigBytes=4*t,b.create({key:r,iv:s,salt:n})}},w=s.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:v}),encrypt:function(e,t,i,n){var r=(n=this.cfg.extend(n)).kdf.execute(i,e.keySize,e.ivSize);n.iv=r.iv;var s=y.encrypt.call(this,e,t,r.key,n);return s.mixIn(r),s},decrypt:function(e,t,i,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var r=n.kdf.execute(i,e.keySize,e.ivSize,t.salt);return n.iv=r.iv,y.decrypt.call(this,e,t,r.key,n)}}))))},"OZ/i":function(e,t,i){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function s(e,t,i){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(i=t,t=10),this._init(e||0,t||10,i||"be"))}var a;"object"==typeof e?e.exports=s:t.BN=s,s.BN=s,s.wordSize=26;try{a=i(2).Buffer}catch(k){}function o(e,t,i){for(var n=0,r=Math.min(e.length,i),s=t;s=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function c(e,t,i,n){for(var r=0,s=Math.min(e.length,i),a=t;a=49?o-49+10:o>=17?o-17+10:o}return r}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&r++,16===t?this._parseHex(e,r):this._parseBase(e,t,r),"-"===e[0]&&(this.negative=1),this.strip(),"le"===i&&this._initArray(this.toArray(),t,i)},s.prototype._initNumber=function(e,t,i){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),t,i)},s.prototype._initArray=function(e,t,i){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r=0;r-=3)this.words[s]|=(a=e[r]|e[r-1]<<8|e[r-2]<<16)<>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);else if("le"===i)for(r=0,s=0;r>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var i=0;i=t;i-=6)r=o(e,i,i+6),this.words[n]|=r<>>26-s&4194303,(s+=24)>=26&&(s-=26,n++);i+6!==t&&(r=o(e,t,i+6),this.words[n]|=r<>>26-s&4194303),this.strip()},s.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=67108863;r*=t)n++;n--,r=r/t|0;for(var s=e.length-i,a=s%n,o=Math.min(s,s-a)+i,l=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};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],u=[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];function h(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],s=0|t.words[0],a=r*s,o=a/67108864|0;i.words[0]=67108863&a;for(var c=1;c>>26,d=67108863&o,u=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=u;h++)l+=(a=(r=0|e.words[c-h|0])*(s=0|t.words[h])+d)/67108864|0,d=67108863&a;i.words[c]=0|d,o=0|l}return 0!==o?i.words[c]=0|o:i.length--,i.strip()}s.prototype.toString=function(e,t){var i;if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var r=0,s=0,a=0;a>>24-r&16777215)||a!==this.length-1?l[6-c.length]+c+i:c+i,(r+=2)>=26&&(r-=26,a--)}for(0!==s&&(i=s.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var h=d[e],f=u[e];i="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);i=(p=p.idivn(f)).isZero()?m+i:l[h-m.length]+m+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,i){var r=this.byteLength(),s=i||Math.max(1,r);n(r<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var a,o,c="le"===t,l=new e(s),d=this.clone();if(c){for(o=0;!d.isZero();o++)a=d.andln(255),d.iushrn(8),l[o]=a;for(;o=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return 0==(8191&t)&&(i+=13,t>>>=13),0==(127&t)&&(i+=7,t>>>=7),0==(15&t)&&(i+=4,t>>>=4),0==(3&t)&&(i+=2,t>>>=2),0==(1&t)&&i++,i},s.prototype.bitLength=function(){var e=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+e},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,i;this.length>e.length?(t=this,i=e):(t=e,i=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),this.words[i]=t?this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var r=0,s=0;s>>26;for(;0!==r&&s>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;se.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var i,n,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(i=this,n=e):(i=e,n=this);for(var s=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==s&&a>26,this.words[a]=67108863&t;if(0===s&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,_=0|a[2],b=8191&_,g=_>>>13,y=0|a[3],v=8191&y,w=y>>>13,C=0|a[4],S=8191&C,k=C>>>13,x=0|a[5],M=8191&x,D=x>>>13,L=0|a[6],T=8191&L,E=L>>>13,A=0|a[7],O=8191&A,P=A>>>13,I=0|a[8],R=8191&I,j=I>>>13,Y=0|a[9],V=8191&Y,W=Y>>>13,F=0|o[0],H=8191&F,B=F>>>13,z=0|o[1],N=8191&z,U=z>>>13,q=0|o[2],$=8191&q,J=q>>>13,K=0|o[3],G=8191&K,Z=K>>>13,X=0|o[4],Q=8191&X,ee=X>>>13,te=0|o[5],ie=8191&te,ne=te>>>13,re=0|o[6],se=8191&re,ae=re>>>13,oe=0|o[7],ce=8191&oe,le=oe>>>13,de=0|o[8],ue=8191&de,he=de>>>13,fe=0|o[9],pe=8191&fe,me=fe>>>13;i.negative=e.negative^t.negative,i.length=19;var _e=(l+(n=Math.imul(u,H))|0)+((8191&(r=(r=Math.imul(u,B))+Math.imul(h,H)|0))<<13)|0;l=((s=Math.imul(h,B))+(r>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(p,H),r=(r=Math.imul(p,B))+Math.imul(m,H)|0,s=Math.imul(m,B);var be=(l+(n=n+Math.imul(u,N)|0)|0)+((8191&(r=(r=r+Math.imul(u,U)|0)+Math.imul(h,N)|0))<<13)|0;l=((s=s+Math.imul(h,U)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,H),r=(r=Math.imul(b,B))+Math.imul(g,H)|0,s=Math.imul(g,B),n=n+Math.imul(p,N)|0,r=(r=r+Math.imul(p,U)|0)+Math.imul(m,N)|0,s=s+Math.imul(m,U)|0;var ge=(l+(n=n+Math.imul(u,$)|0)|0)+((8191&(r=(r=r+Math.imul(u,J)|0)+Math.imul(h,$)|0))<<13)|0;l=((s=s+Math.imul(h,J)|0)+(r>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(v,H),r=(r=Math.imul(v,B))+Math.imul(w,H)|0,s=Math.imul(w,B),n=n+Math.imul(b,N)|0,r=(r=r+Math.imul(b,U)|0)+Math.imul(g,N)|0,s=s+Math.imul(g,U)|0,n=n+Math.imul(p,$)|0,r=(r=r+Math.imul(p,J)|0)+Math.imul(m,$)|0,s=s+Math.imul(m,J)|0;var ye=(l+(n=n+Math.imul(u,G)|0)|0)+((8191&(r=(r=r+Math.imul(u,Z)|0)+Math.imul(h,G)|0))<<13)|0;l=((s=s+Math.imul(h,Z)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(S,H),r=(r=Math.imul(S,B))+Math.imul(k,H)|0,s=Math.imul(k,B),n=n+Math.imul(v,N)|0,r=(r=r+Math.imul(v,U)|0)+Math.imul(w,N)|0,s=s+Math.imul(w,U)|0,n=n+Math.imul(b,$)|0,r=(r=r+Math.imul(b,J)|0)+Math.imul(g,$)|0,s=s+Math.imul(g,J)|0,n=n+Math.imul(p,G)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,G)|0,s=s+Math.imul(m,Z)|0;var ve=(l+(n=n+Math.imul(u,Q)|0)|0)+((8191&(r=(r=r+Math.imul(u,ee)|0)+Math.imul(h,Q)|0))<<13)|0;l=((s=s+Math.imul(h,ee)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(M,H),r=(r=Math.imul(M,B))+Math.imul(D,H)|0,s=Math.imul(D,B),n=n+Math.imul(S,N)|0,r=(r=r+Math.imul(S,U)|0)+Math.imul(k,N)|0,s=s+Math.imul(k,U)|0,n=n+Math.imul(v,$)|0,r=(r=r+Math.imul(v,J)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,J)|0,n=n+Math.imul(b,G)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(g,G)|0,s=s+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0;var we=(l+(n=n+Math.imul(u,ie)|0)|0)+((8191&(r=(r=r+Math.imul(u,ne)|0)+Math.imul(h,ie)|0))<<13)|0;l=((s=s+Math.imul(h,ne)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,H),r=(r=Math.imul(T,B))+Math.imul(E,H)|0,s=Math.imul(E,B),n=n+Math.imul(M,N)|0,r=(r=r+Math.imul(M,U)|0)+Math.imul(D,N)|0,s=s+Math.imul(D,U)|0,n=n+Math.imul(S,$)|0,r=(r=r+Math.imul(S,J)|0)+Math.imul(k,$)|0,s=s+Math.imul(k,J)|0,n=n+Math.imul(v,G)|0,r=(r=r+Math.imul(v,Z)|0)+Math.imul(w,G)|0,s=s+Math.imul(w,Z)|0,n=n+Math.imul(b,Q)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(g,Q)|0,s=s+Math.imul(g,ee)|0,n=n+Math.imul(p,ie)|0,r=(r=r+Math.imul(p,ne)|0)+Math.imul(m,ie)|0,s=s+Math.imul(m,ne)|0;var Ce=(l+(n=n+Math.imul(u,se)|0)|0)+((8191&(r=(r=r+Math.imul(u,ae)|0)+Math.imul(h,se)|0))<<13)|0;l=((s=s+Math.imul(h,ae)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(O,H),r=(r=Math.imul(O,B))+Math.imul(P,H)|0,s=Math.imul(P,B),n=n+Math.imul(T,N)|0,r=(r=r+Math.imul(T,U)|0)+Math.imul(E,N)|0,s=s+Math.imul(E,U)|0,n=n+Math.imul(M,$)|0,r=(r=r+Math.imul(M,J)|0)+Math.imul(D,$)|0,s=s+Math.imul(D,J)|0,n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,Z)|0)+Math.imul(k,G)|0,s=s+Math.imul(k,Z)|0,n=n+Math.imul(v,Q)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(w,Q)|0,s=s+Math.imul(w,ee)|0,n=n+Math.imul(b,ie)|0,r=(r=r+Math.imul(b,ne)|0)+Math.imul(g,ie)|0,s=s+Math.imul(g,ne)|0,n=n+Math.imul(p,se)|0,r=(r=r+Math.imul(p,ae)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,ae)|0;var Se=(l+(n=n+Math.imul(u,ce)|0)|0)+((8191&(r=(r=r+Math.imul(u,le)|0)+Math.imul(h,ce)|0))<<13)|0;l=((s=s+Math.imul(h,le)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(R,H),r=(r=Math.imul(R,B))+Math.imul(j,H)|0,s=Math.imul(j,B),n=n+Math.imul(O,N)|0,r=(r=r+Math.imul(O,U)|0)+Math.imul(P,N)|0,s=s+Math.imul(P,U)|0,n=n+Math.imul(T,$)|0,r=(r=r+Math.imul(T,J)|0)+Math.imul(E,$)|0,s=s+Math.imul(E,J)|0,n=n+Math.imul(M,G)|0,r=(r=r+Math.imul(M,Z)|0)+Math.imul(D,G)|0,s=s+Math.imul(D,Z)|0,n=n+Math.imul(S,Q)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(k,Q)|0,s=s+Math.imul(k,ee)|0,n=n+Math.imul(v,ie)|0,r=(r=r+Math.imul(v,ne)|0)+Math.imul(w,ie)|0,s=s+Math.imul(w,ne)|0,n=n+Math.imul(b,se)|0,r=(r=r+Math.imul(b,ae)|0)+Math.imul(g,se)|0,s=s+Math.imul(g,ae)|0,n=n+Math.imul(p,ce)|0,r=(r=r+Math.imul(p,le)|0)+Math.imul(m,ce)|0,s=s+Math.imul(m,le)|0;var ke=(l+(n=n+Math.imul(u,ue)|0)|0)+((8191&(r=(r=r+Math.imul(u,he)|0)+Math.imul(h,ue)|0))<<13)|0;l=((s=s+Math.imul(h,he)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(V,H),r=(r=Math.imul(V,B))+Math.imul(W,H)|0,s=Math.imul(W,B),n=n+Math.imul(R,N)|0,r=(r=r+Math.imul(R,U)|0)+Math.imul(j,N)|0,s=s+Math.imul(j,U)|0,n=n+Math.imul(O,$)|0,r=(r=r+Math.imul(O,J)|0)+Math.imul(P,$)|0,s=s+Math.imul(P,J)|0,n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,Z)|0)+Math.imul(E,G)|0,s=s+Math.imul(E,Z)|0,n=n+Math.imul(M,Q)|0,r=(r=r+Math.imul(M,ee)|0)+Math.imul(D,Q)|0,s=s+Math.imul(D,ee)|0,n=n+Math.imul(S,ie)|0,r=(r=r+Math.imul(S,ne)|0)+Math.imul(k,ie)|0,s=s+Math.imul(k,ne)|0,n=n+Math.imul(v,se)|0,r=(r=r+Math.imul(v,ae)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,ae)|0,n=n+Math.imul(b,ce)|0,r=(r=r+Math.imul(b,le)|0)+Math.imul(g,ce)|0,s=s+Math.imul(g,le)|0,n=n+Math.imul(p,ue)|0,r=(r=r+Math.imul(p,he)|0)+Math.imul(m,ue)|0,s=s+Math.imul(m,he)|0;var xe=(l+(n=n+Math.imul(u,pe)|0)|0)+((8191&(r=(r=r+Math.imul(u,me)|0)+Math.imul(h,pe)|0))<<13)|0;l=((s=s+Math.imul(h,me)|0)+(r>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(V,N),r=(r=Math.imul(V,U))+Math.imul(W,N)|0,s=Math.imul(W,U),n=n+Math.imul(R,$)|0,r=(r=r+Math.imul(R,J)|0)+Math.imul(j,$)|0,s=s+Math.imul(j,J)|0,n=n+Math.imul(O,G)|0,r=(r=r+Math.imul(O,Z)|0)+Math.imul(P,G)|0,s=s+Math.imul(P,Z)|0,n=n+Math.imul(T,Q)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(E,Q)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(M,ie)|0,r=(r=r+Math.imul(M,ne)|0)+Math.imul(D,ie)|0,s=s+Math.imul(D,ne)|0,n=n+Math.imul(S,se)|0,r=(r=r+Math.imul(S,ae)|0)+Math.imul(k,se)|0,s=s+Math.imul(k,ae)|0,n=n+Math.imul(v,ce)|0,r=(r=r+Math.imul(v,le)|0)+Math.imul(w,ce)|0,s=s+Math.imul(w,le)|0,n=n+Math.imul(b,ue)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(g,ue)|0,s=s+Math.imul(g,he)|0;var Me=(l+(n=n+Math.imul(p,pe)|0)|0)+((8191&(r=(r=r+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(V,$),r=(r=Math.imul(V,J))+Math.imul(W,$)|0,s=Math.imul(W,J),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,Z)|0)+Math.imul(j,G)|0,s=s+Math.imul(j,Z)|0,n=n+Math.imul(O,Q)|0,r=(r=r+Math.imul(O,ee)|0)+Math.imul(P,Q)|0,s=s+Math.imul(P,ee)|0,n=n+Math.imul(T,ie)|0,r=(r=r+Math.imul(T,ne)|0)+Math.imul(E,ie)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(M,se)|0,r=(r=r+Math.imul(M,ae)|0)+Math.imul(D,se)|0,s=s+Math.imul(D,ae)|0,n=n+Math.imul(S,ce)|0,r=(r=r+Math.imul(S,le)|0)+Math.imul(k,ce)|0,s=s+Math.imul(k,le)|0,n=n+Math.imul(v,ue)|0,r=(r=r+Math.imul(v,he)|0)+Math.imul(w,ue)|0,s=s+Math.imul(w,he)|0;var De=(l+(n=n+Math.imul(b,pe)|0)|0)+((8191&(r=(r=r+Math.imul(b,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((s=s+Math.imul(g,me)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(V,G),r=(r=Math.imul(V,Z))+Math.imul(W,G)|0,s=Math.imul(W,Z),n=n+Math.imul(R,Q)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,Q)|0,s=s+Math.imul(j,ee)|0,n=n+Math.imul(O,ie)|0,r=(r=r+Math.imul(O,ne)|0)+Math.imul(P,ie)|0,s=s+Math.imul(P,ne)|0,n=n+Math.imul(T,se)|0,r=(r=r+Math.imul(T,ae)|0)+Math.imul(E,se)|0,s=s+Math.imul(E,ae)|0,n=n+Math.imul(M,ce)|0,r=(r=r+Math.imul(M,le)|0)+Math.imul(D,ce)|0,s=s+Math.imul(D,le)|0,n=n+Math.imul(S,ue)|0,r=(r=r+Math.imul(S,he)|0)+Math.imul(k,ue)|0,s=s+Math.imul(k,he)|0;var Le=(l+(n=n+Math.imul(v,pe)|0)|0)+((8191&(r=(r=r+Math.imul(v,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((s=s+Math.imul(w,me)|0)+(r>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(V,Q),r=(r=Math.imul(V,ee))+Math.imul(W,Q)|0,s=Math.imul(W,ee),n=n+Math.imul(R,ie)|0,r=(r=r+Math.imul(R,ne)|0)+Math.imul(j,ie)|0,s=s+Math.imul(j,ne)|0,n=n+Math.imul(O,se)|0,r=(r=r+Math.imul(O,ae)|0)+Math.imul(P,se)|0,s=s+Math.imul(P,ae)|0,n=n+Math.imul(T,ce)|0,r=(r=r+Math.imul(T,le)|0)+Math.imul(E,ce)|0,s=s+Math.imul(E,le)|0,n=n+Math.imul(M,ue)|0,r=(r=r+Math.imul(M,he)|0)+Math.imul(D,ue)|0,s=s+Math.imul(D,he)|0;var Te=(l+(n=n+Math.imul(S,pe)|0)|0)+((8191&(r=(r=r+Math.imul(S,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((s=s+Math.imul(k,me)|0)+(r>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(V,ie),r=(r=Math.imul(V,ne))+Math.imul(W,ie)|0,s=Math.imul(W,ne),n=n+Math.imul(R,se)|0,r=(r=r+Math.imul(R,ae)|0)+Math.imul(j,se)|0,s=s+Math.imul(j,ae)|0,n=n+Math.imul(O,ce)|0,r=(r=r+Math.imul(O,le)|0)+Math.imul(P,ce)|0,s=s+Math.imul(P,le)|0,n=n+Math.imul(T,ue)|0,r=(r=r+Math.imul(T,he)|0)+Math.imul(E,ue)|0,s=s+Math.imul(E,he)|0;var Ee=(l+(n=n+Math.imul(M,pe)|0)|0)+((8191&(r=(r=r+Math.imul(M,me)|0)+Math.imul(D,pe)|0))<<13)|0;l=((s=s+Math.imul(D,me)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(V,se),r=(r=Math.imul(V,ae))+Math.imul(W,se)|0,s=Math.imul(W,ae),n=n+Math.imul(R,ce)|0,r=(r=r+Math.imul(R,le)|0)+Math.imul(j,ce)|0,s=s+Math.imul(j,le)|0,n=n+Math.imul(O,ue)|0,r=(r=r+Math.imul(O,he)|0)+Math.imul(P,ue)|0,s=s+Math.imul(P,he)|0;var Ae=(l+(n=n+Math.imul(T,pe)|0)|0)+((8191&(r=(r=r+Math.imul(T,me)|0)+Math.imul(E,pe)|0))<<13)|0;l=((s=s+Math.imul(E,me)|0)+(r>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(V,ce),r=(r=Math.imul(V,le))+Math.imul(W,ce)|0,s=Math.imul(W,le),n=n+Math.imul(R,ue)|0,r=(r=r+Math.imul(R,he)|0)+Math.imul(j,ue)|0,s=s+Math.imul(j,he)|0;var Oe=(l+(n=n+Math.imul(O,pe)|0)|0)+((8191&(r=(r=r+Math.imul(O,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((s=s+Math.imul(P,me)|0)+(r>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(V,ue),r=(r=Math.imul(V,he))+Math.imul(W,ue)|0,s=Math.imul(W,he);var Pe=(l+(n=n+Math.imul(R,pe)|0)|0)+((8191&(r=(r=r+Math.imul(R,me)|0)+Math.imul(j,pe)|0))<<13)|0;l=((s=s+Math.imul(j,me)|0)+(r>>>13)|0)+(Pe>>>26)|0,Pe&=67108863;var Ie=(l+(n=Math.imul(V,pe))|0)+((8191&(r=(r=Math.imul(V,me))+Math.imul(W,pe)|0))<<13)|0;return l=((s=Math.imul(W,me))+(r>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,c[0]=_e,c[1]=be,c[2]=ge,c[3]=ye,c[4]=ve,c[5]=we,c[6]=Ce,c[7]=Se,c[8]=ke,c[9]=xe,c[10]=Me,c[11]=De,c[12]=Le,c[13]=Te,c[14]=Ee,c[15]=Ae,c[16]=Oe,c[17]=Pe,c[18]=Ie,0!==l&&(c[19]=l,i.length++),i};function p(e,t,i){return(new m).mulp(e,t,i)}function m(e,t){this.x=e,this.y=t}Math.imul||(f=h),s.prototype.mulTo=function(e,t){var i=this.length+e.length;return 10===this.length&&10===e.length?f(this,e,t):i<63?h(this,e,t):i<1024?function(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,s=0;s>>26)|0)>>>26,a&=67108863}i.words[s]=o,n=a,a=r}return 0!==n?i.words[s]=n:i.length--,i.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),i=s.prototype._countBits(e)-1,n=0;n>=1;return n},m.prototype.permute=function(e,t,i,n,r,s){for(var a=0;a>>=1)r++;return 1<>>=13),s>>>=13;for(a=2*t;a>=26,t+=r/67108864|0,t+=s>>>26,this.words[i]=67108863&s}return 0!==t&&(this.words[i]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),i=0;i>>n}return t}(e);if(0===t.length)return new s(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,s=67108863>>>26-i<<26-i;if(0!==i){var a=0;for(t=0;t>>26-i}a&&(this.words[t]=a,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var s=e%26,a=Math.min((e-s)/26,this.length),o=67108863^67108863>>>s<a)for(this.length-=a,l=0;l=0&&(0!==d||l>=r);l--){var u=0|this.words[l];this.words[l]=d<<26-s|u>>>s,d=u&o}return c&&0!==d&&(c.words[c.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26;return!(this.length<=i||!(this.words[i]&1<=0);var t=e%26,i=(e-t)/26;return n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==t&&i++,this.length=Math.min(i,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(o/67108864|0),this.words[r+i]=67108863&s}for(;r>26,this.words[r+i]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,r=0;r>26,this.words[r]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var i,n=this.clone(),r=e,a=0|r.words[r.length-1];0!=(i=26-this._countBits(a))&&(r=r.ushln(i),n.iushln(i),a=0|r.words[r.length-1]);var o,c=n.length-r.length;if("mod"!==t){(o=new s(null)).length=c+1,o.words=new Array(o.length);for(var l=0;l=0;u--){var h=67108864*(0|n.words[r.length+u])+(0|n.words[r.length+u-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(r,h,u);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(r,1,u),n.isZero()||(n.negative^=1);o&&(o.words[u]=h)}return o&&o.strip(),n.strip(),"div"!==t&&0!==i&&n.iushrn(i),{div:o||null,mod:n}},s.prototype.divmod=function(e,t,i){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(a=o.mod.neg(),i&&0!==a.negative&&a.iadd(e)),{div:r,mod:a}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):0!=(this.negative&e.negative)?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(a=o.mod.neg(),i&&0!==a.negative&&a.isub(e)),{div:o.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var r,a,o},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),s=i.cmp(n);return s<0||1===r&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*t;this.words[i]=r/e|0,t=r%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new s(1),a=new s(0),o=new s(0),c=new s(1),l=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++l;for(var d=i.clone(),u=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||a.isOdd())&&(r.iadd(d),a.isub(u)),r.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(i.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(i.iushrn(p);p-- >0;)(o.isOdd()||c.isOdd())&&(o.iadd(d),c.isub(u)),o.iushrn(1),c.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),a.isub(c)):(i.isub(t),o.isub(r),c.isub(a))}return{a:o,b:c,gcd:i.iushln(l)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,a=new s(1),o=new s(0),c=i.clone();t.cmpn(1)>0&&i.cmpn(1)>0;){for(var l=0,d=1;0==(t.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var u=0,h=1;0==(i.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(i.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);t.cmp(i)>=0?(t.isub(i),a.isub(o)):(i.isub(t),o.isub(a))}return(r=0===t.cmpn(1)?a:o).cmpn(0)<0&&r.iadd(e),r},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var s=t;t=i,i=s}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,this.words[a]=o&=67108863}return 0!==s&&(this.words[a]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new C(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}b.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,i=e;do{this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?i.isub(this.p):i.strip(),i},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},r(g,b),g.prototype.split=function(e,t){for(var i=Math.min(e.length,9),n=0;n>>22,r=s}e.words[n-10]=r>>>=22,e.length-=0===r&&e.length>10?10:9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new y;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return _[e]=t,t},C.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},C.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return i.cmpn(0)<0&&i.iadd(this.m),i},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new s(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),a=0;!r.isZero()&&0===r.andln(1);)a++,r.iushrn(1);n(!r.isZero());var o=new s(1).toRed(this),c=o.redNeg(),l=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new s(2*d*d).toRed(this);0!==this.pow(d,l).cmp(c);)d.redIAdd(c);for(var u=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=a;0!==f.cmp(o);){for(var m=f,_=0;0!==m.cmp(o);_++)m=m.redSqr();n(_=0;n--){for(var l=t.words[n],d=c-1;d>=0;d--){var u=l>>d&1;r!==i[0]&&(r=this.sqr(r)),0!==u||0!==a?(a<<=1,a|=u,(4==++o||0===n&&0===d)&&(r=this.mul(r,i[a]),o=0,a=0)):o=0}c=26}return r},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new S(e)},r(S,C),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):r.cmpn(0)<0&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,i("2pl3")(e))},Oaa7:function(e,t,i){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},Ob0Z:function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(e,t,i,n){var r="";if(t)switch(i){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i("wd/R"))},OfWw:function(e,t,i){var n=i("hwdV").Buffer;function r(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,i=new Array(t),r=0;r>>24]^d[p>>>16&255]^u[m>>>8&255]^h[255&_]^t[b++],a=l[p>>>24]^d[m>>>16&255]^u[_>>>8&255]^h[255&f]^t[b++],o=l[m>>>24]^d[_>>>16&255]^u[f>>>8&255]^h[255&p]^t[b++],c=l[_>>>24]^d[f>>>16&255]^u[p>>>8&255]^h[255&m]^t[b++],f=s,p=a,m=o,_=c;return s=(n[f>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&_])^t[b++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[_>>>8&255]<<8|n[255&f])^t[b++],o=(n[m>>>24]<<24|n[_>>>16&255]<<16|n[f>>>8&255]<<8|n[255&p])^t[b++],c=(n[_>>>24]<<24|n[f>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^t[b++],[s>>>=0,a>>>=0,o>>>=0,c>>>=0]}var o=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var i=[],n=[],r=[[],[],[],[]],s=[[],[],[],[]],a=0,o=0,c=0;c<256;++c){var l=o^o<<1^o<<2^o<<3^o<<4;i[a]=l=l>>>8^255&l^99,n[l]=a;var d=e[a],u=e[d],h=e[u],f=257*e[l]^16843008*l;r[0][a]=f<<24|f>>>8,r[1][a]=f<<16|f>>>16,r[2][a]=f<<8|f>>>24,r[3][a]=f,s[0][l]=(f=16843009*h^65537*u^257*d^16843008*a)<<24|f>>>8,s[1][l]=f<<16|f>>>16,s[2][l]=f<<8|f>>>24,s[3][l]=f,0===a?a=o=1:(a=d^e[e[e[h^d]]],o^=e[e[o]])}return{SBOX:i,INV_SBOX:n,SUB_MIX:r,INV_SUB_MIX:s}}();function l(e){this._key=r(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,i=t+6,n=4*(i+1),r=[],s=0;s>>24)>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=o[s/t|0]<<24):t>6&&s%t==4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),r[s]=r[s-t]^a}for(var l=[],d=0;d>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=i,this._keySchedule=r,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return a(e=r(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),i=n.allocUnsafe(16);return i.writeUInt32BE(t[0],0),i.writeUInt32BE(t[1],4),i.writeUInt32BE(t[2],8),i.writeUInt32BE(t[3],12),i},l.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var i=a(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),s=n.allocUnsafe(16);return s.writeUInt32BE(i[0],0),s.writeUInt32BE(i[3],4),s.writeUInt32BE(i[2],8),s.writeUInt32BE(i[1],12),s},l.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},e.exports.AES=l},OjkT:function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,i){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i("wd/R"))},Onz0:function(e,t,i){(function(e){function i(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===i(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===i(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===i(e)},t.isError=function(e){return"[object Error]"===i(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,i("tjlA").Buffer)},Oxv6:function(e,t,i){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},P2KE:function(e,t,i){var n=i("hwdV").Buffer,r=n.alloc(16,0);function s(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,i&&(n[0]=n[0]^225<<24)}this.state=s(r)},a.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,r],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=a},P7XM:function(e,t){e.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}},PA2r:function(e,t,i){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?r+(s(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?r+(s(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?r+(s(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?r+(s(e)?"dny":"dn\xed"):r+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?r+(s(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?r+(s(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_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\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},PVpz:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.StreamCipher,i=[],r=[],s=[],a=e.algo.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)o.call(this);for(r=0;r<8;r++)n[r]^=i[r+4&7];if(t){var s=t.words,a=s[0],c=s[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=l>>>16|4294901760&d,h=d<<16|65535&l;for(n[0]^=l,n[1]^=u,n[2]^=d,n[3]^=h,n[4]^=l,n[5]^=u,n[6]^=d,n[7]^=h,r=0;r<4;r++)o.call(this)}},_doProcessBlock:function(e,t){var n=this._X;o.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function o(){for(var e=this._X,t=this._C,i=0;i<8;i++)r[i]=t[i];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,i=0;i<8;i++){var n=e[i]+t[i],a=65535&n,o=n>>>16;s[i]=((a*a>>>17)+a*o>>>15)+o*o^((4294901760&n)*n|0)+((65535&n)*n|0)}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(a)}(),n.RabbitLegacy)},"Pa+m":function(e,t,i){"use strict";var n=i("86MQ"),r=i("OZ/i"),s=i("P7XM"),a=i("6lN/"),o=n.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new r(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,i,n,s){a.BasePoint.call(this,e,"projective"),null===t&&null===i&&null===n?(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 r(t,16),this.y=new r(i,16),this.z=n?new r(n,16):this.curve.one,this.t=s&&new r(s,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()))))}s(c,a),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,i,n){return this.point(e,t,i,n)},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr(),n=this.c2.redSub(this.a.redMul(i)),s=this.one.redSub(this.c2.redMul(this.d).redMul(i)),a=n.redMul(s.redInvm()),o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=o.fromRed().isOdd();return(t&&!c||!t&&c)&&(o=o.redNeg()),this.point(e,o)},c.prototype.pointFromY=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr(),n=i.redSub(this.c2),s=i.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(s.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return o.fromRed().isOdd()!==t&&(o=o.redNeg()),this.point(o,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),i=e.y.redSqr(),n=t.redMul(this.a).redAdd(i),r=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(i)));return 0===n.cmp(r)},s(l,a.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,i,n){return new l(this,e,t,i,n)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),i=this.z.redSqr();i=i.redIAdd(i);var n=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=n.redAdd(t),a=s.redSub(i),o=n.redSub(t),c=r.redMul(a),l=s.redMul(o),d=r.redMul(o),u=a.redMul(s);return this.curve.point(c,l,u,d)},l.prototype._projDbl=function(){var e,t,i,n=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var a=(l=this.curve._mulA(r)).redAdd(s);if(this.zOne)e=n.redSub(r).redSub(s).redMul(a.redSub(this.curve.two)),t=a.redMul(l.redSub(s)),i=a.redSqr().redSub(a).redSub(a);else{var o=this.z.redSqr(),c=a.redSub(o).redISub(o);e=n.redSub(r).redISub(s).redMul(c),t=a.redMul(l.redSub(s)),i=a.redMul(c)}}else{var l=r.redAdd(s);o=this.curve._mulC(this.z).redSqr(),c=l.redSub(o).redSub(o),e=this.curve._mulC(n.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(r.redISub(s)),i=l.redMul(c)}return this.curve.point(e,t,i)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),i=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),s=i.redSub(t),a=r.redSub(n),o=r.redAdd(n),c=i.redAdd(t),l=s.redMul(a),d=o.redMul(c),u=s.redMul(c),h=a.redMul(o);return this.curve.point(l,d,h,u)},l.prototype._projAdd=function(e){var t,i,n=this.z.redMul(e.z),r=n.redSqr(),s=this.x.redMul(e.x),a=this.y.redMul(e.y),o=this.curve.d.redMul(s).redMul(a),c=r.redSub(o),l=r.redAdd(o),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(a),u=n.redMul(c).redMul(d);return this.curve.twisted?(t=n.redMul(l).redMul(a.redSub(this.curve._mulA(s))),i=c.redMul(l)):(t=n.redMul(l).redMul(a.redSub(s)),i=this.curve._mulC(c).redMul(l)),this.curve.point(u,t,i)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!1)},l.prototype.jmulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var i=e.clone(),n=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},PeUW:function(e,t,i){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".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:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,i){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t?e:"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(i("wd/R"))},PpIw:function(e,t,i){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i("wd/R"))},QAZZ:function(e,t,i){var n=i("Rb7d");function r(e,t){var i=e.a/255,n=t+'="'+e.hex+'"';return i<1?n+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':n}function s(e,t,i){var n=e+t;return void 0!==i&&(n+=" "+i),n}t.render=function(e,t,i){var a=n.getOptions(t),o=e.modules.size,c=e.modules.data,l=o+2*a.margin,d=a.color.light.a?"':"",u="0&&l>0&&e[c-1]||(n+=a?s("M",l+i,.5+d+i):s("m",r,0),r=0,a=!1),l+1',h=''+d+u+"\n";return"function"==typeof i&&i(null,h),h}},QJsb:function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},QRH4:function(e,t,i){"use strict";var n=i("f3pb");t.certificate=i("VrUr");var r=n.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())}));t.RSAPrivateKey=r;var s=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=s;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var o=n.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())})),c=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var l=n.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())}));t.EncryptedPrivateKey=l;var d=n.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())}));t.DSAPrivateKey=d,t.DSAparam=n.define("DSAparam",(function(){this.int()}));var u=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=u;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"QTa/":function(e,t,i){"use strict";var n=t;n.base=i("6lN/"),n.short=i("MwBp"),n.mont=i("Z2+3"),n.edwards=i("Pa+m")},QUaw:function(e,t,i){var n=i("Rb7d");t.render=function(e,t,i){var r=i,s=t;void 0!==r||t&&t.getContext||(r=t,t=void 0),t||(s=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),r=n.getOptions(r);var a=n.getImageWidth(e.modules.size,r),o=s.getContext("2d"),c=o.createImageData(a,a);return n.qrToImageData(c.data,e,r),function(e,t,i){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=i,t.width=i,t.style.height=i+"px",t.style.width=i+"px"}(o,s,a),o.putImageData(c,0,0),s},t.renderToDataURL=function(e,i,n){var r=n;return void 0!==r||i&&i.getContext||(r=i,i=void 0),r||(r={}),t.render(e,i,r).toDataURL(r.type||"image/png",(r.rendererOpts||{}).quality)}},"Qd/k":function(e,t,i){var n=t;n.Reporter=i("0cit").Reporter,n.DecoderBuffer=i("YoN+").DecoderBuffer,n.EncoderBuffer=i("YoN+").EncoderBuffer,n.Node=i("g2Dh")},QihY:function(e,t,i){var n=i("gvAe"),r=i("hwdV").Buffer,s=i("usKN"),a=i("CfXC"),o=i("ZDAU"),c=i("OfWw"),l=i("roQf");function d(e,t,i){o.call(this),this._cache=new u,this._last=void 0,this._cipher=new c.AES(t),this._prev=r.from(i),this._mode=e,this._autopadding=!0}function u(){this.cache=r.allocUnsafe(0)}function h(e,t,i){var o=s[e.toLowerCase()];if(!o)throw new TypeError("invalid suite type");if("string"==typeof i&&(i=r.from(i)),"GCM"!==o.mode&&i.length!==o.iv)throw new TypeError("invalid iv length "+i.length);if("string"==typeof t&&(t=r.from(t)),t.length!==o.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===o.type?new a(o.module,t,i,!0):"auth"===o.type?new n(o.module,t,i,!0):new d(o.module,t,i)}i("P7XM")(d,o),d.prototype._update=function(e){var t,i;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)i=this._mode.decrypt(this,t),n.push(i);return r.concat(n)},d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var i=-1;++i16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var i=s[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");var n=l(t,!1,i.key,i.iv);return h(e,n.key,n.iv)},t.createDecipheriv=h},Qj4J:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(i("wd/R"))},QpuX:function(e,t,i){e.exports=i("+qE3").EventEmitter},R0Ic:function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"d",(function(){return b})),i.d(t,"e",(function(){return o})),i.d(t,"f",(function(){return p})),i.d(t,"g",(function(){return c})),i.d(t,"h",(function(){return h})),i.d(t,"i",(function(){return m})),i.d(t,"j",(function(){return l})),i.d(t,"k",(function(){return u})),i.d(t,"l",(function(){return d})),i.d(t,"m",(function(){return f})),i.d(t,"n",(function(){return a})),i.d(t,"o",(function(){return g})),i.d(t,"p",(function(){return y}));class n{}class r{}const s="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function o(e,t=null){return{type:4,styles:t,timings:e}}function c(e,t=null){return{type:3,steps:e,options:t}}function l(e,t=null){return{type:2,steps:e,options:t}}function d(e){return{type:6,styles:e,offset:null}}function u(e,t,i){return{type:0,name:e,styles:t,options:i}}function h(e){return{type:5,steps:e}}function f(e,t,i=null){return{type:1,expr:e,animation:t,options:i}}function p(e=null){return{type:9,options:e}}function m(e,t,i=null){return{type:11,selector:e,animation:t,options:i}}function _(e){Promise.resolve(null).then(e)}class b{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){_(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class g{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,n=0;const r=this.players.length;0==r?_(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++i==r&&this._onDestroy()}),e.onStart(()=>{++n==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const i=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(i)})}getPosition(){let e=0;return this.players.forEach(t=>{const i=t.getPosition();e=Math.min(i,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const y="!"},RAwQ:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[i][0]:r[i][1]}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_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\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_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\xebschter 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(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},RKMU:function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ"),s=r.assert,a=r.cachedProperty,o=r.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=o(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},Rb7d:function(e,t){function i(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var i=parseInt(t.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:255&i,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=e.width&&e.width>=21?e.width:void 0;return{width:t,scale:t?4:e.scale||4,margin:null==e.margin||e.margin<0?4:e.margin,color:{dark:i(e.color.dark||"#000000ff"),light:i(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,i){var n=t.getScale(e,i);return Math.floor((e+2*i.margin)*n)},t.qrToImageData=function(e,i,n){for(var r=i.modules.size,s=i.modules.data,a=t.getScale(r,n),o=Math.floor((r+2*n.margin)*a),c=n.margin*a,l=[n.color.light,n.color.dark],d=0;d=c&&u>=c&&d=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},SatO:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wd/R"))},SeVD:function(e,t,i){"use strict";var n=i("ngJS"),r=i("NJ4a"),s=i("Lhse"),a=i("kJWO"),o=i("I55L"),c=i("c2HN"),l=i("XoHu");i.d(t,"a",(function(){return d}));const d=e=>{if(e&&"function"==typeof e[a.a])return d=e,e=>{const t=d[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(o.a)(e))return Object(n.a)(e);if(Object(c.a)(e))return i=e,e=>(i.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[s.a])return t=e,e=>{const i=t[s.a]();for(;;){const t=i.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof i.return&&e.add(()=>{i.return&&i.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}var t,i,d}},SpAZ:function(e,t,i){"use strict";function n(e){return e}i.d(t,"a",(function(){return n}))},StGT:function(e,t,i){var n=i("tjlA"),r=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function a(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),a.prototype=Object.create(r.prototype),s(r,a),a.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},T9HO:function(e,t,i){var n=i("P7XM"),r=i("tnIz"),s=i("hwdV").Buffer,a=[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],o=new Array(160);function c(){this.init(),this._w=o,r.call(this,128,112)}function l(e,t,i){return i^e&(t^i)}function d(e,t,i){return e&t|i&(e|t)}function u(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function _(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return e>>>0>>0?1:0}n(c,r),c.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},c.prototype._update=function(e){for(var t=this._w,i=0|this._ah,n=0|this._bh,r=0|this._ch,s=0|this._dh,o=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,v=0|this._al,w=0|this._bl,C=0|this._cl,S=0|this._dl,k=0|this._el,x=0|this._fl,M=0|this._gl,D=0|this._hl,L=0;L<32;L+=2)t[L]=e.readInt32BE(4*L),t[L+1]=e.readInt32BE(4*L+4);for(;L<160;L+=2){var T=t[L-30],E=t[L-30+1],A=f(T,E),O=p(E,T),P=m(T=t[L-4],E=t[L-4+1]),I=_(E,T),R=t[L-32],j=t[L-32+1],Y=O+t[L-14+1]|0,V=A+t[L-14]+b(Y,O)|0;V=(V=V+P+b(Y=Y+I|0,I)|0)+R+b(Y=Y+j|0,j)|0,t[L]=V,t[L+1]=Y}for(var W=0;W<160;W+=2){V=t[W],Y=t[W+1];var F=d(i,n,r),H=d(v,w,C),B=u(i,v),z=u(v,i),N=h(o,k),U=h(k,o),q=a[W],$=a[W+1],J=l(o,c,g),K=l(k,x,M),G=D+U|0,Z=y+N+b(G,D)|0;Z=(Z=(Z=Z+J+b(G=G+K|0,K)|0)+q+b(G=G+$|0,$)|0)+V+b(G=G+Y|0,Y)|0;var X=z+H|0,Q=B+F+b(X,z)|0;y=g,D=M,g=c,M=x,c=o,x=k,o=s+Z+b(k=S+G|0,S)|0,s=r,S=C,r=n,C=w,n=i,w=v,i=Z+Q+b(v=G+X|0,G)|0}this._al=this._al+v|0,this._bl=this._bl+w|0,this._cl=this._cl+C|0,this._dl=this._dl+S|0,this._el=this._el+k|0,this._fl=this._fl+x|0,this._gl=this._gl+M|0,this._hl=this._hl+D|0,this._ah=this._ah+i+b(this._al,v)|0,this._bh=this._bh+n+b(this._bl,w)|0,this._ch=this._ch+r+b(this._cl,C)|0,this._dh=this._dh+s+b(this._dl,S)|0,this._eh=this._eh+o+b(this._el,k)|0,this._fh=this._fh+c+b(this._fl,x)|0,this._gh=this._gh+g+b(this._gl,M)|0,this._hh=this._hh+y+b(this._hl,D)|0},c.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},TdD3:function(e,t,i){var n=/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,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,s=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,a=i("roQf"),o=i("/ab2"),c=i("hwdV").Buffer;e.exports=function(e,t){var i,l=e.toString(),d=l.match(n);if(d){var u="aes"+d[1],h=c.from(d[2],"hex"),f=c.from(d[3].replace(/[\r\n]/g,""),"base64"),p=a(t,h.slice(0,8),parseInt(d[1],10)).key,m=[],_=o.createDecipheriv(u,p,h);m.push(_.update(f)),m.push(_.final()),i=c.concat(m)}else{var b=l.match(s);i=new c(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(r)[1],data:i}}},Titl:function(e,t,i){"use strict";var n=i("2j6C"),r=i("P7XM"),s=i("Xudb"),a=i("AYSA");function o(){this.tmp=new Array(2),this.keys=null}function c(e){a.call(this,e);var t=new o;this._desState=t,this.deriveKeys(t,e.key)}r(c,a),e.exports=c,c.create=function(e){return new c(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var i=s.readUInt32BE(t,0),r=s.readUInt32BE(t,4);s.pc1(i,r,e.tmp,0),i=e.tmp[0],r=e.tmp[1];for(var a=0;a>>1];i=s.r28shl(i,o),r=s.r28shl(r,o),s.pc2(i,r,e.keys,a)}},c.prototype._update=function(e,t,i,n){var r=this._desState,a=s.readUInt32BE(e,t),o=s.readUInt32BE(e,t+4);s.ip(a,o,r.tmp,0),a=r.tmp[0],o=r.tmp[1],"encrypt"===this.type?this._encrypt(r,a,o,r.tmp,0):this._decrypt(r,a,o,r.tmp,0),o=r.tmp[1],s.writeUInt32BE(i,a=r.tmp[0],n),s.writeUInt32BE(i,o,n+4)},c.prototype._pad=function(e,t){for(var i=e.length-t,n=t;n>>0,a=h}s.rip(o,a,n,r)},c.prototype._decrypt=function(e,t,i,n,r){for(var a=i,o=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],d=e.keys[c+1];s.expand(a,e.tmp,0);var u=s.substitute(l^=e.tmp[0],d^=e.tmp[1]),h=a;a=(o^s.permute(u))>>>0,o=h}s.rip(a,o,n,r)}},UDhR:function(e,t,i){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},URgk:function(e,t,i){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(r.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new s(r.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},i("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,i("aWmh"))},USCx:function(e,t,i){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wd/R"))},UWVS:function(e,t,i){(function(e){var n=i("jIre");function r(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,i){for(;t._cache.length>a%8,e._prev=s(e._prev,i?n:r);return o}function s(e,t){var i=e.length,r=-1,s=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++r>7;return s}t.encrypt=function(e,t,i){for(var s=t.length,a=n.allocUnsafe(s),o=-1;++o=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i("wd/R"))},V2x9:function(e,t,i){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},V35J:function(e,t,i){var n=i("Wogr");function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}r.prototype.set=function(e,t,i,n){var r=e*this.size+t;this.data[r]=i,n&&(this.reservedBit[r]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=r},VRyK:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("HDdC"),r=i("z+Ro"),s=i("bHdf"),a=i("yCtX");function o(...e){let t=Number.POSITIVE_INFINITY,i=null,o=e[e.length-1];return Object(r.a)(o)?(i=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof o&&(t=e.pop()),null===i&&1===e.length&&e[0]instanceof n.a?e[0]:Object(s.a)(t)(Object(a.a)(e,i))}},Vclq:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i("wd/R"))},Vh22:function(e,t,i){(function(t){var n=i("OZ/i"),r=new(i("ehAg")),s=new n(24),a=new n(11),o=new n(10),c=new n(3),l=new n(7),d=i("WKKt"),u=i("Edxu");function h(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this._pub=new n(e),this}function f(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this._priv=new n(e),this}e.exports=m;var p={};function m(e,t,i){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,i?(this.setPublicKey=h,this.setPrivateKey=f):this._primeCode=8}function _(e,i){var n=new t(e.toArray());return i?n.toString(i):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var i=t.toString("hex"),n=[i,e.toString(16)].join("_");if(n in p)return p[n];var u,h=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!r.test(e))return h+=1,p[n]=h+="02"===i||"05"===i?8:4,h;switch(r.test(e.shrn(1))||(h+=2),i){case"02":e.mod(s).cmp(a)&&(h+=8);break;case"05":(u=e.mod(o)).cmp(c)&&u.cmp(l)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(u(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var i=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new t(i.toArray()),s=this.getPrime();if(r.lengthe;)i.ishrn(1);if(i.isEven()&&i.iadd(o),i.testn(1)||i.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;i.mod(d).cmp(u);)i.iadd(f)}else for(;i.mod(s).cmp(h);)i.iadd(f);if(_(p=i.shrn(1))&&_(i)&&b(p)&&b(i)&&a.test(p)&&a.test(i))return i}}},WRkp:function(e,t,i){"use strict";t.sha1=i("E+IA"),t.sha224=i("B/J0"),t.sha256=i("bu2F"),t.sha384=i("i5UE"),t.sha512=i("tSWc")},WYAk:function(e,t,i){var n,r;e.exports=(n=i("Ib8C"),r=n.enc.Utf8,void(n.algo.HMAC=n.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var i=e.blockSize,n=4*i;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),a=this._iKey=t.clone(),o=s.words,c=a.words,l=0;l=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function o(e,t){var i;return s.TYPED_ARRAY_SUPPORT?(i=new Uint8Array(t)).__proto__=s.prototype:(null===(i=e)&&(i=new s(t)),i.length=t),i}function c(e,t){var i=o(e,t<0?0:0|a(t));if(!s.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&s.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&s.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;s.push(i)}else if(i<2048){if((t-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}function u(e){return s.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:d(e).length)}s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),s.prototype.write=function(e,t,i){void 0===t?(i=this.length,t=0):void 0===i&&"string"==typeof t?(i=this.length,t=0):isFinite(t)&&(t|=0,isFinite(i)?i|=0:i=void 0);var n=this.length-t;if((void 0===i||i>n)&&(i=n),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,i,n){return function(e,t,i,n){for(var r=0;r=t.length||r>=e.length);++r)t[r+i]=e[r];return r}(d(t,e.length-i),e,i,n)}(this,e,t,i)},s.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--r)e[r+t]=this[r+i];else if(a<1e3||!s.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(r=t;r=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i("wd/R"))},XLvN:function(e,t,i){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".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:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i("wd/R"))},XNiG:function(e,t,i){"use strict";i.d(t,"b",(function(){return l})),i.d(t,"a",(function(){return d}));var n=i("HDdC"),r=i("7o/Q"),s=i("quSY"),a=i("9ppp"),o=i("Ylt2"),c=i("2QA8");class l extends r.a{constructor(e){super(e),this.destination=e}}let d=(()=>{class e extends n.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new u(this,this);return t.operator=e,t}next(e){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:t}=this,i=t.length,n=t.slice();for(let r=0;rnew u(e,t),e})();class u extends d{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):s.a.EMPTY}}},Xhqo:function(e,t,i){"use strict";var n=i("hwdV").Buffer;e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,i=""+t.data;t=t.next;)i+=e+t.data;return i},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t=n.allocUnsafe(e>>>0),i=this.head,r=0;i;)i.data.copy(t,r),r+=i.data.length,i=i.next;return t},e}()},XoHu:function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e}i.d(t,"a",(function(){return n}))},Xudb:function(e,t,i){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,i){e[0+i]=t>>>24,e[1+i]=t>>>16&255,e[2+i]=t>>>8&255,e[3+i]=255&t},t.ip=function(e,t,i,n){for(var r=0,s=0,a=6;a>=0;a-=2){for(var o=0;o<=24;o+=8)r<<=1,r|=t>>>o+a&1;for(o=0;o<=24;o+=8)r<<=1,r|=e>>>o+a&1}for(a=6;a>=0;a-=2){for(o=1;o<=25;o+=8)s<<=1,s|=t>>>o+a&1;for(o=1;o<=25;o+=8)s<<=1,s|=e>>>o+a&1}i[n+0]=r>>>0,i[n+1]=s>>>0},t.rip=function(e,t,i,n){for(var r=0,s=0,a=0;a<4;a++)for(var o=24;o>=0;o-=8)r<<=1,r|=t>>>o+a&1,r<<=1,r|=e>>>o+a&1;for(a=4;a<8;a++)for(o=24;o>=0;o-=8)s<<=1,s|=t>>>o+a&1,s<<=1,s|=e>>>o+a&1;i[n+0]=r>>>0,i[n+1]=s>>>0},t.pc1=function(e,t,i,n){for(var r=0,s=0,a=7;a>=5;a--){for(var o=0;o<=24;o+=8)r<<=1,r|=t>>o+a&1;for(o=0;o<=24;o+=8)r<<=1,r|=e>>o+a&1}for(o=0;o<=24;o+=8)r<<=1,r|=t>>o+a&1;for(a=1;a<=3;a++){for(o=0;o<=24;o+=8)s<<=1,s|=t>>o+a&1;for(o=0;o<=24;o+=8)s<<=1,s|=e>>o+a&1}for(o=0;o<=24;o+=8)s<<=1,s|=e>>o+a&1;i[n+0]=r>>>0,i[n+1]=s>>>0},t.r28shl=function(e,t){return e<>>28-t};var n=[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];t.pc2=function(e,t,i,r){for(var s=0,a=0,o=n.length>>>1,c=0;c>>n[c]&1;for(c=o;c>>n[c]&1;i[r+0]=s>>>0,i[r+1]=a>>>0},t.expand=function(e,t,i){var n=0,r=0;n=(1&e)<<5|e>>>27;for(var s=23;s>=15;s-=4)n<<=6,n|=e>>>s&63;for(s=11;s>=3;s-=4)r|=e>>>s&63,r<<=6;r|=(31&e)<<1|e>>>31,t[i+0]=n>>>0,t[i+1]=r>>>0};var r=[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];t.substitute=function(e,t){for(var i=0,n=0;n<4;n++)i<<=4,i|=r[64*n+(e>>>18-6*n&63)];for(n=0;n<4;n++)i<<=4,i|=r[256+64*n+(t>>>18-6*n&63)];return i>>>0};var s=[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];t.permute=function(e){for(var t=0,i=0;i>>s[i]&1;return t>>>0},t.padSplit=function(e,t,i){for(var n=e.toString(2);n.length=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i("wd/R"))},Ylt2:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("quSY");class r extends n.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}},"YoN+":function(e,t,i){var n=i("P7XM"),r=i("Qd/k").Reporter,s=i("tjlA").Buffer;function a(e,t){r.call(this,t),s.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function o(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof o||(e=new o(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=s.byteLength(e);else{if(!s.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(a,r),t.DecoderBuffer=a,a.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var i=new a(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+e,this.offset+=e,i},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=o,o.prototype.join=function(e,t){return e||(e=new s(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach((function(i){i.join(e,t),t+=i.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):s.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},YskG:function(e,t,i){var n=i("hwdV").Buffer;function r(e,t,i){var r=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([i?t:r])]),r}t.encrypt=function(e,t,i){for(var s=t.length,a=n.allocUnsafe(s),o=-1;++o":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),i=e.redSub(t),n=e.redMul(t),r=i.redMul(t.redAdd(this.curve.a24.redMul(i)));return this.curve.point(n,r)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var i=this.x.redAdd(this.z),n=this.x.redSub(this.z),r=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(i),a=r.redMul(n),o=t.z.redMul(s.redAdd(a).redSqr()),c=t.x.redMul(s.redISub(a).redSqr());return this.curve.point(o,c)},c.prototype.mul=function(e){for(var t=e.clone(),i=this,n=this.curve.point(null,null),r=[];0!==t.cmpn(0);t.iushrn(1))r.push(t.andln(1));for(var s=r.length-1;s>=0;s--)0===r[s]?(i=i.diffAdd(n,this),n=n.dbl()):(n=i.diffAdd(n,this),i=i.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},Z4QM:function(e,t,i){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i("wd/R"))},Z92M:function(e,t){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},ZAMP:function(e,t,i){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},ZDAU:function(e,t,i){var n=i("hwdV").Buffer,r=i("1IWx").Transform,s=i("fXKp").StringDecoder;function a(e){r.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}i("P7XM")(a,r),a.prototype.update=function(e,t,i){"string"==typeof e&&(e=n.from(e,t));var r=this._update(e);return this.hashMode?this:(i&&(r=this._toString(r,i)),r)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,i){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(r){n=r}finally{i(n)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(i){t=i}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,i){if(this._decoder||(this._decoder=new s(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return i&&(n+=this._decoder.end()),n},e.exports=a},ZEK9:function(e,t,i){t.publicEncrypt=i("rSVQ"),t.privateDecrypt=i("DyzK"),t.privateEncrypt=function(e,i){return t.publicEncrypt(e,i,!0)},t.publicDecrypt=function(e,i){return t.privateDecrypt(e,i,!0)}},ZUHj:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("51Dv"),r=i("SeVD"),s=i("HDdC");function a(e,t,i,a,o=new n.a(e,i,a)){if(!o.closed)return t instanceof s.a?t.subscribe(o):Object(r.a)(t)(o)}},ZYru:function(e,t,i){var n=i("tjlA"),r=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function a(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),a.prototype=Object.create(r.prototype),s(r,a),a.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},Zduo:function(e,t,i){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,i){return e>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i("wd/R"))},aIdf:function(e,t,i){!function(e){"use strict";function t(e,t,i){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},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\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(i("wd/R"))},aIsn:function(e,t,i){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},aQkU:function(e,t,i){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".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:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wd/R"))},aWmh:function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"==typeof window&&(i=window)}e.exports=i},aZ40:function(e,t,i){var n,r,s=i("Wogr");s.alloc?(n=s.alloc(512),r=s.alloc(256)):(n=new s(512),r=new s(256)),function(){for(var e=1,t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)n[t]=n[t-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},afKu:function(e,t,i){(t=e.exports=function(e){e=e.toLowerCase();var i=t[e];if(!i)throw new Error(e+" is not supported (we accept pull requests)");return new i}).sha=i("CH9F"),t.sha1=i("fnjI"),t.sha224=i("cqoG"),t.sha256=i("olUY"),t.sha384=i("uDfV"),t.sha512=i("T9HO")},"aqI/":function(e,t,i){"use strict";var n=i("fZJM"),r=i("dlgc"),s=i("2j6C");function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=r.toArray(e.entropy,e.entropyEnc||"hex"),i=r.toArray(e.nonce,e.nonceEnc||"hex"),n=r.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,i,n)}e.exports=a,a.prototype._init=function(e,t,i){var n=e.concat(t).concat(i);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1},a.prototype.generate=function(e,t,i,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=i,i=t,t=null),i&&(i=r.toArray(i,n||"hex"),this._update(i));for(var s=[];s.length0&&i.ishrn(n),i}function u(e,i,r){var s,a;do{for(s=new t(0);8*s.length=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},bYM6:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i("wd/R"))},bpih:function(e,t,i){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},bu2F:function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=i("qlaj"),a=i("2j6C"),o=n.sum32,c=n.sum32_4,l=n.sum32_5,d=s.ch32,u=s.maj32,h=s.s0_256,f=s.s1_256,p=s.g0_256,m=s.g1_256,_=r.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;_.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}n.inherits(g,_),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var i=this.W,n=0;n<16;n++)i[n]=e[t+n];for(;n=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},cqoG:function(e,t,i){var n=i("P7XM"),r=i("olUY"),s=i("tnIz"),a=i("hwdV").Buffer,o=new Array(64);function c(){this.init(),this._w=o,s.call(this,64,56)}n(c,r),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},crnd:function(e,t){function i(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}i.keys=function(){return[]},i.resolve=i,e.exports=i,i.id="crnd"},cv67:function(e,t,i){var n;e.exports=(n=i("Ib8C"),function(e){var t=n,i=t.lib,r=i.WordArray,s=i.Hasher,a=t.algo,o=[];!function(){for(var t=0;t<64;t++)o[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=s.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var i=0;i<16;i++){var n=t+i,r=e[n];e[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s=this._hash.words,a=e[t+0],c=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],_=e[t+5],b=e[t+6],g=e[t+7],y=e[t+8],v=e[t+9],w=e[t+10],C=e[t+11],S=e[t+12],k=e[t+13],x=e[t+14],M=e[t+15],D=s[0],L=s[1],T=s[2],E=s[3];D=l(D,L,T,E,a,7,o[0]),E=l(E,D,L,T,c,12,o[1]),T=l(T,E,D,L,f,17,o[2]),L=l(L,T,E,D,p,22,o[3]),D=l(D,L,T,E,m,7,o[4]),E=l(E,D,L,T,_,12,o[5]),T=l(T,E,D,L,b,17,o[6]),L=l(L,T,E,D,g,22,o[7]),D=l(D,L,T,E,y,7,o[8]),E=l(E,D,L,T,v,12,o[9]),T=l(T,E,D,L,w,17,o[10]),L=l(L,T,E,D,C,22,o[11]),D=l(D,L,T,E,S,7,o[12]),E=l(E,D,L,T,k,12,o[13]),T=l(T,E,D,L,x,17,o[14]),D=d(D,L=l(L,T,E,D,M,22,o[15]),T,E,c,5,o[16]),E=d(E,D,L,T,b,9,o[17]),T=d(T,E,D,L,C,14,o[18]),L=d(L,T,E,D,a,20,o[19]),D=d(D,L,T,E,_,5,o[20]),E=d(E,D,L,T,w,9,o[21]),T=d(T,E,D,L,M,14,o[22]),L=d(L,T,E,D,m,20,o[23]),D=d(D,L,T,E,v,5,o[24]),E=d(E,D,L,T,x,9,o[25]),T=d(T,E,D,L,p,14,o[26]),L=d(L,T,E,D,y,20,o[27]),D=d(D,L,T,E,k,5,o[28]),E=d(E,D,L,T,f,9,o[29]),T=d(T,E,D,L,g,14,o[30]),D=u(D,L=d(L,T,E,D,S,20,o[31]),T,E,_,4,o[32]),E=u(E,D,L,T,y,11,o[33]),T=u(T,E,D,L,C,16,o[34]),L=u(L,T,E,D,x,23,o[35]),D=u(D,L,T,E,c,4,o[36]),E=u(E,D,L,T,m,11,o[37]),T=u(T,E,D,L,g,16,o[38]),L=u(L,T,E,D,w,23,o[39]),D=u(D,L,T,E,k,4,o[40]),E=u(E,D,L,T,a,11,o[41]),T=u(T,E,D,L,p,16,o[42]),L=u(L,T,E,D,b,23,o[43]),D=u(D,L,T,E,v,4,o[44]),E=u(E,D,L,T,S,11,o[45]),T=u(T,E,D,L,M,16,o[46]),D=h(D,L=u(L,T,E,D,f,23,o[47]),T,E,a,6,o[48]),E=h(E,D,L,T,g,10,o[49]),T=h(T,E,D,L,x,15,o[50]),L=h(L,T,E,D,_,21,o[51]),D=h(D,L,T,E,S,6,o[52]),E=h(E,D,L,T,p,10,o[53]),T=h(T,E,D,L,w,15,o[54]),L=h(L,T,E,D,c,21,o[55]),D=h(D,L,T,E,y,6,o[56]),E=h(E,D,L,T,M,10,o[57]),T=h(T,E,D,L,b,15,o[58]),L=h(L,T,E,D,k,21,o[59]),D=h(D,L,T,E,m,6,o[60]),E=h(E,D,L,T,C,10,o[61]),T=h(T,E,D,L,f,15,o[62]),L=h(L,T,E,D,v,21,o[63]),s[0]=s[0]+D|0,s[1]=s[1]+L|0,s[2]=s[2]+T|0,s[3]=s[3]+E|0},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;i[r>>>5]|=128<<24-r%32;var s=e.floor(n/4294967296),a=n;i[15+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),i[14+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(i.length+1),this._process();for(var o=this._hash,c=o.words,l=0;l<4;l++){var d=c[l];c[l]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return o},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,i,n,r,s,a){var o=e+(t&i|~t&n)+r+a;return(o<>>32-s)+t}function d(e,t,i,n,r,s,a){var o=e+(t&n|i&~n)+r+a;return(o<>>32-s)+t}function u(e,t,i,n,r,s,a){var o=e+(t^i^n)+r+a;return(o<>>32-s)+t}function h(e,t,i,n,r,s,a){var o=e+(i^(t|~n))+r+a;return(o<>>32-s)+t}t.MD5=s._createHelper(c),t.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5)},czMo:function(e,t,i){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wd/R"))},dNwA:function(e,t,i){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i("wd/R"))},dcwN:function(e,t,i){"use strict";(function(e,n){function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=i("hwdV"),a=i("Edxu"),o=s.Buffer,c=s.kMaxLength,l=e.crypto||e.msCrypto,d=Math.pow(2,32)-1;function u(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>d||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function h(e,t,i){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>d||e<0)throw new TypeError("size must be a uint32");if(e+t>i||e>c)throw new RangeError("buffer too small")}function f(e,t,i,r){if(n.browser){var s=new Uint8Array(e.buffer,t,i);return l.getRandomValues(s),r?void n.nextTick((function(){r(null,e)})):e}if(!r)return a(i).copy(e,t),e;a(i,(function(i,n){if(i)return r(i);n.copy(e,t),r(null,e)}))}l&&l.getRandomValues||!n.browser?(t.randomFill=function(t,i,n,r){if(!(o.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof i)r=i,i=0,n=t.length;else if("function"==typeof n)r=n,n=t.length-i;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return u(i,t.length),h(n,i,t.length),f(t,i,n,r)},t.randomFillSync=function(t,i,n){if(void 0===i&&(i=0),!(o.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return u(i,t.length),void 0===n&&(n=t.length-i),h(n,i,t.length),f(t,i,n)}):(t.randomFill=r,t.randomFillSync=r)}).call(this,i("aWmh"),i("8oxB"))},dlgc:function(e,t,i){"use strict";var n=t;function r(e){return 1===e.length?"0"+e:e}function s(e){for(var t="",i=0;i>8,a=255&r;s?i.push(s,a):i.push(a)}return i},n.zero2=r,n.toHex=s,n.encode=function(e,t){return"hex"===t?s(e):e}},"e+ae":function(e,t,i){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function r(e,t,i,r){var s=e+" ";switch(i){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?s+(n(e)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?s+(n(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(n(e)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?s+(n(e)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(n(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(n(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:i,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_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\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"e/Dd":function(e,t){var i,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');i=e},t.isKanjiModeEnabled=function(){return void 0!==i},t.toSJIS=function(e){return i(e)}},e6BP:function(e,t){function i(){this.buffer=[],this.length=0}i.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var i=0;i>>t-i-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=i},e7zE:function(e,t,i){var n,r,s,a,o,c,l,d;e.exports=(d=i("Ib8C"),i("3y9D"),i("WYAk"),a=(r=(n=d).lib).WordArray,c=(o=n.algo).HMAC,l=o.PBKDF2=(s=r.Base).extend({cfg:s.extend({keySize:4,hasher:o.SHA1,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var i=this.cfg,n=c.create(i.hasher,e),r=a.create(),s=a.create([1]),o=r.words,l=s.words,d=i.keySize,u=i.iterations;o.length=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,i=0,n=0,r=0,s=null,a=null,o=0;o=5&&(i+=n-5+3),s=l,n=1),(l=e.get(c,o))===a?r++:(r>=5&&(i+=r-5+3),a=l,r=1)}n>=5&&(i+=n-5+3),r>=5&&(i+=r-5+3)}return i},t.getPenaltyN2=function(e){for(var t=e.size,i=0,n=0;n=10&&(1488===n||93===n)&&i++,r=r<<1&2047|e.get(a,s),a>=10&&(1488===r||93===r)&&i++}return 40*i},t.getPenaltyN4=function(e){for(var t=0,i=e.data.length,n=0;n=0);return r},s.prototype._randrange=function(e,t){var i=t.sub(e);return e.add(this._randbelow(i))},s.prototype.test=function(e,t,i){var r=e.bitLength(),s=n.mont(e),a=new n(1).toRed(s);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),c=0;!o.testn(c);c++);for(var l=e.shrn(c),d=o.toRed(s);t>0;t--){var u=this._randrange(new n(2),o);i&&i(u);var h=u.toRed(s).redPow(l);if(0!==h.cmp(a)&&0!==h.cmp(d)){for(var f=1;f0;t--){var d=this._randrange(new n(2),a),u=e.gcd(d);if(0!==u.cmpn(1))return u;var h=d.toRed(r).redPow(c);if(0!==h.cmp(s)&&0!==h.cmp(l)){for(var f=1;f=0&&e.bit<4},t.from=function(e,i){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(n){return i}}},f3pb:function(e,t,i){var n=t;n.bignum=i("OZ/i"),n.define=i("7zrB").define,n.base=i("Qd/k"),n.constants=i("AhHn"),n.decoders=i("IPZY"),n.encoders=i("ND7S")},fSpj:function(e,t,i){(function(t){var i=Math.pow(2,30)-1;function n(e,i){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(i+" must be a buffer or string")}e.exports=function(e,t,r,s){if(n(e,"Password"),n(t,"Salt"),"number"!=typeof r)throw new TypeError("Iterations not a number");if(r<0)throw new TypeError("Bad iterations");if("number"!=typeof s)throw new TypeError("Key length not a number");if(s<0||s>i||s!=s)throw new TypeError("Bad key length")}}).call(this,i("tjlA").Buffer)},fXKp:function(e,t,i){"use strict";var n=i("hwdV").Buffer,r=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=d,this.end=u,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function o(e){var t=this.lastTotal-this.lastNeed,i=function(e,t,i){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd".repeat(i);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd".repeat(i+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd".repeat(i+2)}}(this,e,t);return void 0!==i?i:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var i=e.toString("utf16le",t);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):t}function d(e,t){var i=(e.length-t)%3;return 0===i?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-i))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,i;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0?(r>0&&(e.lastNeed=r-1),r):--n=0?(r>0&&(e.lastNeed=r-2),r):--n=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var n=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},fXoL:function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return Ds})),i.d(t,"b",(function(){return Tl})),i.d(t,"c",(function(){return kl})),i.d(t,"d",(function(){return Cl})),i.d(t,"e",(function(){return Sl})),i.d(t,"f",(function(){return Sd})),i.d(t,"g",(function(){return ud})),i.d(t,"h",(function(){return ds})),i.d(t,"i",(function(){return Fl})),i.d(t,"j",(function(){return Co})),i.d(t,"k",(function(){return Ol})),i.d(t,"l",(function(){return So})),i.d(t,"m",(function(){return yd})),i.d(t,"n",(function(){return li})),i.d(t,"o",(function(){return Qc})),i.d(t,"p",(function(){return N})),i.d(t,"q",(function(){return l})),i.d(t,"r",(function(){return z})),i.d(t,"s",(function(){return Ms})),i.d(t,"t",(function(){return Bo})),i.d(t,"u",(function(){return zo})),i.d(t,"v",(function(){return Al})),i.d(t,"w",(function(){return se})),i.d(t,"x",(function(){return fd})),i.d(t,"y",(function(){return re})),i.d(t,"z",(function(){return ad})),i.d(t,"A",(function(){return Nl})),i.d(t,"B",(function(){return d})),i.d(t,"C",(function(){return Ll})),i.d(t,"D",(function(){return Dl})),i.d(t,"E",(function(){return tl})),i.d(t,"F",(function(){return Do})),i.d(t,"G",(function(){return xo})),i.d(t,"H",(function(){return Mo})),i.d(t,"I",(function(){return To})),i.d(t,"J",(function(){return Zi})),i.d(t,"K",(function(){return h})),i.d(t,"L",(function(){return _d})),i.d(t,"M",(function(){return $o})),i.d(t,"N",(function(){return Xl})),i.d(t,"O",(function(){return Eo})),i.d(t,"P",(function(){return Ko})),i.d(t,"Q",(function(){return me})),i.d(t,"R",(function(){return Rs})),i.d(t,"S",(function(){return od})),i.d(t,"T",(function(){return Di})),i.d(t,"U",(function(){return T})),i.d(t,"V",(function(){return ee})),i.d(t,"W",(function(){return Mi})),i.d(t,"X",(function(){return wd})),i.d(t,"Y",(function(){return td})),i.d(t,"Z",(function(){return El})),i.d(t,"ab",(function(){return hs})),i.d(t,"bb",(function(){return uc})),i.d(t,"cb",(function(){return Ki})),i.d(t,"db",(function(){return en})),i.d(t,"eb",(function(){return Ai})),i.d(t,"fb",(function(){return bi})),i.d(t,"gb",(function(){return yi})),i.d(t,"hb",(function(){return Si})),i.d(t,"ib",(function(){return wi})),i.d(t,"jb",(function(){return vi})),i.d(t,"kb",(function(){return Ci})),i.d(t,"lb",(function(){return oc})),i.d(t,"mb",(function(){return vd})),i.d(t,"nb",(function(){return cc})),i.d(t,"ob",(function(){return lc})),i.d(t,"pb",(function(){return gi})),i.d(t,"qb",(function(){return R})),i.d(t,"rb",(function(){return js})),i.d(t,"sb",(function(){return oa})),i.d(t,"tb",(function(){return aa})),i.d(t,"ub",(function(){return Is})),i.d(t,"vb",(function(){return ac})),i.d(t,"wb",(function(){return xt})),i.d(t,"xb",(function(){return M})),i.d(t,"yb",(function(){return _i})),i.d(t,"zb",(function(){return to})),i.d(t,"Ab",(function(){return oo})),i.d(t,"Bb",(function(){return yo})),i.d(t,"Cb",(function(){return Tn})),i.d(t,"Db",(function(){return zs})),i.d(t,"Eb",(function(){return Aa})),i.d(t,"Fb",(function(){return Za})),i.d(t,"Gb",(function(){return Ea})),i.d(t,"Hb",(function(){return la})),i.d(t,"Ib",(function(){return pl})),i.d(t,"Jb",(function(){return ve})),i.d(t,"Kb",(function(){return De})),i.d(t,"Lb",(function(){return _})),i.d(t,"Mb",(function(){return b})),i.d(t,"Nb",(function(){return ke})),i.d(t,"Ob",(function(){return Le})),i.d(t,"Pb",(function(){return Js})),i.d(t,"Qb",(function(){return Be})),i.d(t,"Rb",(function(){return ta})),i.d(t,"Sb",(function(){return ra})),i.d(t,"Tb",(function(){return na})),i.d(t,"Ub",(function(){return ia})),i.d(t,"Vb",(function(){return ea})),i.d(t,"Wb",(function(){return Qs})),i.d(t,"Xb",(function(){return He})),i.d(t,"Yb",(function(){return sa})),i.d(t,"Zb",(function(){return si})),i.d(t,"ac",(function(){return Xa})),i.d(t,"bc",(function(){return Ac})),i.d(t,"cc",(function(){return jc})),i.d(t,"dc",(function(){return Oc})),i.d(t,"ec",(function(){return Rc})),i.d(t,"fc",(function(){return Q})),i.d(t,"gc",(function(){return Ks})),i.d(t,"hc",(function(){return wl})),i.d(t,"ic",(function(){return Gs})),i.d(t,"jc",(function(){return ca})),i.d(t,"kc",(function(){return bl})),i.d(t,"lc",(function(){return _t})),i.d(t,"mc",(function(){return mt})),i.d(t,"nc",(function(){return fa})),i.d(t,"oc",(function(){return Zc})),i.d(t,"pc",(function(){return Xc})),i.d(t,"qc",(function(){return ga})),i.d(t,"rc",(function(){return ma})),i.d(t,"sc",(function(){return Zs})),i.d(t,"tc",(function(){return ya})),i.d(t,"uc",(function(){return va})),i.d(t,"vc",(function(){return wa})),i.d(t,"wc",(function(){return $c})),i.d(t,"xc",(function(){return Jc})),i.d(t,"yc",(function(){return Kc})),i.d(t,"zc",(function(){return dl})),i.d(t,"Ac",(function(){return $s})),i.d(t,"Bc",(function(){return Ht})),i.d(t,"Cc",(function(){return Ue})),i.d(t,"Dc",(function(){return tn})),i.d(t,"Ec",(function(){return xe})),i.d(t,"Fc",(function(){return ml})),i.d(t,"Gc",(function(){return ul})),i.d(t,"Hc",(function(){return Ta})),i.d(t,"Ic",(function(){return qs})),i.d(t,"Jc",(function(){return za})),i.d(t,"Kc",(function(){return Na})),i.d(t,"Lc",(function(){return Ua})),i.d(t,"Mc",(function(){return qa})),i.d(t,"Nc",(function(){return $a})),i.d(t,"Oc",(function(){return Ja})),i.d(t,"Pc",(function(){return Ka})),i.d(t,"Qc",(function(){return Ga})),i.d(t,"Rc",(function(){return Qa})),i.d(t,"Sc",(function(){return hl}));var n=i("XNiG"),r=i("quSY"),s=i("HDdC"),a=i("VRyK"),o=i("w1tV");function c(e,t,i){const n=function(e){return function(...t){if(e){const i=e(...t);for(const e in i)this[e]=i[e]}}}(t);function r(...e){if(this instanceof r)return n.apply(this,e),this;const t=new r(...e);return i.annotation=t,i;function i(e,i,n){const r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(t),e}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}const l=c("Inject",e=>({token:e})),d=c("Optional"),u=c("Self"),h=c("SkipSelf");var f=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function p(e){for(let t in e)if(e[t]===p)return t;throw Error("Could not find renamed property on target object.")}function m(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function b(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function g(e){return y(e,e[w])||y(e,e[k])}function y(e,t){return t&&t.token===e?t:null}function v(e){return e&&(e.hasOwnProperty(C)||e.hasOwnProperty(x))?e[C]:null}const w=p({"\u0275prov":p}),C=p({"\u0275inj":p}),S=p({"\u0275provFallback":p}),k=p({ngInjectableDef:p}),x=p({ngInjectorDef:p});function M(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(M).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function D(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const L=p({__forward_ref__:p});function T(e){return e.__forward_ref__=T,e.toString=function(){return M(this())},e}function E(e){return A(e)?e():e}function A(e){return"function"==typeof e&&e.hasOwnProperty(L)&&e.__forward_ref__===T}const O="undefined"!=typeof globalThis&&globalThis,P="undefined"!=typeof window&&window,I="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R=O||void 0!==e&&e||P||I,j=p({"\u0275cmp":p}),Y=p({"\u0275dir":p}),V=p({"\u0275pipe":p}),W=p({"\u0275mod":p}),F=p({"\u0275loc":p}),H=p({"\u0275fac":p}),B=p({__NG_ELEMENT_ID__:p});class z{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=_({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const N=new z("INJECTOR",-1),U={},q=/\n/gm,$=p({provide:String,useValue:p});let J,K=void 0;function G(e){const t=K;return K=e,t}function Z(e){const t=J;return J=e,t}function X(e,t=f.Default){if(void 0===K)throw new Error("inject() must be called from an injection context");return null===K?te(e,void 0,t):K.get(e,t&f.Optional?null:void 0,t)}function Q(e,t=f.Default){return(J||X)(E(e),t)}const ee=Q;function te(e,t,i){const n=g(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&f.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${M(e)}]`)}function ie(e){const t=[];for(let i=0;iArray.isArray(e)?oe(e,t):t(e))}function ce(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function le(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function de(e,t){const i=[];for(let n=0;n=0?e[1|n]=i:(n=~n,function(e,t,i,n){let r=e.length;if(r==t)e.push(i,n);else if(1===r)e.push(n,e[0]),e[0]=i;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=i,e[t+1]=n}}(e,n,t,i)),n}function he(e,t){const i=fe(e,t);if(i>=0)return e[1|i]}function fe(e,t){return function(e,t,i){let n=0,r=e.length>>1;for(;r!==n;){const i=n+(r-n>>1),s=e[i<<1];if(t===s)return i<<1;s>t?r=i:n=i+1}return~(r<<1)}(e,t)}const pe=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),me=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}();function _e(e){return""+{toString:e}}const be={},ge=[];let ye=0;function ve(e){const t=e.type,i=t.prototype,n={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:i.ngOnInit||null,doCheck:i.ngDoCheck||null,afterContentInit:i.ngAfterContentInit||null,afterContentChecked:i.ngAfterContentChecked||null,afterViewInit:i.ngAfterViewInit||null,afterViewChecked:i.ngAfterViewChecked||null,onDestroy:i.ngOnDestroy||null,onPush:e.changeDetection===pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||me.Emulated,id:"c",styles:e.styles||ge,_:null,setInput:null,schemas:e.schemas||null,tView:null};return r._=_e(()=>{const t=e.directives,i=e.features,s=e.pipes;r.id+=ye++,r.inputs=Me(e.inputs,n),r.outputs=Me(e.outputs),i&&i.forEach(e=>e(r)),r.directiveDefs=t?()=>("function"==typeof t?t():t).map(we):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ce):null}),r}function we(e){return Te(e)||function(e){return e[Y]||null}(e)}function Ce(e){return function(e){return e[V]||null}(e)}const Se={};function ke(e){const t={type:e.type,bootstrap:e.bootstrap||ge,declarations:e.declarations||ge,imports:e.imports||ge,exports:e.exports||ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&_e(()=>{Se[e.id]=e.type}),t}function xe(e,t){return _e(()=>{const i=Ae(e,!0);i.declarations=t.declarations||ge,i.imports=t.imports||ge,i.exports=t.exports||ge})}function Me(e,t){if(null==e)return be;const i={};for(const n in e)if(e.hasOwnProperty(n)){let r=e[n],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),i[r]=n,t&&(t[r]=s)}return i}const De=ve;function Le(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Te(e){return e[j]||null}function Ee(e,t){return e.hasOwnProperty(H)?e[H]:null}function Ae(e,t){const i=e[W]||null;if(!i&&!0===t)throw new Error(`Type ${M(e)} does not have '\u0275mod' property.`);return i}function Oe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Pe(e){return Array.isArray(e)&&!0===e[1]}function Ie(e){return 0!=(8&e.flags)}function Re(e){return 2==(2&e.flags)}function je(e){return 1==(1&e.flags)}function Ye(e){return null!==e.template}function Ve(e){return 0!=(512&e[2])}const We={lFrame:lt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Fe(){return We.bindingsEnabled}function He(){We.bindingsEnabled=!0}function Be(){We.bindingsEnabled=!1}function ze(){return We.lFrame.lView}function Ne(){return We.lFrame.tView}function Ue(e){We.lFrame.contextLView=e}function qe(){return We.lFrame.previousOrParentTNode}function $e(e,t){We.lFrame.previousOrParentTNode=e,We.lFrame.isParent=t}function Je(){return We.lFrame.isParent}function Ke(){We.lFrame.isParent=!1}function Ge(){return We.checkNoChangesMode}function Ze(e){We.checkNoChangesMode=e}function Xe(){const e=We.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qe(){return We.lFrame.bindingIndex}function et(e){return We.lFrame.bindingIndex=e}function tt(){return We.lFrame.bindingIndex++}function it(e){const t=We.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function nt(e,t){const i=We.lFrame;i.bindingIndex=i.bindingRootIndex=e,i.currentDirectiveIndex=t}function rt(){return We.lFrame.currentQueryIndex}function st(e){We.lFrame.currentQueryIndex=e}function at(e,t){const i=ct();We.lFrame=i,i.previousOrParentTNode=t,i.lView=e}function ot(e,t){const i=ct(),n=e[1];We.lFrame=i,i.previousOrParentTNode=t,i.lView=e,i.tView=n,i.contextLView=e,i.bindingIndex=n.bindingStartIndex}function ct(){const e=We.lFrame,t=null===e?null:e.child;return null===t?lt(e):t}function lt(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function dt(){const e=We.lFrame;return We.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const ut=dt;function ht(){const e=dt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ft(){return We.lFrame.selectedIndex}function pt(e){We.lFrame.selectedIndex=e}function mt(){We.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function _t(){We.lFrame.currentNamespace=null}function bt(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i=n)break}else t[a]<0&&(e[18]+=65536),(s>10>16&&(3&e[2])===t&&(e[2]+=1024,s.call(a)):s.call(a)}class St{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}let kt=void 0;function xt(e){kt=e}function Mt(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function Dt(e){return!!e.listen}const Lt={createRenderer:(e,t)=>Mt()};function Tt(e,t,i){const n=Dt(e);let r=0;for(;rt){a=s-1;break}}}for(;s>16}function Yt(e,t){let i=jt(e),n=t;for(;i>0;)n=n[15],i--;return n}function Vt(e){return"string"==typeof e?e:null==e?"":""+e}function Wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Vt(e)}const Ft=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(R))();function Ht(e){return{name:"body",target:e.ownerDocument.body}}function Bt(e){return e instanceof Function?e():e}let zt=!0;function Nt(e){const t=zt;return zt=e,t}let Ut=0;function qt(e,t){const i=Jt(e,t);if(-1!==i)return i;const n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,$t(n.data,e),$t(t,null),$t(n.blueprint,null));const r=Kt(e,t),s=e.injectorIndex;if(It(r)){const e=Rt(r),i=Yt(r,t),n=i[1].data;for(let r=0;r<8;r++)t[s+r]=i[e+r]|n[e+r]}return t[s+8]=r,s}function $t(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Jt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Kt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=t[6],n=1;for(;i&&-1===i.injectorIndex;)i=(t=t[15])?t[6]:null,n++;return i?i.injectorIndex|n<<16:-1}function Gt(e,t,i){!function(e,t,i){let n="string"!=typeof i?i[B]:i.charCodeAt(0)||0;null==n&&(n=i[B]=Ut++);const r=255&n,s=1<0?255&t:t}(i);if("function"==typeof r){at(t,e);try{const e=r();if(null!=e||n&f.Optional)return e;throw new Error(`No provider for ${Wt(i)}!`)}finally{ut()}}else if("number"==typeof r){if(-1===r)return new ri(e,t);let s=null,a=Jt(e,t),o=-1,c=n&f.Host?t[16][6]:null;for((-1===a||n&f.SkipSelf)&&(o=-1===a?Kt(e,t):t[a+8],ni(n,!1)?(s=t[1],a=Rt(o),t=Yt(o,t)):a=-1);-1!==a;){o=t[a+8];const e=t[1];if(ii(r,a,e.data)){const e=Qt(a,t,i,s,n,c);if(e!==Xt)return e}ni(n,t[1].data[a+8]===c)&&ii(r,a,t)?(s=e,a=Rt(o),t=Yt(o,t)):a=-1}}}if(n&f.Optional&&void 0===r&&(r=null),0==(n&(f.Self|f.Host))){const e=t[9],s=Z(void 0);try{return e?e.get(i,r,n&f.Optional):te(i,r,n&f.Optional)}finally{Z(s)}}if(n&f.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Wt(i)}]`)}const Xt={};function Qt(e,t,i,n,r,s){const a=t[1],o=a.data[e+8],c=ei(o,a,i,null==n?Re(o)&&zt:n!=a&&3===o.type,r&f.Host&&s===o);return null!==c?ti(t,a,c,o):Xt}function ei(e,t,i,n,r){const s=e.providerIndexes,a=t.data,o=65535&s,c=e.directiveStart,l=s>>16,d=r?o+l:e.directiveEnd;for(let u=n?o:o+l;u=c&&e.type===i)return u}if(r){const e=a[c];if(e&&Ye(e)&&e.type===i)return c}return null}function ti(e,t,i,n){let r=e[i];const s=t.data;if(r instanceof St){const a=r;if(a.resolving)throw new Error(`Circular dep for ${Wt(s[i])}`);const o=Nt(a.canSeeViewProviders);let c;a.resolving=!0,a.injectImpl&&(c=Z(a.injectImpl)),at(e,n);try{r=e[i]=a.factory(void 0,s,e,n),t.firstCreatePass&&i>=n.directiveStart&&function(e,t,i){const{onChanges:n,onInit:r,doCheck:s}=t;n&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,n)),r&&(i.preOrderHooks||(i.preOrderHooks=[])).push(-e,r),s&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,s),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,s))}(i,s[i],t)}finally{a.injectImpl&&Z(c),Nt(o),a.resolving=!1,ut()}}return r}function ii(e,t,i){const n=64&e,r=32&e;let s;return s=128&e?n?r?i[t+7]:i[t+6]:r?i[t+5]:i[t+4]:n?r?i[t+3]:i[t+2]:r?i[t+1]:i[t],!!(s&1<{const t=e(E(i));return t?t():null};let n=Ee(i);if(null===n){const e=v(i);n=e&&e.factory}return n||null}(t);return null!==i?i:e=>new e}function ai(e){return e.ngDebugContext}function oi(e){return e.ngOriginalError}function ci(e,...t){e.error(...t)}class li{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=this._findContext(e),n=function(e){return e.ngErrorLogger||ci}(e);n(this._console,"ERROR",e),t&&n(this._console,"ORIGINAL ERROR",t),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(e){return e?ai(e)?ai(e):this._findContext(oi(e)):null}_findOriginalError(e){let t=oi(e);for(;t&&oi(t);)t=oi(t);return t}}class di{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class ui extends di{getTypeName(){return"HTML"}}class hi extends di{getTypeName(){return"Style"}}class fi extends di{getTypeName(){return"Script"}}class pi extends di{getTypeName(){return"URL"}}class mi extends di{getTypeName(){return"ResourceURL"}}function _i(e){return e instanceof di?e.changingThisBreaksApplicationSecurity:e}function bi(e,t){const i=gi(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see http://g.co/ng/security#xss)`)}return i===t}function gi(e){return e instanceof di&&e.getTypeName()||null}function yi(e){return new ui(e)}function vi(e){return new hi(e)}function wi(e){return new fi(e)}function Ci(e){return new pi(e)}function Si(e){return new mi(e)}let ki=!0,xi=!1;function Mi(){return xi=!0,ki}function Di(){if(xi)throw new Error("Cannot enable prod mode after platform setup.");ki=!1}class Li{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let t=this.inertDocument.body;if(null==t){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),t=this.inertDocument.createElement("body"),e.appendChild(t)}t.innerHTML='',!t.querySelector||t.querySelector("svg")?(t.innerHTML='

',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e=""+e+"";try{e=encodeURI(e)}catch(n){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const i=t.response.body;return i.removeChild(i.firstChild),i}getInertBodyElement_DOMParser(e){e=""+e+"";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const i=this.inertDocument.createElement("body");return i.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0Ai(e.trim())).join(", ")}function Pi(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Ii(...e){const t={};for(const i of e)for(const e in i)i.hasOwnProperty(e)&&(t[e]=!0);return t}const Ri=Pi("area,br,col,hr,img,wbr"),ji=Pi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yi=Pi("rp,rt"),Vi=Ii(Yi,ji),Wi=Ii(Ri,Ii(ji,Pi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ii(Yi,Pi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Vi),Fi=Pi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hi=Pi("srcset"),Bi=Ii(Fi,Hi,Pi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Pi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),zi=Pi("script,style,template");class Ni{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Wi.hasOwnProperty(t))return this.sanitizedSomething=!0,!zi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=e.attributes;for(let n=0;n"),!0}endElement(e){const t=e.nodeName.toLowerCase();Wi.hasOwnProperty(t)&&!Ri.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push($i(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Ui=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qi=/([^\#-~ |!])/g;function $i(e){return e.replace(/&/g,"&").replace(Ui,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(qi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let Ji;function Ki(e,t){let i=null;try{Ji=Ji||new Li(e);let n=t?String(t):"";i=Ji.getInertBodyElement(n);let r=5,s=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=s,s=i.innerHTML,i=Ji.getInertBodyElement(n)}while(n!==s);const a=new Ni,o=a.sanitizeChildren(Gi(i)||i);return Mi()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),o}finally{if(i){const e=Gi(i)||i;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Gi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Zi=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Xi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Qi=/^url\(([^)]+)\)$/;function en(e){if(!(e=String(e).trim()))return"";const t=e.match(Qi);return t&&Ai(t[1])===t[1]||e.match(Xi)&&function(e){let t=!0,i=!0;for(let n=0;ns?"":r[d+1].toLowerCase();const t=8&n?e:null;if(t&&-1!==bn(t,l,0)||2&n&&l!==e){if(wn(n))return!1;a=!0}}}}else{if(!a&&!wn(n)&&!wn(c))return!1;if(a&&wn(c))continue;a=!1,n=c|1&n}}return wn(n)||a}function wn(e){return 0==(1&e)}function Cn(e,t,i,n){if(null===t)return-1;let r=0;if(n||!i){let i=!1;for(;r-1)for(i++;i0?'="'+t+'"':"")+"]"}else 8&n?r+="."+a:4&n&&(r+=" "+a);else""===r||wn(a)||(t+=xn(s,r),r=""),n=a,s=s||!wn(n);i++}return""!==r&&(t+=xn(s,r)),t}const Dn={};function Ln(e){const t=e[3];return Pe(t)?t[3]:t}function Tn(e){En(Ne(),ze(),ft()+e,Ge())}function En(e,t,i,n){if(!n)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&>(t,n,i)}else{const n=e.preOrderHooks;null!==n&&yt(t,n,0,i)}pt(i)}const An={marker:"element"},On={marker:"comment"};function Pn(e,t){return e<<17|t<<2}function In(e){return e>>17&32767}function Rn(e){return 2|e}function jn(e){return(131068&e)>>2}function Yn(e,t){return-131069&e|t<<2}function Vn(e){return 1|e}function Wn(e,t){const i=e.contentQueries;if(null!==i)for(let n=0;n>1==-1){for(let e=9;e19&&En(e,t,0,Ge()),i(n,r)}finally{pt(s)}}function $n(e,t,i){if(Ie(t)){const n=t.directiveEnd;for(let r=t.directiveStart;rPromise.resolve(null))();function kr(e){return e[7]||(e[7]=[])}function xr(e){return e.cleanup||(e.cleanup=[])}function Mr(e,t){return function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(t[e.index])[11]}function Dr(e,t){const i=e[9],n=i?i.get(li,null):null;n&&n.handleError(t)}function Lr(e,t,i,n,r){for(let s=0;s0&&(e[i-1][4]=n[4]);const s=le(e,9+t);Ir(n[1],n,!1,null);const a=s[5];null!==a&&a.detachView(s[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}function Yr(e,t){if(!(256&t[2])){const i=t[11];Dt(i)&&i.destroyNode&&Gr(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return Wr(e[1],e);for(;t;){let i=null;if(Oe(t))i=t[13];else{const e=t[9];e&&(i=e)}if(!i){for(;t&&!t[4]&&t!==e;)Oe(t)&&Wr(t[1],t),t=Vr(t,e);null===t&&(t=e),Oe(t)&&Wr(t[1],t),i=t&&t[4]}t=i}}(t)}}function Vr(e,t){let i;return Oe(e)&&(i=e[6])&&2===i.type?Er(i,e):e[3]===t?null:e[3]}function Wr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let n=0;n=0?e[o]():e[-o].unsubscribe(),n+=2}else i[n].call(e[i[n+1]]);t[7]=null}}(e,t);const i=t[6];i&&3===i.type&&Dt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Pe(t[3])){n!==t[3]&&Rr(n,t);const i=t[5];null!==i&&i.detachView(e)}}}function Fr(e,t,i){let n=t.parent;for(;null!=n&&(4===n.type||5===n.type);)n=(t=n).parent;if(null==n){const e=i[6];return 2===e.type?Ar(e,i):i[0]}if(t&&5===t.type&&4&t.flags)return sn(t,i).parentNode;if(2&n.flags){const t=e.data,i=t[t[n.index].directiveStart].encapsulation;if(i!==me.ShadowDom&&i!==me.Native)return null}return sn(n,i)}function Hr(e,t,i,n){Dt(e)?e.insertBefore(t,i,n):t.insertBefore(i,n,!0)}function Br(e,t,i){Dt(e)?e.appendChild(t,i):t.appendChild(i)}function zr(e,t,i,n){null!==n?Hr(e,t,i,n):Br(e,t,i)}function Nr(e,t){return Dt(e)?e.parentNode(t):t.parentNode}function Ur(e,t){if(2===e.type){const i=Er(e,t);return null===i?null:$r(i.indexOf(t,9)-9,i)}return 4===e.type||5===e.type?sn(e,t):null}function qr(e,t,i,n){const r=Fr(e,n,t);if(null!=r){const e=t[11],s=Ur(n.parent||t[6],t);if(Array.isArray(i))for(let t=0;t-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}onDestroy(e){var t,i,n;t=this._lView[1],n=e,kr(i=this._lView).push(n),t.firstCreatePass&&xr(t).push(i[7].length-1,null)}markForCheck(){yr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){vr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){Ze(!0);try{vr(e,t,i)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,Gr(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class is extends ts{constructor(e){super(e),this._view=e}detectChanges(){wr(this._view)}checkNoChanges(){!function(e){Ze(!0);try{wr(e)}finally{Ze(!1)}}(this._view)}get context(){return null}}let ns,rs,ss;function as(e,t,i){return ns||(ns=class extends e{}),new ns(sn(t,i))}function os(e,t,i,n){return rs||(rs=class extends e{constructor(e,t,i){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=Hn(this._declarationView,t,e,16,null,t.node);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[5];null!==n&&(i[5]=n.createEmbeddedView(t)),zn(t,i,e);const r=new ts(i);return r._tViewNode=i[6],r}}),0===i.type?new rs(n,i,as(t,i,n)):null}function cs(e,t,i,n){let r;ss||(ss=class extends e{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostView=i}get element(){return as(t,this._hostTNode,this._hostView)}get injector(){return new ri(this._hostTNode,this._hostView)}get parentInjector(){const e=Kt(this._hostTNode,this._hostView),t=Yt(e,this._hostView),i=function(e,t,i){if(i.parent&&-1!==i.parent.injectorIndex){const e=i.parent.injectorIndex;let t=i.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let n=jt(e),r=t,s=t[6];for(;n>1;)r=r[15],s=r[6],n--;return s}(e,this._hostView,this._hostTNode);return It(e)&&null!=i?new ri(i,t):new ri(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-9}createEmbeddedView(e,t,i){const n=e.createEmbeddedView(t||{});return this.insert(n,i),n}createComponent(e,t,i,n,r){const s=i||this.parentInjector;if(!r&&null==e.ngModule&&s){const e=s.get(re,null);e&&(r=e)}const a=e.create(s,n,void 0,r);return this.insert(a.hostView,t),a}insert(e,t){const i=e._lView,n=i[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Pe(i[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=i[3],n=new ss(t,t[6],t[3]);n.detach(n.indexOf(e))}}const r=this._adjustIndex(t);return function(e,t,i,n){const r=9+n,s=i.length;n>0&&(i[r-1][4]=t),n{class e{}return e.__NG_ELEMENT_ID__=()=>us(),e})();const us=ls,hs=new z("Set Injector scope."),fs={},ps={},ms=[];let _s=void 0;function bs(){return void 0===_s&&(_s=new ne),_s}function gs(e,t=null,i=null,n){return t=t||bs(),new ys(e,i,t,n)}class ys{constructor(e,t,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];t&&oe(t,i=>this.processProvider(i,e,t)),oe([e],e=>this.processInjectorType(e,[],r)),this.records.set(N,Cs(void 0,this));const s=this.records.get(hs);this.scope=null!=s?s.value:null,this.injectorDefTypes.forEach(e=>this.get(e)),this.source=n||("object"==typeof e?null:M(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=U,i=f.Default){this.assertNotDestroyed();const n=G(this);try{if(!(i&f.SkipSelf)){let t=this.records.get(e);if(void 0===t){const i=("function"==typeof(r=e)||"object"==typeof r&&r instanceof z)&&g(e);t=i&&this.injectableDefInScope(i)?Cs(vs(e),fs):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(i&f.Self?bs():this.parent).get(e,t=i&f.Optional&&t===U?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(M(e)),n)throw s;return function(e,t,i,n){const r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,i,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=M(t);if(Array.isArray(t))r=t.map(M).join(" -> ");else if("object"==typeof t){let e=[];for(let i in t)if(t.hasOwnProperty(i)){let n=t[i];e.push(i+":"+("string"==typeof n?JSON.stringify(n):M(n)))}r=`{${e.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${e.replace(q,"\n ")}`}("\n"+e.message,r,i,n),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{G(n)}var r}toString(){const e=[];return this.records.forEach((t,i)=>e.push(M(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,i){if(!(e=E(e)))return!1;let n=v(e);const r=null==n&&e.ngModule||void 0,s=void 0===r?e:r,a=-1!==i.indexOf(s);if(void 0!==r&&(n=v(r)),null==n)return!1;if(null!=n.imports&&!a){let e;i.push(s);try{oe(n.imports,n=>{this.processInjectorType(n,t,i)&&(void 0===e&&(e=[]),e.push(n))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,i,n||ms))}}this.injectorDefTypes.add(s),this.records.set(s,Cs(n.factory,fs));const o=n.providers;if(null!=o&&!a){const t=e;oe(o,e=>this.processProvider(e,t,o))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,i){let n=ks(e=E(e))?e:E(e&&e.provide);const r=function(e,t,i){return Ss(e)?Cs(void 0,e.useValue):Cs(ws(e,t,i),fs)}(e,t,i);if(ks(e)||!0!==e.multi){const e=this.records.get(n);e&&void 0!==e.multi&&_n()}else{let t=this.records.get(n);t?void 0===t.multi&&_n():(t=Cs(void 0,fs,!0),t.factory=()=>ie(t.multi),this.records.set(n,t)),n=e,t.multi.push(e)}this.records.set(n,r)}hydrate(e,t){var i;return t.value===ps?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(M(e)):t.value===fs&&(t.value=ps,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(i=t.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function vs(e){const t=g(e),i=null!==t?t.factory:Ee(e);if(null!==i)return i;const n=v(e);if(null!==n)return n.factory;if(e instanceof z)throw new Error(`Token ${M(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const i=de(t,"?");throw new Error(`Can't resolve all parameters for ${M(e)}: (${i.join(", ")}).`)}const i=function(e){const t=e&&(e[w]||e[k]||e[S]&&e[S]());if(t){const i=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function ws(e,t,i){let n=void 0;if(ks(e)){const t=E(e);return Ee(t)||vs(t)}if(Ss(e))n=()=>E(e.useValue);else if((r=e)&&r.useFactory)n=()=>e.useFactory(...ie(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))n=()=>Q(E(e.useExisting));else{const r=E(e&&(e.useClass||e.provide));if(r||function(e,t,i){let n="";throw e&&t&&(n=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==i?"?"+i+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${M(e)}'`+n)}(t,i,e),!function(e){return!!e.deps}(e))return Ee(r)||vs(r);n=()=>new r(...ie(e.deps))}var r;return n}function Cs(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Ss(e){return null!==e&&"object"==typeof e&&$ in e}function ks(e){return"function"==typeof e}const xs=function(e,t,i){return gs({name:i},t,e,i)};let Ms=(()=>{class e{static create(e,t){return Array.isArray(e)?xs(e,t,""):xs(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=U,e.NULL=new ne,e.\u0275prov=_({token:e,providedIn:"any",factory:()=>Q(N)}),e.__NG_ELEMENT_ID__=-1,e})();const Ds=new z("AnalyzeForEntryComponents");let Ls=new Map;const Ts=new Set;function Es(e){return"string"==typeof e?e:e.text()}function As(e,t){let i=e.styles,n=e.classes,r=0;for(let s=0;so(nn(e[n.index])).target:n.index;if(Dt(i)){let a=null;if(!o&&c&&(a=function(e,t,i,n){const r=e.cleanup;if(null!=r)for(let s=0;si?e[i]:null}"string"==typeof e&&(s+=2)}return null}(e,t,r,n.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,u=!1;else{s=ha(n,t,s,!1);const e=i.listen(f.name||p,r,s);d.push(s,e),l&&l.push(r,_,m,m+1)}}else s=ha(n,t,s,!0),p.addEventListener(r,s,a),d.push(s),l&&l.push(r,_,m,a)}const h=n.outputs;let f;if(u&&null!==h&&(f=h[r])){const e=f.length;if(e)for(let i=0;i0;)t=t[15],e--;return t}(e,We.lFrame.contextLView))[8]}(e)}function pa(e,t){let i=null;const n=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r=0}const xa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ma(e){return e.substring(xa.key,xa.keyEnd)}function Da(e,t){const i=xa.textEnd;return i===t?-1:(t=xa.keyEnd=function(e,t,i){for(;t32;)t++;return t}(e,xa.key=t,i),La(e,t,i))}function La(e,t,i){for(;t=0;i=Da(t,i))ue(e,Ma(t),!0)}function Pa(e,t,i,n){const r=ze(),s=Ne(),a=it(2);if(s.firstUpdatePass&&ja(s,e,a,n),t!==Dn&&Fs(r,a,t)){let o;null==i&&(o=function(){const e=We.lFrame;return null===e?null:e.currentSanitizer}())&&(i=o),Wa(s,s.data[ft()+19],r,r[11],e,r[a+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=M(_i(e)))),e}(t,i),n,a)}}function Ia(e,t,i,n){const r=Ne(),s=it(2);r.firstUpdatePass&&ja(r,null,s,n);const a=ze();if(i!==Dn&&Fs(a,s,i)){const o=r.data[ft()+19];if(Ba(o,n)&&!Ra(r,s)){let e=n?o.classes:o.styles;null!==e&&(i=D(e,i||"")),Xs(r,o,a,i,n)}else!function(e,t,i,n,r,s,a,o){r===Dn&&(r=Ca);let c=0,l=0,d=0=e.expandoStartIndex}function ja(e,t,i,n){const r=e.data;if(null===r[i+1]){const s=r[ft()+19],a=Ra(e,i);Ba(s,n)&&null===t&&!a&&(t=!1),t=function(e,t,i,n){const r=function(e){const t=We.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(i=Va(i=Ya(null,e,t,i,n),t.attrs,n),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(i=Ya(r,e,t,i,n),null===s){let i=function(e,t,i){const n=i?t.classBindings:t.styleBindings;if(0!==jn(n))return e[In(n)]}(e,t,n);void 0!==i&&Array.isArray(i)&&(i=Ya(null,e,t,i[1],n),i=Va(i,t.attrs,n),function(e,t,i,n){e[In(i?t.classBindings:t.styleBindings)]=n}(e,t,n,i))}else s=function(e,t,i){let n=void 0;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(d=!0)}else l=i;if(r)if(0!==c){const t=In(e[o+1]);e[n+1]=Pn(t,o),0!==t&&(e[t+1]=Yn(e[t+1],n)),e[o+1]=131071&e[o+1]|n<<17}else e[n+1]=Pn(o,0),0!==o&&(e[o+1]=Yn(e[o+1],n)),o=n;else e[n+1]=Pn(c,0),0===o?o=n:e[c+1]=Yn(e[c+1],n),c=n;d&&(e[n+1]=Rn(e[n+1])),Sa(e,l,n,!0),Sa(e,l,n,!1),function(e,t,i,n,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&fe(s,t)>=0&&(i[n+1]=Vn(i[n+1]))}(t,l,e,n,s),a=Pn(o,c),s?t.classBindings=a:t.styleBindings=a}(r,s,t,i,a,n)}}function Ya(e,t,i,n,r){let s=null;const a=i.directiveEnd;let o=i.directiveStylingLast;for(-1===o?o=i.directiveStart:o++;o0;){const t=e[r],s=Array.isArray(t),c=s?t[1]:t,l=null===c;let d=i[r+1];d===Dn&&(d=l?Ca:void 0);let u=l?he(d,n):c===n?d:void 0;if(s&&!Ha(u)&&(u=he(t,n)),Ha(u)&&(o=u,a))return o;const h=e[r+1];r=a?In(h):jn(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(o=he(e,n))}return o}function Ha(e){return void 0!==e}function Ba(e,t){return 0!=(e.flags&(t?16:32))}function za(e,t=""){const i=ze(),n=Ne(),r=e+19,s=n.firstCreatePass?Bn(n,i[6],e,3,null,null):n.data[r],a=i[r]=Pr(t,i[11]);qr(n,i,a,s),$e(s,!1)}function Na(e){return Ua("",e,""),Na}function Ua(e,t,i){const n=ze(),r=Ns(n,e,t,i);return r!==Dn&&Tr(n,ft(),r),Ua}function qa(e,t,i,n,r){const s=ze(),a=Us(s,e,t,i,n,r);return a!==Dn&&Tr(s,ft(),a),qa}function $a(e,t,i,n,r,s,a){const o=ze(),c=function(e,t,i,n,r,s,a,o){const c=function(e,t,i,n,r){const s=Hs(e,t,i,n);return Fs(e,t+2,r)||s}(e,Qe(),i,r,a);return it(3),c?t+Vt(i)+n+Vt(r)+s+Vt(a)+o:Dn}(o,e,t,i,n,r,s,a);return c!==Dn&&Tr(o,ft(),c),$a}function Ja(e,t,i,n,r,s,a,o,c){const l=ze(),d=function(e,t,i,n,r,s,a,o,c,l){const d=Bs(e,Qe(),i,r,a,c);return it(4),d?t+Vt(i)+n+Vt(r)+s+Vt(a)+o+Vt(c)+l:Dn}(l,e,t,i,n,r,s,a,o,c);return d!==Dn&&Tr(l,ft(),d),Ja}function Ka(e,t,i,n,r,s,a,o,c,l,d,u,h,f,p,m,_){const b=ze(),g=function(e,t,i,n,r,s,a,o,c,l,d,u,h,f,p,m,_,b){const g=Qe();let y=Bs(e,g,i,r,a,c);return y=Bs(e,g+4,d,h,p,_)||y,it(8),y?t+Vt(i)+n+Vt(r)+s+Vt(a)+o+Vt(c)+l+Vt(d)+u+Vt(h)+f+Vt(p)+m+Vt(_)+b:Dn}(b,e,t,i,n,r,s,a,o,c,l,d,u,h,f,p,m,_);return g!==Dn&&Tr(b,ft(),g),Ka}function Ga(e){const t=ze(),i=function(e,t){let i=!1,n=Qe();for(let s=1;s=0;n--){const r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Ot(r.hostAttrs,i=Ot(i,r.hostAttrs))}}(n)}function io(e){return e===be?{}:e===ge?[]:e}function no(e,t){const i=e.viewQuery;e.viewQuery=i?(e,n)=>{t(e,n),i(e,n)}:t}function ro(e,t){const i=e.contentQueries;e.contentQueries=i?(e,n,r)=>{t(e,n,r),i(e,n,r)}:t}function so(e,t){const i=e.hostBindings;e.hostBindings=i?(e,n)=>{t(e,n),i(e,n)}:t}class ao{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function oo(){return co.ngInherit=!0,co}function co(e){e.type.prototype.ngOnChanges&&(e.setInput=lo,e.onChanges=function(){const e=uo(this),t=e&&e.current;if(t){const i=e.previous;if(i===be)e.previous=t;else for(let e in t)i[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function lo(e,t,i,n){const r=uo(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:be,current:null}),s=r.current||(r.current={}),a=r.previous,o=this.declaredInputs[i],c=a[o];s[o]=new ao(c&&c.currentValue,t,a===be),e[n]=t}function uo(e){return e.__ngSimpleChanges__||null}function ho(e,t,i,n,r){if(e=E(e),Array.isArray(e))for(let s=0;s>16;if(ks(e)||!e.multi){const n=new St(c,r,Js),f=mo(o,t,r?d:d+h,u);-1===f?(Gt(qt(l,a),s,o),fo(s,e,t.length),t.push(o),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),i.push(n),a.push(n)):(i[f]=n,a[f]=n)}else{const f=mo(o,t,d+h,u),p=mo(o,t,d,d+h),m=f>=0&&i[f],_=p>=0&&i[p];if(r&&!_||!r&&!m){Gt(qt(l,a),s,o);const d=function(e,t,i,n,r){const s=new St(e,i,Js);return s.multi=[],s.index=t,s.componentProviders=0,po(s,r,n&&!i),s}(r?bo:_o,i.length,r,n,c);!r&&_&&(i[p].providerFactory=d),fo(s,e,t.length),t.push(o),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),i.push(d),a.push(d)}else fo(s,e,f>-1?f:p),po(i[r?p:f],c,!r&&n);!r&&n&&_&&i[p].componentProviders++}}}function fo(e,t,i){if(ks(t)||t.useClass){const n=(t.useClass||t).prototype.ngOnDestroy;n&&(e.destroyHooks||(e.destroyHooks=[])).push(i,n)}}function po(e,t,i){e.multi.push(t),i&&e.componentProviders++}function mo(e,t,i,n){for(let r=i;r{i.providersResolver=(i,n)=>function(e,t,i){const n=Ne();if(n.firstCreatePass){const r=Ye(e);ho(i,n.data,n.blueprint,r,!0),ho(t,n.data,n.blueprint,r,!1)}}(i,n?n(e):e,t)}}class vo{}class wo{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${M(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Co=(()=>{class e{}return e.NULL=new wo,e})(),So=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>ko(e),e})();const ko=function(e){return as(e,qe(),ze())};class xo{}const Mo=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Do=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Lo(),e})();const Lo=function(){const e=ze(),t=cn(qe().index,e);return function(e){const t=e[11];if(Dt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Oe(t)?t:e)};let To=(()=>{class e{}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null}),e})();class Eo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Ao=new Eo("9.0.4");class Oo{constructor(){}supports(e){return js(e)}create(e){return new Io(e)}}const Po=(e,t)=>t;class Io{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Po}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,n=0,r=null;for(;t||i;){const s=!i||t&&t.currentIndex{n=this._trackByFn(t,e),null!==r&&Is(r.trackById,n)?(s&&(r=this._verifyReinsertion(r,e,n,t)),Is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,n,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,i,n){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,n)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,n)):e=this._addAfter(new Ro(t,i),r,n),e}_verifyReinsertion(e,t,i,n){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?e=this._reinsertAfter(r,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const n=e._prevRemoved,r=e._nextRemoved;return null===n?this._removalsHead=r:n._nextRemoved=r,null===r?this._removalsTail=n:r._prevRemoved=n,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const n=null===t?this._itHead:t._next;return e._next=n,e._prev=t,null===n?this._itTail=e:n._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Yo),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Ro{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class jo{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Is(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class Yo{constructor(){this.map=new Map}put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new jo,this.map.set(t,i)),i.add(e)}get(e,t){const i=this.map.get(e);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Vo(e,t,i){const n=e.previousIndex;if(null===n)return n;let r=0;return i&&n{if(t&&t.key===i)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const n=this._getOrCreateRecordForKey(i,e);t=this._insertBeforeOrAppend(t,n)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,t);const n=i._prev,r=i._next;return n&&(n._next=r),r&&(r._prev=n),i._next=null,i._prev=null,i}const i=new Ho(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(i=>t(e[i],i))}}class Ho{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Bo=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(null!=i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,i)},deps:[[e,new h,new d]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${i=e,i.name||typeof i}'`);var i}}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e([new Oo])}),e})(),zo=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,i)},deps:[[e,new h,new d]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e([new Wo])}),e})();const No=[new Wo],Uo=new Bo([new Oo]),qo=new zo(No);let $o=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Jo(e,So),e})();const Jo=function(e,t){return os(e,t,qe(),ze())};let Ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Go(e,So),e})();const Go=function(e,t){return cs(e,t,qe(),ze())},Zo={};class Xo extends Co{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Te(e);return new tc(t,this.ngModule)}}function Qo(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const ec=new z("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ft});class tc extends vo{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Mn).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Qo(this.componentDef.inputs)}get outputs(){return Qo(this.componentDef.outputs)}create(e,t,i,n){const r=(n=n||this.ngModule)?function(e,t){return{get:(i,n,r)=>{const s=e.get(i,Zo,r);return s!==Zo||n===Zo?s:t.get(i,n,r)}}}(e,n.injector):e,s=r.get(xo,Lt),a=r.get(To,null),o=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=i?function(e,t,i){if(Dt(e))return e.selectRootElement(t,i===me.ShadowDom);let n="string"==typeof t?e.querySelector(t):t;return n.textContent="",n}(o,i,this.componentDef.encapsulation):Fn(c,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),d=this.componentDef.onPush?576:528,u="string"==typeof i&&/^#root-ng-internal-isolated-\d+/.test(i),h={components:[],scheduler:Ft,clean:Sr,playerHandler:null,flags:0},f=Zn(0,-1,null,1,0,null,null,null,null,null),p=Hn(null,f,h,d,null,null,s,o,a,r);let m,_;ot(p,null);try{const e=function(e,t,i,n,r,s){const a=i[1];i[19]=e;const o=Bn(a,null,0,3,null,null),c=o.mergedAttrs=t.hostAttrs;null!==c&&(As(o,c),null!==e&&(Tt(r,e,c),null!==o.classes&&es(r,e,o.classes),null!==o.styles&&Qr(r,e,o.styles)));const l=n.createRenderer(e,t),d=Hn(i,Gn(t),null,t.onPush?64:16,i[19],o,n,l,void 0);return a.firstCreatePass&&(Gt(qt(o,i),a,t.type),ar(a,o),cr(o,i.length,1)),gr(i,d),i[19]=d}(l,this.componentDef,p,s,o);if(l)if(i)Tt(o,l,["ng-version",Ao.full]);else{const{attrs:e,classes:t}=function(e){const t=[],i=[];let n=1,r=2;for(;n0&&es(o,l,t.join(" "))}_=an(p[1],0),t&&(_.projection=t.map(e=>Array.from(e))),m=function(e,t,i,n,r){const s=i[1],a=function(e,t,i){const n=qe();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),sr(e,n,1),lr(e,t,i));const r=ti(t,e,t.length-1,n);pn(r,t);const s=sn(n,t);return s&&pn(s,t),r}(s,i,t);n.components.push(a),e[8]=a,r&&r.forEach(e=>e(a,t)),t.contentQueries&&t.contentQueries(1,a,i.length-1);const o=qe();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){pt(o.index-19);const e=i[1];ir(e,t),nr(e,i,t.hostVars),rr(t,a)}return a}(e,this.componentDef,p,h,[eo]),zn(f,p,null)}finally{ht()}const b=new ic(this.componentType,m,as(So,_,p),p,_);return i&&!u||(b.hostView._tViewNode.child=_),b}}class ic extends class{}{constructor(e,t,i,n,r){super(),this.location=i,this._rootLView=n,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new is(n),this.hostView._tViewNode=function(e,t,i,n){let r=e.node;return null==r&&(e.node=r=Xn(0,null,2,-1,null,null)),n[6]=r}(n[1],0,0,n),this.componentType=e}get injector(){return new ri(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const nc=void 0;var rc=["en",[["a","p"],["AM","PM"],nc],[["AM","PM"],nc,nc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],nc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],nc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nc,"{1} 'at' {0}",nc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let sc={};function ac(e,t,i){"string"!=typeof t&&(i=t,t=e[uc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),sc[t]=e,i&&(sc[t][uc.ExtraData]=i)}function oc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=dc(t);if(i)return i;const n=t.split("-")[0];if(i=dc(n),i)return i;if("en"===n)return rc;throw new Error(`Missing locale data for the locale "${e}".`)}function cc(e){return oc(e)[uc.CurrencyCode]||null}function lc(e){return oc(e)[uc.PluralCase]}function dc(e){return e in sc||(sc[e]=R.ng&&R.ng.common&&R.ng.common.locales&&R.ng.common.locales[e]),sc[e]}const uc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),hc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,pc=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,mc=/\ufffd(\d+):?\d*\ufffd/gi,_c=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi;function bc(e){if(!e)return[];let t=0;const i=[],n=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const r=s.index;if("}"==s[0]){if(i.pop(),0==i.length){const i=e.substring(t,r);hc.test(i)?n.push(gc(i)):n.push(i),t=r+1}}else{if(0==i.length){const i=e.substring(t,r);n.push(i),t=r+1}i.push("{")}}const a=e.substring(t);return n.push(a),n}function gc(e){const t=[],i=[];let n=1,r=0;const s=bc(e=e.replace(hc,(function(e,t,i){return n="select"===i?0:1,r=parseInt(t.substr(1),10),""})));for(let a=0;ai.length&&i.push(r)}return{type:n,mainBinding:r,cases:t,values:i}}function yc(e){let t,i,n="",r=0,s=!1;for(;null!==(t=fc.exec(e));)s?t[0]===`\ufffd/*${i}\ufffd`&&(r=t.index,s=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],s=!0);return n+=e.substr(r),n}function vc(e,t,i,n=null){const r=[null,null],s=e.split(mc);let a=0;for(let o=0;o>>17;let d;d=r===e?n[6]:an(i,r),a=Dc(i,s,d,a,n);break;case 0:const u=l>=0,h=(u?l:~l)>>>3;o.push(h),a=s,s=an(i,h),s&&$e(s,u);break;case 5:a=s=an(i,l>>>3),$e(s,!1);break;case 4:ur(l>>>3,t[++c],t[++c],i,n);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case On:const e=t[++c],d=t[++c],u=r.createComment(e);a=s,s=Lc(i,n,d,5,u,null),o.push(d),pn(u,n),s.activeCaseIndex=null,Ke();break;case An:const h=t[++c],f=t[++c];a=s,s=Lc(i,n,f,3,r.createElement(h),h),o.push(f);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}}return Ke(),o}function Ec(e,t,i,n){const r=an(e,i),s=rn(i,t);s&&Jr(t[11],s);const a=on(t,i);if(Pe(a)){const e=a;0!==r.type&&Jr(t[11],e[7])}n&&(r.flags|=64)}function Ac(e,t,i){(function(e,t,i){const n=Ne();Cc[++Sc]=e,ba(!0),n.firstCreatePass&&null===n.data[e+19]&&function(e,t,i,n,r){const s=t.blueprint.length-19;Mc=0;const a=qe(),o=Je()?a:a&&a.parent;let c=o&&o!==e[6]?o.index-19:i,l=0;xc[l]=c;const d=[];if(i>0&&a!==o){let e=a.index-19;Je()||(e=~e),d.push(e<<3|0)}const u=[],h=[],f=(p=function(e,t){if("number"!=typeof t)return yc(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,n=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return yc(e.substring(i,n))}}(n,r),p.replace(Hc," ")).split(pc);var p;for(let m=0;m0&&function(e,t,i){if(i>0&&e.firstCreatePass){for(let n=0;n>1),a++}}(Ne(),e),ba(!1)}()}function Oc(e,t){!function(e,t,i,n){const r=qe().index-19,s=[];for(let a=0;a>>2;let h,f,p;switch(3&l){case 1:er(s,a,u,t[++d],o,t[++d]);break;case 0:Tr(a,u,o);break;case 2:if(h=t[++d],f=i[h],p=an(s,u),null!==p.activeCaseIndex){const e=f.remove[p.activeCaseIndex];for(let t=0;t>>3,!1);break;case 6:const r=an(s,e[t+1]>>>3).activeCaseIndex;null!==r&&ae(i[n>>>3].remove[r],e)}}}const l=Yc(f,o);p.activeCaseIndex=-1!==l?l:null,l>-1&&(Tc(-1,f.create[l],s,a),c=!0);break;case 3:h=t[++d],f=i[h],p=an(s,u),null!==p.activeCaseIndex&&e(f.update[p.activeCaseIndex],i,n,r,s,a,c)}}}}l+=u}}(n,r,s,Pc,t,a),Pc=0,Ic=0}}function Yc(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const n=function(e,t){switch(lc(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,Bc);i=e.cases.indexOf(n),-1===i&&"other"!==n&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return i}function Vc(e,t,i,n){const r=[],s=[],a=[],o=[],c=[];for(let l=0;l null != ${t} <=Actual]`)}(i,t),"string"==typeof e&&(Bc=e.toLowerCase().replace(/_/g,"-"))}const Nc=new Map;class Uc extends re{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Xo(this);const i=Ae(e),n=e[F]||null;n&&zc(n),this._bootstrapComponents=Bt(i.bootstrap),this._r3Injector=gs(e,t,[{provide:re,useValue:this},{provide:Co,useValue:this.componentFactoryResolver}],M(e)),this.instance=this.get(e)}get(e,t=Ms.THROW_IF_NOT_FOUND,i=f.Default){return e===Ms||e===re||e===N?this:this._r3Injector.get(e,t,i)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class qc extends se{constructor(e){super(),this.moduleType=e,null!==Ae(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${M(t)} vs ${M(t.name)}`)})(e,Nc.get(e),t),Nc.set(e,t)}let i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(t=>e(t))}(e)}create(e){return new Uc(this.moduleType,e)}}function $c(e,t,i){const n=Xe()+e,r=ze();return r[n]===Dn?Vs(r,n,i?t.call(i):t()):Ws(r,n)}function Jc(e,t,i,n){return Gc(ze(),Xe(),e,t,i,n)}function Kc(e,t,i,n,r){return function(e,t,i,n,r,s,a){const o=t+i;return Hs(e,o,r,s)?Vs(e,o+2,a?n.call(a,r,s):n(r,s)):Ws(e,o+2)}(ze(),Xe(),e,t,i,n,r)}function Gc(e,t,i,n,r,s){const a=t+i;return Fs(e,a,r)?Vs(e,a+1,s?n.call(s,r):n(r)):Ws(e,a+1)}function Zc(e,t){const i=Ne();let n;const r=e+19;i.firstCreatePass?(n=function(e,t){if(t)for(let i=t.length-1;i>=0;i--){const n=t[i];if(e===n.name)return n}throw new Error(`The pipe '${e}' could not be found!`)}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];const s=n.factory||(n.factory=Ee(n.type)),a=Z(Js),o=s();return Z(a),function(e,t,i,n){const r=i+19;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}(i,ze(),e,o),o}function Xc(e,t,i){const n=ze(),r=on(n,e);return function(e,t){return Rs.isWrapped(t)&&(t=Rs.unwrap(t),e[Qe()]=Dn),t}(n,function(e,t){return e[1].data[t+19].pure}(n,e)?Gc(n,Xe(),t,r.transform,i,r):r.transform(i))}class Qc extends n.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let n,s=e=>null,a=()=>null;e&&"object"==typeof e?(n=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(a=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(n=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),i&&(a=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const o=super.subscribe(n,s,a);return e instanceof r.a&&e.add(o),o}}function el(){return this._results[Ps()]()}class tl{constructor(){this.dirty=!0,this._results=[],this.changes=new Qc,this.length=0;const e=Ps(),t=tl.prototype;t[e]||(t[e]=el)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,i){void 0===i&&(i=t);for(let n=0;n0)r.push(o[t/2]);else{const s=a[t+1],o=i[-n];for(let t=9;t{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Q(Cl,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const kl=new z("AppId"),xl={provide:kl,useFactory:function(){return`${Ml()}${Ml()}${Ml()}`},deps:[]};function Ml(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Dl=new z("Platform Initializer"),Ll=new z("Platform ID"),Tl=new z("appBootstrapListener");let El=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Al=new z("LocaleId"),Ol=new z("DefaultCurrencyCode");class Pl{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Il=function(e){return new qc(e)},Rl=Il,jl=function(e){return Promise.resolve(Il(e))},Yl=function(e){const t=Il(e),i=Bt(Ae(e).declarations).reduce((e,t)=>{const i=Te(t);return i&&e.push(new tc(i)),e},[]);return new Pl(t,i)},Vl=Yl,Wl=function(e){return Promise.resolve(Yl(e))};let Fl=(()=>{class e{constructor(){this.compileModuleSync=Rl,this.compileModuleAsync=jl,this.compileModuleAndAllComponentsSync=Vl,this.compileModuleAndAllComponentsAsync=Wl}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Hl=new z("compilerOptions"),Bl=(()=>Promise.resolve(0))();function zl(e){"undefined"==typeof Zone?Bl.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Nl{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Qc(!1),this.onMicrotaskEmpty=new Qc(!1),this.onStable=new Qc(!1),this.onError=new Qc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=R.requestAnimationFrame,t=R.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(R,()=>{e.lastRequestAnimationFrameId=-1,Jl(e),$l(e)}),Jl(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(i,n,r,s,a,o)=>{try{return Kl(e),i.invokeTask(r,s,a,o)}finally{t&&"eventTask"===s.type&&t(),Gl(e)}},onInvoke:(t,i,n,r,s,a,o)=>{try{return Kl(e),t.invoke(n,r,s,a,o)}finally{Gl(e)}},onHasTask:(t,i,n,r)=>{t.hasTask(n,r),i===n&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Jl(e),$l(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,i,n,r)=>(t.handleError(n,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Nl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Nl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,n){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+n,e,ql,Ul,Ul);try{return r.runTask(s,t,i)}finally{r.cancelTask(s)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}function Ul(){}const ql={};function $l(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Jl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Kl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gl(e){e._nesting--,$l(e)}class Zl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qc,this.onMicrotaskEmpty=new Qc,this.onStable=new Qc,this.onError=new Qc}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}}let Xl=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Nl.assertNotInAngularZone(),zl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zl(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,i){let n=-1;t&&t>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==n),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:n,updateCb:i})}whenStable(e,t,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(Q(Nl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})(),Ql=(()=>{class e{constructor(){this._applications=new Map,nd.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return nd.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();class ed{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}function td(e){nd=e}let id,nd=new ed,rd=function(e,t,i){const n=new qc(i);if(0===Ls.size)return Promise.resolve(n);const r=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(e.get(Hl,[]).concat(t).map(e=>e.providers));if(0===r.length)return Promise.resolve(n);const s=function(){const e=R.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),a=Ms.create({providers:r}).get(s.ResourceLoader);return function(e){const t=[],i=new Map;function n(e){let t=i.get(e);if(!t){const n=(e=>Promise.resolve(a.get(e)))(e);i.set(e,t=n.then(Es))}return t}return Ls.forEach((e,i)=>{const r=[];e.templateUrl&&r.push(n(e.templateUrl).then(t=>{e.template=t}));const s=e.styleUrls,a=e.styles||(e.styles=[]),o=e.styles.length;s&&s.forEach((t,i)=>{a.push(""),r.push(n(t).then(n=>{a[o+i]=n,s.splice(s.indexOf(t),1),0==s.length&&(e.styleUrls=void 0)}))});const c=Promise.all(r).then(()=>function(e){Ts.delete(e)}(i));t.push(c)}),Ls=new Map,Promise.all(t).then(()=>{})}().then(()=>n)};const sd=new z("AllowMultipleToken");class ad{constructor(e,t){this.name=e,this.token=t}}function od(e,t,i=[]){const n=`Platform: ${t}`,r=new z(n);return(t=[])=>{let s=cd();if(!s||s.injector.get(sd,!1))if(e)e(i.concat(t).concat({provide:r,useValue:!0}));else{const e=i.concat(t).concat({provide:r,useValue:!0},{provide:hs,useValue:"platform"});!function(e){if(id&&!id.destroyed&&!id.injector.get(sd,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");id=e.get(ld);const t=e.get(Dl,null);t&&t.forEach(e=>e())}(Ms.create({providers:e,name:n}))}return function(e){const t=cd();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function cd(){return id&&!id.destroyed?id:null}let ld=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const i=function(e,t){let i;return i="noop"===e?new Zl:("zone.js"===e?void 0:e)||new Nl({enableLongStackTrace:Mi(),shouldCoalesceEventChangeDetection:t}),i}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),n=[{provide:Nl,useValue:i}];return i.run(()=>{const t=Ms.create({providers:n,parent:this.injector,name:e.moduleType.name}),r=e.create(t),s=r.injector.get(li,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>hd(this._modules,r)),i.runOutsideAngular(()=>i.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,i){try{const n=i();return aa(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(s,i,()=>{const e=r.injector.get(Sl);return e.runInitializers(),e.donePromise.then(()=>(zc(r.injector.get(Al,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const i=dd({},t);return rd(this.injector,i,e).then(e=>this.bootstrapModuleFactory(e,i))}_moduleDoBootstrap(e){const t=e.injector.get(ud);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${M(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Q(Ms))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function dd(e,t){return Array.isArray(t)?t.reduce(dd,e):Object.assign(Object.assign({},e),t)}let ud=(()=>{class e{constructor(e,t,i,n,r,c){this._zone=e,this._console=t,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Mi(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),d=new s.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Nl.assertNotInAngularZone(),zl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{Nl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),i.unsubscribe()}});this.isStable=Object(a.a)(l,d.pipe(Object(o.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=e instanceof vo?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(re),r=i.create(Ms.NULL,[],t||i.selector,n);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(Xl,null);return s&&r.injector.get(Ql).registerApplication(r.location.nativeElement,s),this._loadComponent(r),Mi()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;hd(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Tl,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),hd(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Q(Nl),Q(El),Q(Ms),Q(li),Q(Co),Q(Sl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function hd(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class fd{}class pd{}const md={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let _d=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||md}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,n]=e.split("#");return void 0===n&&(n="default"),i("crnd")(t).then(e=>e[n]).then(e=>bd(e,t,n)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,n]=e.split("#"),r="NgFactory";return void 0===n&&(n="default",r=""),i("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[n+r]).then(e=>bd(e,t,n))}}return e.\u0275fac=function(t){return new(t||e)(Q(Fl),Q(pd,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function bd(e,t,i){if(!e)throw new Error(`Cannot find '${i}' in '${t}'`);return e}class gd extends ds{}class yd extends gd{}const vd=function(e){return null},wd=od(null,"core",[{provide:Ll,useValue:"unknown"},{provide:ld,deps:[Ms]},{provide:Ql,deps:[]},{provide:El,deps:[]}]),Cd=[{provide:ud,useClass:ud,deps:[Nl,El,Ms,li,Co,Sl]},{provide:ec,deps:[Nl],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Sl,useClass:Sl,deps:[[new d,Cl]]},{provide:Fl,useClass:Fl,deps:[]},xl,{provide:Bo,useFactory:function(){return Uo},deps:[]},{provide:zo,useFactory:function(){return qo},deps:[]},{provide:Al,useFactory:function(e){return zc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new l(Al),new d,new h]]},{provide:Ol,useValue:"USD"}];let Sd=(()=>{class e{constructor(e){}}return e.\u0275mod=ke({type:e}),e.\u0275inj=b({factory:function(t){return new(t||e)(Q(ud))},providers:Cd}),e})()}).call(this,i("aWmh"))},fZJM:function(e,t,i){var n=t;n.utils=i("w8CP"),n.common=i("7ckf"),n.sha=i("WRkp"),n.ripemd=i("u0Sq"),n.hmac=i("ITfd"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},fnjI:function(e,t,i){var n=i("P7XM"),r=i("tnIz"),s=i("hwdV").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function c(){this.init(),this._w=o,r.call(this,64,56)}function l(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function u(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,r=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,h=0;h<16;++h)i[h]=e.readInt32BE(4*h);for(;h<80;++h)i[h]=(t=i[h-3]^i[h-8]^i[h-14]^i[h-16])<<1|t>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=l(n)+u(p,r,s,o)+c+i[f]+a[p]|0;c=o,o=s,s=d(r),r=n,n=m}this._a=n+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},fzPg:function(e,t,i){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(i("wd/R"))},g2Dh:function(e,t,i){var n=i("Qd/k").Reporter,r=i("Qd/k").EncoderBuffer,s=i("Qd/k").DecoderBuffer,a=i("2j6C"),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function l(e,t){var i={};this._baseState=i,i.enc=e,i.parent=t||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}e.exports=l;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var e=this._baseState,t={};d.forEach((function(i){t[i]=e[i]}));var i=new this.constructor(t.parent);return i._baseState=t,i},l.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var i=new this.constructor(this);return e.children.push(i),i[t].apply(i,arguments)}}),this)},l.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){var t=this._baseState,i=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==i.length&&(a(null===t.children),t.children=i,i.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(i){i==(0|i)&&(i|=0),t[e[i]]=i})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){throw new Error(e+" not implemented for encoding: "+this._baseState.enc)}})),o.forEach((function(e){l.prototype[e]=function(){var t=this._baseState,i=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(i),this}})),l.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){var i=this._baseState;if(null===i.parent)return e.wrapResult(i.children[0]._decode(e,t));var n,r=i.default,a=!0,o=null;if(null!==i.key&&(o=e.enterKey(i.key)),i.optional){var c=null;if(null!==i.explicit?c=i.explicit:null!==i.implicit?c=i.implicit:null!==i.tag&&(c=i.tag),null!==c||i.any){if(a=this._peekTag(e,c,i.any),e.isError(a))return a}else{var l=e.save();try{null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),a=!0}catch(p){a=!1}e.restore(l)}}if(i.obj&&a&&(n=e.enterObject()),a){if(null!==i.explicit){var d=this._decodeTag(e,i.explicit);if(e.isError(d))return d;e=d}var u=e.offset;if(null===i.use&&null===i.choice){i.any&&(l=e.save());var h=this._decodeTag(e,null!==i.implicit?i.implicit:i.tag,i.any);if(e.isError(h))return h;i.any?r=e.raw(l):e=h}if(t&&t.track&&null!==i.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==i.tag&&t.track(e.path(),e.offset,e.length,"content"),r=i.any?r:null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),e.isError(r))return r;if(i.any||null!==i.choice||null===i.children||i.children.forEach((function(i){i._decode(e,t)})),i.contains&&("octstr"===i.tag||"bitstr"===i.tag)){var f=new s(r);r=this._getUse(i.contains,e._reporterState.obj)._decode(f,t)}}return i.obj&&a&&(r=e.leaveObject(n)),null===i.key||null===r&&!0!==a?null!==o&&e.exitKey(o):e.leaveKey(o,i.key,r),r},l.prototype._decodeGeneric=function(e,t,i){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],i):/str$/.test(e)?this._decodeStr(t,e,i):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],i):"objid"===e?this._decodeObjid(t,null,null,i):"gentime"===e||"utctime"===e?this._decodeTime(t,e,i):"null_"===e?this._decodeNull(t,i):"bool"===e?this._decodeBool(t,i):"objDesc"===e?this._decodeStr(t,e,i):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],i):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,i):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){var i=this._baseState;return i.useDecoder=this._use(e,t),a(null===i.useDecoder._baseState.parent),i.useDecoder=i.useDecoder._baseState.children[0],i.implicit!==i.useDecoder._baseState.implicit&&(i.useDecoder=i.useDecoder.clone(),i.useDecoder._baseState.implicit=i.implicit),i.useDecoder},l.prototype._decodeChoice=function(e,t){var i=this._baseState,n=null,r=!1;return Object.keys(i.choice).some((function(s){var a=e.save(),o=i.choice[s];try{var c=o._decode(e,t);if(e.isError(c))return!1;n={type:s,value:c},r=!0}catch(l){return e.restore(a),!1}return!0}),this),r?n:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},l.prototype._encode=function(e,t,i){var n=this._baseState;if(null===n.default||n.default!==e){var r=this._encodeValue(e,t,i);if(void 0!==r&&!this._skipDefault(r,t,i))return r}},l.prototype._encodeValue=function(e,t,i){var r=this._baseState;if(null===r.parent)return r.children[0]._encode(e,t||new n);var s=null;if(this.reporter=t,r.optional&&void 0===e){if(null===r.default)return;e=r.default}var a=null,o=!1;if(r.any)s=this._createEncoderBuffer(e);else if(r.choice)s=this._encodeChoice(e,t);else if(r.contains)a=this._getUse(r.contains,i)._encode(e,t),o=!0;else if(r.children)a=r.children.map((function(i){if("null_"===i._baseState.tag)return i._encode(null,t,e);if(null===i._baseState.key)return t.error("Child should have a key");var n=t.enterKey(i._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var r=i._encode(e[i._baseState.key],t,e);return t.leaveKey(n),r}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(i){return this._getUse(this._baseState.args[0],e)._encode(i,t)}),c))}else null!==r.use?s=this._getUse(r.use,i)._encode(e,t):(a=this._encodePrimitive(r.tag,e),o=!0);if(!r.any&&null===r.choice){var l=null!==r.implicit?r.implicit:r.tag,d=null===r.implicit?"universal":"context";null===l?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(s=this._encodeComposite(l,o,d,a))}return null!==r.explicit&&(s=this._encodeComposite(r.explicit,!1,"context",s)),s},l.prototype._encodeChoice=function(e,t){var i=this._baseState,n=i.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(i.choice))),n._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){var i=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&i.args)return this._encodeObjid(t,i.reverseArgs[0],i.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,i.args&&i.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},g9U9:function(e,t){e.exports=function(e,t){for(var i=e.length,n=-1;++n10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wd/R"))},hbMA:function(e,t,i){var n=i("P7XM"),r=i("N2jm");function s(e){r.call(this,e),this.enc="pem"}n(s,r),e.exports=s,s.prototype.encode=function(e,t){for(var i=r.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],s=0;s15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=s.allocUnsafe(e),i=-1;++i0){var o=new n(this.degree);return o.fill(0),s.copy(o,a),o}return s},e.exports=s},jUeY:function(e,t,i){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,i){return e>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/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:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var i,n=this._calendarEl[e],r=t&&t.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(t)),n.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i("wd/R"))},jVdC:function(e,t,i){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,i){var r=e+" ";switch(i){case"ss":return r+(n(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(n(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(n(e)?"godziny":"godzin");case"MM":return r+(n(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(n(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?""===n?"("+i[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(n)?i[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_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\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},jZKg:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("HDdC"),r=i("quSY");function s(e,t){return new n.a(i=>{const n=new r.a;let s=0;return n.add(t.schedule((function(){s!==e.length?(i.next(e[s++]),i.closed||n.add(this.schedule())):i.complete()}))),n})}},jfSC:function(e,t,i){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".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:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,i){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i("wd/R"))},jfd1:function(e,t,i){var n=i("P7XM"),r=i("tjlA").Buffer,s=i("z71Z");function a(e){s.call(this,e),this.enc="pem"}n(a,s),e.exports=a,a.prototype.decode=function(e,t){for(var i=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,o=-1,c=-1,l=0;l=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(e){return function(t,i,s,a){var o=n(t),c=r[e][n(t)];return 2===o&&(c=c[i?0:1]),c.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wd/R"))},"k+aG":function(e,t,i){"use strict";var n=i("hwdV").Buffer,r=i("1IWx").Transform;function s(e){r.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i("P7XM")(s,r),s.prototype._transform=function(e,t,i){var n=null;try{this.update(e,t)}catch(r){n=r}i(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(i){t=i}e(t)},s.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer")}(e),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var i=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var s=this._blockOffset;s0;++a)this._length[a]+=o,(o=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*o);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=s},kEOa:function(e,t,i){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i("wd/R"))},kJWO:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kOpN:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wd/R"))},"kVK+":function(e,t){t.read=function(e,t,i,n,r){var s,a,o=8*r-n-1,c=(1<>1,d=-7,u=i?r-1:0,h=i?-1:1,f=e[t+u];for(u+=h,s=f&(1<<-d)-1,f>>=-d,d+=o;d>0;s=256*s+e[t+u],u+=h,d-=8);for(a=s&(1<<-d)-1,s>>=-d,d+=n;d>0;a=256*a+e[t+u],u+=h,d-=8);if(0===s)s=1-l;else{if(s===c)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),s-=l}return(f?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,i,n,r,s){var a,o,c,l=8*s-r-1,d=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:s-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+u>=1?h/c:h*Math.pow(2,1-u))*c>=2&&(a++,c/=2),a+u>=d?(o=0,a=d):a+u>=1?(o=(t*c-1)*Math.pow(2,r),a+=u):(o=t*Math.pow(2,u-1)*Math.pow(2,r),a=0));r>=8;e[i+f]=255&o,f+=p,o/=256,r-=8);for(a=a<0;e[i+f]=255&a,f+=p,a/=256,l-=8);e[i+f-p]|=128*m}},"kk9/":function(e,t,i){var n=i("e/Dd").getSymbolSize;t.getPositions=function(e){var t=n(e);return[[0,0],[t-7,0],[0,t-7]]}},l5ep:function(e,t,i){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(i("wd/R"))},l7GE:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("7o/Q");class r extends n.a{notifyNext(e,t,i,n,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lF1L:function(e,t,i){"use strict";var n=i("fZJM"),r=i("DLvh"),s=i("86MQ"),a=s.assert,o=s.parseBytes,c=i("OA+I"),l=i("RKMU");function d(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof d))return new d(e);this.curve=e=r[e].curve,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=d,d.prototype.sign=function(e,t){e=o(e);var i=this.keyFromSecret(t),n=this.hashInt(i.messagePrefix(),e),r=this.g.mul(n),s=this.encodePoint(r),a=this.hashInt(s,i.pubBytes(),e).mul(i.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:r,S:c,Rencoded:s})},d.prototype.verify=function(e,t,i){e=o(e),t=this.makeSignature(t);var n=this.keyFromPublic(i),r=this.hashInt(t.Rencoded(),n.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(n.pub().mul(r)).eq(s)},d.prototype.hashInt=function(){for(var e=this.hash(),t=0;t>>7)^(p<<14|p>>>18)^p>>>3)+l[f-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+l[f-16]}var _=n&r^n&s^r&s,b=h+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&d^~o&u)+c[f]+l[f];h=u,u=d,d=o,o=a+b|0,a=s,s=r,r=n,n=b+(((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+_)|0}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+s|0,i[3]=i[3]+a|0,i[4]=i[4]+o|0,i[5]=i[5]+d|0,i[6]=i[6]+u|0,i[7]=i[7]+h|0},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return i[r>>>5]|=128<<24-r%32,i[14+(r+64>>>9<<4)]=e.floor(n/4294967296),i[15+(r+64>>>9<<4)]=n,t.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(d),t.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256)},lWpZ:function(e,t,i){var n=i("Hjy1"),r=i("/ab2"),s=i("usKN"),a=i("C+gy"),o=i("roQf");function c(e,t,i){if(e=e.toLowerCase(),s[e])return r.createCipheriv(e,t,i);if(a[e])return new n({key:t,iv:i,mode:e});throw new TypeError("invalid suite type")}function l(e,t,i){if(e=e.toLowerCase(),s[e])return r.createDecipheriv(e,t,i);if(a[e])return new n({key:t,iv:i,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var i,n;if(e=e.toLowerCase(),s[e])i=s[e].key,n=s[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");i=8*a[e].key,n=a[e].iv}var r=o(t,!1,i,n);return c(e,r.key,r.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var i,n;if(e=e.toLowerCase(),s[e])i=s[e].key,n=s[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");i=8*a[e].key,n=a[e].iv}var r=o(t,!1,i,n);return l(e,r.key,r.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(a).concat(r.getCiphers())}},lXzo:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,r;return"m"===i?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(n=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2])}var i=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(i("wd/R"))},lYJp:function(e,t,i){var n=i("e/Dd"),r=n.getBCHDigit(1335);t.getEncodedBits=function(e,t){for(var i=e.bit<<3|t,s=i<<10;n.getBCHDigit(s)-r>=0;)s^=1335<=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},lm0R:function(e,t,i){"use strict";(function(t){e.exports=!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?function(e,i,n,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var s,a,o=arguments.length;switch(o){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,i)}));case 3:return t.nextTick((function(){e.call(null,i,n)}));case 4:return t.nextTick((function(){e.call(null,i,n,r)}));default:for(s=new Array(o-1),a=0;a=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".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\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(i("wd/R"))},mAz1:function(e,t,i){(function(t){var n=i("OZ/i"),r=i("MzeL").ec,s=i("Ku4m"),a=i("zZGF");function o(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,i,c,l,d){var u=s(c);if("ec"===u.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,i){var n=a[i.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+i.data.algorithm.curve.join("."));return new r(n).verify(t,e,i.data.subjectPrivateKey.data)}(e,i,u)}if("dsa"===u.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,i){var r=i.data.p,a=i.data.q,c=i.data.g,l=i.data.pub_key,d=s.signature.decode(e,"der"),u=d.s,h=d.r;o(u,a),o(h,a);var f=n.mont(r),p=u.invm(a);return 0===c.toRed(f).redPow(new n(t).mul(p).mod(a)).fromRed().mul(l.toRed(f).redPow(h.mul(p).mod(a)).fromRed()).mod(r).mod(a).cmp(h)}(e,i,u)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");i=t.concat([d,i]);for(var h=u.modulus.byteLength(),f=[1],p=0;i.length+f.length+2t(e),t)}:n.a}},mObS:function(e,t,i){"use strict";var n=i("P7XM"),r=i("9XZ3"),s=i("tcrS"),a=i("afKu"),o=i("ZDAU");function c(e){o.call(this,"digest"),this._hash=e}n(c,o),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new r:"rmd160"===e||"ripemd160"===e?new s:new c(a(e))}},n53Y:function(e,t,i){(function(t){var i;i=t.browser?"utf-8":parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary",e.exports=i}).call(this,i("8oxB"))},n6bG:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,"a",(function(){return n}))},nZSm:function(e,t,i){var n=i("u/Db"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function s(e){this.mode=n.ALPHANUMERIC,this.data=e}s.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var i=45*r.indexOf(this.data[t]);i+=r.indexOf(this.data[t+1]),e.put(i,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},e.exports=s},ngJS:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=e=>t=>{for(let i=0,n=e.length;i>>2]}},n.pad.Iso10126)},olUY:function(e,t,i){var n=i("P7XM"),r=i("tnIz"),s=i("hwdV").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64);function c(){this.init(),this._w=o,r.call(this,64,56)}function l(e,t,i){return i^e&(t^i)}function d(e,t,i){return e&t|i&(e|t)}function u(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,r),c.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},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,r=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,_=0|this._h,b=0;b<16;++b)i[b]=e.readInt32BE(4*b);for(;b<64;++b)i[b]=0|(((t=i[b-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+i[b-7]+f(i[b-15])+i[b-16];for(var g=0;g<64;++g){var y=_+h(c)+l(c,p,m)+a[g]+i[g]|0,v=u(n)+d(n,r,s)|0;_=m,m=p,p=c,c=o+y|0,o=s,s=r,r=n,n=y+v|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=_+this._h|0},c.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},"p/rL":function(e,t,i){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i("wd/R"))},pA7S:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib,i=t.WordArray,r=t.BlockCipher,s=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=s.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],i=0;i<56;i++){var n=a[i]-1;t[i]=e[n>>>5]>>>31-n%32&1}for(var r=this._subKeys=[],s=0;s<16;s++){var l=r[s]=[],d=c[s];for(i=0;i<24;i++)l[i/6|0]|=t[(o[i]-1+d)%28]<<31-i%6,l[4+(i/6|0)]|=t[28+(o[i+24]-1+d)%28]<<31-i%6;for(l[0]=l[0]<<1|l[0]>>>31,i=1;i<7;i++)l[i]=l[i]>>>4*(i-1)+3;l[7]=l[7]<<5|l[7]>>>27}var u=this._invSubKeys=[];for(i=0;i<16;i++)u[i]=r[15-i]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,i){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var r=i[n],s=this._lBlock,a=this._rBlock,o=0,c=0;c<8;c++)o|=l[c][((a^r[c])&d[c])>>>0];this._lBlock=a,this._rBlock=s^o}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var i=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=i,this._lBlock^=i<>>e^this._lBlock)&t;this._lBlock^=i,this._rBlock^=i<>>2]|=r<<24-s%4*8,e.sigBytes+=r},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},n.pad.Ansix923)},qM6L:function(e,t,i){var n;e.exports=(n=i("Ib8C"),function(){var e=n.lib.WordArray,t=n.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r>>2]>>>16-r%4*8&65535));return n.join("")},parse:function(t){for(var i=t.length,n=[],r=0;r>>1]|=t.charCodeAt(r)<<16-r%2*16;return e.create(n,2*i)}},t.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s>>2]>>>16-s%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(t){for(var n=t.length,r=[],s=0;s>>1]|=i(t.charCodeAt(s)<<16-s%2*16);return e.create(r,2*n)}}}(),n.enc.Utf16)},qVij:function(e,t,i){(function(t){var n=i("OZ/i"),r=i("Edxu");function s(e,i){var r=function(e){var t=a(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(i),s=i.modulus.byteLength(),o=(n.mont(i.modulus),new n(e).mul(r.blinder).umod(i.modulus)),c=o.toRed(n.mont(i.prime1)),l=o.toRed(n.mont(i.prime2)),d=i.coefficient,u=i.prime1,h=i.prime2,f=c.redPow(i.exponent1),p=l.redPow(i.exponent2);f=f.fromRed(),p=p.fromRed();var m=f.isub(p).imul(d).umod(u);return m.imul(h),p.iadd(m),new t(p.imul(r.unblinder).umod(i.modulus).toArray(!1,s))}function a(e){for(var t=e.modulus.byteLength(),i=new n(r(t));i.cmp(e.modulus)>=0||!i.umod(e.prime1)||!i.umod(e.prime2);)i=new n(r(t));return i}e.exports=s,s.getr=a}).call(this,i("tjlA").Buffer)},qlaj:function(e,t,i){"use strict";var n=i("w8CP").rotr32;function r(e,t,i){return e&t^~e&i}function s(e,t,i){return e&t^e&i^t&i}function a(e,t,i){return e^t^i}t.ft_1=function(e,t,i,n){return 0===e?r(t,i,n):1===e||3===e?a(t,i,n):2===e?s(t,i,n):void 0},t.ch32=r,t.maj32=s,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},qmMu:function(e,t,i){var n=i("Wogr"),r=i("e/Dd"),s=i("ekOh"),a=i("e6BP"),o=i("V35J"),c=i("1sBl"),l=i("kk9/"),d=i("eQOe"),u=i("NPxG"),h=i("jSPq"),f=i("yKow"),p=i("lYJp"),m=i("u/Db"),_=i("vvrf"),b=i("7uVY");function g(e,t,i){var n,r,s=e.size,a=p.getEncodedBits(t,i);for(n=0;n<15;n++)e.set(n<6?n:n<8?n+1:s-15+n,8,r=1==(a>>n&1),!0),e.set(8,n<8?s-n-1:n<9?15-n-1+1:15-n-1,r,!0);e.set(s-8,8,1,!0)}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var i,p,y=s.M;return void 0!==t&&(y=s.from(t.errorCorrectionLevel,s.M),i=f.from(t.version),p=d.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,i,s){var p;if(b(e))p=_.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var y=t;if(!y){var v=_.rawSplit(e);y=f.getBestVersionForData(v,i)}p=_.fromString(e,y||40)}var w=f.getBestVersionForData(p,i);if(!w)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t=0&&o<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===o||6===o)||o>=2&&o<=4&&c>=2&&c<=4,!0)}(k,t),function(e){for(var t=e.size,i=8;i=7&&function(e,t){for(var i,n,r,s=e.size,a=f.getEncodedBits(t),o=0;o<18;o++)i=Math.floor(o/3),e.set(i,n=o%3+s-8-3,r=1==(a>>o&1),!0),e.set(n,i,r,!0)}(k,t),function(e,t){for(var i=e.size,n=-1,r=i-1,s=7,a=0,o=i-1;o>0;o-=2)for(6===o&&o--;;){for(var c=0;c<2;c++)if(!e.isReserved(r,o-c)){var l=!1;a>>s&1)),e.set(r,o-c,l),-1==--s&&(a++,s=7)}if((r+=n)<0||i<=r){r-=n,n=-n;break}}}(k,C),isNaN(s)&&(s=d.getBestMask(k,g.bind(null,k,i))),d.applyMask(s,k),g(k,i,s),{modules:k,version:t,errorCorrectionLevel:i,maskPattern:s,segments:p}}(e,i,y,p)}},qu8F:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,i=e>>8&255,n=255&e;255===t?(t=0,255===i?(i=0,255===n?n=0:++n):++i):++t,e=0,e+=t<<16,e+=i<<8,e+=n}else e+=1<<24;return e}var i=e.Encryptor=e.extend({processBlock:function(e,i){var n=this._cipher,r=n.blockSize,s=this._iv,a=this._counter;s&&(a=this._counter=s.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(a);var o=a.slice(0);n.encryptBlock(o,0);for(var c=0;c{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();i.d(t,"a",(function(){return o}));let o=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:o,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof e)i.remove(this);else if(null!==i)for(let e=0;ee.concat(t instanceof a?t.errors:t),[])}},rSVQ:function(e,t,i){var n=i("Ku4m"),r=i("Edxu"),s=i("mObS"),a=i("9GDS"),o=i("g9U9"),c=i("OZ/i"),l=i("UpF+"),d=i("qVij"),u=i("ZYru").Buffer;e.exports=function(e,t,i){var h;h=e.padding?e.padding:i?1:4;var f,p=n(e);if(4===h)f=function(e,t){var i=e.modulus.byteLength(),n=t.length,l=s("sha1").update(u.alloc(0)).digest(),d=l.length,h=2*d;if(n>i-h-2)throw new Error("message too long");var f=u.alloc(i-n-h-2),p=i-d-1,m=r(d),_=o(u.concat([l,f,u.alloc(1,1),t],p),a(m,p)),b=o(m,a(_,d));return new c(u.concat([u.alloc(1),b,_],i))}(p,t);else if(1===h)f=function(e,t,i){var n,s=t.length,a=e.modulus.byteLength();if(s>a-11)throw new Error("message too long");return n=i?u.alloc(a-s-3,255):function(e){for(var t,i=u.allocUnsafe(e),n=0,s=r(2*e),a=0;n=0)throw new Error("data too long for modulus")}return i?d(f,p):l(f,p)}},"rVI/":function(e,t,i){var n=i("tjlA"),r=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function a(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),a.prototype=Object.create(r.prototype),s(r,a),a.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},rXFu:function(e,t,i){"use strict";(function(t,n){var r=i("lm0R");e.exports=y;var s,a=i("49sm");y.ReadableState=g,i("+qE3");var o=function(e,t){return e.listeners(t).length},c=i("QpuX"),l=i("hwdV").Buffer,d=t.Uint8Array||function(){},u=i("Onz0");u.inherits=i("P7XM");var h=i(1),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=i("Xhqo"),_=i("RoFp");u.inherits(y,c);var b=["error","close","destroy","pause","resume"];function g(e,t){s=s||i("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof s&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=i("fXKp").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function y(e){if(s=s||i("sZro"),!(this instanceof y))return new y(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function v(e,t,i,n,r){var s,a=e._readableState;return null===t?(a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var i=t.decoder.end();i&&i.length&&(t.buffer.push(i),t.length+=t.objectMode?1:i.length)}t.ended=!0,S(e)}}(e,a)):(r||(s=function(e,t){var i,n;return l.isBuffer(n=t)||n instanceof d||"string"==typeof t||void 0===t||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i}(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!i?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):x(e,a)):w(e,a,t,!1))):n||(a.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r(k,e):k(e))}function k(e){f("emit readable"),e.emit("readable"),T(e)}function x(e,t){t.readingMore||(t.readingMore=!0,r(M,e,t))}function M(e,t){for(var i=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(i=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):i=function(e,t,i){var n;return es.length?s.length:e;if(r+=a===s.length?s:s.slice(0,e),0==(e-=a)){a===s.length?(++n,t.head=i.next?i.next:t.tail=null):(t.head=i,i.data=s.slice(a));break}++n}return t.length-=n,r}(e,t):function(e,t){var i=l.allocUnsafe(e),n=t.head,r=1;for(n.data.copy(i),e-=n.data.length;n=n.next;){var s=n.data,a=e>s.length?s.length:e;if(s.copy(i,i.length-e,0,a),0==(e-=a)){a===s.length?(++r,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=s.slice(a));break}++r}return t.length-=r,i}(e,t),n}(e,t.buffer,t.decoder),i);var i}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,r(O,t,e))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function P(e,t){for(var i=0,n=e.length;i=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?A(this):S(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&A(this),null;var n,r=t.needReadable;return f("need readable",r),(0===t.length||t.length-e0?E(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),i!==e&&t.ended&&A(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var i=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,f("pipe count=%d opts=%j",s.pipesCount,t);var c=t&&!1===t.end||e===n.stdout||e===n.stderr?g:l;function l(){f("onend"),e.end()}s.endEmitted?r(c):i.once("end",c),e.on("unpipe",(function t(n,r){f("onunpipe"),n===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",_),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",m),e.removeListener("unpipe",t),i.removeListener("end",l),i.removeListener("end",g),i.removeListener("data",p),u=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}));var d=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,T(e))}}(i);e.on("drain",d);var u=!1,h=!1;function p(t){f("ondata"),h=!1,!1!==e.write(t)||h||((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==P(s.pipes,e))&&!u&&(f("false write response, pause",i._readableState.awaitDrain),i._readableState.awaitDrain++,h=!0),i.pause())}function m(t){f("onerror",t),g(),e.removeListener("error",m),0===o(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",b),g()}function b(){f("onfinish"),e.removeListener("close",_),g()}function g(){f("unpipe"),i.unpipe(e)}return i.on("data",p),function(e,t,i){if("function"==typeof e.prependListener)return e.prependListener("error",i);e._events&&e._events.error?a(e._events.error)?e._events.error.unshift(i):e._events.error=[i,e._events.error]:e.on("error",i)}(e,0,m),e.once("close",_),e.once("finish",b),e.emit("pipe",i),s.flowing||(f("pipe resume"),i.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,i={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,i),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2])}function i(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var i={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):e?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:i.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},roQf:function(e,t,i){var n=i("hwdV").Buffer,r=i("9XZ3");e.exports=function(e,t,i,s){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=i/8,o=n.alloc(a),c=n.alloc(s||0),l=n.alloc(0);a>0||s>0;){var d=new r;d.update(l),d.update(e),t&&d.update(t),l=d.digest();var u=0;if(a>0){var h=o.length-a;u=Math.min(a,l.length),l.copy(o,h,0,u),a-=u}if(u0){var f=c.length-s,p=Math.min(s,l.length-u);l.copy(c,f,u,u+p),s-=p}}return l.fill(0),{key:o,iv:c}}},"s+uk":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},sZro:function(e,t,i){"use strict";var n=i("lm0R"),r=Object.keys||function(e){var t=[];for(var i in e)t.push(i);return t};e.exports=u;var s=i("Onz0");s.inherits=i("P7XM");var a=i("rXFu"),o=i("3BRs");s.inherits(u,a);for(var c=r(o.prototype),l=0;l{const i=e.offset,r=i==l,u=r&&d||{};Object.keys(e).forEach(i=>{let r=i,c=e[i];if("offset"!==i)switch(r=t.normalizePropertyName(r,o),c){case n.p:c=s[i];break;case n.a:c=a[i];break;default:c=t.normalizeStyleValue(i,r,c,o)}u[r]=c}),r||c.push(u),d=u,l=i}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return c}function c(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&l(i,"start",e)));break;case"done":e.onDone(()=>n(i&&l(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&l(i,"destroy",e)))}}function l(e,t,i){const n=i.totalTime,r=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,!!i.disabled),s=e._data;return null!=s&&(r._data=s),r}function d(e,t,i,n,r="",s=0,a){return{element:e,triggerName:t,fromState:i,toState:n,phaseName:r,totalTime:s,disabled:!!a}}function u(e,t,i){let n;return e instanceof Map?(n=e.get(t),n||e.set(t,n=i)):(n=e[t],n||(n=e[t]=i)),n}function h(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let f=(e,t)=>!1,p=(e,t)=>!1,m=(e,t,i)=>[];const _=s();(_||"undefined"!=typeof Element)&&(f=(e,t)=>e.contains(t),p=(()=>{if(_||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,i)=>t.apply(e,[i]):p}})(),m=(e,t,i)=>{let n=[];if(i)n.push(...e.querySelectorAll(t));else{const i=e.querySelector(t);i&&n.push(i)}return n});let b=null,g=!1;function y(e){b||(b=("undefined"!=typeof document?document.body:null)||{},g=!!b.style&&"WebkitAppearance"in b.style);let t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in b.style,!t&&g)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}const v=p,w=f,C=m;function S(e){const t={};return Object.keys(e).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");t[n]=e[i]}),t}let k=(()=>{class e{validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return w(e,t)}query(e,t,i){return C(e,t,i)}computeStyle(e,t,i){return i||""}animate(e,t,i,r,s,a=[],o){return new n.d(i,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Lb({token:e,factory:e.\u0275fac}),e})(),x=(()=>{class e{}return e.NOOP=new k,e})();function M(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:D(parseFloat(t[1]),t[2])}function D(e,t){switch(t){case"s":return 1e3*e;default:return e}}function L(e,t,i){return e.hasOwnProperty("duration")?e:function(e,t,i){let n,r=0,s="";if("string"==typeof e){const i=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};n=D(parseFloat(i[1]),i[2]);const a=i[3];null!=a&&(r=D(parseFloat(a),i[4]));const o=i[5];o&&(s=o)}else n=e;if(!i){let i=!1,s=t.length;n<0&&(t.push("Duration values below 0 are not allowed for this animation step."),i=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:n,delay:r,easing:s}}(e,t,i)}function T(e,t={}){return Object.keys(e).forEach(i=>{t[i]=e[i]}),t}function E(e,t,i={}){if(t)for(let n in e)i[n]=e[n];else T(e,i);return i}function A(e,t,i){return i?t+":"+i+";":""}function O(e){let t="";for(let i=0;i{const r=H(n);i&&!i.hasOwnProperty(n)&&(i[n]=e.style[r]),e.style[r]=t[n]}),s()&&O(e))}function I(e,t){e.style&&(Object.keys(t).forEach(t=>{const i=H(t);e.style[i]=""}),s()&&O(e))}function R(e){return Array.isArray(e)?1==e.length?e[0]:Object(n.j)(e):e}const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function Y(e){let t=[];if("string"==typeof e){let i;for(;i=j.exec(e);)t.push(i[1]);j.lastIndex=0}return t}function V(e,t,i){const n=e.toString(),r=n.replace(j,(e,n)=>{let r=t[n];return t.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),r=""),r.toString()});return r==n?e:r}function W(e){const t=[];let i=e.next();for(;!i.done;)t.push(i.value),i=e.next();return t}const F=/-+([a-z0-9])/g;function H(e){return e.replace(F,(...e)=>e[1].toUpperCase())}function B(e,t){return 0===e||0===t}function z(e,t,i){const n=Object.keys(i);if(n.length&&t.length){let s=t[0],a=[];if(n.forEach(e=>{s.hasOwnProperty(e)||a.push(e),s[e]=i[e]}),a.length)for(var r=1;rfunction(e,t,i){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,i);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${e}" is not supported`),t;const r=n[1],s=n[2],a=n[3];t.push(K(r,a)),"<"!=s[0]||"*"==r&&"*"==a||t.push(K(a,r))}(e,i,t)):i.push(e),i}const $=new Set(["true","1"]),J=new Set(["false","0"]);function K(e,t){const i=$.has(e)||J.has(e),n=$.has(t)||J.has(t);return(r,s)=>{let a="*"==e||e==r,o="*"==t||t==s;return!a&&i&&"boolean"==typeof r&&(a=r?$.has(e):J.has(e)),!o&&n&&"boolean"==typeof s&&(o=s?$.has(t):J.has(t)),a&&o}}const G=new RegExp("s*:selfs*,?","g");function Z(e,t,i){return new X(e).build(t,i)}class X{constructor(e){this._driver=e}build(e,t){const i=new Q(t);return this._resetContextStyleTimingState(i),N(this,R(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,n=t.depCount=0;const r=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const i=e,n=i.name;n.toString().split(/\s*,\s*/).forEach(e=>{i.name=e,r.push(this.visitState(i,t))}),i.name=n}else if(1==e.type){const r=this.visitTransition(e,t);i+=r.queryCount,n+=r.depCount,s.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:s,queryCount:i,depCount:n,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=n||{};if(i.styles.forEach(e=>{if(ee(e)){const t=e;Object.keys(t).forEach(e=>{Y(t[e]).forEach(e=>{s.hasOwnProperty(e)||r.add(e)})})}}),r.size){const i=W(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=N(this,R(e.animation),t);return{type:1,matchers:q(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:te(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>N(this,e,t)),options:te(e.options)}}visitGroup(e,t){const i=t.currentTime;let n=0;const r=e.steps.map(e=>{t.currentTime=i;const r=N(this,e,t);return n=Math.max(n,t.currentTime),r});return t.currentTime=n,{type:3,steps:r,options:te(e.options)}}visitAnimate(e,t){const i=function(e,t){let i=null;if(e.hasOwnProperty("duration"))i=e;else if("number"==typeof e)return ie(L(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=ie(0,0,"");return e.dynamic=!0,e.strValue=n,e}return i=i||L(n,t),ie(i.duration,i.delay,i.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=i;let s=e.styles?e.styles:Object(n.l)({});if(5==s.type)r=this.visitKeyframes(s,t);else{let s=e.styles,a=!1;if(!s){a=!0;const e={};i.easing&&(e.easing=i.easing),s=Object(n.l)(e)}t.currentTime+=i.duration+i.delay;const o=this.visitStyle(s,t);o.isEmptyStep=a,r=o}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==n.a?i.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):i.push(e)}):i.push(e.styles);let r=!1,s=null;return i.forEach(e=>{if(ee(e)){const t=e,i=t.easing;if(i&&(s=i,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let n=t.currentTime,r=t.currentTime;i&&r>0&&(r-=i.duration+i.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void t.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],a=s[i];let o=!0;a&&(r!=n&&r>=a.startTime&&n<=a.endTime&&(t.errors.push(`The CSS property "${i}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${n}ms"`),o=!1),r=a.startTime),o&&(s[i]={startTime:r,endTime:n}),t.options&&function(e,t,i){const n=t.params||{},r=Y(e);r.length&&r.forEach(e=>{n.hasOwnProperty(e)||i.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[i],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const r=[];let s=!1,a=!1,o=0;const c=e.steps.map(e=>{const i=this._makeStyleAst(e,t);let c=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ee(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}});else if(ee(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}return t}(i.styles),l=0;return null!=c&&(n++,l=i.offset=c),a=a||l<0||l>1,s=s||l0&&n{const s=d>0?n==u?1:d*n:r[n],a=s*p;t.currentTime=h+f.delay+a,f.duration=a,this._validateStyleAst(e,t),e.offset=s,i.styles.push(e)}),i}visitReference(e,t){return{type:8,animation:N(this,R(e.animation),t),options:te(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:te(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:te(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[r,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(G,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=i.length?i+" "+r:r,u(t.collectedStyles,t.currentQuerySelector,{});const a=N(this,R(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:te(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:L(e.timings,t.errors,!0);return{type:12,animation:N(this,R(e.animation),t),timings:i,options:null}}}class Q{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ee(e){return!Array.isArray(e)&&"object"==typeof e}function te(e){var t;return e?(e=T(e)).params&&(e.params=(t=e.params)?T(t):null):e={},e}function ie(e,t,i){return{duration:e,delay:t,easing:i}}function ne(e,t,i,n,r,s,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:i,postStyleProps:n,duration:r,delay:s,totalTime:r+s,easing:a,subTimeline:o}}class re{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const se=new RegExp(":enter","g"),ae=new RegExp(":leave","g");function oe(e,t,i,n,r,s={},a={},o,c,l=[]){return(new ce).buildKeyframes(e,t,i,n,r,s,a,o,c,l)}class ce{buildKeyframes(e,t,i,n,r,s,a,o,c,l=[]){c=c||new re;const d=new de(e,t,c,n,r,l,[]);d.options=o,d.currentTimeline.setStyles([s],null,d.errors,o),N(this,i,d);const u=d.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(a).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([a],null,d.errors,o)}return u.length?u.map(e=>e.buildKeyframes()):[ne(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.consume(t.element);if(i){const n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,n,n.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,i){let n=t.currentTimeline.currentTime;const r=null!=i.duration?M(i.duration):null,s=null!=i.delay?M(i.delay):null;return 0!==r&&e.forEach(e=>{const i=t.appendInstructionToTimeline(e,r,s);n=Math.max(n,i.duration+i.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),N(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let n=t;const r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),null!=r.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=le);const e=M(r.delay);n.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>N(this,e,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let n=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?M(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);r&&a.delayNextStep(r),N(this,s,a),n=Math.max(n,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return L(t.params?V(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(i.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const r=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(r):i.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,n=t.currentTimeline.duration,r=i.duration,s=t.createSubContext().currentTimeline;s.easing=i.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*r),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?M(n.delay):0;r&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=le);let s=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let o=null;a.forEach((i,n)=>{t.currentQueryIndex=n;const a=t.createSubContext(e.options,i);r&&a.delayNextStep(r),i===t.element&&(o=a.currentTimeline),N(this,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,n=t.currentTimeline,r=e.timings,s=Math.abs(r.duration),a=s*(t.currentQueryTotal-1);let o=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":o=a-o;break;case"full":o=i.currentStaggerTime}const c=t.currentTimeline;o&&c.delayNextStep(o);const l=c.currentTime;N(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-l+(n.startTime-i.currentTimeline.startTime)}}const le={};class de{constructor(e,t,i,n,r,s,a,o){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=le,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new ue(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let n=this.options;null!=i.duration&&(n.duration=M(i.duration)),null!=i.delay&&(n.delay=M(i.delay));const r=i.params;if(r){let e=n.params;e||(e=this.options.params={}),Object.keys(r).forEach(i=>{t&&e.hasOwnProperty(i)||(e[i]=V(r[i],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(e=>{i[e]=t[e]})}}return e}createSubContext(e=null,t,i){const n=t||this.element,r=new de(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=le,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},r=new he(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,n,r,s){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(se,"."+this._enterClassName)).replace(ae,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=i);0!==i&&(t=i<0?t.slice(t.length+i,t.length):t.slice(0,i)),a.push(...t)}return r||0!=a.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),a}}class ue{constructor(e,t,i,n){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new ue(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||n.a,this._currentKeyframe[e]=n.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},a=function(e,t){const i={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{i[e]=n.a})):E(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(a).forEach(e=>{const t=V(a[e],s,i);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:n.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const i=this._styleSummary[t],n=e._styleSummary[t];(!i||n.time>i.time)&&this._updateStyle(t,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,a)=>{const o=E(s,!0);Object.keys(o).forEach(i=>{const r=o[i];r==n.p?e.add(i):r==n.a&&t.add(i)}),i||(o.offset=a/this.duration),r.push(o)});const s=e.size?W(e.values()):[],a=t.size?W(t.values()):[];if(i){const e=r[0],t=T(e);e.offset=0,t.offset=1,r=[e,t]}return ne(this.element,r,s,a,this.duration,this.startTime,this.easing,!1)}}class he extends ue{constructor(e,t,i,n,r,s,a=!1){super(e,t,s.delay),this.element=t,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],s=i+t,a=t/s,o=E(e[0],!1);o.offset=0,r.push(o);const c=E(e[0],!1);c.offset=fe(a),r.push(c);const l=e.length-1;for(let n=1;n<=l;n++){let a=E(e[n],!1);a.offset=fe((t+a.offset*i)/s),r.push(a)}i=s,t=0,n="",e=r}return ne(this.element,e,this.preStyleProps,this.postStyleProps,i,t,n,!0)}}function fe(e,t=3){const i=Math.pow(10,t-1);return Math.round(e*i)/i}class pe{}class me extends pe{normalizePropertyName(e,t){return H(e)}normalizeStyleValue(e,t,i,n){let r="";const s=i.toString().trim();if(_e[t]&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const t=i.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&n.push(`Please provide a CSS unit value for ${e}:${i}`)}return s+r}}const _e=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function be(e,t,i,n,r,s,a,o,c,l,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:i,fromStyles:s,toState:n,toStyles:a,timelines:o,queriedElements:c,preStyleProps:l,postStyleProps:d,totalTime:u,errors:h}}const ge={};class ye{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,n){return function(e,t,i,n,r){return e.some(e=>e(t,i,n,r))}(this.ast.matchers,e,t,i,n)}buildStyles(e,t,i){const n=this._stateStyles["*"],r=this._stateStyles[e],s=n?n.buildStyles(t,i):{};return r?r.buildStyles(t,i):s}build(e,t,i,n,r,s,a,o,c,l){const d=[],h=this.ast.options&&this.ast.options.params||ge,f=this.buildStyles(i,a&&a.params||ge,d),p=o&&o.params||ge,m=this.buildStyles(n,p,d),_=new Set,b=new Map,g=new Map,y="void"===n,v={params:Object.assign(Object.assign({},h),p)},w=l?[]:oe(e,t,this.ast.animation,r,s,f,m,v,c,d);let C=0;if(w.forEach(e=>{C=Math.max(e.duration+e.delay,C)}),d.length)return be(t,this._triggerName,i,n,y,f,m,[],[],b,g,C,d);w.forEach(e=>{const i=e.element,n=u(b,i,{});e.preStyleProps.forEach(e=>n[e]=!0);const r=u(g,i,{});e.postStyleProps.forEach(e=>r[e]=!0),i!==t&&_.add(i)});const S=W(_.values());return be(t,this._triggerName,i,n,y,f,m,w,S,b,g,C)}}class ve{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const i={},n=T(this.defaultParams);return Object.keys(e).forEach(t=>{const i=e[t];null!=i&&(n[t]=i)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let s=r[e];s.length>1&&(s=V(s,n,t)),i[e]=s})}}),i}}class we{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new ve(e.style,e.options&&e.options.params||{})}),Ce(this.states,"true","1"),Ce(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new ye(e,t,this.states))}),this.fallbackTransition=new ye(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,n){return this.transitionFactories.find(r=>r.match(e,t,i,n))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function Ce(e,t,i){e.hasOwnProperty(t)?e.hasOwnProperty(i)||(e[i]=e[t]):e.hasOwnProperty(i)&&(e[t]=e[i])}const Se=new re;class ke{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(e,t){const i=[],n=Z(this._driver,t,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[e]=n}_buildPlayer(e,t,i){const n=e.element,r=o(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],s=this._animations[e];let o;const c=new Map;if(s?(o=oe(this._driver,t,s,"ng-enter","ng-leave",{},{},i,Se,r),o.forEach(e=>{const t=u(c,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);c.forEach((e,t)=>{Object.keys(e).forEach(i=>{e[i]=this._driver.computeStyle(t,i,n.a)})});const l=a(o.map(e=>{const t=c.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,i,n){const r=d(t,"","","");return c(this._getPlayer(e),i,r,n),()=>{}}command(e,t,i,n){if("register"==i)return void this.register(e,n[0]);if("create"==i)return void this.create(e,t,n[0]||{});const r=this._getPlayer(e);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const xe=[],Me={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},De={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Le{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=null!=(n=i?e.value:e)?n:null,i){const t=T(e);delete t.value,this.options=t}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(i=>{null==e[i]&&(e[i]=t[i])})}}}const Te=new Le("void");class Ee{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ye(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${t}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=i)&&"done"!=r)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${t}" is not supported!`);var r;const s=u(this._elementListeners,e,[]),a={name:t,phase:i,callback:n};s.push(a);const o=u(this._engine.statesByElement,e,{});return o.hasOwnProperty(t)||(Ye(e,"ng-trigger"),Ye(e,"ng-trigger-"+t),o[t]=Te),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(a);e>=0&&s.splice(e,1),this._triggers[t]||delete o[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,i,n=!0){const r=this._getTrigger(t),s=new Oe(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(Ye(e,"ng-trigger"),Ye(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));let o=a[t];const c=new Le(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&o&&c.absorbOptions(o.options),a[t]=c,o||(o=Te),"void"!==c.value&&o.value===c.value){if(!function(e,t){const i=Object.keys(e),n=Object.keys(t);if(i.length!=n.length)return!1;for(let r=0;r{I(e,i),P(e,n)})}return}const l=u(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=r.matchTransition(o.value,c.value,e,c.params),h=!1;if(!d){if(!n)return;d=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:o,toState:c,player:s,isFallbackTransition:h}),h||(Ye(e,"ng-animate-queued"),s.onStart(()=>{Ve(e,"ng-animate-queued")})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const i=this._engine.playersByElement.get(e);if(i){let e=i.indexOf(s);e>=0&&i.splice(e,1)}}),this.players.push(s),l.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,i)=>{delete t[e]}),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach(e=>{if(e.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(e);i.size?i.forEach(i=>i.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,i,n){const r=this._engine.statesByElement.get(e);if(r){const s=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const i=this.trigger(e,t,"void",n);i&&s.push(i)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),i&&a(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const i=new Set;t.forEach(t=>{const n=t.name;if(i.has(n))return;i.add(n);const r=this._triggers[n].fallbackTransition,s=this._engine.statesByElement.get(e)[n]||Te,a=new Le("void"),o=new Oe(this.id,n,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:r,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(i.totalAnimations){const t=i.players.length?i.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;)if(i.statesByElement.get(t)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)i.markElementAsRemoved(this.id,e,!1,t);else{const n=e.__ng_removed;n&&n!==Me||(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){Ye(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(t=>{if(t.name==i.triggerName){const n=d(r,i.triggerName,i.fromState.value,i.toState.value);n._data=e,c(i.player,t.phase,n,t.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(i)}),this._queue=[],t.sort((e,t)=>{const i=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Ae{constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const i=new Ee(e,t,this);return t.parentNode?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let r=i;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),n=!0;break}n||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(i);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i){const e=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.insertNode(t,i)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ye(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ve(e,"ng-animate-disabled"))}removeNode(e,t,i,n){if(Pe(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n),i){const i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,n)}}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,i,n){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(e,t,i,n,r){return Pe(t)?this._fetchNamespace(e).listen(t,i,n,r):()=>{}}_buildInstruction(e,t,i,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Me,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ie()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const i=new re,r=[],s=new Map,o=[],c=new Map,l=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let i=0;i{const i="ng-enter"+b++;_.set(t,i),e.forEach(e=>Ye(e,i))});const g=[],y=new Set,v=new Set;for(let n=0;ny.add(e)):v.add(e))}const w=new Map,C=je(p,Array.from(y));C.forEach((e,t)=>{const i="ng-leave"+b++;w.set(t,i),e.forEach(e=>Ye(e,i))}),e.push(()=>{m.forEach((e,t)=>{const i=_.get(t);e.forEach(e=>Ve(e,i))}),C.forEach((e,t)=>{const i=w.get(t);e.forEach(e=>Ve(e,i))}),g.forEach(e=>{this.processLeaveNode(e)})});const S=[],k=[];for(let n=this._namespaceList.length-1;n>=0;n--)this._namespaceList[n].drainQueuedTransitions(t).forEach(e=>{const t=e.player,n=e.element;if(S.push(t),this.collectedEnterElements.length){const e=n.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const s=!f||!this.driver.containsElement(f,n),a=w.get(n),h=_.get(n),p=this._buildInstruction(e,i,h,a,s);if(!p.errors||!p.errors.length)return s?(t.onStart(()=>I(n,p.fromStyles)),t.onDestroy(()=>P(n,p.toStyles)),void r.push(t)):e.isFallbackTransition?(t.onStart(()=>I(n,p.fromStyles)),t.onDestroy(()=>P(n,p.toStyles)),void r.push(t)):(p.timelines.forEach(e=>e.stretchStartingKeyframe=!0),i.append(n,p.timelines),o.push({instruction:p,player:t,element:n}),p.queriedElements.forEach(e=>u(c,e,[]).push(t)),p.preStyleProps.forEach((e,t)=>{const i=Object.keys(e);if(i.length){let e=l.get(t);e||l.set(t,e=new Set),i.forEach(t=>e.add(t))}}),void p.postStyleProps.forEach((e,t)=>{const i=Object.keys(e);let n=d.get(t);n||d.set(t,n=new Set),i.forEach(e=>n.add(e))}));k.push(p)});if(k.length){const e=[];k.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),S.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,M=new Map;o.forEach(e=>{const t=e.element;i.has(t)&&(M.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{u(x,t,[]).push(e),e.destroy()})});const D=g.filter(e=>Fe(e,l,d)),L=new Map;Re(L,this.driver,v,d,n.a).forEach(e=>{Fe(e,l,d)&&D.push(e)});const T=new Map;m.forEach((e,t)=>{Re(T,this.driver,new Set(e),l,n.p)}),D.forEach(e=>{const t=L.get(e),i=T.get(e);L.set(e,Object.assign(Object.assign({},t),i))});const E=[],A=[],O={};o.forEach(e=>{const{element:t,player:n,instruction:o}=e;if(i.has(t)){if(h.has(t))return n.onDestroy(()=>P(t,o.toStyles)),n.disabled=!0,n.overrideTotalTime(o.totalTime),void r.push(n);let e=O;if(M.size>1){let i=t;const n=[];for(;i=i.parentNode;){const t=M.get(i);if(t){e=t;break}n.push(i)}n.forEach(t=>M.set(t,e))}const i=this._buildAnimation(n.namespaceId,o,x,s,T,L);if(n.setRealPlayer(i),e===O)E.push(n);else{const t=this.playersByElement.get(e);t&&t.length&&(n.parentPlayer=a(t)),r.push(n)}}else I(t,o.fromStyles),n.onDestroy(()=>P(t,o.toStyles)),A.push(n),h.has(t)&&r.push(n)}),A.forEach(e=>{const t=s.get(e.element);if(t&&t.length){const i=a(t);e.setRealPlayer(i)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let n=0;n!e.destroyed);r.length?We(this,e,r):this.processLeaveNode(e)}return g.length=0,E.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),E}elementContainsData(e,t){let i=!1;const n=t.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,n,r){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||"void"==r;t.forEach(t=>{t.queued||(e||t.triggerName==n)&&s.push(t)})}}return(i||n)&&(s=s.filter(e=>!(i&&i!=e.namespaceId||n&&n!=e.triggerName))),s}_beforeAnimationBuild(e,t,i){const n=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const a of t.timelines){const e=a.element,o=e!==n,c=u(i,e,[]);this._getPreviousPlayers(e,o,r,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}I(n,t.fromStyles)}_buildAnimation(e,t,i,r,s,c){const l=t.triggerName,d=t.element,h=[],f=new Set,p=new Set,m=t.timelines.map(t=>{const a=t.element;f.add(a);const u=a.__ng_removed;if(u&&u.removedBeforeQueried)return new n.d(t.duration,t.delay);const m=a!==d,_=function(e){const t=[];return function e(t,i){for(let r=0;re.getRealPlayer())).filter(e=>!!e.element&&e.element===a),b=s.get(a),g=c.get(a),y=o(0,this._normalizer,0,t.keyframes,b,g),v=this._buildPlayer(t,y,_);if(t.subTimeline&&r&&p.add(a),m){const t=new Oe(e,l,a);t.setRealPlayer(v),h.push(t)}return v});h.forEach(e=>{u(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,i){let n;if(e instanceof Map){if(n=e.get(t),n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&e.delete(t)}}else if(n=e[t],n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&delete e[t]}return n}(this.playersByQueriedElement,e.element,e))}),f.forEach(e=>Ye(e,"ng-animating"));const _=a(m);return _.onDestroy(()=>{f.forEach(e=>Ve(e,"ng-animating")),P(d,t.toStyles)}),p.forEach(e=>{u(r,e,[]).push(_)}),_}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new n.d(e.duration,e.delay)}}class Oe{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new n.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(i=>c(e,t,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){u(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Pe(e){return e&&1===e.nodeType}function Ie(e,t){const i=e.style.display;return e.style.display=null!=t?t:"none",i}function Re(e,t,i,n,r){const s=[];i.forEach(e=>s.push(Ie(e)));const a=[];n.forEach((i,n)=>{const s={};i.forEach(e=>{const i=s[e]=t.computeStyle(n,e,r);i&&0!=i.length||(n.__ng_removed=De,a.push(n))}),e.set(n,s)});let o=0;return i.forEach(e=>Ie(e,s[o++])),a}function je(e,t){const i=new Map;if(e.forEach(e=>i.set(e,[])),0==t.length)return i;const n=new Set(t),r=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let s=r.get(t);if(s)return s;const a=t.parentNode;return s=i.has(a)?a:n.has(a)?1:e(a),r.set(t,s),s}(e);1!==t&&i.get(t).push(e)}),i}function Ye(e,t){if(e.classList)e.classList.add(t);else{let i=e.$$classes;i||(i=e.$$classes={}),i[t]=!0}}function Ve(e,t){if(e.classList)e.classList.remove(t);else{let i=e.$$classes;i&&delete i[t]}}function We(e,t,i){a(i).onDone(()=>e.processLeaveNode(t))}function Fe(e,t,i){const n=i.get(e);if(!n)return!1;let r=t.get(e);return r?n.forEach(e=>r.add(e)):t.set(e,n),i.delete(e),!0}class He{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ae(e,t,i),this._timelineEngine=new ke(e,t,i),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,i,n,r){const s=e+"-"+n;let a=this._triggerCache[s];if(!a){const e=[],t=Z(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);a=function(e,t){return new we(e,t)}(n,t),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i,n){this._transitionEngine.removeNode(e,t,n||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if("@"==i.charAt(0)){const[e,r]=h(i);this._timelineEngine.command(e,t,r,n)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,r){if("@"==i.charAt(0)){const[e,n]=h(i);return this._timelineEngine.listen(e,t,n,r)}return this._transitionEngine.listen(e,t,i,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Be(e,t){let i=null,n=null;return Array.isArray(t)&&t.length?(i=Ne(t[0]),t.length>1&&(n=Ne(t[t.length-1]))):t&&(i=Ne(t)),i||n?new ze(e,i,n):null}let ze=(()=>{class e{constructor(t,i,n){this._element=t,this._startStyles=i,this._endStyles=n,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&P(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(P(this._element,this._initialStyles),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(I(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),P(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Ne(e){let t=null;const i=Object.keys(e);for(let n=0;nthis._handleCallback(e)}apply(){!function(e,t){const i=Xe(e,"").trim();i.length&&(function(e,t){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ge(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const i=Xe(e,"").split(","),n=Ke(i,t);n>=0&&(i.splice(n,1),Ze(e,"",i.join(",")))}(this._element,this._name))}}function $e(e,t,i){Ze(e,"PlayState",i,Je(e,t))}function Je(e,t){const i=Xe(e,"");return i.indexOf(",")>0?Ke(i.split(","),t):Ke([i],t)}function Ke(e,t){for(let i=0;i=0)return i;return-1}function Ge(e,t,i){i?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Ze(e,t,i,n){const r="animation"+t;if(null!=n){const t=e.style[r];if(t.length){const e=t.split(",");e[n]=i,i=e.join(",")}}e.style[r]=i}function Xe(e,t){return e.style["animation"+t]}class Qe{constructor(e,t,i,n,r,s,a,o){this.element=e,this.keyframes=t,this.animationName=i,this._duration=n,this._delay=r,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=n+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(e[i]=t?this._finalStyles[i]:U(this.element,i))})}this.currentSnapshot=e}}class et extends n.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=S(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class tt{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return w(e,t)}query(e,t,i){return C(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,i){i=i.map(e=>S(e));let n=`@keyframes ${t} {\n`,r="";i.forEach(e=>{r=" ";const t=parseFloat(e.offset);n+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const i=e[t];switch(t){case"offset":return;case"easing":return void(i&&(n+=`${r}animation-timing-function: ${i};\n`));default:return void(n+=`${r}${t}: ${i};\n`)}}),n+=`${r}}\n`}),n+="}\n";const s=document.createElement("style");return s.innerHTML=n,s}animate(e,t,i,n,r,s=[],a){a&&this._notifyFaultyScrubber();const o=s.filter(e=>e instanceof Qe),c={};B(i,n)&&o.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const l=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(i=>{"offset"!=i&&"easing"!=i&&(t[i]=e[i])})}),t}(t=z(e,t,c));if(0==i)return new et(e,l);const d=`gen_css_kf_${this._count++}`,u=this.buildKeyframeElement(e,d,t);document.querySelector("head").appendChild(u);const h=Be(e,t),f=new Qe(e,t,d,i,n,r,l,h);return f.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class it{constructor(e,t,i,n){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,i){return e.animate(t,i)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:U(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class nt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(st().toString()),this._cssKeyframesDriver=new tt}validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return w(e,t)}query(e,t,i){return C(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,i,n,r,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,i,n,r,s);const o={duration:i,delay:n,fill:0==n?"both":"forwards"};r&&(o.easing=r);const c={},l=s.filter(e=>e instanceof it);B(i,n)&&l.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const d=Be(e,t=z(e,t=t.map(e=>E(e,!1)),c));return new it(e,t,o,d)}}function rt(){return"function"==typeof st()}function st(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,i("8oxB"))},tGlX:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},tOiH:function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},tSWc:function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=i("2j6C"),a=n.rotr64_hi,o=n.rotr64_lo,c=n.shr64_hi,l=n.shr64_lo,d=n.sum64,u=n.sum64_hi,h=n.sum64_lo,f=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,_=n.sum64_5_lo,b=r.BlockHash,g=[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 y(){if(!(this instanceof y))return new y;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function v(e,t,i,n,r){var s=e&i^~e&r;return s<0&&(s+=4294967296),s}function w(e,t,i,n,r,s){var a=t&n^~t&s;return a<0&&(a+=4294967296),a}function C(e,t,i,n,r){var s=e&i^e&r^i&r;return s<0&&(s+=4294967296),s}function S(e,t,i,n,r,s){var a=t&n^t&s^n&s;return a<0&&(a+=4294967296),a}function k(e,t){var i=a(e,t,28)^a(t,e,2)^a(t,e,7);return i<0&&(i+=4294967296),i}function x(e,t){var i=o(e,t,28)^o(t,e,2)^o(t,e,7);return i<0&&(i+=4294967296),i}function M(e,t){var i=o(e,t,14)^o(e,t,18)^o(t,e,9);return i<0&&(i+=4294967296),i}function D(e,t){var i=a(e,t,1)^a(e,t,8)^c(e,t,7);return i<0&&(i+=4294967296),i}function L(e,t){var i=o(e,t,1)^o(e,t,8)^l(e,t,7);return i<0&&(i+=4294967296),i}function T(e,t){var i=o(e,t,19)^o(t,e,29)^l(e,t,6);return i<0&&(i+=4294967296),i}n.inherits(y,b),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var i=this.W,n=0;n<32;n++)i[n]=e[t+n];for(;n=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i("wd/R"))},tcrS:function(e,t,i){"use strict";var n=i("tjlA").Buffer,r=i("P7XM"),s=i("k+aG"),a=new Array(16),o=[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],c=[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],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[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],u=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function m(e,t,i,n,r,s,a,o){return p(e+(t^i^n)+s+a|0,o)+r|0}function _(e,t,i,n,r,s,a,o){return p(e+(t&i|~t&n)+s+a|0,o)+r|0}function b(e,t,i,n,r,s,a,o){return p(e+((t|~i)^n)+s+a|0,o)+r|0}function g(e,t,i,n,r,s,a,o){return p(e+(t&n|i&~n)+s+a|0,o)+r|0}function y(e,t,i,n,r,s,a,o){return p(e+(t^(i|~n))+s+a|0,o)+r|0}r(f,s),f.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var i=0|this._a,n=0|this._b,r=0|this._c,s=0|this._d,f=0|this._e,v=0|this._a,w=0|this._b,C=0|this._c,S=0|this._d,k=0|this._e,x=0;x<80;x+=1){var M,D;x<16?(M=m(i,n,r,s,f,e[o[x]],u[0],l[x]),D=y(v,w,C,S,k,e[c[x]],h[0],d[x])):x<32?(M=_(i,n,r,s,f,e[o[x]],u[1],l[x]),D=g(v,w,C,S,k,e[c[x]],h[1],d[x])):x<48?(M=b(i,n,r,s,f,e[o[x]],u[2],l[x]),D=b(v,w,C,S,k,e[c[x]],h[2],d[x])):x<64?(M=g(i,n,r,s,f,e[o[x]],u[3],l[x]),D=_(v,w,C,S,k,e[c[x]],h[3],d[x])):(M=y(i,n,r,s,f,e[o[x]],u[4],l[x]),D=m(v,w,C,S,k,e[c[x]],h[4],d[x])),i=f,f=s,s=p(r,10),r=n,n=M,v=k,k=S,S=p(C,10),C=w,w=D}var L=this._b+r+S|0;this._b=this._c+s+k|0,this._c=this._d+f+v|0,this._d=this._e+i+w|0,this._e=this._a+n+C|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 e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=f},tjlA:function(e,t,i){"use strict";(function(e){var n=i("H7XF"),r=i("kVK+"),s=i("49sm");function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return F(e).length;default:if(n)return W(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,i);case"utf8":case"utf-8":return M(this,t,i);case"ascii":return D(this,t,i);case"latin1":case"binary":return L(this,t,i);case"base64":return x(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function _(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function b(e,t,i,n,r){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:g(e,t,i,n,r);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):g(e,[t],i,n,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,i,n,r){var s,a=1,o=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,c/=2,i/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var d=-1;for(s=i;so&&(i=o-c),s=i;s>=0;s--){for(var u=!0,h=0;hr&&(n=r):n=r;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a>8,r.push(i%256),r.push(n);return r}(t,e.length-i),e,i,n)}function x(e,t,i){return n.fromByteArray(0===t&&i===e.length?e:e.slice(t,i))}function M(e,t,i){i=Math.min(e.length,i);for(var n=[],r=t;r239?4:l>223?3:l>191?2:1;if(r+u<=i)switch(u){case 1:l<128&&(d=l);break;case 2:128==(192&(s=e[r+1]))&&(c=(31&l)<<6|63&s)>127&&(d=c);break;case 3:a=e[r+2],128==(192&(s=e[r+1]))&&128==(192&a)&&(c=(15&l)<<12|(63&s)<<6|63&a)>2047&&(c<55296||c>57343)&&(d=c);break;case 4:a=e[r+2],o=e[r+3],128==(192&(s=e[r+1]))&&128==(192&a)&&128==(192&o)&&(c=(15&l)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&c<1114112&&(d=c)}null===d?(d=65533,u=1):d>65535&&(n.push((d-=65536)>>>10&1023|55296),d=56320|1023&d),n.push(d),r+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var i="",n=0;nr)&&(i=r);for(var s="",a=t;ai)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,i,n,r,s){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function P(e,t,i,n){t<0&&(t=65535+t+1);for(var r=0,s=Math.min(e.length-i,2);r>>8*(n?r:1-r)}function I(e,t,i,n){t<0&&(t=4294967295+t+1);for(var r=0,s=Math.min(e.length-i,4);r>>8*(n?r:3-r)&255}function R(e,t,i,n,r,s){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function j(e,t,i,n,s){return s||R(e,0,i,4),r.write(e,t,i,n,23,4),i+4}function Y(e,t,i,n,s){return s||R(e,0,i,8),r.write(e,t,i,n,52,8),i+8}t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,i){return l(null,e,t,i)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,i){return function(e,t,i,n){return d(t),t<=0?o(null,t):void 0!==i?"string"==typeof n?o(null,t).fill(i,n):o(null,t).fill(i):o(null,t)}(0,e,t,i)},c.allocUnsafe=function(e){return u(null,e)},c.allocUnsafeSlow=function(e){return u(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,r=0,s=Math.min(i,n);r0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),""},c.prototype.compare=function(e,t,i,n,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return-1;if(t>=i)return 1;if(this===e)return 0;for(var s=(r>>>=0)-(n>>>=0),a=(i>>>=0)-(t>>>=0),o=Math.min(s,a),l=this.slice(n,r),d=e.slice(t,i),u=0;ur)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return y(this,e,t,i);case"utf8":case"utf-8":return v(this,e,t,i);case"ascii":return w(this,e,t,i);case"latin1":case"binary":return C(this,e,t,i);case"base64":return S(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,i);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(r*=256);)n+=this[e+--t]*r;return n},c.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=this[e],r=1,s=0;++s=(r*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=t,r=1,s=this[e+--n];n>0&&(r*=256);)s+=this[e+--n]*r;return s>=(r*=128)&&(s-=Math.pow(2,8*t)),s},c.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,i,n){e=+e,t|=0,i|=0,n||O(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+r]=e/s&255;return t+i},c.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);O(this,e,t,i,r-1,-r)}var s=0,a=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+i},c.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);O(this,e,t,i,r-1,-r)}var s=i-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+i},c.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,i){return j(this,e,t,!0,i)},c.prototype.writeFloatBE=function(e,t,i){return j(this,e,t,!1,i)},c.prototype.writeDoubleLE=function(e,t,i){return Y(this,e,t,!0,i)},c.prototype.writeDoubleBE=function(e,t,i){return Y(this,e,t,!1,i)},c.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--r)e[r+t]=this[r+i];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&s.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&s.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;s.push(i)}else if(i<2048){if((t-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}function F(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,i,n){for(var r=0;r=t.length||r>=e.length);++r)t[r+i]=e[r];return r}}).call(this,i("aWmh"))},tnIz:function(e,t,i){var n=i("hwdV").Buffer;function r(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(e=n.from(e,t=t||"utf8"));for(var i=this._block,r=this._blockSize,s=e.length,a=this._len,o=0;o=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=(4294967295&i)>>>0;this._block.writeUInt32BE((i-n)/4294967296,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var r=this._hash();return e?r.toString(e):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r},tpL1:function(e,t,i){(function(t){var n=i("mObS"),r=i("1IWx"),s=i("P7XM"),a=i("b+dc"),o=i("mAz1"),c=i("tOiH");function l(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){return new l(e)}function h(e){return new d(e)}Object.keys(c).forEach((function(e){c[e].id=new t(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),s(l,r.Writable),l.prototype._write=function(e,t,i){this._hash.update(e),i()},l.prototype.update=function(e,i){return"string"==typeof e&&(e=new t(e,i)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var i=this._hash.digest(),n=a(i,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},s(d,r.Writable),d.prototype._write=function(e,t,i){this._hash.update(e),i()},d.prototype.update=function(e,i){return"string"==typeof e&&(e=new t(e,i)),this._hash.update(e),this},d.prototype.verify=function(e,i,n){"string"==typeof i&&(i=new t(i,n)),this.end();var r=this._hash.digest();return o(i,r,e,this._signType,this._tag)},e.exports={Sign:u,Verify:h,createSign:u,createVerify:h}}).call(this,i("tjlA").Buffer)},"tz+M":function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ"),s=r.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),this.recoveryParam=void 0===e.recoveryParam?null:e.recoveryParam)}function o(){this.place=0}function c(e,t){var i=e[t.place++];if(!(128&i))return i;for(var n=15&i,r=0,s=0,a=t.place;s>>3);for(e.push(128|i);--i;)e.push(t>>>(i<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=r.toArray(e,t);var i=new o;if(48!==e[i.place++])return!1;if(c(e,i)+i.place!==e.length)return!1;if(2!==e[i.place++])return!1;var s=c(e,i),a=e.slice(i.place,s+i.place);if(i.place+=s,2!==e[i.place++])return!1;var l=c(e,i);if(e.length!==l+i.place)return!1;var d=e.slice(i.place,l+i.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===d[0]&&128&d[1]&&(d=d.slice(1)),this.r=new n(a),this.s=new n(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&i[0]&&(i=[0].concat(i)),t=l(t),i=l(i);!(i[0]||128&i[1]);)i=i.slice(1);var n=[2];d(n,t.length),(n=n.concat(t)).push(2),d(n,i.length);var s=n.concat(i),a=[48];return d(a,s.length),a=a.concat(s),r.encode(a,e)}},"u/Db":function(e,t,i){var n=i("J6Nv"),r=i("BCVQ");t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return r.testNumeric(e)?t.NUMERIC:r.testAlphanumeric(e)?t.ALPHANUMERIC:r.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,i){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(n){return i}}},u0Sq:function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=n.rotl32,a=n.sum32,o=n.sum32_3,c=n.sum32_4,l=r.BlockHash;function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(e,t,i,n){return e<=15?t^i^n:e<=31?t&i|~t&n:e<=47?(t|~i)^n:e<=63?t&n|i&~n:t^(i|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(d,l),t.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(e,t){for(var i=this.h[0],n=this.h[1],r=this.h[2],l=this.h[3],d=this.h[4],g=i,y=n,v=r,w=l,C=d,S=0;S<80;S++){var k=a(s(c(i,u(S,n,r,l),e[p[S]+t],h(S)),_[S]),d);i=d,d=l,l=s(r,10),r=n,n=k,k=a(s(c(g,u(79-S,y,v,w),e[m[S]+t],f(S)),b[S]),C),g=C,C=w,w=s(v,10),v=y,y=k}k=o(this.h[1],r,w),this.h[1]=o(this.h[2],l,C),this.h[2]=o(this.h[3],d,g),this.h[3]=o(this.h[4],i,y),this.h[4]=o(this.h[0],n,v),this.h[0]=k},d.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[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],m=[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],_=[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],b=[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]},u3GI:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uDfV:function(e,t,i){var n=i("P7XM"),r=i("T9HO"),s=i("tnIz"),a=i("hwdV").Buffer,o=new Array(160);function c(){this.init(),this._w=o,s.call(this,128,112)}n(c,r),c.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},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},uEye:function(e,t,i){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),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\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] 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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uGsb:function(e,t,i){var n,r,s,a,o,c,l,d;e.exports=(d=i("Ib8C"),i("MlIO"),i("1uat"),s=(r=(n=d).x64).Word,a=r.WordArray,l=(o=n.algo).SHA384=(c=o.SHA512).extend({_doReset:function(){this._hash=new a.init([new s.init(3418070365,3238371032),new s.init(1654270250,914150663),new s.init(2438529370,812702999),new s.init(355462360,4144912697),new s.init(1731405415,4290775857),new s.init(2394180231,1750603025),new s.init(3675008525,1694076839),new s.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=c._createHelper(l),n.HmacSHA384=c._createHmacHelper(l),d.SHA384)},uGxW:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},uXwI:function(e,t,i){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(e,t,i){return i?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,r){return e+" "+i(t[r],e,n)}function r(e,n,r){return i(t[r],e,n)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_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:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uagp:function(e,t,i){"use strict";var n=i("OZ/i"),r=i("aqI/"),s=i("86MQ"),a=i("DLvh"),o=i("/ayr"),c=s.assert,l=i("uzSA"),d=i("tz+M");function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(c(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=u,u.prototype.keyPair=function(e){return new l(this,e)},u.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),s=this.n.sub(new n(2));;){var a=new n(t.generate(i));if(!(a.cmp(s)>0))return a.iaddn(1),this.keyFromPrivate(a)}},u.prototype._truncateToN=function(e,t){var i=8*e.byteLength()-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.sign=function(e,t,i,s){"object"==typeof i&&(s=i,i=null),s||(s={}),t=this.keyFromPrivate(t,i),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),c=e.toArray("be",a),l=new r({hash:this.hash,entropy:o,nonce:c,pers:s.pers,persEnc:s.persEnc||"utf8"}),u=this.n.sub(new n(1)),h=0;;h++){var f=s.k?s.k(h):new n(l.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(u)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var m=p.getX(),_=m.umod(this.n);if(0!==_.cmpn(0)){var b=f.invm(this.n).mul(_.mul(t.getPrivate()).iadd(e));if(0!==(b=b.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(_)?2:0);return s.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),g^=1),new d({r:_,s:b,recoveryParam:g})}}}}}},u.prototype.verify=function(e,t,i,r){e=this._truncateToN(new n(e,16)),i=this.keyFromPublic(i,r);var s=(t=new d(t,"hex")).r,a=t.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var o,c=a.invm(this.n),l=c.mul(e).umod(this.n),u=c.mul(s).umod(this.n);return this.curve._maxwellTrick?!(o=this.g.jmulAdd(l,i.getPublic(),u)).isInfinity()&&o.eqXToP(s):!(o=this.g.mulAdd(l,i.getPublic(),u)).isInfinity()&&0===o.getX().umod(this.n).cmp(s)},u.prototype.recoverPubKey=function(e,t,i,r){c((3&i)===i,"The recovery param is more than two bits"),t=new d(t,r);var s=this.n,a=new n(e),o=t.r,l=t.s,u=1&i,h=i>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");o=this.curve.pointFromX(h?o.add(this.curve.n):o,u);var f=t.r.invm(s),p=s.sub(a).mul(f).umod(s),m=l.mul(f).umod(s);return this.g.mulAdd(p,o,m)},u.prototype.getKeyRecoveryParam=function(e,t,i,n){if(null!==(t=new d(t,n)).recoveryParam)return t.recoveryParam;for(var r=0;r<4;r++){var s;try{s=this.recoverPubKey(e,t,r)}catch(e){continue}if(s.eq(i))return r}throw new Error("Unable to find valid recovery factor")}},usKN:function(e,t,i){var n={ECB:i("AUX7"),CBC:i("wRn4"),CFB:i("NQVK"),CFB8:i("YskG"),CFB1:i("Ujlg"),OFB:i("UWVS"),CTR:i("at63"),GCM:i("at63")},r=i("6F8h");for(var s in r)r[s].module=n[r[s].mode];e.exports=r},uzSA:function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ").assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=s,s.fromPublic=function(e,t,i){return t instanceof s?t:new s(e,{pub:t,pubEnc:i})},s.fromPrivate=function(e,t,i){return t instanceof s?t:new s(e,{priv:t,privEnc:i})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.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"}},s.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.mul(this.priv).getX()},s.prototype.sign=function(e,t,i){return this.ec.sign(e,this,t,i)},s.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},s.prototype.inspect=function(){return""}},vZ2G:function(e,t){e.exports=function(e){for(var t,i=e.length;i--;){if(255!==(t=e.readUInt8(i))){t++,e.writeUInt8(t,i);break}e.writeUInt8(0,i)}}},vvrf:function(e,t,i){var n=i("u/Db"),r=i("3X7Y"),s=i("nZSm"),a=i("AZa5"),o=i("Lzq4"),c=i("BCVQ"),l=i("e/Dd"),d=i("ELBg");function u(e){return unescape(encodeURIComponent(e)).length}function h(e,t,i){for(var n,r=[];null!==(n=e.exec(i));)r.push({data:n[0],index:n.index,mode:t,length:n[0].length});return r}function f(e){var t,i,r=h(c.NUMERIC,n.NUMERIC,e),s=h(c.ALPHANUMERIC,n.ALPHANUMERIC,e);return l.isKanjiModeEnabled()?(t=h(c.BYTE,n.BYTE,e),i=h(c.KANJI,n.KANJI,e)):(t=h(c.BYTE_KANJI,n.BYTE,e),i=[]),r.concat(s,t,i).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function p(e,t){switch(t){case n.NUMERIC:return r.getBitsLength(e);case n.ALPHANUMERIC:return s.getBitsLength(e);case n.KANJI:return o.getBitsLength(e);case n.BYTE:return a.getBitsLength(e)}}function m(e,t){var i,c=n.getBestModeForData(e);if((i=n.from(t,c))!==n.BYTE&&i.bit=0?e[e.length-1]:null;return i&&i.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,l.isKanjiModeEnabled()))}},w1tV:function(e,t,i){"use strict";var n=i("XNiG"),r=i("HDdC"),s=i("7o/Q"),a=i("quSY");function o(){return function(e){return e.lift(new c(e))}}class c{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const n=new l(e,i),r=t.subscribe(n);return n.closed||(n.connection=i.connect()),r}}class l extends s.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:i}=this,n=e._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}class d extends r.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new a.a,e.add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.a.EMPTY)),e}refCount(){return o()(this)}}const u=(()=>{const e=d.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class h extends n.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function f(){return new n.a}function p(){return e=>{return o()((t=f,function(e){let i;i="function"==typeof t?t:function(){return t};const n=Object.create(e,u);return n.source=e,n.subjectFactory=i,n})(e));var t}}i.d(t,"a",(function(){return p}))},w7YG:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.StreamCipher,i=e.algo,r=i.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,i=e.sigBytes,n=this._S=[],r=0;r<256;r++)n[r]=r;r=0;for(var s=0;r<256;r++){var a=r%i,o=n[r];n[r]=n[s=(s+n[r]+(t[a>>>2]>>>24-a%4*8&255))%256],n[s]=o}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var e=this._S,t=this._i,i=this._j,n=0,r=0;r<4;r++){var s=e[t=(t+1)%256];e[t]=e[i=(i+e[t])%256],e[i]=s,n|=e[(e[t]+e[i])%256]<<24-8*r}return this._i=t,this._j=i,n}e.RC4=t._createHelper(r);var a=i.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)s.call(this)}});e.RC4Drop=t._createHelper(a)}(),n.RC4)},w8CP:function(e,t,i){"use strict";var n=i("2j6C"),r=i("P7XM");function s(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=r,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var i=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r>6|192,i[n++]=63&a|128):s(e,r)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++r)),i[n++]=a>>18|240,i[n++]=a>>12&63|128,i[n++]=a>>6&63|128,i[n++]=63&a|128):(i[n++]=a>>12|224,i[n++]=a>>6&63|128,i[n++]=63&a|128)}else for(r=0;r>>0;return a},t.split32=function(e,t){for(var i=new Array(4*e.length),n=0,r=0;n>>24,i[r+1]=s>>>16&255,i[r+2]=s>>>8&255,i[r+3]=255&s):(i[r+3]=s>>>24,i[r+2]=s>>>16&255,i[r+1]=s>>>8&255,i[r]=255&s)}return i},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,i){return e+t+i>>>0},t.sum32_4=function(e,t,i,n){return e+t+i+n>>>0},t.sum32_5=function(e,t,i,n,r){return e+t+i+n+r>>>0},t.sum64=function(e,t,i,n){var r=n+e[t+1]>>>0;e[t]=(r>>0,e[t+1]=r},t.sum64_hi=function(e,t,i,n){return(t+n>>>0>>0},t.sum64_lo=function(e,t,i,n){return t+n>>>0},t.sum64_4_hi=function(e,t,i,n,r,s,a,o){var c=0,l=t;return c+=(l=l+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,i,n,r,s,a,o){return t+n+s+o>>>0},t.sum64_5_hi=function(e,t,i,n,r,s,a,o,c,l){var d=0,u=t;return d+=(u=u+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,i,n,r,s,a,o,c,l){return t+n+s+o+l>>>0},t.rotr64_hi=function(e,t,i){return(t<<32-i|e>>>i)>>>0},t.rotr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0},t.shr64_hi=function(e,t,i){return e>>>i},t.shr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0}},wQk9:function(e,t,i){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".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:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(i("wd/R"))},wRn4:function(e,t,i){var n=i("jIre");t.encrypt=function(e,t){var i=n(t,e._prev);return e._prev=e._cipher.encryptBlock(i),e._prev},t.decrypt=function(e,t){var i=e._prev;e._prev=t;var r=e._cipher.decryptBlock(t);return n(r,i)}},wZgz:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.BlockCipher,i=e.algo,r=[],s=[],a=[],o=[],c=[],l=[],d=[],u=[],h=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var i=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;r[i]=p=p>>>8^255&p^99,s[p]=i;var m,_=e[i],b=e[_],g=e[b];a[i]=(m=257*e[p]^16843008*p)<<24|m>>>8,o[i]=m<<16|m>>>16,c[i]=m<<8|m>>>24,l[i]=m,d[p]=(m=16843009*g^65537*b^257*_^16843008*i)<<24|m>>>8,u[p]=m<<16|m>>>16,h[p]=m<<8|m>>>24,f[p]=m,i?(i=_^e[e[e[g^_]]],n^=e[e[n]]):i=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],m=i.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,i=e.sigBytes/4,n=4*((this._nRounds=i+6)+1),s=this._keySchedule=[],a=0;a6&&a%i==4&&(o=r[o>>>24]<<24|r[o>>>16&255]<<16|r[o>>>8&255]<<8|r[255&o]):(o=r[(o=o<<8|o>>>24)>>>24]<<24|r[o>>>16&255]<<16|r[o>>>8&255]<<8|r[255&o],o^=p[a/i|0]<<24),s[a]=s[a-i]^o}for(var c=this._invKeySchedule=[],l=0;l>>24]]^u[r[o>>>16&255]]^h[r[o>>>8&255]]^f[r[255&o]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,o,c,l,r)},decryptBlock:function(e,t){var i=e[t+1];e[t+1]=e[t+3],e[t+3]=i,this._doCryptBlock(e,t,this._invKeySchedule,d,u,h,f,s),i=e[t+1],e[t+1]=e[t+3],e[t+3]=i},_doCryptBlock:function(e,t,i,n,r,s,a,o){for(var c=this._nRounds,l=e[t]^i[0],d=e[t+1]^i[1],u=e[t+2]^i[2],h=e[t+3]^i[3],f=4,p=1;p>>24]^r[d>>>16&255]^s[u>>>8&255]^a[255&h]^i[f++],_=n[d>>>24]^r[u>>>16&255]^s[h>>>8&255]^a[255&l]^i[f++],b=n[u>>>24]^r[h>>>16&255]^s[l>>>8&255]^a[255&d]^i[f++],g=n[h>>>24]^r[l>>>16&255]^s[d>>>8&255]^a[255&u]^i[f++];l=m,d=_,u=b,h=g}m=(o[l>>>24]<<24|o[d>>>16&255]<<16|o[u>>>8&255]<<8|o[255&h])^i[f++],_=(o[d>>>24]<<24|o[u>>>16&255]<<16|o[h>>>8&255]<<8|o[255&l])^i[f++],b=(o[u>>>24]<<24|o[h>>>16&255]<<16|o[l>>>8&255]<<8|o[255&d])^i[f++],g=(o[h>>>24]<<24|o[l>>>16&255]<<16|o[d>>>8&255]<<8|o[255&u])^i[f++],e[t]=m,e[t+1]=_,e[t+2]=b,e[t+3]=g},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},"wd/R":function(e,t,i){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function N(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(z[e]=r),t&&(z[t[0]]=function(){return W(r.apply(this,arguments),t[1],t[2])}),i&&(z[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),B[t]=B[t]||function(e){var t,i,n,r=e.match(F);for(t=0,i=r.length;t=0&&H.test(e);)e=e.replace(H,n),H.lastIndex=0,i-=1;return e}var $=/\d/,J=/\d\d/,K=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ie=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,se=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,oe=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function de(e,t,i){le[e]=E(t)?t:function(e,n){return e&&i?i:t}}function ue(e,t){return u(le,e)?le[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r}))))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var i,n=t;for("string"==typeof e&&(e=[e]),c(t)&&(n=function(e,i){i[t]=S(e)}),i=0;i68?1900:2e3)};var ye,ve=we("FullYear",!0);function we(e,t){return function(i){return null!=i?(Se(this,e,i),r.updateOffset(this,t),this):Ce(this,e)}}function Ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Se(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&ge(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),ke(i,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](i))}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=(t%12+12)%12;return e+=(t-i)/12,1===i?ge(e)?29:28:31-i%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(o=new Date(e+400,t,i,n,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,r,s,a),o}function Re(e){var t;if(e<100&&e>=0){var i=Array.prototype.slice.call(arguments);i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function je(e,t,i){var n=7+t-i;return-(7+Re(e,0,n).getUTCDay()-t)%7+n-1}function Ye(e,t,i,n,r){var s,a,o=1+7*(t-1)+(7+i-n)%7+je(e,n,r);return o<=0?a=be(s=e-1)+o:o>be(e)?(s=e+1,a=o-be(e)):(s=e,a=o),{year:s,dayOfYear:a}}function Ve(e,t,i){var n,r,s=je(e.year(),t,i),a=Math.floor((e.dayOfYear()-s-1)/7)+1;return a<1?n=a+We(r=e.year()-1,t,i):a>We(e.year(),t,i)?(n=a-We(e.year(),t,i),r=e.year()+1):(r=e.year(),n=a),{week:n,year:r}}function We(e,t,i){var n=je(e,t,i),r=je(e+1,t,i);return(be(e)-n+r)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),V("week",5),V("isoWeek",5),de("w",X),de("ww",X,J),de("W",X),de("WW",X,J),me(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=S(e)})),N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),de("d",X),de("e",X),de("E",X),de("dd",(function(e,t){return t.weekdaysMinRegex(e)})),de("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),de("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);null!=r?t.d=r:p(i).invalidWeekday=e})),me(["d","e","E"],(function(e,t,i,n){t[n]=S(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ne(e,t,i){var n,r,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,a))?r:-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:-1!==(r=ye.call(this._weekdaysParse,a))?r:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:-1!==(r=ye.call(this._weekdaysParse,a))?r:-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:null}var Ue=ce,qe=ce,$e=ce;function Je(){function e(e,t){return t.length-e.length}var t,i,n,r,s,a=[],o=[],c=[],l=[];for(t=0;t<7;t++)i=f([2e3,1]).day(t),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),s=this.weekdays(i,""),a.push(n),o.push(r),c.push(s),l.push(n),l.push(r),l.push(s);for(a.sort(e),o.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)o[t]=he(o[t]),c[t]=he(c[t]),l[t]=he(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Ge(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Ke),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+Ke.apply(this)+W(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Ke.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+W(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)})),Ge("a",!0),Ge("A",!1),I("hour","h"),V("hour",13),de("a",Ze),de("A",Ze),de("H",X),de("h",X),de("k",X),de("HH",X,J),de("hh",X,J),de("kk",X,J),de("hmm",Q),de("hmmss",ee),de("Hmm",Q),de("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,i){var n=S(e);t[3]=24===n?0:n})),pe(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),pe(["h","hh"],(function(e,t,i){t[3]=S(e),p(i).bigHour=!0})),pe("hmm",(function(e,t,i){var n=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n)),p(i).bigHour=!0})),pe("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n,2)),t[5]=S(e.substr(r)),p(i).bigHour=!0})),pe("Hmm",(function(e,t,i){var n=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n))})),pe("Hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n,2)),t[5]=S(e.substr(r))}));var Xe,Qe=we("Hours",!0),et={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:De,week:{dow:0,doy:6},weekdays:He,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},it={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{n=Xe._abbr,i("RnhZ")("./"+t),st(n)}catch(r){}return tt[t]}function st(e,t){var i;return e&&((i=o(t)?ot(e):at(e,t))?Xe=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function at(e,t){if(null!==t){var i,n=et;if(t.abbr=e,null!=tt[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])n=tt[t.parentLocale]._config;else{if(null==(i=rt(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;n=i._config}return tt[e]=new O(A(n,t)),it[e]&&it[e].forEach((function(e){at(e.name,e.config)})),st(e),tt[e]}return delete tt[e],null}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!s(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,i,n,r,s=0;s0;){if(n=rt(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&k(r,i,!0)>=t-1)break;t--}s++}return Xe}(e)}function ct(e){var t,i=e._a;return i&&-2===p(e).overflow&&(t=i[1]<0||i[1]>11?1:i[2]<1||i[2]>ke(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,i){return null!=e?e:null!=t?t:i}function dt(e){var t,i,n,s,a,o=[];if(!e._d){for(n=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,i,n,r,s,a,o,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)s=1,a=4,i=lt(t.GG,e._a[0],Ve(kt(),1,4).year),n=lt(t.W,1),((r=lt(t.E,1))<1||r>7)&&(c=!0);else{s=e._locale._week.dow,a=e._locale._week.doy;var l=Ve(kt(),s,a);i=lt(t.gg,e._a[0],l.year),n=lt(t.w,l.week),null!=t.d?((r=t.d)<0||r>6)&&(c=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(c=!0)):r=s}n<1||n>We(i,s,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(o=Ye(i,n,r,s,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=lt(e._a[0],n[0]),(e._dayOfYear>be(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),i=Re(a,0,e._dayOfYear),e._a[1]=i.getUTCMonth(),e._a[2]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Re:Ie).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(p(e).weekdayMismatch=!0)}}var ut=/^\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)?)?$/,ht=/^\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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/]],mt=[["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/]],_t=/^\/?Date\((\-?\d+)/i;function bt(e){var t,i,n,r,s,a,o=e._i,c=ut.exec(o)||ht.exec(o);if(c){for(p(e).iso=!0,t=0,i=pt.length;t0&&p(e).unusedInput.push(a),o=o.slice(o.indexOf(i)+i.length),l+=i.length),z[s]?(i?p(e).empty=!1:p(e).unusedTokens.push(s),_e(s,i,e)):e._strict&&!i&&p(e).unusedTokens.push(s);p(e).charsLeftOver=c-l,o.length>0&&p(e).unusedInput.push(o),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),dt(e),ct(e)}else vt(e);else bt(e)}function Ct(e){var t=e._i,i=e._f;return e._locale=e._locale||ot(e._l),null===t||void 0===i&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new v(ct(t)):(l(t)?e._d=t:s(i)?function(e){var t,i,n,r,s;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:_()}));function Dt(e,t){var i,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return kt();for(i=t[0],n=1;n=0?new Date(e+400,t,i)-126227808e5:new Date(e,t,i).valueOf()}function Qt(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-126227808e5:Date.UTC(e,t,i)}function ei(e,t){N(0,[e,e.length],0,t)}function ti(e,t,i,n,r){var s;return null==e?Ve(this,n,r).year:(t>(s=We(e,n,r))&&(t=s),ii.call(this,e,t,i,n,r))}function ii(e,t,i,n,r){var s=Ye(e,t,i,n,r),a=Re(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),de("G",se),de("g",se),de("GG",X,J),de("gg",X,J),de("GGGG",ie,G),de("gggg",ie,G),de("GGGGG",ne,Z),de("ggggg",ne,Z),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=S(e)})),me(["gg","GG"],(function(e,t,i,n){t[n]=r.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),I("quarter","Q"),V("quarter",7),de("Q",$),pe("Q",(function(e,t){t[1]=3*(S(e)-1)})),N("D",["DD",2],"Do","date"),I("date","D"),V("date",9),de("D",X),de("DD",X,J),de("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=S(e.match(X)[0])}));var ni=we("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),V("dayOfYear",4),de("DDD",te),de("DDDD",K),pe(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=S(e)})),N("m",["mm",2],0,"minute"),I("minute","m"),V("minute",14),de("m",X),de("mm",X,J),pe(["m","mm"],4);var ri=we("Minutes",!1);N("s",["ss",2],0,"second"),I("second","s"),V("second",15),de("s",X),de("ss",X,J),pe(["s","ss"],5);var si,ai=we("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),I("millisecond","ms"),V("millisecond",16),de("S",te,$),de("SS",te,J),de("SSS",te,K),si="SSSS";si.length<=9;si+="S")de(si,re);function oi(e,t){t[6]=S(1e3*("0."+e))}for(si="S";si.length<=9;si+="S")pe(si,oi);var ci=we("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var li=v.prototype;function di(e){return e}li.add=Ut,li.calendar=function(e,t){var i=e||kt(),n=Rt(i,this).startOf("day"),s=r.calendarFormat(this,n)||"sameElse",a=t&&(E(t[s])?t[s].call(this,i):t[s]);return this.format(a||this.localeData().calendar(s,this,kt(i)))},li.clone=function(){return new v(this)},li.diff=function(e,t,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=Rt(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=R(t)){case"year":s=$t(this,n)/12;break;case"month":s=$t(this,n);break;case"quarter":s=$t(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:C(s)},li.endOf=function(e){var t;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?Qt:Xt;switch(e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},li.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},li.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.fromNow=function(e){return this.from(kt(),e)},li.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.toNow=function(e){return this.to(kt(),e)},li.get=function(e){return E(this[e=R(e)])?this[e]():this},li.invalidAt=function(){return p(this).overflow},li.isAfter=function(e,t){var i=w(e)?e:kt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?U(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},li.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var i="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},li.toJSON=function(){return this.isValid()?this.toISOString():null},li.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},li.unix=function(){return Math.floor(this.valueOf()/1e3)},li.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},li.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},li.year=ve,li.isLeapYear=function(){return ge(this.year())},li.weekYear=function(e){return ti.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},li.isoWeekYear=function(e){return ti.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},li.quarter=li.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},li.month=Ee,li.daysInMonth=function(){return ke(this.year(),this.month())},li.week=li.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},li.isoWeek=li.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},li.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},li.isoWeeksInYear=function(){return We(this.year(),1,4)},li.date=ni,li.day=li.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},li.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},li.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},li.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},li.hour=li.hours=Qe,li.minute=li.minutes=ri,li.second=li.seconds=ai,li.millisecond=li.milliseconds=ci,li.utcOffset=function(e,t,i){var n,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(oe,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=jt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?Nt(this,Ft(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:jt(this)},li.utc=function(e){return this.utcOffset(0,e)},li.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},li.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},li.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},li.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},li.isLocal=function(){return!!this.isValid()&&!this._isUTC},li.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},li.isUtc=Yt,li.isUTC=Yt,li.zoneAbbr=function(){return this._isUTC?"UTC":""},li.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},li.dates=M("dates accessor is deprecated. Use date instead.",ni),li.months=M("months accessor is deprecated. Use month instead",Ee),li.years=M("years accessor is deprecated. Use year instead",ve),li.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),li.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=Ct(e))._a){var t=e._isUTC?f(e._a):kt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var ui=O.prototype;function hi(e,t,i,n){var r=ot(),s=f().set(n,t);return r[i](s,e)}function fi(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=hi(e,n,i,"month");return r}function pi(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var r,s=ot(),a=e?s._week.dow:0;if(null!=i)return hi(t,(i+a)%7,n,"day");var o=[];for(r=0;r<7;r++)o[r]=hi(t,(r+a)%7,n,"day");return o}ui.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return E(n)?n.call(t,i):n},ui.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},ui.invalidDate=function(){return this._invalidDate},ui.ordinal=function(e){return this._ordinal.replace("%d",e)},ui.preparse=di,ui.postformat=di,ui.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return E(r)?r(e,t,i,n):r.replace(/%d/i,e)},ui.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return E(i)?i(t):i.replace(/%s/i,t)},ui.set=function(e){var t,i;for(i in e)E(t=e[i])?this[i]=t:this["_"+i]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ui.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},ui.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ui.monthsParse=function(e,t,i){var n,r,s;if(this._monthsParseExact)return Le.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=f([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},ui.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ui.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ui.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},ui.firstDayOfYear=function(){return this._week.doy},ui.firstDayOfWeek=function(){return this._week.dow},ui.weekdays=function(e,t){var i=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(i,this._week.dow):e?i[e.day()]:i},ui.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},ui.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},ui.weekdaysParse=function(e,t,i){var n,r,s;if(this._weekdaysParseExact)return Ne.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=f([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},ui.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ui.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ui.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ui.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ui.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},st("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",st),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",ot);var mi=Math.abs;function _i(e,t,i,n){var r=Ft(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function bi(e){return e<0?Math.floor(e):Math.ceil(e)}function gi(e){return 4800*e/146097}function yi(e){return 146097*e/4800}function vi(e){return function(){return this.as(e)}}var wi=vi("ms"),Ci=vi("s"),Si=vi("m"),ki=vi("h"),xi=vi("d"),Mi=vi("w"),Di=vi("M"),Li=vi("Q"),Ti=vi("y");function Ei(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ai=Ei("milliseconds"),Oi=Ei("seconds"),Pi=Ei("minutes"),Ii=Ei("hours"),Ri=Ei("days"),ji=Ei("months"),Yi=Ei("years"),Vi=Math.round,Wi={ss:44,s:45,m:45,h:22,d:26,M:11};function Fi(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}var Hi=Math.abs;function Bi(e){return(e>0)-(e<0)||+e}function zi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i=Hi(this._milliseconds)/1e3,n=Hi(this._days),r=Hi(this._months);e=C(i/60),t=C(e/60),i%=60,e%=60;var s=C(r/12),a=r%=12,o=n,c=t,l=e,d=i?i.toFixed(3).replace(/\.?0+$/,""):"",u=this.asSeconds();if(!u)return"P0D";var h=u<0?"-":"",f=Bi(this._months)!==Bi(u)?"-":"",p=Bi(this._days)!==Bi(u)?"-":"",m=Bi(this._milliseconds)!==Bi(u)?"-":"";return h+"P"+(s?f+s+"Y":"")+(a?f+a+"M":"")+(o?p+o+"D":"")+(c||l||d?"T":"")+(c?m+c+"H":"")+(l?m+l+"M":"")+(d?m+d+"S":"")}var Ni=Tt.prototype;return Ni.isValid=function(){return this._isValid},Ni.abs=function(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this},Ni.add=function(e,t){return _i(this,e,t,1)},Ni.subtract=function(e,t){return _i(this,e,t,-1)},Ni.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(i=this._months+gi(t=this._days+n/864e5),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(yi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Ni.asMilliseconds=wi,Ni.asSeconds=Ci,Ni.asMinutes=Si,Ni.asHours=ki,Ni.asDays=xi,Ni.asWeeks=Mi,Ni.asMonths=Di,Ni.asQuarters=Li,Ni.asYears=Ti,Ni.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN},Ni._bubble=function(){var e,t,i,n,r,s=this._milliseconds,a=this._days,o=this._months,c=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*bi(yi(o)+a),a=0,o=0),c.milliseconds=s%1e3,e=C(s/1e3),c.seconds=e%60,t=C(e/60),c.minutes=t%60,i=C(t/60),c.hours=i%24,a+=C(i/24),o+=r=C(gi(a)),a-=bi(yi(r)),n=C(o/12),o%=12,c.days=a,c.months=o,c.years=n,this},Ni.clone=function(){return Ft(this)},Ni.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},Ni.milliseconds=Ai,Ni.seconds=Oi,Ni.minutes=Pi,Ni.hours=Ii,Ni.days=Ri,Ni.weeks=function(){return C(this.days()/7)},Ni.months=ji,Ni.years=Yi,Ni.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=function(e,t,i){var n=Ft(e).abs(),r=Vi(n.as("s")),s=Vi(n.as("m")),a=Vi(n.as("h")),o=Vi(n.as("d")),c=Vi(n.as("M")),l=Vi(n.as("y")),d=r<=Wi.ss&&["s",r]||r0,d[4]=i,Fi.apply(null,d)}(this,!e,t);return e&&(i=t.pastFuture(+this,i)),t.postformat(i)},Ni.toISOString=zi,Ni.toString=zi,Ni.toJSON=zi,Ni.locale=Jt,Ni.localeData=Gt,Ni.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zi),Ni.lang=Kt,N("X",0,0,"unix"),N("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,i){i._d=new Date(S(e))})),r.version="2.24.0",t=kt,r.fn=li,r.min=function(){var e=[].slice.call(arguments,0);return Dt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Dt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return kt(1e3*e)},r.months=function(e,t){return fi(e,t,"months")},r.isDate=l,r.locale=st,r.invalid=_,r.duration=Ft,r.isMoment=w,r.weekdays=function(e,t,i){return pi(e,t,i,"weekdays")},r.parseZone=function(){return kt.apply(null,arguments).parseZone()},r.localeData=ot,r.isDuration=Et,r.monthsShort=function(e,t){return fi(e,t,"monthsShort")},r.weekdaysMin=function(e,t,i){return pi(e,t,i,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var i,n,r=et;null!=(n=rt(e))&&(r=n._config),(i=new O(t=A(r,t))).parentLocale=tt[e],tt[e]=i,st(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return D(tt)},r.weekdaysShort=function(e,t,i){return pi(e,t,i,"weekdaysShort")},r.normalizeUnits=R,r.relativeTimeRounding=function(e){return void 0===e?Vi:"function"==typeof e&&(Vi=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Wi[e]&&(void 0===t?Wi[e]:(Wi[e]=t,"s"===e&&(Wi.ss=t-1),!0))},r.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},r.prototype=li,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,i("2pl3")(e))},wk3p:function(e){e.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"}}')},wq4j:function(e,t,i){e.exports=i("43KI").PassThrough},x6pH:function(e,t,i){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]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:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,i){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i("wd/R"))},yCtX:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("HDdC"),r=i("ngJS"),s=i("jZKg");function a(e,t){return t?Object(s.a)(e,t):new n.a(Object(r.a)(e))}},yKow:function(e,t,i){var n=i("e/Dd"),r=i("NPxG"),s=i("ekOh"),a=i("u/Db"),o=i("J6Nv"),c=i("7uVY"),l=n.getBCHDigit(7973);function d(e,t){return a.getCharCountIndicator(e,t)+4}function u(e,t){var i=0;return e.forEach((function(e){var n=d(e.mode,t);i+=n+e.getBitsLength()})),i}t.from=function(e,t){return o.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,i){if(!o.isValid(e))throw new Error("Invalid QR Code version");void 0===i&&(i=a.BYTE);var s=8*(n.getSymbolTotalCodewords(e)-r.getTotalCodewordsCount(e,t));if(i===a.MIXED)return s;var c=s-d(i,e);switch(i){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,i){var n,r=s.from(i,s.M);if(c(e)){if(e.length>1)return function(e,i){for(var n=1;n<=40;n++)if(u(e,n)<=t.getCapacity(n,i,a.MIXED))return n}(e,r);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,i,n){for(var r=1;r<=40;r++)if(i<=t.getCapacity(r,n,e))return r}(n.mode,n.getLength(),r)},t.getEncodedBits=function(e){if(!o.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-l>=0;)t^=7973<11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},z3Vd:function(e,t,i){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(e,i,n,r){var s=function(e){var i=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,s="";return i>0&&(s+=t[i]+"vatlh"),n>0&&(s+=(""!==s?" ":"")+t[n]+"maH"),r>0&&(s+=(""!==s?" ":"")+t[r]),""===s?"pagh":s}(e);switch(n){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".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\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},z71Z:function(e,t,i){var n=i("P7XM"),r=i("f3pb"),s=r.base,a=r.bignum,o=r.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){s.Node.call(this,"der",e)}function d(e,t){var i=e.readUInt8(t);if(e.isError(i))return i;var n=o.tagClass[i>>6],r=0==(32&i);if(31==(31&i)){var s=i;for(i=0;128==(128&s);){if(s=e.readUInt8(t),e.isError(s))return s;i<<=7,i|=127&s}}else i&=31;return{cls:n,primitive:r,tag:i,tagStr:o.tag[i]}}function u(e,t,i){var n=e.readUInt8(i);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var r=127&n;if(r>4)return e.error("length octect is too long");n=0;for(var s=0;s{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:c,token:e,providedIn:"platform"}),e})();function c(){return Object(n.fc)(d)}const l=new n.r("Location Initialized");let d=(()=>{class e extends o{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,i){u()?this._history.pushState(e,t,i):this.location.hash=i}replaceState(e,t,i){u()?this._history.replaceState(e,t,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:h,token:e,providedIn:"platform"}),e})();function u(){return!!window.history.pushState}function h(){return new d(Object(n.fc)(a))}function f(e,t){if(0==e.length)return t;if(0==t.length)return e;let i=0;return e.endsWith("/")&&i++,t.startsWith("/")&&i++,2==i?e+t.substring(1):1==i?e+t:e+"/"+t}function p(e){const t=e.match(/#|\?|$/),i=t&&t.index||e.length;return e.slice(0,i-("/"===e[i-1]?1:0))+e.slice(i)}function m(e){return e&&"?"!==e[0]?"?"+e:e}let _=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:b,token:e,providedIn:"root"}),e})();function b(e){const t=Object(n.fc)(a).location;return new y(Object(n.fc)(o),t&&t.origin||"")}const g=new n.r("appBaseHref");let y=(()=>{class e extends _{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return f(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+m(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,n){const r=this.prepareExternalUrl(i+m(n));this._platformLocation.pushState(e,t,r)}replaceState(e,t,i,n){const r=this.prepareExternalUrl(i+m(n));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(o),n.fc(g,8))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),v=(()=>{class e extends _{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=f(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,i,n){let r=this.prepareExternalUrl(i+m(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,i,n){let r=this.prepareExternalUrl(i+m(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(o),n.fc(g,8))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),w=(()=>{class e{constructor(e,t){this._subject=new n.o,this._urlChangeListeners=[],this._platformStrategy=e;const i=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=p(S(i)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+m(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,S(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._platformStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),i)}replaceState(e,t="",i=null){this._platformStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t,complete:i})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(_),n.fc(o))},e.normalizeQueryParams=m,e.joinWithSlash=f,e.stripTrailingSlash=p,e.\u0275prov=Object(n.Lb)({factory:C,token:e,providedIn:"root"}),e})();function C(){return new w(Object(n.fc)(_),Object(n.fc)(o))}function S(e){return e.replace(/\/index.html$/,"")}const k=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),x=n.ob;class M{}let D=(()=>{class e extends M{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(x(t||this.locale)(e)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.v))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();function L(e,t){t=encodeURIComponent(t);for(const i of e.split(";")){const e=i.indexOf("="),[n,r]=-1==e?[i,""]:[i.slice(0,e),i.slice(e+1)];if(n.trim()===t)return decodeURIComponent(r)}return null}let T=(()=>{class e{constructor(e,t,i,n){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(n.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(n.xb)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.t),n.Pb(n.u),n.Pb(n.l),n.Pb(n.F))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class E{constructor(e,t,i,n){this.$implicit=e,this.ngForOf=t,this.index=i,this.count=n}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let A=(()=>{class e{constructor(e,t,i){this._viewContainer=e,this._template=t,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(n.W)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${i}' of type '${e=i,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,i,n)=>{if(null==e.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new E(null,this._ngForOf,-1,-1),null===n?void 0:n),r=new O(e,i);t.push(r)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const r=this._viewContainer.get(i);this._viewContainer.move(r,n);const s=new O(e,r);t.push(s)}});for(let i=0;i{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class O{constructor(e,t){this.record=e,this.view=t}}let P=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new I,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){R("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){R("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class I{constructor(){this.$implicit=null,this.ngIf=null}}function R(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(n.xb)(t)}'.`)}class j{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Y=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,i){this.ngSwitch=i,i._addCase(),this._view=new j(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M),n.Pb(Y,1))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),W=(()=>{class e{constructor(e,t,i){i._addDefault(new j(e,t))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M),n.Pb(Y,1))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngSwitchDefault",""]]}),e})();class F{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class H{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const B=new H,z=new F;let N=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(n.ub)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,n.R.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(n.tb)(t))return B;if(Object(n.sb)(t))return z;throw i=e,Error(`InvalidPipeArgument: '${t}' for pipe '${Object(n.xb)(i)}'`);var i}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(n.hc())},e.\u0275pipe=n.Ob({name:"async",type:e,pure:!1}),e})(),U=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[{provide:M,useClass:D}]}),e})();function q(e){return"browser"===e}function $(e){return"server"===e}let J=(()=>{class e{}return e.\u0275prov=Object(n.Lb)({token:e,providedIn:"root",factory:()=>new K(Object(n.fc)(a),window,Object(n.fc)(n.n))}),e})();class K{constructor(e,t,i){this.document=e,this.window=t,this.errorHandler=i,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector(`#${e}`);if(t)return void this.scrollToElement(t);const i=this.document.querySelector(`[name='${e}']`);if(i)return void this.scrollToElement(i)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],n-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}class G extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new G,r||(r=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=X||(X=document.querySelector("base"),X)?X.getAttribute("href"):null;return null==t?null:(i=t,Z||(Z=document.createElement("a")),Z.setAttribute("href",i),"/"===Z.pathname.charAt(0)?Z.pathname:"/"+Z.pathname);var i}resetBaseElement(){X=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return L(document.cookie,e)}}let Z,X=null;const Q=new n.r("TRANSITION_ID"),ee=[{provide:n.d,useFactory:function(e,t,i){return()=>{i.get(n.e).donePromise.then(()=>{const i=s();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>i.remove(e))})}},deps:[Q,a,n.s],multi:!0}];class te{static init(){Object(n.Y)(new te)}addToWindow(e){n.qb.getAngularTestability=(t,i=!0)=>{const n=e.findTestabilityInTree(t,i);if(null==n)throw new Error("Could not find testability for element.");return n},n.qb.getAllAngularTestabilities=()=>e.getAllTestabilities(),n.qb.getAllAngularRootElements=()=>e.getAllRootElements(),n.qb.frameworkStabilizers||(n.qb.frameworkStabilizers=[]),n.qb.frameworkStabilizers.push(e=>{const t=n.qb.getAllAngularTestabilities();let i=t.length,r=!1;const s=function(t){r=r||t,i--,0==i&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,i){if(null==t)return null;const n=e.getTestability(t);return null!=n?n:i?s().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const ie=new n.r("EventManagerPlugins");let ne=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,i){return this._findPluginFor(t).addEventListener(e,t,i)}addGlobalEventListener(e,t,i){return this._findPluginFor(t).addGlobalEventListener(e,t,i)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const i=this._plugins;for(let n=0;n{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),ae=(()=>{class e extends se{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const i=this._doc.createElement("style");i.textContent=e,this._styleNodes.add(t.appendChild(i))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>s().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const oe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ce=/%COMP%/g;function le(e,t,i){for(let n=0;n{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let ue=(()=>{class e{constructor(e,t,i){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new he(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case n.Q.Emulated:{let i=this.rendererByCompId.get(t.id);return i||(i=new fe(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,i)),i.applyToHost(e),i}case n.Q.Native:case n.Q.ShadowDom:return new pe(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=le(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(n.fc(ne),n.fc(ae),n.fc(n.c))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class he{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(oe[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,i){e&&e.insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;const r=oe[n];r?e.setAttributeNS(r,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const n=oe[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&n.H.DashCase?e.style.setProperty(t,i,r&n.H.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&n.H.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,de(i)):this.eventManager.addEventListener(e,t,de(i))}}class fe extends he{constructor(e,t,i,n){super(e),this.component=i;const r=le(n+"-"+i.id,i.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(ce,n+"-"+i.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(ce,e)}(n+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class pe extends he{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.component=r,this.shadowRoot=r.encapsulation===n.Q.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=le(r.id,r.styles,[]);for(let n=0;n{class e extends re{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i){return e.addEventListener(t,i,!1),()=>this.removeEventListener(e,t,i)}removeEventListener(e,t,i){return e.removeEventListener(t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const _e=["alt","control","meta","shift"],be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ge={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ye={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ve=(()=>{class e extends re{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,n){const r=e.parseEventName(i),a=e.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>s().onAndCancel(t,r.domEventName,a))}static parseEventName(t){const i=t.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const r=e._normalizeKey(i.pop());let s="";if(_e.forEach(e=>{const t=i.indexOf(e);t>-1&&(i.splice(t,1),s+=e+".")}),s+=r,0!=i.length||0===r.length)return null;const a={};return a.domEventName=n,a.fullKey=s,a}static getEventFullKey(e){let t="",i=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&ge.hasOwnProperty(t)&&(t=ge[t]))}return be[t]||t}(e);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),_e.forEach(n=>{n!=i&&(0,ye[n])(e)&&(t+=n+".")}),t+=i,t}static eventCallback(t,i,n){return r=>{e.getEventFullKey(r)===t&&n.runGuarded(()=>i(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),we=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return Object(n.fc)(Ce)},token:e,providedIn:"root"}),e})(),Ce=(()=>{class e extends we{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case n.J.NONE:return t;case n.J.HTML:return Object(n.fb)(t,"HTML")?Object(n.yb)(t):Object(n.cb)(this._doc,String(t));case n.J.STYLE:return Object(n.fb)(t,"Style")?Object(n.yb)(t):Object(n.db)(t);case n.J.SCRIPT:if(Object(n.fb)(t,"Script"))return Object(n.yb)(t);throw new Error("unsafe value used in a script context");case n.J.URL:return Object(n.pb)(t),Object(n.fb)(t,"URL")?Object(n.yb)(t):Object(n.eb)(String(t));case n.J.RESOURCE_URL:if(Object(n.fb)(t,"ResourceURL"))return Object(n.yb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(n.gb)(e)}bypassSecurityTrustStyle(e){return Object(n.jb)(e)}bypassSecurityTrustScript(e){return Object(n.ib)(e)}bypassSecurityTrustUrl(e){return Object(n.kb)(e)}bypassSecurityTrustResourceUrl(e){return Object(n.hb)(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return e=Object(n.fc)(n.p),new Ce(e.get(a));var e},token:e,providedIn:"root"}),e})();const Se=[{provide:n.C,useValue:"browser"},{provide:n.D,useValue:function(){G.makeCurrent(),te.init()},multi:!0},{provide:a,useFactory:function(){return Object(n.wb)(document),document},deps:[]}],ke=Object(n.S)(n.X,"browser",Se),xe=[[],{provide:n.ab,useValue:"root"},{provide:n.n,useFactory:function(){return new n.n},deps:[]},{provide:ie,useClass:me,multi:!0,deps:[a,n.A,n.C]},{provide:ie,useClass:ve,multi:!0,deps:[a]},[],{provide:ue,useClass:ue,deps:[ne,ae,n.c]},{provide:n.G,useExisting:ue},{provide:se,useExisting:ae},{provide:ae,useClass:ae,deps:[a]},{provide:n.N,useClass:n.N,deps:[n.A]},{provide:ne,useClass:ne,deps:[ie,n.A]},[]];let Me=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:n.c,useValue:t.appId},{provide:Q,useExisting:n.c},ee]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(e,12))},providers:xe,imports:[U,n.f]}),e})();"undefined"!=typeof window&&window;var De=i("R0Ic"),Le=i("t9l1");let Te=(()=>{class e extends De.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:n.Q.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?Object(De.j)(e):e;return Oe(this._renderer,null,t,"register",[i]),new Ee(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.G),n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class Ee extends De.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Ae(this._id,e,t||{},this._renderer)}}class Ae{constructor(e,t,i,n){this.id=e,this.element=t,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Oe(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function Oe(e,t,i,n,r){return e.setProperty(t,`@@${i}:${n}`,r)}let Pe=(()=>{class e{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(i);return e||(e=new Ie("",i,this.engine),this._rendererCache.set(i,e)),e}const n=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(n,r,e,t.name,t)};return t.data.animation.forEach(s),new Re(this,r,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){e>=0&&et(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,i]=e;t(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.G),n.fc(Le.b),n.fc(n.A))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class Ie{constructor(e,t,i){this.namespaceId=e,this.delegate=t,this.engine=i,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,n){this.delegate.setAttribute(e,t,i,n)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,n){this.delegate.setStyle(e,t,i,n)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Re extends Ie{constructor(e,t,i,n){super(t,i,n),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.substr(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),s="";return"@"!=r.charAt(0)&&([r,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,n,r,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,i,e)})}return this.delegate.listen(e,t,i)}}let je=(()=>{class e extends Le.b{constructor(e,t,i){super(e.body,t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a),n.fc(Le.a),n.fc(Le.c))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const Ye=new n.r("AnimationModuleType"),Ve=[{provide:De.b,useClass:Te},{provide:Le.c,useFactory:function(){return new Le.g}},{provide:Le.b,useClass:je},{provide:n.G,useFactory:function(e,t,i){return new Pe(e,t,i)},deps:[ue,Le.b,n.A]}],We=[{provide:Le.a,useFactory:function(){return Object(Le.h)()?new Le.f:new Le.d}},{provide:Ye,useValue:"BrowserAnimations"},...Ve];let Fe=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:We,imports:[Me]}),e})();var He=i("HDdC"),Be=i("DH7j"),ze=i("lJxs"),Ne=i("XoHu"),Ue=i("Cfvw");function qe(...e){if(1===e.length){const t=e[0];if(Object(Be.a)(t))return $e(t,null);if(Object(Ne.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return $e(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return $e(e=1===e.length&&Object(Be.a)(e[0])?e[0]:e,null).pipe(Object(ze.a)(e=>t(...e)))}return $e(e,null)}function $e(e,t){return new He.a(i=>{const n=e.length;if(0===n)return void i.complete();const r=new Array(n);let s=0,a=0;for(let o=0;o{l||(l=!0,a++),r[o]=e},error:e=>i.error(e),complete:()=>{s++,s!==n&&l||(a===n&&i.next(t?t.reduce((e,t,i)=>(e[t]=r[i],e),{}):r),i.complete())}}))}})}const Je=new n.r("NgValueAccessor"),Ke={provide:Je,useExisting:Object(n.U)(()=>Ge),multi:!0};let Ge=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[n.Bb([Ke])]}),e})();const Ze={provide:Je,useExisting:Object(n.U)(()=>Qe),multi:!0},Xe=new n.r("CompositionEventMode");let Qe=(()=>{class e{constructor(e,t,i){this._renderer=e,this._elementRef=t,this._compositionMode=i,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=s()?s().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l),n.Pb(Xe,8))},e.\u0275dir=n.Kb({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&n.jc("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[n.Bb([Ze])]}),e})(),et=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e}),e})(),tt=(()=>{class e extends et{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return it(t||e)},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})();const it=n.Zb(tt);function nt(){throw new Error("unimplemented")}class rt extends et{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return nt()}get asyncValidator(){return nt()}}let st=(()=>{class e extends class{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(rt,2))},e.\u0275dir=n.Kb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&n.Gb("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[n.zb]}),e})();function at(e){return null==e||0===e.length}const ot=new n.r("NgValidators"),ct=new n.r("NgAsyncValidators"),lt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class dt{static min(e){return t=>{if(at(t.value)||at(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i{if(at(t.value)||at(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i>e?{max:{max:e,actual:t.value}}:null}}static required(e){return at(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return at(e.value)?null:lt.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(at(t.value))return null;const i=t.value?t.value.length:0;return i{const i=t.value?t.value.length:0;return i>e?{maxlength:{requiredLength:e,actualLength:i}}:null}}static pattern(e){if(!e)return dt.nullValidator;let t,i;return"string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),t=new RegExp(i)):(i=e.toString(),t=e),e=>{if(at(e.value))return null;const n=e.value;return t.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(ut);return 0==t.length?null:function(e){return ft(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(ut);return 0==t.length?null:function(e){return qe(function(e,t){return t.map(t=>t(e))}(e,t).map(ht)).pipe(Object(ze.a)(ft))}}}function ut(e){return null!=e}function ht(e){const t=Object(n.tb)(e)?Object(Ue.a)(e):e;if(!Object(n.sb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function ft(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function pt(e){return e.validate?t=>e.validate(t):e}function mt(e){return e.validate?t=>e.validate(t):e}const _t={provide:Je,useExisting:Object(n.U)(()=>bt),multi:!0};let bt=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[n.Bb([_t])]}),e})();const gt={provide:Je,useExisting:Object(n.U)(()=>vt),multi:!0};let yt=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),vt=(()=>{class e{constructor(e,t,i,n){this._renderer=e,this._elementRef=t,this._registry=i,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(rt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l),n.Pb(yt),n.Pb(n.s))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.Bb([gt])]}),e})();const wt={provide:Je,useExisting:Object(n.U)(()=>Ct),multi:!0};let Ct=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[n.Bb([wt])]}),e})();const St='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',kt='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',xt='\n
\n
\n \n
\n
',Mt={provide:Je,useExisting:Object(n.U)(()=>Lt),multi:!0};function Dt(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Lt=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=n.ub}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const i=Dt(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[n.Bb([Mt])]}),e})(),Tt=(()=>{class e{constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Dt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.F),n.Pb(Lt,9))},e.\u0275dir=n.Kb({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const Et={provide:Je,useExisting:Object(n.U)(()=>Ot),multi:!0};function At(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Ot=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=n.ub}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const i=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(i.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const i=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t{class e{constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(At(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(At(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.F),n.Pb(Ot,9))},e.\u0275dir=n.Kb({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();function It(e,t){return[...t.path,e]}function Rt(e,t){e||Wt(t,"Cannot find control with"),t.valueAccessor||Wt(t,"No value accessor for form control with"),e.validator=dt.compose([e.validator,t.validator]),e.asyncValidator=dt.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(i=>{e._pendingValue=i,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&jt(e,t)})}(e,t),function(e,t){e.registerOnChange((e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&jt(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function jt(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Yt(e,t){null==e&&Wt(t,"Cannot find control with"),e.validator=dt.compose([e.validator,t.validator]),e.asyncValidator=dt.composeAsync([e.asyncValidator,t.asyncValidator])}function Vt(e){return Wt(e,"There is no FormControl instance attached to form control element with")}function Wt(e,t){let i;throw i=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${i}`)}function Ft(e){return null!=e?dt.compose(e.map(pt)):null}function Ht(e){return null!=e?dt.composeAsync(e.map(mt)):null}const Bt=[Ge,Ct,bt,Lt,Ot,vt];function zt(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Nt(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function Ut(e){const t=$t(e)?e.validators:e;return Array.isArray(t)?Ft(t):t||null}function qt(e,t){const i=$t(t)?t.asyncValidators:e;return Array.isArray(i)?Ht(i):i||null}function $t(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Jt{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=Ut(e)}setAsyncValidators(e){this.asyncValidator=qt(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=ht(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,i){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let n=e;return t.forEach(e=>{n=n instanceof Gt?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof Zt&&n.at(e)||null}),n}(this,e)}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new n.o,this.statusChanges=new n.o}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){$t(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class Kt extends Jt{constructor(e=null,t,i){super(Ut(t),qt(i,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Gt extends Jt{constructor(e,t,i){super(Ut(t),qt(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t instanceof Kt?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){let t=!1;return this._forEachChild((i,n)=>{t=t||this.contains(n)&&e(i)}),t}_reduceValue(){return this._reduceChildren({},(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(e,t){let i=e;return this._forEachChild((e,n)=>{i=t(i,e,n)}),i}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class Zt extends Jt{constructor(e,t,i){super(Ut(t),qt(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,i)=>{this.at(i)&&this.at(i).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof Kt?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,i)=>{e(t,i)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Xt={provide:tt,useExisting:Object(n.U)(()=>ei)},Qt=(()=>Promise.resolve(null))();let ei=(()=>{class e extends tt{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.o,this.form=new Gt({},Ft(e),Ht(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Qt.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Rt(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Qt.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),Nt(this._directives,e)})}addFormGroup(e){Qt.then(()=>{const t=this._findContainer(e.path),i=new Gt({});Yt(i,e),t.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Qt.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Qt.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,zt(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ot,10),n.Pb(ct,10))},e.\u0275dir=n.Kb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&n.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Bb([Xt]),n.zb]}),e})(),ti=(()=>{class e extends tt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return It(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Ft(this._validators)}get asyncValidator(){return Ht(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return ii(t||e)},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})();const ii=n.Zb(ti);class ni{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${St}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n `)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${kt}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${xt}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${kt}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${xt}`)}}const ri={provide:tt,useExisting:Object(n.U)(()=>si)};let si=(()=>{class e extends ti{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}_checkParentType(){this._parent instanceof e||this._parent instanceof ei||ni.modelGroupParentException()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(tt,5),n.Pb(ot,10),n.Pb(ct,10))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.Bb([ri]),n.zb]}),e})();const ai={provide:rt,useExisting:Object(n.U)(()=>ci)},oi=(()=>Promise.resolve(null))();let ci=(()=>{class e extends rt{constructor(e,t,i,r){super(),this.control=new Kt,this._registered=!1,this.update=new n.o,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=i||[],this.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Wt(e,"Value accessor was not provided as an array for form control with");let i=void 0,n=void 0,r=void 0;return t.forEach(t=>{var s;t.constructor===Qe?i=t:(s=t,Bt.some(e=>s.constructor===e)?(n&&Wt(e,"More than one built-in value accessor matches form control with"),n=t):(r&&Wt(e,"More than one custom value accessor matches form control with"),r=t))}),r||n||i||(Wt(e,"No valid value accessor for form control with"),null)}(this,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;const i=e.model;return!!i.isFirstChange()||!Object(n.ub)(t,i.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?It(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Ft(this._rawValidators)}get asyncValidator(){return Ht(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Rt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof si)&&this._parent instanceof ti?ni.formGroupNameException():this._parent instanceof si||this._parent instanceof ei||ni.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ni.missingNameException()}_updateValue(e){oi.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,i=""===t||t&&"false"!==t;oi.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(tt,9),n.Pb(ot,10),n.Pb(ct,10),n.Pb(Je,10))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.Bb([ai]),n.zb,n.Ab()]}),e})();const li={provide:tt,useExisting:Object(n.U)(()=>di)};let di=(()=>{class e extends tt{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new n.o}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Rt(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Nt(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);Yt(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);Yt(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,zt(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(()=>Vt(t)),t.valueAccessor.registerOnTouched(()=>Vt(t)),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&Rt(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=Ft(this._validators);this.form.validator=dt.compose([this.form.validator,e]);const t=Ht(this._asyncValidators);this.form.asyncValidator=dt.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||class{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${St}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${kt}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${xt}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${St}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${kt}`)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(e){console.warn(`\n It looks like you're using ngModel on the same form field as ${e}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}.missingFormException()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ot,10),n.Pb(ct,10))},e.\u0275dir=n.Kb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&n.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Bb([li]),n.zb,n.Ab()]}),e})();const ui={provide:ot,useExisting:Object(n.U)(()=>hi),multi:!0};let hi=(()=>{class e{get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!==`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?dt.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&n.Db("required",t.required?"":null)},inputs:{required:"required"},features:[n.Bb([ui])]}),e})();const fi={provide:ot,useExisting:Object(n.U)(()=>pi),multi:!0};let pi=(()=>{class e{ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=dt.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&n.Db("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.Bb([fi]),n.Ab()]}),e})(),mi=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})(),_i=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[yt],imports:[mi]}),e})();var bi=i("z+Ro"),gi=i("yCtX"),yi=i("jZKg");function vi(...e){let t=e[e.length-1];return Object(bi.a)(t)?(e.pop(),Object(yi.a)(e,t)):Object(gi.a)(e)}var wi=i("5+tZ");function Ci(e,t){return Object(wi.a)(e,t,1)}var Si=i("7o/Q");function ki(e,t){return function(i){return i.lift(new xi(e,t))}}class xi{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Mi(e,this.predicate,this.thisArg))}}class Mi extends Si.a{constructor(e,t,i){super(e),this.predicate=t,this.thisArg=i,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}class Di{}class Li{}class Ti{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const i=e.slice(0,t),n=i.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let i=e[t];const n=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(t,n))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Ti?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Ti;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ti?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const n=("a"===e.op?this.headers.get(t):void 0)||[];n.push(...i),this.headers.set(t,n);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class Ei{encodeKey(e){return Ai(e)}encodeValue(e){return Ai(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function Ai(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Oi{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Ei,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const i=new Map;return e.length>0&&e.split("&").forEach(e=>{const n=e.indexOf("="),[r,s]=-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],a=i.get(r)||[];a.push(s),i.set(r,a)}),i}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t];this.map.set(t,Array.isArray(i)?i:[i])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Oi({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const i=t.indexOf(e.value);-1!==i&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function Pi(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Ii(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Ri(e){return"undefined"!=typeof FormData&&e instanceof FormData}class ji{constructor(e,t,i,n){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,r=n):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new Ti),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const i=t.indexOf("?");this.urlWithParams=t+(-1===i?"?":it.set(i,e.setHeaders[i]),o)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,i)=>t.set(i,e.setParams[i]),c)),new ji(t,i,r,{params:c,headers:o,reportProgress:a,responseType:n,withCredentials:s})}}const Yi=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class Vi{constructor(e,t=200,i="OK"){this.headers=e.headers||new Ti,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Wi extends Vi{constructor(e={}){super(e),this.type=Yi.ResponseHeader}clone(e={}){return new Wi({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Fi extends Vi{constructor(e={}){super(e),this.type=Yi.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Fi({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Hi extends Vi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Bi(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let zi=(()=>{class e{constructor(e){this.handler=e}request(e,t,i={}){let n;if(e instanceof ji)n=e;else{let r=void 0;r=i.headers instanceof Ti?i.headers:new Ti(i.headers);let s=void 0;i.params&&(s=i.params instanceof Oi?i.params:new Oi({fromObject:i.params})),n=new ji(e,t,void 0!==i.body?i.body:null,{headers:r,params:s,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const r=vi(n).pipe(Ci(e=>this.handler.handle(e)));if(e instanceof ji||"events"===i.observe)return r;const s=r.pipe(ki(e=>e instanceof Fi));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.pipe(Object(ze.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(Object(ze.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe(Object(ze.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe(Object(ze.a)(e=>e.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new Oi).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,Bi(i,t))}post(e,t,i={}){return this.request("POST",e,Bi(i,t))}put(e,t,i={}){return this.request("PUT",e,Bi(i,t))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Di))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class Ni{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Ui=new n.r("HTTP_INTERCEPTORS");let qi=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const $i=/^\)\]\}',?\n/;class Ji{}let Ki=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Gi=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new He.a(t=>{const i=this.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((e,t)=>i.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&i.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();i.responseType="json"!==t?t:"text"}const n=e.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const t=1223===i.status?204:i.status,n=i.statusText||"OK",s=new Ti(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return r=new Wi({headers:s,status:t,statusText:n,url:a}),r},a=()=>{let{headers:n,status:r,statusText:a,url:o}=s(),c=null;204!==r&&(c=void 0===i.response?i.responseText:i.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace($i,"");try{c=""!==c?JSON.parse(c):null}catch(d){c=e,l&&(l=!1,c={error:d,text:c})}}l?(t.next(new Fi({body:c,headers:n,status:r,statusText:a,url:o||void 0})),t.complete()):t.error(new Hi({error:c,headers:n,status:r,statusText:a,url:o||void 0}))},o=e=>{const{url:n}=s(),r=new Hi({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});t.error(r)};let c=!1;const l=n=>{c||(t.next(s()),c=!0);let r={type:Yi.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(r.total=n.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),t.next(r)},d=e=>{let i={type:Yi.UploadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),t.next(i)};return i.addEventListener("load",a),i.addEventListener("error",o),e.reportProgress&&(i.addEventListener("progress",l),null!==n&&i.upload&&i.upload.addEventListener("progress",d)),i.send(n),t.next({type:Yi.Sent}),()=>{i.removeEventListener("error",o),i.removeEventListener("load",a),e.reportProgress&&(i.removeEventListener("progress",l),null!==n&&i.upload&&i.upload.removeEventListener("progress",d)),i.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Ji))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const Zi=new n.r("XSRF_COOKIE_NAME"),Xi=new n.r("XSRF_HEADER_NAME");class Qi{}let en=(()=>{class e{constructor(e,t,i){this.doc=e,this.platform=t,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=L(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a),n.fc(n.C),n.fc(Zi))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),tn=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const i=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||i.startsWith("http://")||i.startsWith("https://"))return t.handle(e);const n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Qi),n.fc(Xi))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),nn=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Ui,[]);this.chain=e.reduceRight((e,t)=>new Ni(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Li),n.fc(n.s))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),rn=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:tn,useClass:qi}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Zi,useValue:t.cookieName}:[],t.headerName?{provide:Xi,useValue:t.headerName}:[]]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[tn,{provide:Ui,useExisting:tn,multi:!0},{provide:Qi,useClass:en},{provide:Zi,useValue:"XSRF-TOKEN"},{provide:Xi,useValue:"X-XSRF-TOKEN"}]}),e})(),sn=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[zi,{provide:Di,useClass:nn},Gi,{provide:Li,useExisting:Gi},Ki,{provide:Ji,useExisting:Ki}],imports:[[rn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();var an=i("XNiG"),on=i("9ppp");class cn extends an.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new on.a;return this._value}next(e){super.next(this._value=e)}}const ln=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var dn=i("l7GE"),un=i("ZUHj");const hn={};function fn(...e){let t=null,i=null;return Object(bi.a)(e[e.length-1])&&(i=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(Be.a)(e[0])&&(e=e[0]),Object(gi.a)(e,i).lift(new pn(t))}class pn{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new mn(e,this.resultSelector))}}class mn extends dn.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(hn),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let i=0;ie.complete());function bn(e){return e?function(e){return new He.a(t=>e.schedule(()=>t.complete()))}(e):_n}function gn(e){return new He.a(t=>{let i;try{i=e()}catch(n){return void t.error(n)}return(i?Object(Ue.a)(i):bn()).subscribe(t)})}var yn=i("bHdf");function vn(){return Object(yn.a)(1)}const wn=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Cn(e){return function(t){return 0===e?bn():t.lift(new Sn(e))}}class Sn{constructor(e){if(this.total=e,this.total<0)throw new wn}call(e,t){return t.subscribe(new kn(e,this.total))}}class kn extends Si.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,i=this.total,n=this.count++;t.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let r=0;rt.lift(new Mn(e))}class Mn{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Dn(e,this.errorFactory))}}class Dn extends Si.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Ln(){return new ln}function Tn(e=null){return t=>t.lift(new En(e))}class En{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new An(e,this.defaultValue))}}class An extends Si.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var On=i("SpAZ");function Pn(e,t){const i=arguments.length>=2;return n=>n.pipe(e?ki((t,i)=>e(t,i,n)):On.a,Cn(1),i?Tn(t):xn(()=>new ln))}var In=i("51Dv");function Rn(e){return function(t){const i=new jn(e),n=t.lift(i);return i.caught=n}}class jn{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Yn(e,this.selector,this.caught))}}class Yn extends dn.a{constructor(e,t,i){super(e),this.selector=t,this.caught=i}error(e){if(!this.isStopped){let i;try{i=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const n=new In.a(this,void 0,void 0);this.add(n);const r=Object(un.a)(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}function Vn(e){return t=>0===e?bn():t.lift(new Wn(e))}class Wn{constructor(e){if(this.total=e,this.total<0)throw new wn}call(e,t){return t.subscribe(new Fn(e,this.total))}}class Fn extends Si.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}function Hn(e,t){const i=arguments.length>=2;return n=>n.pipe(e?ki((t,i)=>e(t,i,n)):On.a,Vn(1),i?Tn(t):xn(()=>new ln))}class Bn{constructor(e,t,i){this.predicate=e,this.thisArg=t,this.source=i}call(e,t){return t.subscribe(new zn(e,this.predicate,this.thisArg,this.source))}}class zn extends Si.a{constructor(e,t,i,n){super(e),this.predicate=t,this.thisArg=i,this.source=n,this.index=0,this.thisArg=i||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(i){return void this.destination.error(i)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Nn(e,t){return"function"==typeof t?i=>i.pipe(Nn((i,n)=>Object(Ue.a)(e(i,n)).pipe(Object(ze.a)((e,r)=>t(i,e,n,r))))):t=>t.lift(new Un(e))}class Un{constructor(e){this.project=e}call(e,t){return t.subscribe(new qn(e,this.project))}}class qn extends dn.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this._innerSub(t,e,i)}_innerSub(e,t,i){const n=this.innerSubscription;n&&n.unsubscribe();const r=new In.a(this,t,i),s=this.destination;s.add(r),this.innerSubscription=Object(un.a)(this,e,void 0,void 0,r),this.innerSubscription!==r&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,i,n,r){this.destination.next(t)}}function $n(...e){return vn()(vi(...e))}function Jn(...e){const t=e[e.length-1];return Object(bi.a)(t)?(e.pop(),i=>$n(e,i,t)):t=>$n(e,t)}function Kn(e,t){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new Gn(e,t,i))}}class Gn{constructor(e,t,i=!1){this.accumulator=e,this.seed=t,this.hasSeed=i}call(e,t){return t.subscribe(new Zn(e,this.accumulator,this.seed,this.hasSeed))}}class Zn extends Si.a{constructor(e,t,i,n){super(e),this.accumulator=t,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let i;try{i=this.accumulator(this.seed,e,t)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}var Xn=i("mCNh"),Qn=i("KqfI"),er=i("n6bG");function tr(e,t,i){return function(n){return n.lift(new ir(e,t,i))}}class ir{constructor(e,t,i){this.nextOrObserver=e,this.error=t,this.complete=i}call(e,t){return t.subscribe(new nr(e,this.nextOrObserver,this.error,this.complete))}}class nr extends Si.a{constructor(e,t,i,n){super(e),this._tapNext=Qn.a,this._tapError=Qn.a,this._tapComplete=Qn.a,this._tapError=i||Qn.a,this._tapComplete=n||Qn.a,Object(er.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Qn.a,this._tapError=t.error||Qn.a,this._tapComplete=t.complete||Qn.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}var rr=i("quSY");function sr(e){return t=>t.lift(new ar(e))}class ar{constructor(e){this.callback=e}call(e,t){return t.subscribe(new or(e,this.callback))}}class or extends Si.a{constructor(e,t){super(e),this.add(new rr.a(t))}}class cr{constructor(e,t){this.id=e,this.url=t}}class lr extends cr{constructor(e,t,i="imperative",n=null){super(e,t),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dr extends cr{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ur extends cr{constructor(e,t,i){super(e,t),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hr extends cr{constructor(e,t,i){super(e,t),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fr extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mr extends cr{constructor(e,t,i,n,r){super(e,t),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _r extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class br extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gr{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yr{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vr{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wr{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cr{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sr{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kr{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let xr=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&n.Rb(0,"router-outlet")},directives:function(){return[La]},encapsulation:2}),e})();class Mr{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Dr(e){return new Mr(e)}function Lr(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Tr(e,t,i){const n=i.path.split("/");if(n.length>e.length)return null;if("full"===i.pathMatch&&(t.hasChildren()||n.lengtht.indexOf(e)>-1):e===t}function Yr(e){return Array.prototype.concat.apply([],e)}function Vr(e){return e.length>0?e[e.length-1]:null}function Wr(e,t){for(const i in e)e.hasOwnProperty(i)&&t(e[i],i)}function Fr(e){return Object(n.sb)(e)?e:Object(n.tb)(e)?Object(Ue.a)(Promise.resolve(e)):vi(e)}function Hr(e,t,i){return i?function(e,t){return Rr(e,t)}(e.queryParams,t.queryParams)&&function e(t,i){if(!Ur(t.segments,i.segments))return!1;if(t.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children){if(!t.children[n])return!1;if(!e(t.children[n],i.children[n]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>jr(e[i],t[i]))}(e.queryParams,t.queryParams)&&function e(t,i){return function t(i,n,r){if(i.segments.length>r.length)return!!Ur(i.segments.slice(0,r.length),r)&&!n.hasChildren();if(i.segments.length===r.length){if(!Ur(i.segments,r))return!1;for(const t in n.children){if(!i.children[t])return!1;if(!e(i.children[t],n.children[t]))return!1}return!0}{const e=r.slice(0,i.segments.length),s=r.slice(i.segments.length);return!!Ur(i.segments,e)&&!!i.children.primary&&t(i.children.primary,n,s)}}(t,i,i.segments)}(e.root,t.root)}class Br{constructor(e,t,i){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dr(this.queryParams)),this._queryParamMap}toString(){return Kr.serialize(this)}}class zr{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Wr(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gr(this)}}class Nr{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Dr(this.parameters)),this._parameterMap}toString(){return is(this)}}function Ur(e,t){return e.length===t.length&&e.every((e,i)=>e.path===t[i].path)}function qr(e,t){let i=[];return Wr(e.children,(e,n)=>{"primary"===n&&(i=i.concat(t(e,n)))}),Wr(e.children,(e,n)=>{"primary"!==n&&(i=i.concat(t(e,n)))}),i}class $r{}class Jr{parse(e){const t=new os(e);return new Br(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,i){if(!t.hasChildren())return Gr(t);if(i){const i=t.children.primary?e(t.children.primary,!1):"",n=[];return Wr(t.children,(t,i)=>{"primary"!==i&&n.push(`${i}:${e(t,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=qr(t,(i,n)=>"primary"===n?[e(t.children.primary,!1)]:[`${n}:${e(i,!1)}`]);return`${Gr(t)}/(${i.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const i=e[t];return Array.isArray(i)?i.map(e=>`${Xr(t)}=${Xr(e)}`).join("&"):`${Xr(t)}=${Xr(i)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Kr=new Jr;function Gr(e){return e.segments.map(e=>is(e)).join("/")}function Zr(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xr(e){return Zr(e).replace(/%3B/gi,";")}function Qr(e){return Zr(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function es(e){return decodeURIComponent(e)}function ts(e){return es(e.replace(/\+/g,"%20"))}function is(e){return`${Qr(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Qr(e)}=${Qr(t[e])}`).join("")}`;var t}const ns=/^[^\/()?;=#]+/;function rs(e){const t=e.match(ns);return t?t[0]:""}const ss=/^[^=?&#]+/,as=/^[^?&#]+/;class os{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new zr([],{}):new zr([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i.primary=new zr(e,t)),i}parseSegment(){const e=rs(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Nr(es(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=rs(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=rs(this.remaining);e&&(i=e,this.capture(i))}e[es(t)]=es(i)}parseQueryParam(e){const t=function(e){const t=e.match(ss);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(as);return t?t[0]:""}(this.remaining);e&&(i=e,this.capture(i))}const n=ts(t),r=ts(i);if(e.hasOwnProperty(n)){let t=e[n];Array.isArray(t)||(t=[t],e[n]=t),t.push(r)}else e[n]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=rs(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;i.indexOf(":")>-1?(r=i.substr(0,i.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");const s=this.parseChildren();t[r]=1===Object.keys(s).length?s.primary:new zr([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class cs{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=ls(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=ls(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=ds(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return ds(e,this._root).map(e=>e.value)}}function ls(e,t){if(e===t.value)return t;for(const i of t.children){const t=ls(e,i);if(t)return t}return null}function ds(e,t){if(e===t.value)return[t];for(const i of t.children){const n=ds(e,i);if(n.length)return n.unshift(t),n}return[]}class us{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function hs(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class fs extends cs{constructor(e,t){super(e),this.snapshot=t,ys(this,e)}toString(){return this.snapshot.toString()}}function ps(e,t){const i=function(e,t){const i=new bs([],{},{},"",{},"primary",t,null,e.root,-1,{});return new gs("",new us(i,[]))}(e,t),n=new cn([new Nr("",{})]),r=new cn({}),s=new cn({}),a=new cn({}),o=new cn(""),c=new ms(n,r,a,o,s,"primary",t,i.root);return c.snapshot=i.root,new fs(new us(c,[]),i)}class ms{constructor(e,t,i,n,r,s,a,o){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=r,this.outlet=s,this.component=a,this._futureSnapshot=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(ze.a)(e=>Dr(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(ze.a)(e=>Dr(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _s(e,t="emptyOnly"){const i=e.pathFromRoot;let n=0;if("always"!==t)for(n=i.length-1;n>=1;){const e=i[n],t=i[n-1];if(e.routeConfig&&""===e.routeConfig.path)n--;else{if(t.component)break;n--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class bs{constructor(e,t,i,n,r,s,a,o,c,l,d){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=r,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=c,this._lastPathIndex=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Dr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gs extends cs{constructor(e,t){super(t),this.url=e,ys(this,t)}toString(){return vs(this._root)}}function ys(e,t){t.value._routerState=e,t.children.forEach(t=>ys(e,t))}function vs(e){const t=e.children.length>0?` { ${e.children.map(vs).join(", ")} } `:"";return`${e.value}${t}`}function ws(e){if(e.snapshot){const t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,Rr(t.queryParams,i.queryParams)||e.queryParams.next(i.queryParams),t.fragment!==i.fragment&&e.fragment.next(i.fragment),Rr(t.params,i.params)||e.params.next(i.params),function(e,t){if(e.length!==t.length)return!1;for(let i=0;iRr(e.parameters,n[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Cs(e.parent,t.parent))}function Ss(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ks(e,t,i,n,r){let s={};return n&&Wr(n,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Br(i.root===e?t:function e(t,i,n){const r={};return Wr(t.children,(t,s)=>{r[s]=t===i?n:e(t,i,n)}),new zr(t.segments,r)}(i.root,e,t),s,r)}class xs{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&Ss(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(n&&n!==Vr(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ms{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function Ds(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:`${e}`}function Ls(e,t,i){if(e||(e=new zr([],{})),0===e.segments.length&&e.hasChildren())return Ts(e,t,i);const n=function(e,t,i){let n=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;const t=e.segments[r],a=Ds(i[n]),o=n0&&void 0===a)break;if(a&&o&&"object"==typeof o&&void 0===o.outlets){if(!Ps(a,o,t))return s;n+=2}else{if(!Ps(a,{},t))return s;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex{null!==i&&(r[n]=Ls(e.children[n],t,i))}),Wr(e.children,(e,t)=>{void 0===n[t]&&(r[t]=e)}),new zr(e.segments,r)}}function Es(e,t,i){const n=e.segments.slice(0,t);let r=0;for(;r{null!==e&&(t[i]=Es(new zr([],{}),0,e))}),t}function Os(e){const t={};return Wr(e,(e,i)=>t[i]=`${e}`),t}function Ps(e,t,i){return e==i.path&&Rr(t,i.parameters)}class Is{constructor(e,t,i,n){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=n}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),ws(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const n=hs(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,n[t],i),delete n[t]}),Wr(n,(e,t)=>{this.deactivateRouteAndItsChildren(e,i)})}deactivateRoutes(e,t,i){const n=e.value,r=t?t.value:null;if(n===r)if(n.component){const r=i.getContext(n.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,i);else r&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet);if(i&&i.outlet){const t=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:n})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet);if(i){const n=hs(e),r=e.value.component?i.children:t;Wr(n,(e,t)=>this.deactivateRouteAndItsChildren(e,r)),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}activateChildRoutes(e,t,i){const n=hs(t);e.children.forEach(e=>{this.activateRoutes(e,n[e.value.outlet],i),this.forwardEvent(new Sr(e.value.snapshot))}),e.children.length&&this.forwardEvent(new wr(e.value.snapshot))}activateRoutes(e,t,i){const n=e.value,r=t?t.value:null;if(ws(n),n===r)if(n.component){const r=i.getOrCreateContext(n.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,i);else if(n.component){const t=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const e=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Rs(e.route)}else{const i=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(n.snapshot),r=i?i.module.componentFactoryResolver:null;t.attachRef=null,t.route=n,t.resolver=r,t.outlet&&t.outlet.activateWith(n,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,i)}}function Rs(e){ws(e.value),e.children.forEach(Rs)}function js(e){return"function"==typeof e}function Ys(e){return e instanceof Br}class Vs{constructor(e){this.segmentGroup=e||null}}class Ws{constructor(e){this.urlTree=e}}function Fs(e){return new He.a(t=>t.error(new Vs(e)))}function Hs(e){return new He.a(t=>t.error(new Ws(e)))}function Bs(e){return new He.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class zs{constructor(e,t,i,r,s){this.configLoader=t,this.urlSerializer=i,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(n.y)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(ze.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Rn(e=>{if(e instanceof Ws)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Vs)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(ze.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Rn(e=>{if(e instanceof Vs)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,i){const n=e.segments.length>0?new zr([],{primary:e}):e;return new Br(n,t,i)}expandSegmentGroup(e,t,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(Object(ze.a)(e=>new zr([],e))):this.expandSegment(e,i,t,i.segments,n,!0)}expandChildren(e,t,i){return function(e,t){if(0===Object.keys(e).length)return vi({});const i=[],n=[],r={};return Wr(e,(e,s)=>{const a=t(s,e).pipe(Object(ze.a)(e=>r[s]=e));"primary"===s?i.push(a):n.push(a)}),vi.apply(null,i.concat(n)).pipe(vn(),Pn(),Object(ze.a)(()=>r))}(i.children,(i,n)=>this.expandSegmentGroup(e,t,n,i))}expandSegment(e,t,i,n,r,s){return vi(...i).pipe(Object(ze.a)(a=>this.expandSegmentAgainstRoute(e,t,i,a,n,r,s).pipe(Rn(e=>{if(e instanceof Vs)return vi(null);throw e}))),vn(),Hn(e=>!!e),Rn((e,i)=>{if(e instanceof ln||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,n,r))return vi(new zr([],{}));throw new Vs(t)}throw e}))}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}expandSegmentAgainstRoute(e,t,i,n,r,s,a){return $s(n)!==s?Fs(t):void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s):Fs(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,n,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,n){const r=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Hs(r):this.lineralizeSegments(i,r).pipe(Object(wi.a)(i=>{const r=new zr(i,{});return this.expandSegment(e,r,t,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s){const{matched:a,consumedSegments:o,lastChild:c,positionalParamSegments:l}=Ns(t,n,r);if(!a)return Fs(t);const d=this.applyRedirectCommands(o,n.redirectTo,l);return n.redirectTo.startsWith("/")?Hs(d):this.lineralizeSegments(n,d).pipe(Object(wi.a)(n=>this.expandSegment(e,t,i,n.concat(r.slice(c)),s,!1)))}matchSegmentAgainstRoute(e,t,i,n){if("**"===i.path)return i.loadChildren?this.configLoader.load(e.injector,i).pipe(Object(ze.a)(e=>(i._loadedConfig=e,new zr(n,{})))):vi(new zr(n,{}));const{matched:r,consumedSegments:s,lastChild:a}=Ns(t,i,n);if(!r)return Fs(t);const o=n.slice(a);return this.getChildConfig(e,i,n).pipe(Object(wi.a)(e=>{const i=e.module,n=e.routes,{segmentGroup:r,slicedSegments:a}=function(e,t,i,n){return i.length>0&&function(e,t,i){return i.some(i=>qs(e,t,i)&&"primary"!==$s(i))}(e,i,n)?{segmentGroup:Us(new zr(t,function(e,t){const i={};i.primary=t;for(const n of e)""===n.path&&"primary"!==$s(n)&&(i[$s(n)]=new zr([],{}));return i}(n,new zr(i,e.children)))),slicedSegments:[]}:0===i.length&&function(e,t,i){return i.some(i=>qs(e,t,i))}(e,i,n)?{segmentGroup:Us(new zr(e.segments,function(e,t,i,n){const r={};for(const s of i)qs(e,t,s)&&!n[$s(s)]&&(r[$s(s)]=new zr([],{}));return Object.assign(Object.assign({},n),r)}(e,i,n,e.children))),slicedSegments:i}:{segmentGroup:e,slicedSegments:i}}(t,s,o,n);return 0===a.length&&r.hasChildren()?this.expandChildren(i,n,r).pipe(Object(ze.a)(e=>new zr(s,e))):0===n.length&&0===a.length?vi(new zr(s,{})):this.expandSegment(i,r,n,a,"primary",!0).pipe(Object(ze.a)(e=>new zr(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,i){return t.children?vi(new Er(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?vi(t._loadedConfig):function(e,t,i){const n=t.canLoad;return n&&0!==n.length?Object(Ue.a)(n).pipe(Object(ze.a)(n=>{const r=e.get(n);let s;if(function(e){return e&&js(e.canLoad)}(r))s=r.canLoad(t,i);else{if(!js(r))throw new Error("Invalid CanLoad guard");s=r(t,i)}return Fr(s)})).pipe(vn(),(r=e=>!0===e,e=>e.lift(new Bn(r,void 0,e)))):vi(!0);var r}(e.injector,t,i).pipe(Object(wi.a)(i=>i?this.configLoader.load(e.injector,t).pipe(Object(ze.a)(e=>(t._loadedConfig=e,e))):function(e){return new He.a(t=>t.error(Lr(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):vi(new Er([],e))}lineralizeSegments(e,t){let i=[],n=t.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return vi(i);if(n.numberOfChildren>1||!n.children.primary)return Bs(e.redirectTo);n=n.children.primary}}applyRedirectCommands(e,t,i){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreatreUrlTree(e,t,i,n){const r=this.createSegmentGroup(e,t.root,i,n);return new Br(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return Wr(e,(e,n)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);i[n]=t[r]}else i[n]=e}),i}createSegmentGroup(e,t,i,n){const r=this.createSegments(e,t.segments,i,n);let s={};return Wr(t.children,(t,r)=>{s[r]=this.createSegmentGroup(e,t,i,n)}),new zr(r,s)}createSegments(e,t,i,n){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,n):this.findOrReturn(t,i))}findPosParam(e,t,i){const n=i[t.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return n}findOrReturn(e,t){let i=0;for(const n of t){if(n.path===e.path)return t.splice(i),n;i++}return e}}function Ns(e,t,i){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(t.matcher||Tr)(i,e,t);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Us(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new zr(e.segments.concat(t.segments),t.children)}return e}function qs(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function $s(e){return e.outlet||"primary"}class Js{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ks{constructor(e,t){this.component=e,this.route=t}}function Gs(e,t,i){const n=e._root;return function e(t,i,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=hs(i);return t.children.forEach(t=>{!function(t,i,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,o=i?i.value:null,c=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const l=function(e,t,i){if("function"==typeof i)return i(e,t);switch(i){case"pathParamsChange":return!Ur(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ur(e.url,t.url)||!Rr(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cs(e,t)||!Rr(e.queryParams,t.queryParams);case"paramsChange":default:return!Cs(e,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Js(r)):(a.data=o.data,a._resolvedData=o._resolvedData),e(t,i,a.component?c?c.children:null:n,r,s),l&&s.canDeactivateChecks.push(new Ks(c&&c.outlet&&c.outlet.component||null,o))}else o&&Xs(i,c,s),s.canActivateChecks.push(new Js(r)),e(t,null,a.component?c?c.children:null:n,r,s)}(t,a[t.value.outlet],n,r.concat([t.value]),s),delete a[t.value.outlet]}),Wr(a,(e,t)=>Xs(e,n.getContext(t),s)),s}(n,t?t._root:null,i,[n.value])}function Zs(e,t,i){const n=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(n?n.module.injector:i).get(e)}function Xs(e,t,i){const n=hs(e),r=e.value;Wr(n,(e,n)=>{Xs(e,r.component?t?t.children.getContext(n):null:t,i)}),i.canDeactivateChecks.push(new Ks(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}const Qs=Symbol("INITIAL_VALUE");function ea(){return Nn(e=>fn(...e.map(e=>e.pipe(Vn(1),Jn(Qs)))).pipe(Kn((e,t)=>{let i=!1;return t.reduce((e,n,r)=>{if(e!==Qs)return e;if(n===Qs&&(i=!0),!i){if(!1===n)return n;if(r===t.length-1||Ys(n))return n}return e},e)},Qs),ki(e=>e!==Qs),Object(ze.a)(e=>Ys(e)?e:!0===e),Vn(1)))}function ta(e,t){return null!==e&&t&&t(new Cr(e)),vi(!0)}function ia(e,t){return null!==e&&t&&t(new vr(e)),vi(!0)}function na(e,t,i){const n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?vi(n.map(n=>gn(()=>{const r=Zs(n,t,i);let s;if(function(e){return e&&js(e.canActivate)}(r))s=Fr(r.canActivate(t,e));else{if(!js(r))throw new Error("Invalid CanActivate guard");s=Fr(r(t,e))}return s.pipe(Hn())}))).pipe(ea()):vi(!0)}function ra(e,t,i){const n=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>gn(()=>vi(t.guards.map(r=>{const s=Zs(r,t.node,i);let a;if(function(e){return e&&js(e.canActivateChild)}(s))a=Fr(s.canActivateChild(n,e));else{if(!js(s))throw new Error("Invalid CanActivateChild guard");a=Fr(s(n,e))}return a.pipe(Hn())})).pipe(ea())));return vi(r).pipe(ea())}class sa{}class aa{constructor(e,t,i,n,r,s){this.rootComponentType=e,this.config=t,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const e=la(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),i=new bs([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new us(i,t),r=new gs(this.url,n);return this.inheritParamsAndData(r._root),vi(r)}catch(e){return new He.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,i=_s(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,i){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,i)}processChildren(e,t){const i=qr(t,(t,i)=>this.processSegmentGroup(e,t,i));return function(e){const t={};e.forEach(e=>{const i=t[e.value.outlet];if(i){const t=i.url.map(e=>e.toString()).join("/"),n=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${n}'.`)}t[e.value.outlet]=e.value})}(i),i.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,i,n){for(const s of e)try{return this.processSegmentAgainstRoute(s,t,i,n)}catch(r){if(!(r instanceof sa))throw r}if(this.noLeftoversInUrl(t,i,n))return[];throw new sa}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}processSegmentAgainstRoute(e,t,i,n){if(e.redirectTo)throw new sa;if((e.outlet||"primary")!==n)throw new sa;let r,s=[],a=[];if("**"===e.path){const s=i.length>0?Vr(i).parameters:{};r=new bs(i,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ha(e),n,e.component,e,oa(t),ca(t)+i.length,fa(e))}else{const o=function(e,t,i){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||i.length>0))throw new sa;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(t.matcher||Tr)(i,e,t);if(!n)throw new sa;const r={};Wr(n.posParams,(e,t)=>{r[t]=e.path});const s=n.consumed.length>0?Object.assign(Object.assign({},r),n.consumed[n.consumed.length-1].parameters):r;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:s}}(t,e,i);s=o.consumedSegments,a=i.slice(o.lastChild),r=new bs(s,o.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ha(e),n,e.component,e,oa(t),ca(t)+s.length,fa(e))}const o=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=la(t,s,a,o,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(o,c);return[new us(r,e)]}if(0===o.length&&0===l.length)return[new us(r,[])];const d=this.processSegment(o,c,l,"primary");return[new us(r,d)]}}function oa(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function ca(e){let t=e,i=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,i+=t._segmentIndexShift?t._segmentIndexShift:0;return i-1}function la(e,t,i,n,r){if(i.length>0&&function(e,t,i){return i.some(i=>da(e,t,i)&&"primary"!==ua(i))}(e,i,n)){const r=new zr(t,function(e,t,i,n){const r={};r.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;for(const s of i)if(""===s.path&&"primary"!==ua(s)){const i=new zr([],{});i._sourceSegment=e,i._segmentIndexShift=t.length,r[ua(s)]=i}return r}(e,t,n,new zr(i,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===i.length&&function(e,t,i){return i.some(i=>da(e,t,i))}(e,i,n)){const s=new zr(e.segments,function(e,t,i,n,r,s){const a={};for(const o of n)if(da(e,i,o)&&!r[ua(o)]){const i=new zr([],{});i._sourceSegment=e,i._segmentIndexShift="legacy"===s?e.segments.length:t.length,a[ua(o)]=i}return Object.assign(Object.assign({},r),a)}(e,t,i,n,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:i}}const s=new zr(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:i}}function da(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function ua(e){return e.outlet||"primary"}function ha(e){return e.data||{}}function fa(e){return e.resolve||{}}function pa(e,t,i,n){const r=Zs(e,t,n);return Fr(r.resolve?r.resolve(t,i):r(t,i))}function ma(e){return function(t){return t.pipe(Nn(t=>{const i=e(t);return i?Object(Ue.a)(i).pipe(Object(ze.a)(()=>t)):Object(Ue.a)([t])}))}}class _a{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const ba=new n.r("ROUTES");class ga{constructor(e,t,i,n){this.loader=e,this.compiler=t,this.onLoadStartListener=i,this.onLoadEndListener=n}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(ze.a)(i=>{this.onLoadEndListener&&this.onLoadEndListener(t);const n=i.create(e);return new Er(Yr(n.injector.get(ba)).map(Ir),n)}))}loadModuleFactory(e){return"string"==typeof e?Object(Ue.a)(this.loader.load(e)):Fr(e()).pipe(Object(wi.a)(e=>e instanceof n.w?vi(e):Object(Ue.a)(this.compiler.compileModuleAsync(e))))}}class ya{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function va(e){throw e}function wa(e,t,i){return t.parse("/")}function Ca(e,t){return vi(null)}let Sa=(()=>{class e{constructor(e,t,i,r,s,a,o,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=i,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new an.a,this.errorHandler=va,this.malformedUriErrorHandler=wa,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ca,afterPreactivation:Ca},this.urlHandlingStrategy=new ya,this.routeReuseStrategy=new _a,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(n.y),this.console=s.get(n.Z);const l=s.get(n.A);this.isNgZoneEnabled=l instanceof n.A,this.resetConfig(c),this.currentUrlTree=new Br(new zr([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ga(a,o,e=>this.triggerEvent(new gr(e)),e=>this.triggerEvent(new yr(e))),this.routerState=ps(this.currentUrlTree,this.rootComponentType),this.transitions=new cn({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(ki(e=>0!==e.id),Object(ze.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Nn(e=>{let i=!1,n=!1;return vi(e).pipe(tr(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Nn(e=>{const i=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return vi(e).pipe(Nn(e=>{const i=this.transitions.getValue();return t.next(new lr(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==this.transitions.getValue()?_n:[e]}),Nn(e=>Promise.resolve(e)),(n=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Nn(e=>function(e,t,i,n,r){return new zs(e,t,i,n,r).apply()}(n,r,s,e.extractedUrl,a).pipe(Object(ze.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),tr(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,i,n,r){return function(s){return s.pipe(Object(wi.a)(s=>function(e,t,i,n,r="emptyOnly",s="legacy"){return new aa(e,t,i,n,r,s).recognize()}(e,t,s.urlAfterRedirects,i(s.urlAfterRedirects),n,r).pipe(Object(ze.a)(e=>Object.assign(Object.assign({},s),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),tr(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),tr(e=>{const i=new fr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(i)}));var n,r,s,a;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:r,restoredState:s,extras:a}=e,o=new lr(i,this.serializeUrl(n),r,s);t.next(o);const c=ps(n,this.rootComponentType).snapshot;return vi(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),_n}),ma(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),tr(e=>{const t=new pr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(ze.a)(e=>Object.assign(Object.assign({},e),{guards:Gs(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(i){return i.pipe(Object(wi.a)(i=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:a}}=i;return 0===a.length&&0===s.length?vi(Object.assign(Object.assign({},i),{guardsResult:!0})):function(e,t,i,n){return Object(Ue.a)(e).pipe(Object(wi.a)(e=>function(e,t,i,n,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?vi(s.map(s=>{const a=Zs(s,t,r);let o;if(function(e){return e&&js(e.canDeactivate)}(a))o=Fr(a.canDeactivate(e,t,i,n));else{if(!js(a))throw new Error("Invalid CanDeactivate guard");o=Fr(a(e,t,i,n))}return o.pipe(Hn())})).pipe(ea()):vi(!0)}(e.component,e.route,i,t,n)),Hn(e=>!0!==e,!0))}(a,n,r,e).pipe(Object(wi.a)(i=>i&&"boolean"==typeof i?function(e,t,i,n){return Object(Ue.a)(t).pipe(Ci(t=>Object(Ue.a)([ia(t.route.parent,n),ta(t.route,n),ra(e,t.path,i),na(e,t.route,i)]).pipe(vn(),Hn(e=>!0!==e,!0))),Hn(e=>!0!==e,!0))}(n,s,e,t):vi(i)),Object(ze.a)(e=>Object.assign(Object.assign({},i),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),tr(e=>{if(Ys(e.guardsResult)){const t=Lr(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),tr(e=>{const t=new mr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),ki(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const i=new ur(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(i),e.resolve(!1),!1}return!0}),ma(e=>{if(e.guards.canActivateChecks.length)return vi(e).pipe(tr(e=>{const t=new _r(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(e){return e.pipe(Object(wi.a)(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;return r.length?Object(Ue.a)(r).pipe(Ci(e=>function(e,t,i,n){return function(e,t,i,n){const r=Object.keys(e);if(0===r.length)return vi({});if(1===r.length){const s=r[0];return pa(e[s],t,i,n).pipe(Object(ze.a)(e=>({[s]:e})))}const s={};return Object(Ue.a)(r).pipe(Object(wi.a)(r=>pa(e[r],t,i,n).pipe(Object(ze.a)(e=>(s[r]=e,e))))).pipe(Pn(),Object(ze.a)(()=>s))}(e._resolve,e,t,n).pipe(Object(ze.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),_s(e,i).resolve),null)))}(e.route,n,t,i)),function(e,t){return arguments.length>=2?function(i){return Object(Xn.a)(Kn(e,t),Cn(1),Tn(t))(i)}:function(t){return Object(Xn.a)(Kn((t,i,n)=>e(t,i,n+1)),Cn(1))(t)}}((e,t)=>e),Object(ze.a)(t=>e)):vi(e)}))}),tr(e=>{const t=new br(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,i}),ma(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(ze.a)(e=>{const t=function(e,t,i){const n=function e(t,i,n){if(n&&t.shouldReuseRoute(i.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=i.value;const s=function(t,i,n){return i.children.map(i=>{for(const r of n.children)if(t.shouldReuseRoute(r.value.snapshot,i.value))return e(t,i,r);return e(t,i)})}(t,i,n);return new us(r,s)}{const n=t.retrieve(i.value);if(n){const e=n.route;return function e(t,i){if(t.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=t.value;for(let n=0;ne(t,i));return new us(n,s)}}var r}(e,t._root,i?i._root:void 0);return new fs(n,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),tr(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,a=e=>this.triggerEvent(e),Object(ze.a)(e=>(new Is(s,e.targetRouterState,e.currentRouterState,a).activate(r),e))),tr({next(){i=!0},complete(){i=!0}}),sr(()=>{if(!i&&!n){this.resetUrlToCurrentUrlTree();const i=new ur(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(i),e.resolve(!1)}this.currentNavigation=null}),Rn(i=>{if(n=!0,(r=i)&&r.ngNavigationCancelingError){const n=Ys(i.url);n||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new ur(e.id,this.serializeUrl(e.extractedUrl),i.message);t.next(r),n?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const n=new hr(e.id,this.serializeUrl(e.extractedUrl),i);t.next(n);try{e.resolve(this.errorHandler(i))}catch(s){e.reject(s)}}var r;return _n}));var r,s,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const i="popstate"===e.type?"popstate":"hashchange",n=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,i,n,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Ar(e),this.config=e.map(Ir),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:i,queryParams:r,fragment:s,preserveQueryParams:a,queryParamsHandling:o,preserveFragment:c}=t;Object(n.W)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=i||this.routerState.root,d=c?this.currentUrlTree.fragment:s;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=a?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,i,n,r){if(0===i.length)return ks(t.root,t.root,t,n,r);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new xs(!0,0,e);let t=0,i=!1;const n=e.reduce((e,n,r)=>{if("object"==typeof n&&null!=n){if(n.outlets){const t={};return Wr(n.outlets,(e,i)=>{t[i]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(n.segmentPath)return[...e,n.segmentPath]}return"string"!=typeof n?[...e,n]:0===r?(n.split("/").forEach((n,r)=>{0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?t++:""!=n&&e.push(n))}),e):[...e,n]},[]);return new xs(i,t,n)}(i);if(s.toRoot())return ks(t.root,new zr([],{}),t,n,r);const a=function(e,t,i){if(e.isAbsolute)return new Ms(t.root,!0,0);if(-1===i.snapshot._lastPathIndex)return new Ms(i.snapshot._urlSegment,!0,0);const n=Ss(e.commands[0])?0:1;return function(e,t,i){let n=e,r=t,s=i;for(;s>r;){if(s-=r,n=n.parent,!n)throw new Error("Invalid number of '../'");r=n.segments.length}return new Ms(n,!1,r-s)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,e.numberOfDoubleDots)}(s,t,e),o=a.processChildren?Ts(a.segmentGroup,a.index,s.commands):Ls(a.segmentGroup,a.index,s.commands);return ks(a.segmentGroup,o,t,n,r)}(l,this.currentUrlTree,e,u,d)}navigateByUrl(e,t={skipLocationChange:!1}){Object(n.W)()&&this.isNgZoneEnabled&&!n.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const i=Ys(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const n=e[i];return null!=n&&(t[i]=n),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new dr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,i,n,r){const s=this.getTransition();if(s&&"imperative"!==t&&"imperative"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"hashchange"==t&&"popstate"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"popstate"==t&&"hashchange"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);let a,o,c;r?(a=r.resolve,o=r.reject,c=r.promise):c=new Promise((e,t)=>{a=e,o=t});const l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:n,resolve:a,reject:o,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,i,n){const r=this.urlSerializer.serialize(e);n=n||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},n),{navigationId:i})):this.location.go(r,"",Object.assign(Object.assign({},n),{navigationId:i}))}resetStateAndUrl(e,t,i){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e}),e})(),ka=(()=>{class e{constructor(e,t,i){this.router=e,this.route=t,this.locationStrategy=i,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof dr&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(n.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,i,n){if(0!==e||t||i||n)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:xa(this.skipLocationChange),replaceUrl:xa(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:xa(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:xa(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Sa),n.Pb(ms),n.Pb(_))},e.\u0275dir=n.Kb({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(n.ac("href",t.href,n.Dc),n.Db("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[n.Ab()]}),e})();function xa(e){return""===e||!!e}class Ma{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Da,this.attachRef=null}}class Da{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Ma,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let La=(()=>{class e{constructor(e,t,i,r,s){this.parentContexts=e,this.location=t,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new n.o,this.deactivateEvents=new n.o,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,r=new Ta(e,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Da),n.Pb(n.P),n.Pb(n.j),n.gc("name"),n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Ta{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===ms?this.route:e===Da?this.childContexts:this.parent.get(e,t)}}class Ea{}class Aa{preload(e,t){return vi(null)}}let Oa=(()=>{class e{constructor(e,t,i,n,r){this.router=e,this.injector=n,this.preloadingStrategy=r,this.loader=new ga(t,i,t=>e.triggerEvent(new gr(t)),t=>e.triggerEvent(new yr(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(ki(e=>e instanceof dr),Ci(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(n.y);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const i=[];for(const n of t)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const e=n._loadedConfig;i.push(this.processRoutes(e.module,e.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(e,n)):n.children&&i.push(this.processRoutes(e,n.children));return Object(Ue.a)(i).pipe(Object(yn.a)(),Object(ze.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(wi.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Sa),n.fc(n.x),n.fc(n.i),n.fc(n.s),n.fc(Ea))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Pa=(()=>{class e{constructor(e,t,i={}){this.router=e,this.viewportScroller=t,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof lr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof dr&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof kr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new kr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e}),e})();const Ia=new n.r("ROUTER_CONFIGURATION"),Ra=new n.r("ROUTER_FORROOT_GUARD"),ja=[w,{provide:$r,useClass:Jr},{provide:Sa,useFactory:function(e,t,i,n,r,a,o,c={},l,d){const u=new Sa(null,e,t,i,n,r,a,Yr(o));if(l&&(u.urlHandlingStrategy=l),d&&(u.routeReuseStrategy=d),c.errorHandler&&(u.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(u.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const e=s();u.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return c.onSameUrlNavigation&&(u.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(u.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(u.relativeLinkResolution=c.relativeLinkResolution),u},deps:[$r,Da,w,n.s,n.x,n.i,ba,Ia,[class{},new n.B],[class{},new n.B]]},Da,{provide:ms,useFactory:function(e){return e.routerState.root},deps:[Sa]},{provide:n.x,useClass:n.L},Oa,Aa,class{preload(e,t){return t().pipe(Rn(()=>vi(null)))}},{provide:Ia,useValue:{enableTracing:!1}}];function Ya(){return new n.z("Router",Sa)}let Va=(()=>{class e{constructor(e,t){}static forRoot(t,i){return{ngModule:e,providers:[ja,Ba(t),{provide:Ra,useFactory:Ha,deps:[[Sa,new n.B,new n.K]]},{provide:Ia,useValue:i||{}},{provide:_,useFactory:Fa,deps:[o,[new n.q(g),new n.B],Ia]},{provide:Pa,useFactory:Wa,deps:[Sa,J,Ia]},{provide:Ea,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:Aa},{provide:n.z,multi:!0,useFactory:Ya},[za,{provide:n.d,multi:!0,useFactory:Na,deps:[za]},{provide:qa,useFactory:Ua,deps:[za]},{provide:n.b,multi:!0,useExisting:qa}]]}}static forChild(t){return{ngModule:e,providers:[Ba(t)]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(Ra,8),n.fc(Sa,8))}}),e})();function Wa(e,t,i){return i.scrollOffset&&t.setOffset(i.scrollOffset),new Pa(e,t,i)}function Fa(e,t,i={}){return i.useHash?new v(e,t):new y(e,t)}function Ha(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ba(e){return[{provide:n.a,multi:!0,useValue:e},{provide:ba,multi:!0,useValue:e}]}let za=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new an.a}appInitializer(){return this.injector.get(l,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),i=this.injector.get(Sa),n=this.injector.get(Ia);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))e(!0);else if("disabled"===n.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);i.hooks.afterPreactivation=()=>this.initNavigation?vi(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),i.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Ia),i=this.injector.get(Oa),r=this.injector.get(Pa),s=this.injector.get(Sa),a=this.injector.get(n.g);e===a.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),i.setUpPreloading(),r.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.s))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();function Na(e){return e.appInitializer.bind(e)}function Ua(e){return e.bootstrapListener.bind(e)}const qa=new n.r("Router Initializer");class $a{}class Ja{}class Ka{}class Ga{}var Za=function(e){return e[e.REMOTE_ADDR=1]="REMOTE_ADDR",e[e.X_Forwarded_For=2]="X_Forwarded_For",e[e.X_REAL_IP=4]="X_REAL_IP",e[e.REAL_IP=8]="REAL_IP",e}({});class Xa{}var Qa=function(e){return e[e.Reverse_Proxy=1]="Reverse_Proxy",e[e.Local_FastCGI=2]="Local_FastCGI",e[e.Static_Website=4]="Static_Website",e[e.K8S_Ingress=8]="K8S_Ingress",e}({});class eo{}class to{}class io{}var no=function(e){return e[e.Host=1]="Host",e[e.IPAddress=2]="IPAddress",e[e.Method=4]="Method",e[e.URLPath=8]="URLPath",e[e.URLQuery=16]="URLQuery",e[e.FileExt=32]="FileExt",e[e.GetPostKey=128]="GetPostKey",e[e.GetPostValue=256]="GetPostValue",e[e.UploadFileExt=512]="UploadFileExt",e[e.Referer=1024]="Referer",e[e.CookieKey=2048]="CookieKey",e[e.CookieValue=4096]="CookieValue",e[e.UserAgent=8192]="UserAgent",e[e.ContentType=16384]="ContentType",e[e.HeaderKey=32768]="HeaderKey",e[e.HeaderValue=65536]="HeaderValue",e[e.Proto=131072]="Proto",e[e.ResponseStatusCode=33554432]="ResponseStatusCode",e[e.ResponseHeaderKey=67108864]="ResponseHeaderKey",e[e.ResponseHeaderValue=134217728]="ResponseHeaderValue",e[e.ResponseBody=536870912]="ResponseBody",e}({}),ro=function(e){return e[e.BLOCK=100]="BLOCK",e[e.BYPASS_AND_LOG=200]="BYPASS_AND_LOG",e[e.CAPTCHA=300]="CAPTCHA",e[e.OK_PASS=400]="OK_PASS",e}({});class so{}var ao=function(e){return e[e.Regex_Match=1]="Regex_Match",e[e.Equals_String_Case_Insensitive=2]="Equals_String_Case_Insensitive",e[e.Greater_Than_Integer=4]="Greater_Than_Integer",e[e.Equals_Integer=8]="Equals_Integer",e[e.Length_Greater_Than_Integer=16]="Length_Greater_Than_Integer",e[e.Regex_Not_Match=32]="Regex_Not_Match",e}({});class oo{}class co{}class lo{}class uo{constructor(){this.regex_logs=[]}}class ho{constructor(){this.cc_logs=[]}}class fo{constructor(e,t,i,n){this.ip=e,this.port=t,this.username=i,this.password=n}}class po{}class mo{}let _o=(()=>{class e{constructor(){this.messages=[]}add(e){this.messages.push(e)}clear(){this.messages=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const bo={headers:new Ti({"Content-Type":"application/json"})};let go=(()=>{class e{constructor(e,t){this.http=e,this.messageService=t,this.apiUrl="/janusec-admin/ui-api",this.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.certificates=[],this.applications=[],this.vip_apps=[],this.appmap=new Object,this.vip_app_map=new Object,this.domains=[],this.admins=[],this.vulntypes=[],this.vulntypemap=new Object,this.lastRegexLogs=new uo,this.lastCCLogs=new ho,this.oauth=new po}getResponse(e,t,i,n){let r={action:e};null!=i&&(r.id=i),null!=n&&(r.object=n),this.http.post(this.apiUrl,r,bo).pipe(tr(e=>{}),Rn(this.handleError("Get response"))).subscribe(e=>{null==e.err?t(e.object):this.messageService.add("Error: "+e.err)})}getResponseByCustomBody(e,t){this.http.post(this.apiUrl,e,bo).pipe(tr(e=>{}),Rn(this.handleError("Get response"))).subscribe(e=>{null==e.err?t(e.object):this.messageService.add("Error: "+e.err)})}getResponseByURL(e,t,i,n){this.http.get(e,bo).pipe(tr(e=>{}),Rn(this.handleError("Get response"))).subscribe(e=>{null==e.err?t(e.object):this.messageService.add("Error: "+e.err)})}getApplications(){var e=this;this.getResponse("get_apps",(function(t){if(null==t)e.applications=[];else{e.applications=t;for(let t of e.applications)e.appmap[t.id]=t.name}}))}getVipApps(){var e=this;this.getResponse("get_vip_apps",(function(t){if(null==t)e.vip_apps=[];else{e.vip_apps=t;for(let t of e.vip_apps)e.vip_app_map[t.id]=t.name}}))}getCertificates(){var e=this;this.getResponse("get_certs",(function(t){e.certificates=t;var i=(new Date).getTime();for(let n of e.certificates){let e=new Date(1e3*n.expire_time).getTime()-i;n.due_to_expire=e<2592e6}}))}getAPIKey(){var e=this;return this.getResponse("get_api_key",(function(t){e.hexAPIKey=t.api_key})),e.hexAPIKey}getNodesKey(){var e=this;return this.getResponse("get_nodes_key",(function(t){e.hexNodesKey=t.nodes_key})),e.hexNodesKey}getAuthUser(e){var t=this;this.getResponse("get_auth_user",(function(i){t.auth_user=i,e(t.auth_user)}))}getVulnTypes(e){var t=this;this.getResponse("get_vuln_types",(function(i){t.vulntypes=i;for(let e of t.vulntypes)t.vulntypemap[e.id]=e.name;e()}))}getDomains(){var e=this;this.getResponse("get_domains",(function(t){e.domains=t}))}getAppUsers(){var e=this;this.getResponse("get_app_users",(function(t){e.admins=t}))}saveCertificate(e){return this.http.post(this.apiUrl,{action:"update_cert",certificate:e},bo).pipe(tr(e=>{}),Rn(this.handleError("Save certificate")))}getDateString(e){let t=new Date(1e3*e);return t.toLocaleDateString()+" "+t.toLocaleTimeString("en-GB",{hour12:!1})}handleError(e="operation",t){return i=>(console.error(i),this.messageService.add(`${e} failed: ${i.message}`),vi(t))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(zi),n.fc(_o))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();function yo(e){return null!=e&&"false"!==`${e}`}function vo(e,t=0){return wo(e)?Number(e):t}function wo(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Co(e){return Array.isArray(e)?e:[e]}function So(e){return null==e?"":"string"==typeof e?e:`${e}px`}function ko(e){return e instanceof n.l?e.nativeElement:e}function xo(e){return e&&"function"==typeof e.connect}class Mo{constructor(e=!1,t,i=!0){this._multiple=e,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new an.a,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let Do=(()=>{class e{constructor(){this._listeners=[]}notify(e,t){for(let i of this._listeners)i(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Lo=new n.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(n.V)(a)}});let To,Eo=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new n.o,e){const t=e.documentElement?e.documentElement.dir:null,i=(e.body?e.body.dir:null)||t;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Lo,8))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Lo,8))},token:e,providedIn:"root"}),e})(),Ao=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();try{To="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(oO){To=!1}let Oo,Po=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?q(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!To)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.C,8))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.C,8))},token:e,providedIn:"root"}),e})(),Io=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();const Ro=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function jo(){if(Oo)return Oo;if("object"!=typeof document||!document)return Oo=new Set(Ro),Oo;let e=document.createElement("input");return Oo=new Set(Ro.filter(t=>(e.setAttribute("type",t),e.type===t))),Oo}let Yo,Vo;function Wo(e){return function(){if(null==Yo&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Yo=!0}))}finally{Yo=Yo||!1}return Yo}()?e:!!e.capture}function Fo(){if("object"!=typeof document||!document)return 0;if(null==Vo){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),Vo=0,0===e.scrollLeft&&(e.scrollLeft=1,Vo=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return Vo}function Ho(e){return t=>t.lift(new Bo(e))}class Bo{constructor(e){this.notifier=e}call(e,t){const i=new zo(e),n=Object(un.a)(i,this.notifier);return n&&!i.seenValue?(i.add(n),t.subscribe(i)):i}}class zo extends dn.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,i,n,r){this.seenValue=!0,this.complete()}notifyComplete(){}}const No=[[["caption"]]],Uo=["caption"];function qo(e){return class extends e{constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(e){const t=this._sticky;this._sticky=yo(e),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}}}let $o=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkCellDef",""]]}),e})(),Jo=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e})(),Ko=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkFooterCellDef",""]]}),e})();class Go{}const Zo=qo(Go);let Xo=(()=>{class e extends Zo{constructor(){super(...arguments),this._stickyEnd=!1}get name(){return this._name}set name(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=yo(e),this._hasStickyChanged=t!==this._stickyEnd}}return e.\u0275fac=function(t){return Qo(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,$o,!0),n.Ib(i,Jo,!0),n.Ib(i,Ko,!0)),2&e&&(n.zc(r=n.kc())&&(t.cell=r.first),n.zc(r=n.kc())&&(t.headerCell=r.first),n.zc(r=n.kc())&&(t.footerCell=r.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),n.zb]}),e})();const Qo=n.Zb(Xo);class ec{constructor(e,t){t.nativeElement.classList.add(`cdk-column-${e.cssClassFriendlyName}`)}}let tc=(()=>{class e extends ec{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.zb]}),e})(),ic=(()=>{class e extends ec{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[n.zb]}),e})(),nc=(()=>{class e{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof ac?e.headerCell.template:this instanceof lc?e.footerCell.template:e.cell.template}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e,features:[n.Ab()]}),e})();class rc extends nc{}const sc=qo(rc);let ac=(()=>{class e extends sc{constructor(e,t){super(e,t)}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.zb,n.Ab()]}),e})();class oc extends nc{}const cc=qo(oc);let lc=(()=>{class e extends cc{constructor(e,t){super(e,t)}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.zb,n.Ab()]}),e})(),dc=(()=>{class e extends nc{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.zb]}),e})(),uc=(()=>{class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e})(),hc=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})(),fc=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})();const pc=["top","bottom","left","right"];class mc{constructor(e,t,i,n=!0){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=i,this._isBrowser=n}clearStickyPositioning(e,t){for(const i of e)if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,t);for(let e=0;ee)||i.some(e=>e);if(!e.length||!n||!this._isBrowser)return;const r=e[0],s=r.children.length,a=this._getCellWidths(r),o=this._getStickyStartColumnPositions(a,t),c=this._getStickyEndColumnPositions(a,i),l="rtl"===this.direction;for(const d of e)for(let e=0;e!e)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)}_removeStickyStyle(e,t){for(const i of t)e.style[i]="";e.style.zIndex=this._getCalculatedZIndex(e),pc.some(t=>!!e.style[t])||(e.style.position="",e.classList.remove(this._stickCellCss))}_addStickyStyle(e,t,i){e.classList.add(this._stickCellCss),e.style[t]=`${i}px`,e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)}_getCalculatedZIndex(e){const t={top:100,bottom:10,left:1,right:1};let i=0;for(const n of pc)e.style[n]&&(i+=t[n]);return i?`${i}`:""}_getCellWidths(e){const t=[],i=e.children;for(let n=0;n0;r--)t[r]&&(i[r]=n,n+=e[r]);return i}}function _c(e){return Error(`Could not find column with id "${e}".`)}let bc=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","rowOutlet",""]]}),e})(),gc=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","headerRowOutlet",""]]}),e})(),yc=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","footerRowOutlet",""]]}),e})(),vc=(()=>{class e{constructor(e,t,i,n,r,s,a){this._differs=e,this._changeDetectorRef=t,this._elementRef=i,this._dir=r,this._platform=a,this._onDestroy=new an.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new cn({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){Object(n.W)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}.`),this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=yo(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),xo(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return;const t=this._rowOutlet.viewContainer;e.forEachOperation((e,i,n)=>{if(null==e.previousIndex)this._insertRow(e.item,n);else if(null==n)t.remove(i);else{const e=t.get(i);t.move(e,n)}}),this._updateRowIndexContext(),e.forEachIdentityChange(e=>{t.get(e.currentIndex).context.$implicit=e.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}setFooterRowDef(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");const i=this._headerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");const i=this._footerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...e,...t,...i],["left","right"]),e.forEach((e,t)=>{this._addStickyColumnStyles([e],this._headerRowDefs[t])}),this._rowDefs.forEach(e=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([e],this._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(e=>e.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const r=i&&i.has(n)?i.get(n):[];if(r.length){const e=r.shift();return e.dataIndex=t,e}return{data:e,rowDef:n,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),wc(this._contentColumnDefs,this._customColumnDefs).forEach(e=>{if(this._columnDefsByName.has(e.name))throw Error(`Duplicate column definition name provided: "${e.name}".`);this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=wc(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=wc(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=wc(this._contentRowDefs,this._customRowDefs);const e=this._rowDefs.filter(e=>!e.when);if(!this.multiTemplateDataRows&&e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(e,t)=>e||!!t.getColumnsDiff();this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}_switchDataSource(e){this._data=[],xo(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;if(xo(this.dataSource)?e=this.dataSource.connect(this):(t=this.dataSource)&&(t instanceof He.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=vi(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");var t;this._renderChangeSubscription=e.pipe(Ho(this._onDestroy)).subscribe(e=>{this._data=e||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(e,t){const i=Array.from(t.columns||[]).map(e=>{const t=this._columnDefsByName.get(e);if(!t)throw _c(e);return t}),n=i.map(e=>e.sticky),r=i.map(e=>e.stickyEnd);this._stickyStyler.updateStickyColumns(e,n,r)}_getRenderedRows(e){const t=[];for(let i=0;i!i.when||i.when(t,e));else{let n=this._rowDefs.find(i=>i.when&&i.when(t,e))||this._defaultRowDef;n&&i.push(n)}if(!i.length)throw function(e){return Error("Could not find a matching row definition for the"+`provided row data: ${JSON.stringify(e)}`)}(e);return i}_insertRow(e,t){this._renderRow(this._rowOutlet,e.rowDef,t,{$implicit:e.data})}_renderRow(e,t,i,n={}){e.viewContainer.createEmbeddedView(t.template,n,i);for(let r of this._getCellTemplates(t))uc.mostRecentCellOutlet&&uc.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,i=e.length;t{const i=this._columnDefsByName.get(t);if(!i)throw _c(t);return e.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const i of t){const t=this._document.createElement(i.tag);t.setAttribute("role","rowgroup"),t.appendChild(i.outlet.elementRef.nativeElement),e.appendChild(t)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const e=(e,t)=>e||t.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new mc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:vi()).pipe(Ho(this._onDestroy)).subscribe(e=>{this._stickyStyler.direction=e,this.updateStickyColumnStyles()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.t),n.Pb(n.h),n.Pb(n.l),n.gc("role"),n.Pb(Eo,8),n.Pb(a),n.Pb(Po))},e.\u0275cmp=n.Jb({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,Xo,!0),n.Ib(i,dc,!0),n.Ib(i,ac,!0),n.Ib(i,lc,!0)),2&e&&(n.zc(r=n.kc())&&(t._contentColumnDefs=r),n.zc(r=n.kc())&&(t._contentRowDefs=r),n.zc(r=n.kc())&&(t._contentHeaderRowDefs=r),n.zc(r=n.kc())&&(t._contentFooterRowDefs=r))},viewQuery:function(e,t){var i;1&e&&(n.Gc(bc,!0),n.Gc(gc,!0),n.Gc(yc,!0)),2&e&&(n.zc(i=n.kc())&&(t._rowOutlet=i.first),n.zc(i=n.kc())&&(t._headerRowOutlet=i.first),n.zc(i=n.kc())&&(t._footerRowOutlet=i.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],ngContentSelectors:Uo,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(n.rc(No),n.qc(0),n.Sb(1,0),n.Sb(2,1),n.Sb(3,2))},directives:[gc,bc,yc],encapsulation:2}),e})();function wc(e,t){return e.toArray().concat(Array.from(t))}let Cc=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();function Sc(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class kc extends rr.a{constructor(e,t){super()}schedule(e,t=0){return this}}class xc extends kc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this}requestAsyncId(e,t,i=0){return setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i=!1,n=void 0;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,i=t.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Mc=(()=>{class e{constructor(t,i=e.now){this.SchedulerAction=t,this.now=i}schedule(e,t=0,i){return new this.SchedulerAction(this,e).schedule(i,t)}}return e.now=()=>Date.now(),e})();class Dc extends Mc{constructor(e,t=Mc.now){super(e,()=>Dc.delegate&&Dc.delegate!==this?Dc.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Dc.delegate&&Dc.delegate!==this?Dc.delegate.schedule(e,t,i):super.schedule(e,t,i)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}const Lc=new Dc(xc);function Tc(e,t=Lc){return i=>i.lift(new Ec(e,t))}class Ec{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Ac(e,this.dueTime,this.scheduler))}}class Ac extends Si.a{constructor(e,t,i){super(e),this.dueTime=t,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Oc,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function Oc(e){e.debouncedNext()}let Pc=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Ic=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=ko(e);return new He.a(e=>{const i=this._observeElement(t).subscribe(e);return()=>{i.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new an.a,i=this._mutationObserverFactory.create(e=>t.next(e));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:i}=this._observedElements.get(e);t&&t.disconnect(),i.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Pc))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Pc))},token:e,providedIn:"root"}),e})(),Rc=(()=>{class e{constructor(e,t,i){this._contentObserver=e,this._elementRef=t,this._ngZone=i,this.event=new n.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=vo(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Tc(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Ic),n.Pb(n.l),n.Pb(n.A))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),jc=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Pc]}),e})();function Yc(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}let Vc=0;const Wc=new Map;let Fc=null,Hc=(()=>{class e{constructor(e){this._document=e}describe(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Wc.set(t,{messageElement:t,referenceCount:0})):Wc.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}removeDescription(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){const e=Wc.get(t);e&&0===e.referenceCount&&this._deleteMessageElement(t)}Fc&&0===Fc.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const i=Wc.get(t);!function(e,t,i){const n=Yc(e,t);n.some(e=>e.trim()==i.trim())||(n.push(i.trim()),e.setAttribute(t,n.join(" ")))}(e,"aria-describedby",i.messageElement.id),e.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(e,t){const i=Wc.get(t);i.referenceCount--,function(e,t,i){const n=Yc(e,t).filter(e=>e!=i.trim());n.length?e.setAttribute(t,n.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",i.messageElement.id),e.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(e,t){const i=Yc(e,"aria-describedby"),n=Wc.get(t),r=n&&n.messageElement.id;return!!r&&-1!=i.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const i=null==t?"":`${t}`.trim(),n=e.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(a))},token:e,providedIn:"root"}),e})();class Bc{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new an.a,this._typeaheadSubscription=rr.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new an.a,this.change=new an.a,e instanceof n.E&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){if(this._items.length&&this._items.some(e=>"function"!=typeof e.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(tr(e=>this._pressedLetters.push(e)),Tc(e),ki(()=>this._pressedLetters.length>0),Object(ze.a)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let i=1;i!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||Sc(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),i="number"==typeof e?e:t.indexOf(e),n=t[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const n=(this._activeItemIndex+e*i+t.length)%t.length;if(!this._skipPredicateFn(t[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(!i[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof n.E?this._items.toArray():this._items}}class zc extends Bc{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class Nc extends Bc{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let Uc=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(oO){return null}}((i=e).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(t){const e=t&&t.nodeName.toLowerCase();if(-1===$c(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===e)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}let n=e.nodeName.toLowerCase(),r=$c(e);if(e.hasAttribute("contenteditable"))return-1!==r;if("iframe"===n)return!1;if("audio"===n){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===n){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==n||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),i="input"===t&&e.type;return"text"===i||"password"===i||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}isFocusable(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||qc(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po))},token:e,providedIn:"root"}),e})();function qc(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function $c(e){if(!qc(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class Jc{constructor(e,t,i,n,r=!1){this._element=e,this._checker=t,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], `+`[cdkFocusRegion${e}], `+`[cdk-focus-${e}]`);for(let i=0;i=0;i--){let e=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(e)}}let Kc=(()=>{class e{constructor(e,t,i){this._checker=e,this._ngZone=t,this._document=i}create(e,t=!1){return new Jc(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Uc),n.fc(n.A),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Uc),Object(n.fc)(n.A),Object(n.fc)(a))},token:e,providedIn:"root"}),e})(),Gc=(()=>{class e{constructor(e,t,i){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=yo(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=yo(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Kc),n.Pb(a))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),e})();"undefined"!=typeof Element&∈const Zc=new n.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Xc=new n.r("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Qc=(()=>{class e{constructor(e,t,i,n){this._ngZone=t,this._defaultOptions=n,this._document=i,this._liveElement=e||this._createLiveElement()}announce(e,...t){const i=this._defaultOptions;let n,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[n,r]=t,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==r&&i&&(r=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div");for(let i=0;i{class e{constructor(e,t,i,n){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=i,this._ngZone=n,this._politeness="off"}get politeness(){return this._politeness}set politeness(e){this._politeness="polite"===e||"assertive"===e?e:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Qc),n.Pb(Ic),n.Pb(n.A))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();const tl=Wo({passive:!0,capture:!0});let il=(()=>{class e{constructor(e,t){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=e.composedPath?e.composedPath()[0]:e.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(e,t=!1){if(!this._platform.isBrowser)return vi(null);const i=ko(e);if(this._elementInfo.has(i)){let e=this._elementInfo.get(i);return e.checkChildren=t,e.subject.asObservable()}let n={unlisten:()=>{},checkChildren:t,subject:new an.a};this._elementInfo.set(i,n),this._incrementMonitoredElementCount();let r=e=>this._onFocus(e,i),s=e=>this._onBlur(e,i);return this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",r,!0),i.addEventListener("blur",s,!0)}),n.unlisten=()=>{i.removeEventListener("focus",r,!0),i.removeEventListener("blur",s,!0)},n.subject.asObservable()}stopMonitoring(e){const t=ko(e),i=this._elementInfo.get(t);i&&(i.unlisten(),i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())}focusVia(e,t,i){const n=ko(e);this._setOriginForCurrentEventQueue(t),"function"==typeof n.focus&&n.focus(i)}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_toggleClass(e,t,i){i?e.classList.add(t):e.classList.remove(t)}_setClasses(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(e){let t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const i=this._elementInfo.get(t);if(!i||!i.checkChildren&&t!==e.target)return;let n=this._origin;n||(n=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}_onBlur(e,t){const i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,tl),document.addEventListener("mousedown",this._documentMousedownListener,tl),document.addEventListener("touchstart",this._documentTouchstartListener,tl),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,tl),document.removeEventListener("mousedown",this._documentMousedownListener,tl),document.removeEventListener("touchstart",this._documentTouchstartListener,tl),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(Po))},token:e,providedIn:"root"}),e})(),nl=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new n.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(il))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();function rl(e){return 0===e.buttons}let sl=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=(this._document.defaultView.getComputedStyle(e).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),t){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");const t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po),Object(n.fc)(a))},token:e,providedIn:"root"}),e})(),al=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(sl))},imports:[[Io,jc]]}),e})();const ol=new n.O("9.1.0"),cl=["*",[["mat-option"],["ng-container"]]],ll=["*","mat-option, ng-container"];function dl(e,t){if(1&e&&n.Rb(0,"mat-pseudo-checkbox",3),2&e){const e=n.nc();n.sc("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}const ul=["*"],hl=new n.O("9.1.0"),fl=new n.r("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let pl=(()=>{class e{constructor(e,t){this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checksAreEnabled(){return Object(n.W)()&&!this._isTestEnv()}_isTestEnv(){const e=this._window;return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle))return;const e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);const t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&hl.full!==ol.full&&console.warn("The Angular Material version ("+hl.full+") does not match the Angular CDK version ("+ol.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(sl),n.fc(fl,8))},imports:[[Ao],Ao]}),e})();function ml(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e)}}}function _l(e,t){return class extends e{constructor(...e){super(...e),this.color=t}get color(){return this._color}set color(e){const i=e||t;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function bl(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=yo(e)}}}function gl(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?e:t}}}function yl(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new an.a}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}function vl(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new He.a(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}const wl=new n.r("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(n.V)(n.v)}});class Cl{constructor(){this._localeChanges=new an.a}get localeChanges(){return this._localeChanges}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareDate(e,t):i==n}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}}const Sl=new n.r("mat-date-formats");let kl;try{kl="undefined"!=typeof Intl}catch(oO){kl=!1}const xl={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Ml=Tl(31,e=>String(e+1)),Dl={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Ll=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Tl(e,t){const i=Array(e);for(let n=0;n{class e extends Cl{constructor(e,t){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!t.TRIDENT,this._clampDate=t.TRIDENT||t.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(kl){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Tl(12,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,e,1))))}return xl[e]}getDateNames(){if(kl){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Tl(31,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return Ml}getDayOfWeekNames(e){if(kl){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Tl(7,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return Dl[e]}getYearName(e){if(kl){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,i){if(t<0||t>11)throw Error(`Invalid month index "${t}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);let n=this._createDateWithOverflow(e,t,i);if(n.getMonth()!=t)throw Error(`Invalid date "${i}" for month with index "${t}".`);return n}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(kl){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(i,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let i=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(i)!=((this.getMonth(e)+t)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Ll.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,i){const n=new Date(e,t,i);return e>=0&&e<100&&n.setFullYear(this.getYear(n)-1900),n}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,t){const i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(wl,8),n.fc(Po))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Al=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[{provide:Cl,useClass:El}],imports:[[Io]]}),e})();const Ol={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Pl=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[{provide:Sl,useValue:Ol}],imports:[[Al]]}),e})(),Il=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Rl=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e})();function jl(e,t,i){const n=e.nativeElement.classList;i?n.add(t):n.remove(t)}let Yl=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();class Vl{constructor(e,t,i){this._renderer=e,this.element=t,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Wl={enterDuration:450,exitDuration:400},Fl=Wo({passive:!0});class Hl{constructor(e,t,i,n){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=e=>{const t=rl(e),i=this._lastTouchStartEvent&&Date.now(){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let e=0;e{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))},n.isBrowser&&(this._containerElement=ko(i),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(e,t,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},Wl),i.animation);i.centered&&(e=n.left+n.width/2,t=n.top+n.height/2);const s=i.radius||function(e,t,i){const n=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),r=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));return Math.sqrt(n*n+r*r)}(e,t,n),a=e-n.left,o=t-n.top,c=r.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-s}px`,l.style.top=`${o-s}px`,l.style.height=`${2*s}px`,l.style.width=`${2*s}px`,null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";const d=new Vl(this,l,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const e=d===this._mostRecentTransientRipple;d.state=1,i.persistent||e&&this._isPointerDown||d.fadeOut()},c),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const i=e.element,n=Object.assign(Object.assign({},Wl),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=ko(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((e,i)=>{t.addEventListener(i,e,Fl)})}),this._triggerElement=t)}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((e,t)=>{this._triggerElement.removeEventListener(t,e,Fl)})}}const Bl=new n.r("mat-ripple-global-options");let zl=(()=>{class e{constructor(e,t,i,n,r){this._elementRef=e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new Hl(this,t,e,i),"NoopAnimations"===r&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,i){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(Po),n.Pb(Bl,8),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),Nl=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl,Io],pl]}),e})(),Ul=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&n.Gb("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),ql=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();class $l{}const Jl=ml($l);let Kl=0,Gl=(()=>{class e extends Jl{constructor(){super(...arguments),this._labelId=`mat-optgroup-label-${Kl++}`}}return e.\u0275fac=function(t){return Zl(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(n.Db("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),n.Gb("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[n.zb],ngContentSelectors:ll,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(n.rc(cl),n.Wb(0,"label",0),n.Jc(1),n.qc(2),n.Vb(),n.qc(3,1)),2&e&&(n.sc("id",t._labelId),n.Cb(1),n.Lc("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();const Zl=n.Zb(Gl);let Xl=0;class Ql{constructor(e,t=!1){this.source=e,this.isUserInput=t}}const ed=new n.r("MAT_OPTION_PARENT_COMPONENT");let td=(()=>{class e{constructor(e,t,i,r){this._element=e,this._changeDetectorRef=t,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Xl++}`,this.onSelectionChange=new n.o,this._stateChanges=new an.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=yo(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){13!==e.keyCode&&32!==e.keyCode||Sc(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Ql(this,e))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ed,8),n.Pb(Gl,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&n.jc("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(n.ac("id",t.id),n.Db("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),n.Gb("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:ul,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(n.rc(),n.Ic(0,dl,1,2,"mat-pseudo-checkbox",0),n.Wb(1,"span",1),n.qc(2),n.Vb(),n.Rb(3,"div",2)),2&e&&(n.sc("ngIf",t.multiple),n.Cb(3),n.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[P,zl,Ul],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function id(e,t,i){if(i.length){let n=t.toArray(),r=i.toArray(),s=0;for(let t=0;t{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,U,ql]]}),e})();const rd=new n.r("mat-label-global-options");var sd=i("VRyK");const ad=[[["caption"]]],od=["caption"];let cd=(()=>{class e extends vc{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}return e.\u0275fac=function(t){return ld(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[n.Bb([{provide:vc,useExisting:e}]),n.zb],ngContentSelectors:od,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(n.rc(ad),n.qc(0),n.Sb(1,0),n.Sb(2,1),n.Sb(3,2))},directives:[gc,bc,yc],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),e})();const ld=n.Zb(cd);let dd=(()=>{class e extends $o{}return e.\u0275fac=function(t){return ud(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matCellDef",""]],features:[n.Bb([{provide:$o,useExisting:e}]),n.zb]}),e})();const ud=n.Zb(dd);let hd=(()=>{class e extends Jo{}return e.\u0275fac=function(t){return fd(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matHeaderCellDef",""]],features:[n.Bb([{provide:Jo,useExisting:e}]),n.zb]}),e})();const fd=n.Zb(hd);let pd=(()=>{class e extends Xo{}return e.\u0275fac=function(t){return md(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.Bb([{provide:Xo,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),n.zb]}),e})();const md=n.Zb(pd);let _d=(()=>{class e extends tc{constructor(e,t){super(e,t),t.nativeElement.classList.add(`mat-column-${e.cssClassFriendlyName}`)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.zb]}),e})(),bd=(()=>{class e extends ic{constructor(e,t){super(e,t),t.nativeElement.classList.add(`mat-column-${e.cssClassFriendlyName}`)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.zb]}),e})(),gd=(()=>{class e extends ac{}return e.\u0275fac=function(t){return yd(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.Bb([{provide:ac,useExisting:e}]),n.zb]}),e})();const yd=n.Zb(gd);let vd=(()=>{class e extends dc{}return e.\u0275fac=function(t){return wd(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.Bb([{provide:dc,useExisting:e}]),n.zb]}),e})();const wd=n.Zb(vd);let Cd=(()=>{class e extends hc{}return e.\u0275fac=function(t){return Sd(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.Bb([{provide:hc,useExisting:e}]),n.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})();const Sd=n.Zb(Cd);let kd=(()=>{class e extends fc{}return e.\u0275fac=function(t){return xd(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.Bb([{provide:fc,useExisting:e}]),n.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})();const xd=n.Zb(kd);let Md=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Cc,pl]]}),e})();class Dd extends class{}{constructor(e=[]){super(),this._renderData=new cn([]),this._filter=new cn(""),this._internalPageChanges=new an.a,this._renderChangesSubscription=rr.a.EMPTY,this.sortingDataAccessor=(e,t)=>{const i=e[t];if(wo(i)){const e=Number(i);return e<9007199254740991?e:i}return i},this.sortData=(e,t)=>{const i=t.active,n=t.direction;return i&&""!=n?e.sort((e,t)=>{let r=this.sortingDataAccessor(e,i),s=this.sortingDataAccessor(t,i),a=0;return null!=r&&null!=s?r>s?a=1:r{const i=Object.keys(e).reduce((t,i)=>t+e[i]+"\u25ec","").toLowerCase(),n=t.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new cn(e),this._updateChangeSubscription()}get data(){return this._data.value}set data(e){this._data.next(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}_updateChangeSubscription(){const e=this._sort?Object(sd.a)(this._sort.sortChange,this._sort.initialized):vi(null),t=this._paginator?Object(sd.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):vi(null),i=fn([this._data,this._filter]).pipe(Object(ze.a)(([e])=>this._filterData(e))),n=fn([i,e]).pipe(Object(ze.a)(([e])=>this._orderData(e))),r=fn([n,t]).pipe(Object(ze.a)(([e])=>this._pageData(e)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=r.subscribe(e=>this._renderData.next(e))}_filterData(e){return this.filteredData=this.filter?e.filter(e=>this.filterPredicate(e,this.filter)):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;const t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{const t=this.paginator;if(t&&(t.length=e,t.pageIndex>0)){const e=Math.ceil(t.length/t.pageSize)-1||0,i=Math.min(t.pageIndex,e);i!==t.pageIndex&&(t.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}const Ld=["*",[["mat-card-footer"]]],Td=["*","mat-card-footer"],Ed=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Ad=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let Od=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e})(),Pd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e})(),Id=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),e})(),Rd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),e})(),jd=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:Td,decls:2,vars:0,template:function(e,t){1&e&&(n.rc(Ld),n.qc(0),n.qc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e})(),Yd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:Ad,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(n.rc(Ed),n.qc(0),n.Wb(1,"div",0),n.qc(2,1),n.Vb(),n.qc(3,2))},encapsulation:2,changeDetection:0}),e})(),Vd=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const Wd=["mat-button",""],Fd=["*"],Hd=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class Bd{constructor(e){this._elementRef=e}}const zd=_l(ml(bl(Bd)));let Nd=(()=>{class e extends zd{constructor(e,t,i){super(e),this._focusMonitor=t,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of Hd)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);e.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",t){this._focusMonitor.focusVia(this._getHostElement(),e,t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(il),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var i;1&e&&n.Sc(zl,!0),2&e&&n.zc(i=n.kc())&&(t.ripple=i.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(e,t){2&e&&(n.Db("disabled",t.disabled||null),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.zb],attrs:Wd,ngContentSelectors:Fd,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"span",0),n.qc(1),n.Vb(),n.Rb(2,"div",1),n.Rb(3,"div",2)),2&e&&(n.Cb(2),n.Gb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),n.sc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[zl],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e})(),Ud=(()=>{class e extends Nd{constructor(e,t,i){super(t,e,i)}_haltDisabledEvents(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(il),n.Pb(n.l),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){1&e&&n.jc("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(n.Db("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.zb],attrs:Wd,ngContentSelectors:Fd,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"span",0),n.qc(1),n.Vb(),n.Rb(2,"div",1),n.Rb(3,"div",2)),2&e&&(n.Cb(2),n.Gb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),n.sc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[zl],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e})(),qd=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,pl],pl]}),e})();function $d(e,t,i,n){return Object(er.a)(i)&&(n=i,i=void 0),n?$d(e,t,i).pipe(Object(ze.a)(e=>Object(Be.a)(e)?n(...e):n(e))):new He.a(n=>{!function e(t,i,n,r,s){let a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(i,n,s),a=()=>e.removeEventListener(i,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(i,n),a=()=>e.off(i,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(i,n),a=()=>e.removeListener(i,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,o=t.length;a1?Array.prototype.slice.call(arguments):e)}),n,i)})}const Jd=["underline"],Kd=["connectionContainer"],Gd=["inputContainer"],Zd=["label"];function Xd(e,t){1&e&&(n.Ub(0),n.Wb(1,"div",14),n.Rb(2,"div",15),n.Rb(3,"div",16),n.Rb(4,"div",17),n.Vb(),n.Wb(5,"div",18),n.Rb(6,"div",15),n.Rb(7,"div",16),n.Rb(8,"div",17),n.Vb(),n.Tb())}function Qd(e,t){1&e&&(n.Wb(0,"div",19),n.qc(1,1),n.Vb())}function eu(e,t){if(1&e&&(n.Ub(0),n.qc(1,2),n.Wb(2,"span"),n.Jc(3),n.Vb(),n.Tb()),2&e){const e=n.nc(2);n.Cb(3),n.Kc(e._control.placeholder)}}function tu(e,t){1&e&&n.qc(0,3,["*ngSwitchCase","true"])}function iu(e,t){1&e&&(n.Wb(0,"span",23),n.Jc(1," *"),n.Vb())}function nu(e,t){if(1&e){const e=n.Yb();n.Wb(0,"label",20,21),n.jc("cdkObserveContent",(function(){return n.Cc(e),n.nc().updateOutlineGap()})),n.Ic(2,eu,4,1,"ng-container",12),n.Ic(3,tu,1,0,void 0,12),n.Ic(4,iu,2,0,"span",22),n.Vb()}if(2&e){const e=n.nc();n.Gb("mat-empty",e._control.empty&&!e._shouldAlwaysFloat)("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),n.sc("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),n.Db("for",e._control.id)("aria-owns",e._control.id),n.Cb(2),n.sc("ngSwitchCase",!1),n.Cb(1),n.sc("ngSwitchCase",!0),n.Cb(1),n.sc("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function ru(e,t){1&e&&(n.Wb(0,"div",24),n.qc(1,4),n.Vb())}function su(e,t){if(1&e&&(n.Wb(0,"div",25,26),n.Rb(2,"span",27),n.Vb()),2&e){const e=n.nc();n.Cb(2),n.Gb("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function au(e,t){if(1&e&&(n.Wb(0,"div"),n.qc(1,5),n.Vb()),2&e){const e=n.nc();n.sc("@transitionMessages",e._subscriptAnimationState)}}function ou(e,t){if(1&e&&(n.Wb(0,"div",31),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.sc("id",e._hintLabelId),n.Cb(1),n.Kc(e.hintLabel)}}function cu(e,t){if(1&e&&(n.Wb(0,"div",28),n.Ic(1,ou,2,2,"div",29),n.qc(2,6),n.Rb(3,"div",30),n.qc(4,7),n.Vb()),2&e){const e=n.nc();n.sc("@transitionMessages",e._subscriptAnimationState),n.Cb(1),n.sc("ngIf",e.hintLabel)}}const lu=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],du=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let uu=0,hu=(()=>{class e{constructor(){this.id=`mat-error-${uu++}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&n.Db("id",t.id)},inputs:{id:"id"}}),e})();const fu={transitionMessages:Object(De.n)("transitionMessages",[Object(De.k)("enter",Object(De.l)({opacity:1,transform:"translateY(0%)"})),Object(De.m)("void => enter",[Object(De.l)({opacity:0,transform:"translateY(-100%)"}),Object(De.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e}),e})();function mu(e){return Error(`A hint was already declared for 'align="${e}"'.`)}let _u=0,bu=(()=>{class e{constructor(){this.align="start",this.id=`mat-hint-${_u++}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(n.Db("id",t.id)("align",null),n.Gb("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),e})(),gu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-label"]]}),e})(),yu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-placeholder"]]}),e})(),vu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matPrefix",""]]}),e})(),wu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matSuffix",""]]}),e})(),Cu=0;class Su{constructor(e){this._elementRef=e}}const ku=_l(Su,"primary"),xu=new n.r("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Mu=(()=>{class e extends ku{constructor(e,t,i,n,r,s,a,o){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=n,this._defaults=r,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new an.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Cu++}`,this._labelId=`mat-form-field-label-${Cu++}`,this._labelOptions=i||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=yo(e)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Jn(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Ho(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Ho(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(sd.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Jn(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Jn(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Ho(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,$d(this._label.nativeElement,"transitionend").pipe(Vn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let e,t;this._hintChildren.forEach(i=>{if("start"===i.align){if(e||this.hintLabel)throw mu("start");e=i}else if("end"===i.align){if(t)throw mu("end");t=i}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if("hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,i=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&(e=this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,i=0;const n=this._connectionContainerRef.nativeElement,r=n.querySelectorAll(".mat-form-field-outline-start"),s=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=n.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),a=this._getStartEnd(e.children[0].getBoundingClientRect());let o=0;for(const t of e.children)o+=t.offsetWidth;t=a-s-5,i=o>0?.75*o+10:0}for(let a=0;a{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,jc]]}),e})();class Lu{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new Tu(e,this.durationSelector))}}class Tu extends dn.a{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:t}=this;i=t(e)}catch(t){return this.destination.error(t)}const n=Object(un.a)(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:e,hasValue:t,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Eu(e){return!Object(Be.a)(e)&&e-parseFloat(e)+1>=0}function Au(e=0,t,i){let n=-1;return Eu(t)?n=Number(t)<1?1:Number(t):Object(bi.a)(t)&&(i=t),Object(bi.a)(i)||(i=Lc),new He.a(t=>{const r=Eu(e)?e:+e-i.now();return i.schedule(Ou,r,{index:0,period:n,subscriber:t})})}function Ou(e){const{index:t,period:i,subscriber:n}=e;if(n.next(t),!n.closed){if(-1===i)return n.complete();e.index=t+1,this.schedule(e,i)}}function Pu(e,t=Lc){return i=()=>Au(e,t),function(e){return e.lift(new Lu(i))};var i}const Iu=Wo({passive:!0});let Ru=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return _n;const t=ko(e),i=this._monitoredElements.get(t);if(i)return i.subject.asObservable();const n=new an.a,r="cdk-text-field-autofilled",s=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,Iu),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:n,unlisten:()=>{t.removeEventListener("animationstart",s,Iu)}}),n.asObservable()}stopMonitoring(e){const t=ko(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po),n.fc(n.A))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po),Object(n.fc)(n.A))},token:e,providedIn:"root"}),e})(),ju=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Io]]}),e})();const Yu=new n.r("MAT_INPUT_VALUE_ACCESSOR"),Vu=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Wu=0;class Fu{constructor(e,t,i,n){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=i,this.ngControl=n}}const Hu=yl(Fu);let Bu=(()=>{class e extends Hu{constructor(e,t,i,n,r,s,a,o,c){super(s,n,r,i),this._elementRef=e,this._platform=t,this.ngControl=i,this._autofillMonitor=o,this._uid=`mat-input-${Wu++}`,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new an.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>jo().has(e));const l=this._elementRef.nativeElement;this._inputValueAccessor=a||l,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&c.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===l.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=yo(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=yo(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea()&&jo().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=yo(e)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){if(Vu.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Po),n.Pb(rt,10),n.Pb(ei,8),n.Pb(di,8),n.Pb(Il),n.Pb(Yu,10),n.Pb(Ru),n.Pb(n.A))},e.\u0275dir=n.Kb({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&n.jc("blur",(function(){return t._focusChanged(!1)}))("focus",(function(){return t._focusChanged(!0)}))("input",(function(){return t._onInput()})),2&e&&(n.ac("disabled",t.disabled)("required",t.required),n.Db("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),n.Gb("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[n.Bb([{provide:pu,useExisting:e}]),n.zb,n.Ab()]}),e})(),zu=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Il],imports:[[ju,Du],ju,Du]}),e})(),Nu=1;const Uu=(()=>Promise.resolve())(),qu={};function $u(e){return e in qu&&(delete qu[e],!0)}const Ju={setImmediate(e){const t=Nu++;return qu[t]=!0,Uu.then(()=>$u(t)&&e()),t},clearImmediate(e){$u(e)}};class Ku extends xc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=Ju.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(Ju.clearImmediate(t),e.scheduled=void 0)}}class Gu extends Dc{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,n=-1,r=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++ni.lift(new Qu(e,t))}class Qu{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new eh(e,this.compare,this.keySelector))}}class eh extends Si.a{constructor(e,t,i){super(e),this.keySelector=i,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:i}=this;t=i?i(e):e}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:e}=this;i=e(this.key,t)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}function th(e,t){return new He.a(t?i=>t.schedule(ih,0,{error:e,subscriber:i}):t=>t.error(e))}function ih({error:e,subscriber:t}){t.error(e)}let nh=(()=>{class e{constructor(e,t,i){this.kind=e,this.value=t,this.error=i,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}toObservable(){switch(this.kind){case"N":return vi(this.value);case"E":return th(this.error);case"C":return bn()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();i("Ylt2");let rh=(()=>{class e{constructor(e,t){this._ngZone=e,this._platform=t,this._scrolled=new an.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new He.a(t=>{this._globalSubscription||this._addGlobalListener();const i=e>0?this._scrolled.pipe(Pu(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):vi()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ki(e=>!e||i.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,e)&&t.push(n)}),t}_scrollableContainsElement(e,t){let i=t.nativeElement,n=e.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>$d(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(Po))},token:e,providedIn:"root"}),e})(),sh=(()=>{class e{constructor(e,t,i,n){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=i,this.dir=n,this._destroyed=new an.a,this._elementScrolled=new He.a(e=>this.ngZone.runOutsideAngular(()=>$d(this.elementRef.nativeElement,"scroll").pipe(Ho(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=i?e.end:e.start),null==e.right&&(e.right=i?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),i&&0!=Fo()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Fo()?e.left=e.right:1==Fo()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==e?e=i?"right":"left":"end"==e&&(e=i?"left":"right"),i&&2==Fo()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:i&&1==Fo()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(rh),n.Pb(n.A),n.Pb(Eo,8))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),ah=(()=>{class e{constructor(e,t){this._platform=e,t.runOutsideAngular(()=>{this._change=e.isBrowser?Object(sd.a)($d(window,"resize"),$d(window,"orientationchange")):vi(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+t,height:i,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Pu(e)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po),n.fc(n.A))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po),Object(n.fc)(n.A))},token:e,providedIn:"root"}),e})(),oh=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Ao,Io],Ao]}),e})();function ch(){throw Error("Host already has a portal attached")}class lh{attach(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&ch(),this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class dh extends lh{constructor(e,t,i,n){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=n}}class uh extends lh{constructor(e,t,i){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class hh extends lh{constructor(e){super(),this.element=e instanceof n.l?e.nativeElement:e}}class fh{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&ch(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof dh?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof uh?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof hh?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ph extends fh{constructor(e,t,i,n,r){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=e=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})},this._document=r}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=t.create(e.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),i}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach(e=>this.outletElement.appendChild(e)),this.setDisposeFn(()=>{let e=t.indexOf(i);-1!==e&&t.remove(e)}),i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let mh=(()=>{class e extends uh{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.P))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.zb]}),e})(),_h=(()=>{class e extends fh{constructor(e,t,i){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new n.o,this.attachDomPortal=e=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(i,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.j),n.Pb(n.P),n.Pb(a))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.zb]}),e})(),bh=(()=>{class e extends _h{}return e.\u0275fac=function(t){return gh(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[n.Bb([{provide:_h,useExisting:e}]),n.zb]}),e})();const gh=n.Zb(bh);let yh=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();class vh{constructor(e,t){this._parentInjector=e,this._customTokens=t}get(e,t){const i=this._customTokens.get(e);return void 0!==i?i:this._parentInjector.get(e,t)}}class wh{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=So(-this._previousScrollPosition.left),e.style.top=So(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,i=this._document.body.style,n=t.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=i.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=n,i.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}function Ch(){return Error("Scroll strategy has already been attached.")}class Sh{constructor(e,t,i,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){if(this._overlayRef)throw Ch();this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class kh{enable(){}disable(){}attach(){}}function xh(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function Mh(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class Dh{constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(e){if(this._overlayRef)throw Ch();this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();xh(e,[{width:t,height:i,bottom:i,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Lh=(()=>{class e{constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this.noop=()=>new kh,this.close=e=>new Sh(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new wh(this._viewportRuler,this._document),this.reposition=e=>new Dh(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=n}}return e.\u0275fac=function(t){return new(t||e)(n.fc(rh),n.fc(ah),n.fc(n.A),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(rh),Object(n.fc)(ah),Object(n.fc)(n.A),Object(n.fc)(a))},token:e,providedIn:"root"}),e})();class Th{constructor(e){if(this.scrollStrategy=new kh,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const i of t)void 0!==e[i]&&(this[i]=e[i])}}}class Eh{constructor(e,t,i,n,r){this.offsetX=i,this.offsetY=n,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class Ah{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}function Oh(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error(`ConnectedPosition: Invalid ${e} "${t}". `+'Expected "top", "bottom" or "center".')}function Ph(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error(`ConnectedPosition: Invalid ${e} "${t}". `+'Expected "start", "end" or "center".')}let Ih=(()=>{class e{constructor(e){this._attachedOverlays=[],this._keydownListener=e=>{const t=this._attachedOverlays;for(let i=t.length-1;i>-1;i--)if(t[i]._keydownEventSubscriptions>0){t[i]._keydownEvents.next(e);break}},this._document=e}ngOnDestroy(){this._detach()}add(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(a))},token:e,providedIn:"root"}),e})();const Rh=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let jh=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||Rh){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;tthis._backdropClick.next(e),this._keydownEventsObservable=new He.a(e=>{const t=this._keydownEvents.subscribe(e);return this._keydownEventSubscriptions++,()=>{t.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new an.a,this._keydownEventSubscriptions=0,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=So(this._config.width),e.height=So(this._config.height),e.minWidth=So(this._config.minWidth),e.minHeight=So(this._config.minHeight),e.maxWidth=So(this._config.maxWidth),e.maxHeight=So(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let i=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",i),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",i)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(e,t,i){const n=e.classList;Co(t).forEach(e=>{e&&(i?n.add(e):n.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.asObservable().pipe(Ho(Object(sd.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const Vh=/([A-Za-z%]+)$/;class Wh{constructor(e,t,i,n,r){this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new an.a,this._resizeSubscription=rr.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,i=this._viewportRect,n=[];let r;for(let s of this._preferredPositions){let a=this._getOriginPoint(e,s),o=this._getOverlayPoint(a,t,s),c=this._getOverlayFit(o,t,i,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(c,o,i)?n.push({position:s,origin:a,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!r||r.overlayFit.visibleAreat&&(t=n,e=i)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Fh(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let i,n;if("center"==t.originX)i=e.left+e.width/2;else{const n=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;i="start"==t.originX?n:r}return n="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:i,y:n}}_getOverlayPoint(e,t,i){let n,r;return n="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+n,y:e.y+r}}_getOverlayFit(e,t,i,n){let{x:r,y:s}=e,a=this._getOffset(n,"x"),o=this._getOffset(n,"y");a&&(r+=a),o&&(s+=o);let c=0-s,l=s+t.height-i.height,d=this._subtractOverflows(t.width,0-r,r+t.width-i.width),u=this._subtractOverflows(t.height,c,l),h=d*u;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:u===t.height,fitsInViewportHorizontally:d==t.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){const n=i.bottom-t.y,r=i.right-t.x,s=Hh(this._overlayRef.getConfig().minHeight),a=Hh(this._overlayRef.getConfig().minWidth),o=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=s&&s<=n)&&o}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const n=this._viewportRect,r=Math.max(e.x+t.width-n.right,0),s=Math.max(e.y+t.height-n.bottom,0),a=Math.max(n.top-i.top-e.y,0),o=Math.max(n.left-i.left-e.x,0);let c=0,l=0;return c=t.width<=n.width?o||-r:e.xn&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-n/2)}if("end"===t.overlayX&&!n||"start"===t.overlayX&&n)l=i.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!n||"end"===t.overlayX&&n)c=e.x,o=i.right-e.x;else{const t=Math.min(i.right-e.x+i.left,e.x),n=this._lastBoundingBoxSize.width;o=2*t,c=e.x-t,o>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-n/2)}return{top:s,left:c,bottom:a,right:l,width:o,height:r}}_setBoundingBoxStyles(e,t){const i=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=So(i.height),n.top=So(i.top),n.bottom=So(i.bottom),n.width=So(i.width),n.left=So(i.left),n.right=So(i.right),n.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",n.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(n.maxHeight=So(e)),r&&(n.maxWidth=So(r))}this._lastBoundingBoxSize=i,Fh(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Fh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Fh(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const i={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();Fh(i,this._getExactOverlayY(t,e,n)),Fh(i,this._getExactOverlayX(t,e,n))}else i.position="static";let a="",o=this._getOffset(t,"x"),c=this._getOffset(t,"y");o&&(a+=`translateX(${o}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(n?i.maxHeight=So(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(n?i.maxWidth=So(s.maxWidth):r&&(i.maxWidth="")),Fh(this._pane.style,i)}_getExactOverlayY(e,t,i){let n={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===e.overlayY?n.bottom=`${this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)}px`:n.top=So(r.y),n}_getExactOverlayX(e,t,i){let n,r={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),n=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===n?r.right=`${this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)}px`:r.left=So(s.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Mh(e,i),isOriginOutsideView:xh(e,i),isOverlayClipped:Mh(t,i),isOverlayOutsideView:xh(t,i)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(e=>{Ph("originX",e.originX),Oh("originY",e.originY),Ph("overlayX",e.overlayX),Oh("overlayY",e.overlayY)})}_addPanelClasses(e){this._pane&&Co(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof n.l)return e.nativeElement.getBoundingClientRect();if(e instanceof HTMLElement)return e.getBoundingClientRect();const t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}}function Fh(e,t){for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function Hh(e){if("number"!=typeof e&&null!=e){const[t,i]=e.split(Vh);return i&&"px"!==i?null:parseFloat(t)}return e||null}class Bh{constructor(e,t,i,n,r,s,a){this._preferredPositions=[],this._positionStrategy=new Wh(i,n,r,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,i,n){const r=new Eh(e,t,i,n);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}class zh{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:r,maxWidth:s,maxHeight:a}=i,o=!("100%"!==n&&"100vw"!==n||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=o?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,o?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let Nh=(()=>{class e{constructor(e,t,i,n){this._viewportRuler=e,this._document=t,this._platform=i,this._overlayContainer=n}global(){return new zh}connectedTo(e,t,i){return new Bh(t,i,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new Wh(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(ah),n.fc(a),n.fc(Po),n.fc(jh))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(ah),Object(n.fc)(a),Object(n.fc)(Po),Object(n.fc)(jh))},token:e,providedIn:"root"}),e})(),Uh=0,qh=(()=>{class e{constructor(e,t,i,n,r,s,a,o,c,l){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=r,this._injector=s,this._ngZone=a,this._document=o,this._directionality=c,this._location=l}create(e){const t=this._createHostElement(),i=this._createPaneElement(t),n=this._createPortalOutlet(i),r=new Th(e);return r.direction=r.direction||this._directionality.value,new Yh(n,t,i,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id=`cdk-overlay-${Uh++}`,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(n.g)),new ph(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Lh),n.fc(jh),n.fc(n.j),n.fc(Nh),n.fc(Ih),n.fc(n.s),n.fc(n.A),n.fc(a),n.fc(Eo),n.fc(w,8))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const $h=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Jh=new n.r("cdk-connected-overlay-scroll-strategy");let Kh=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),Gh=(()=>{class e{constructor(e,t,i,r,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=rr.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new n.o,this.positionChange=new n.o,this.attach=new n.o,this.detach=new n.o,this.overlayKeydown=new n.o,this._templatePortal=new uh(t,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=yo(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=yo(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=yo(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=yo(e)}get push(){return this._push}set push(e){this._push=yo(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=$h),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),27!==e.keyCode||Sc(e)||(e.preventDefault(),this._detachOverlay())})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Th({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe(e=>this.positionChange.emit(e)),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(qh),n.Pb(n.M),n.Pb(n.P),n.Pb(Jh),n.Pb(Eo,8))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[n.Ab()]}),e})();const Zh={provide:Jh,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Xh=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[qh,Zh],imports:[[Ao,yh,oh],oh]}),e})();const Qh=["trigger"],ef=["panel"];function tf(e,t){if(1&e&&(n.Wb(0,"span",8),n.Jc(1),n.Vb()),2&e){const e=n.nc();n.Cb(1),n.Kc(e.placeholder||"\xa0")}}function nf(e,t){if(1&e&&(n.Wb(0,"span"),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.triggerValue||"\xa0")}}function rf(e,t){1&e&&n.qc(0,0,["*ngSwitchCase","true"])}function sf(e,t){if(1&e&&(n.Wb(0,"span",9),n.Ic(1,nf,2,1,"span",10),n.Ic(2,rf,1,0,void 0,11),n.Vb()),2&e){const e=n.nc();n.sc("ngSwitch",!!e.customTrigger),n.Cb(2),n.sc("ngSwitchCase",!0)}}function af(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",12),n.Wb(1,"div",13,14),n.jc("@transformPanel.done",(function(t){return n.Cc(e),n.nc()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return n.Cc(e),n.nc()._handleKeydown(t)})),n.qc(3,1),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("@transformPanelWrap",void 0),n.Cb(1),n.Fb("mat-select-panel ",e._getPanelTheme(),""),n.Hc("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),n.sc("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing")}}const of=[[["mat-select-trigger"]],"*"],cf=["mat-select-trigger","*"],lf={transformPanelWrap:Object(De.n)("transformPanelWrap",[Object(De.m)("* => void",Object(De.i)("@transformPanel",[Object(De.f)()],{optional:!0}))]),transformPanel:Object(De.n)("transformPanel",[Object(De.k)("void",Object(De.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(De.k)("showing",Object(De.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(De.k)("showing-multiple",Object(De.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(De.m)("void => *",Object(De.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(De.m)("* => void",Object(De.e)("100ms 25ms linear",Object(De.l)({opacity:0})))])};let df=0;const uf=new n.r("mat-select-scroll-strategy"),hf=new n.r("MAT_SELECT_CONFIG"),ff={provide:uf,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class pf{constructor(e,t){this.source=e,this.value=t}}class mf{constructor(e,t,i,n,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r}}const _f=bl(gl(ml(yl(mf))));let bf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-select-trigger"]]}),e})(),gf=(()=>{class e extends _f{constructor(e,t,i,r,s,a,o,c,l,d,u,h,f,p){super(s,r,o,c,d),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=a,this._parentFormField=l,this.ngControl=d,this._liveAnnouncer=f,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(e,t)=>e===t,this._uid=`mat-select-${df++}`,this._destroy=new an.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new an.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=gn(()=>{const e=this.options;return e?e.changes.pipe(Jn(e),Nn(()=>Object(sd.a)(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Vn(1),Nn(()=>this.optionSelectionChanges))}),this.openedChange=new n.o,this._openedStream=this.openedChange.pipe(ki(e=>e),Object(ze.a)(()=>{})),this._closedStream=this.openedChange.pipe(ki(e=>!e),Object(ze.a)(()=>{})),this.selectionChange=new n.o,this.valueChange=new n.o,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(u)||0,this.id=this.id,p&&(null!=p.disableOptionCentering&&(this.disableOptionCentering=p.disableOptionCentering),null!=p.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=p.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=yo(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=yo(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=yo(e)}get compareWith(){return this._compareWith}set compareWith(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){e!==this._value&&(this.writeValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=vo(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Mo(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Xu(),Ho(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Ho(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Ho(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Jn(null),Ho(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.options&&this._setSelectionByValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,i=40===t||38===t||37===t||39===t,n=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&n&&!Sc(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){const i=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e);const n=this.selected;n&&i!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,i=e.keyCode,n=40===i||38===i,r=t.isTyping();if(36===i||35===i)e.preventDefault(),36===i?t.setFirstItemActive():t.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(r||13!==i&&32!==i||!t.activeItem||Sc(e))if(!r&&this._multiple&&65===i&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const i=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==i&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Vn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach(e=>this._selectValue(e)),this._sortValues()}else{this._selectionModel.clear();const t=this._selectValue(e);t?this._keyManager.setActiveItem(t):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{try{return null!=t.value&&this._compareWith(t.value,e)}catch(i){return Object(n.W)()&&console.warn(i),!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new zc(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ho(this._destroy)).subscribe(()=>{!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close()}),this._keyManager.change.pipe(Ho(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Object(sd.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ho(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(sd.a)(...this.options.map(e=>e._stateChanges)).pipe(Ho(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(e,t){const i=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new pf(this,t)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(e=>e.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const e=this._keyManager.activeItemIndex||0,t=id(e,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=function(e,t,i,n){const r=e*t;return ri+256?Math.max(0,r-256+t):i}(e+t,this._getItemHeight(),this.panel.nativeElement.scrollTop)}focus(e){this._elementRef.nativeElement.focus(e)}_getOptionIndex(e){return this.options.reduce((t,i,n)=>void 0!==t?t:e===i?n:void 0,void 0)}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,256),n=t*e-i;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=id(r,this.options,this.optionGroups);const s=i/2;this._scrollTop=this._calculateOverlayScroll(r,s,n),this._offsetY=this._calculateOverlayOffsetY(r,s,n),this._checkOverlayWithinViewport(n)}_calculateOverlayScroll(e,t,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*e-t+n/2),i)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let r;if(this.multiple)r=40;else{let e=this._selectionModel.selected[0]||this.options.first;r=e&&e.group?32:16}i||(r*=-1);const s=0-(e.left+r-(i?n:0)),a=e.right+r-t.width+(i?0:n);s>0?r+=s+8:a>0&&(r-=a+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,i){const n=this._getItemHeight(),r=(n-this._triggerRect.height)/2,s=Math.floor(256/n);let a;return this._disableOptionCentering?0:(a=0===this._scrollTop?e*n:this._scrollTop===i?(e-(this._getItemCount()-s))*n+(n-(this._getItemCount()*n-256)%n):t-n/2,Math.round(-1*a-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,r=i.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-s-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):s>n?this._adjustPanelDown(s,n,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,i){const n=Math.round(e-t);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ah),n.Pb(n.h),n.Pb(n.A),n.Pb(Il),n.Pb(n.l),n.Pb(Eo,8),n.Pb(ei,8),n.Pb(di,8),n.Pb(Mu,8),n.Pb(rt,10),n.gc("tabindex"),n.Pb(uf),n.Pb(Qc),n.Pb(hf,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,bf,!0),n.Ib(i,td,!0),n.Ib(i,Gl,!0)),2&e&&(n.zc(r=n.kc())&&(t.customTrigger=r.first),n.zc(r=n.kc())&&(t.options=r),n.zc(r=n.kc())&&(t.optionGroups=r))},viewQuery:function(e,t){var i;1&e&&(n.Sc(Qh,!0),n.Sc(ef,!0),n.Sc(Gh,!0)),2&e&&(n.zc(i=n.kc())&&(t.trigger=i.first),n.zc(i=n.kc())&&(t.panel=i.first),n.zc(i=n.kc())&&(t.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&n.jc("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(n.Db("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),n.Gb("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[n.Bb([{provide:pu,useExisting:e},{provide:ed,useExisting:e}]),n.zb,n.Ab()],ngContentSelectors:cf,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(n.rc(of),n.Wb(0,"div",0,1),n.jc("click",(function(){return t.toggle()})),n.Wb(3,"div",2),n.Ic(4,tf,2,1,"span",3),n.Ic(5,sf,3,2,"span",4),n.Vb(),n.Wb(6,"div",5),n.Rb(7,"div",6),n.Vb(),n.Vb(),n.Ic(8,af,4,10,"ng-template",7),n.jc("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){const e=n.Ac(1);n.Cb(3),n.sc("ngSwitch",t.empty),n.Cb(1),n.sc("ngSwitchCase",!0),n.Cb(1),n.sc("ngSwitchCase",!1),n.Cb(3),n.sc("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[Kh,Y,V,Gh,W,T],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[lf.transformPanelWrap,lf.transformPanel]},changeDetection:0}),e})(),yf=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[ff],imports:[[U,Xh,nd,pl],Du,nd,pl]}),e})();class vf{constructor(e){this.total=e}call(e,t){return t.subscribe(new wf(e,this.total))}}class wf extends Si.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}const Cf=new Set;let Sf,kf=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xf}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!Cf.has(e))try{Sf||(Sf=document.createElement("style"),Sf.setAttribute("type","text/css"),document.head.appendChild(Sf)),Sf.sheet&&(Sf.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),Cf.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po))},token:e,providedIn:"root"}),e})();function xf(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let Mf=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new an.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Df(Co(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=fn(Df(Co(e)).map(e=>this._registerQuery(e).observable));return t=$n(t.pipe(Vn(1)),t.pipe(e=>e.lift(new vf(1)),Tc(0))),t.pipe(Object(ze.a)(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(e=>{t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),i={observable:new He.a(e=>{const i=t=>this._zone.run(()=>e.next(t));return t.addListener(i),()=>{t.removeListener(i)}}).pipe(Jn(t),Object(ze.a)(t=>({query:e,matches:t.matches})),Ho(this._destroySubject)),mql:t};return this._queries.set(e,i),i}}return e.\u0275fac=function(t){return new(t||e)(n.fc(kf),n.fc(n.A))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(kf),Object(n.fc)(n.A))},token:e,providedIn:"root"}),e})();function Df(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const Lf={tooltipState:Object(De.n)("state",[Object(De.k)("initial, void, hidden",Object(De.l)({opacity:0,transform:"scale(0)"})),Object(De.k)("visible",Object(De.l)({transform:"scale(1)"})),Object(De.m)("* => visible",Object(De.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(De.h)([Object(De.l)({opacity:0,transform:"scale(0)",offset:0}),Object(De.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(De.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(De.m)("* => hidden",Object(De.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({opacity:0})))])},Tf=Wo({passive:!0});function Ef(e){return Error(`Tooltip position "${e}" is invalid.`)}const Af=new n.r("mat-tooltip-scroll-strategy"),Of={provide:Af,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},Pf=new n.r("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let If=(()=>{class e{constructor(e,t,i,n,r,s,a,o,c,l,d,u){this._overlay=e,this._elementRef=t,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=r,this._platform=s,this._ariaDescriber=a,this._focusMonitor=o,this._dir=l,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new an.a,this._handleKeydown=e=>{this._isTooltipVisible()&&27===e.keyCode&&!Sc(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),o.monitor(t).pipe(Ho(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&r.run(()=>this.show()):r.run(()=>this.hide(0))}),r.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e),this._disabled&&this.hide(0)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?`${e}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((t,i)=>{e.removeEventListener(i,t,Tf)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new dh(Rf,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Ho(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(Ho(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Ho(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),i.main),Object.assign(Object.assign({},t.fallback),i.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let i;if("above"==t||"below"==t)i={originX:"center",originY:"above"==t?"top":"bottom"};else if("before"==t||"left"==t&&e||"right"==t&&!e)i={originX:"start",originY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Ef(t);i={originX:"end",originY:"center"}}const{x:n,y:r}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let i;if("above"==t)i={overlayX:"center",overlayY:"bottom"};else if("below"==t)i={overlayX:"center",overlayY:"top"};else if("before"==t||"left"==t&&e||"right"==t&&!e)i={overlayX:"end",overlayY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Ef(t);i={overlayX:"start",overlayY:"center"}}const{x:n,y:r}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Vn(1),Ho(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());this._passiveListeners.forEach((e,t)=>{this._elementRef.nativeElement.addEventListener(t,e,Tf)})}_disableNativeGesturesIfNecessary(){const e=this._elementRef.nativeElement,t=e.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==i&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(qh),n.Pb(n.l),n.Pb(rh),n.Pb(n.P),n.Pb(n.A),n.Pb(Po),n.Pb(Hc),n.Pb(il),n.Pb(Af),n.Pb(Eo,8),n.Pb(Pf,8),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),Rf=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new an.a,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Mf))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("click",(function(){return t._handleBodyInteraction()}),!1,n.Bc),2&e&&n.Hc("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(n.Wb(0,"div",0),n.jc("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),n.oc(1,"async"),n.Jc(2),n.Vb()),2&e){var i;const e=null==(i=n.pc(1,5,t._isHandset))?null:i.matches;n.Gb("mat-tooltip-handset",e),n.sc("ngClass",t.tooltipClass)("@state",t._visibility),n.Cb(2),n.Kc(t.message)}},directives:[T],pipes:[N],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Lf.tooltipState]},changeDetection:0}),e})(),jf=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Of],imports:[[al,U,Xh,pl],pl]}),e})();function Yf(e,t){if(1&e&&(n.Wb(0,"mat-option",19),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e),n.Cb(1),n.Lc(" ",e," ")}}function Vf(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field",16),n.Wb(1,"mat-select",17),n.jc("selectionChange",(function(t){return n.Cc(e),n.nc(2)._changePageSize(t.value)})),n.Ic(2,Yf,2,2,"mat-option",18),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.sc("color",e.color),n.Cb(1),n.sc("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),n.Cb(1),n.sc("ngForOf",e._displayedPageSizeOptions)}}function Wf(e,t){if(1&e&&(n.Wb(0,"div",20),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.pageSize)}}function Ff(e,t){if(1&e&&(n.Wb(0,"div",12),n.Wb(1,"div",13),n.Jc(2),n.Vb(),n.Ic(3,Vf,3,5,"mat-form-field",14),n.Ic(4,Wf,2,1,"div",15),n.Vb()),2&e){const e=n.nc();n.Cb(2),n.Lc(" ",e._intl.itemsPerPageLabel," "),n.Cb(1),n.sc("ngIf",e._displayedPageSizeOptions.length>1),n.Cb(1),n.sc("ngIf",e._displayedPageSizeOptions.length<=1)}}function Hf(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",21),n.jc("click",(function(){return n.Cc(e),n.nc().firstPage()})),n.mc(),n.Wb(1,"svg",7),n.Rb(2,"path",22),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),n.Db("aria-label",e._intl.firstPageLabel)}}function Bf(e,t){if(1&e){const e=n.Yb();n.mc(),n.lc(),n.Wb(0,"button",23),n.jc("click",(function(){return n.Cc(e),n.nc().lastPage()})),n.mc(),n.Wb(1,"svg",7),n.Rb(2,"path",24),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),n.Db("aria-label",e._intl.lastPageLabel)}}let zf=(()=>{class e{constructor(){this.changes=new an.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,i)=>{if(0==i||0==t)return`0 of ${i}`;const n=e*t;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+t,i):n+t} of ${i}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Nf={provide:zf,deps:[[new n.B,new n.K,zf]],useFactory:function(e){return e||new zf}},Uf=new n.r("MAT_PAGINATOR_DEFAULT_OPTIONS");class qf{}const $f=ml(vl(qf));let Jf=(()=>{class e extends $f{constructor(e,t,i){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new n.o,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:e,pageSizeOptions:t,hidePageSize:n,showFirstLastButtons:r}=i;null!=e&&(this._pageSize=e),null!=t&&(this._pageSizeOptions=t),null!=n&&(this._hidePageSize=n),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(vo(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=vo(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(vo(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(e=>vo(e)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=yo(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=yo(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(zf),n.Pb(n.h),n.Pb(Uf,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[n.zb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div",1),n.Ic(2,Ff,5,3,"div",2),n.Wb(3,"div",3),n.Wb(4,"div",4),n.Jc(5),n.Vb(),n.Ic(6,Hf,3,5,"button",5),n.Wb(7,"button",6),n.jc("click",(function(){return t.previousPage()})),n.mc(),n.Wb(8,"svg",7),n.Rb(9,"path",8),n.Vb(),n.Vb(),n.lc(),n.Wb(10,"button",9),n.jc("click",(function(){return t.nextPage()})),n.mc(),n.Wb(11,"svg",7),n.Rb(12,"path",10),n.Vb(),n.Vb(),n.Ic(13,Bf,3,5,"button",11),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(2),n.sc("ngIf",!t.hidePageSize),n.Cb(3),n.Lc(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),n.Cb(1),n.sc("ngIf",t.showFirstLastButtons),n.Cb(1),n.sc("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),n.Db("aria-label",t._intl.previousPageLabel),n.Cb(3),n.sc("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),n.Db("aria-label",t._intl.nextPageLabel),n.Cb(3),n.sc("ngIf",t.showFirstLastButtons))},directives:[P,Nd,If,Mu,gf,A,td],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),Kf=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Nf],imports:[[U,qd,yf,jf]]}),e})();var Gf=i("w1tV");const Zf=["*"];function Xf(e){return Error(`Unable to find icon with the name "${e}"`)}function Qf(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+`via Angular's DomSanitizer. Attempted URL was "${e}".`)}function ep(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+`Angular's DomSanitizer. Attempted literal was "${e}".`)}class tp{constructor(e,t){this.options=t,e.nodeName?this.svgElement=e:this.url=e}}let ip=(()=>{class e{constructor(e,t,i,n){this._httpClient=e,this._sanitizer=t,this._errorHandler=n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,n){return this._addSvgIconConfig(e,t,new tp(i,n))}addSvgIconLiteralInNamespace(e,t,i,r){const s=this._sanitizer.sanitize(n.J.HTML,i);if(!s)throw ep(i);const a=this._createSvgElementForSingleIcon(s,r);return this._addSvgIconConfig(e,t,new tp(a,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new tp(t,i))}addSvgIconSetLiteralInNamespace(e,t,i){const r=this._sanitizer.sanitize(n.J.HTML,t);if(!r)throw ep(t);const s=this._svgElementFromString(r);return this._addSvgIconSetConfig(e,new tp(s,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(n.J.RESOURCE_URL,e);if(!t)throw Qf(e);const i=this._cachedIconsByUrl.get(t);return i?vi(np(i)):this._loadSvgIconFromConfig(new tp(e)).pipe(tr(e=>this._cachedIconsByUrl.set(t,e)),Object(ze.a)(e=>np(e)))}getNamedSvgIcon(e,t=""){const i=rp(t,e),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):th(Xf(i))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgElement?vi(np(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(tr(t=>e.svgElement=t),Object(ze.a)(e=>np(e)))}_getSvgFromIconSetConfigs(e,t){const i=this._extractIconWithNameFromAnySet(e,t);return i?vi(i):qe(t.filter(e=>!e.svgElement).map(e=>this._loadSvgIconSetFromConfig(e).pipe(Rn(t=>{const i=`Loading icon set URL: ${this._sanitizer.sanitize(n.J.RESOURCE_URL,e.url)} failed: ${t.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i),vi(null)})))).pipe(Object(ze.a)(()=>{const i=this._extractIconWithNameFromAnySet(e,t);if(!i)throw Xf(e);return i}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){const n=t[i];if(n.svgElement){const t=this._extractSvgIconFromSet(n.svgElement,e,n.options);if(t)return t}}return null}_loadSvgIconFromConfig(e){return this._fetchUrl(e.url).pipe(Object(ze.a)(t=>this._createSvgElementForSingleIcon(t,e.options)))}_loadSvgIconSetFromConfig(e){return e.svgElement?vi(e.svgElement):this._fetchUrl(e.url).pipe(Object(ze.a)(t=>(e.svgElement||(e.svgElement=this._svgElementFromString(t)),e.svgElement)))}_createSvgElementForSingleIcon(e,t){const i=this._svgElementFromString(e);return this._setSvgAttributes(i,t),i}_extractSvgIconFromSet(e,t,i){const n=e.querySelector(`[id="${t}"]`);if(!n)return null;const r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,i);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),i);const s=this._svgElementFromString("");return s.appendChild(r),this._setSvgAttributes(s,i)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const i=t.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(e){const t=this._svgElementFromString(""),i=e.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(t)),Object(Gf.a)());return this._inProgressUrlFetches.set(t,r),r}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(rp(e,t),i),this}_addSvgIconSetConfig(e,t){const i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}}return e.\u0275fac=function(t){return new(t||e)(n.fc(zi,8),n.fc(we),n.fc(a,8),n.fc(n.n,8))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(zi,8),Object(n.fc)(we),Object(n.fc)(a,8),Object(n.fc)(n.n,8))},token:e,providedIn:"root"}),e})();function np(e){return e.cloneNode(!0)}function rp(e,t){return e+":"+t}class sp{constructor(e){this._elementRef=e}}const ap=_l(sp),op=new n.r("mat-icon-location",{providedIn:"root",factory:function(){const e=Object(n.V)(a),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),cp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lp=cp.map(e=>`[${e}]`).join(", "),dp=/^url\(['"]?#(.*?)['"]?\)$/;let up=(()=>{class e extends ap{constructor(e,t,i,n,r){super(e),this._iconRegistry=t,this._location=n,this._errorHandler=r,this._inline=!1,i||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=yo(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnChanges(e){const t=e.svgIcon;if(t)if(this.svgIcon){const[e,t]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(t,e).pipe(Vn(1)).subscribe(e=>this._setSvgElement(e),i=>{const n=`Error retrieving icon ${e}:${t}! ${i.message}`;this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n)})}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let i=0;i{t.forEach(t=>{i.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(lp),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const r=t[n],s=r.getAttribute(e),a=s?s.match(dp):null;if(a){let t=i.get(r);t||(t=[],i.set(r,t)),t.push({name:e,value:a[1]})}})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(ip),n.gc("aria-hidden"),n.Pb(op,8),n.Pb(n.n,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[n.zb,n.Ab()],ngContentSelectors:Zf,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),hp=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const fp=["appPaginator"];var pp,mp,_p,bp,gp;function yp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function vp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/application/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function wp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,_p),n.Vb())}function Cp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/application/",e.id,""),n.Cb(1),n.Lc(" ",e.name," ")}}function Sp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,bp),n.Vb())}function kp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function xp(e,t){1&e&&(n.Wb(0,"mat-header-cell",20),n.bc(1,gp),n.Vb())}function Mp(e,t){1&e&&(n.Wb(0,"mat-icon",23),n.Jc(1,"security"),n.Vb())}function Dp(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"security"),n.Vb())}function Lp(e,t){if(1&e&&(n.Wb(0,"mat-cell",20),n.Ic(1,Mp,2,0,"mat-icon",21),n.Ic(2,Dp,2,0,"mat-icon",22),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.waf_enabled),n.Cb(1),n.sc("ngIf",!e.waf_enabled)}}function Tp(e,t){1&e&&n.Rb(0,"mat-header-row")}function Ep(e,t){1&e&&n.Rb(0,"mat-row")}pp=$localize`:@@app_mgmt␟afd29a25da1cb399758a8391f1220a126f69d398␟6498259039196827528:Application Management`,mp=$localize`:@@add_app␟6371056b2b9e430f6eaca5ecc1c9b5f4b9245d08␟8171450067602583729:Add Application`,_p=$localize`:@@app_name␟20371277706eedf7fd8a3f51633ca5d801cd4fc2␟8778616811237742446: Name `,bp=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,gp=$localize`:@@waf_enabled2␟4e5b591c045f8048c70afdfe2cbd69f2f70b24c1␟4031094814875691100: WAF Enabled `;const Ap=function(){return[10,20,50]};let Op=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.displayedColumns=["id","name","description","waf_enabled"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getApplications(),setTimeout(()=>{0==this.rpcService.auth_user.logged&&this.router.navigate(["/login"]),this.appDataSource=new Dd(this.rpcService.applications),this.appLength=this.rpcService.applications.length},500)):this.router.navigate(["/"])}addApplication(){this.router.navigate(["/application/0"])}applyFilter(e){this.appDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-applications"]],viewQuery:function(e,t){var i;1&e&&n.Sc(fp,!0),2&e&&n.zc(i=n.kc())&&(t.appPaginator=i.first)},decls:32,vars:7,consts:[[1,"container"],["mat-stroked-button","",3,"click"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","waf_enabled"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["appPaginator",""],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,pp),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Wb(6,"span"),n.Wb(7,"button",1),n.jc("click",(function(){return t.addApplication()})),n.bc(8,mp),n.Vb(),n.Vb(),n.Wb(9,"span"),n.Jc(10,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(11,"mat-form-field",2),n.Wb(12,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(13,"div",4),n.Wb(14,"mat-table",5,6),n.Ub(16,7),n.Ic(17,yp,2,0,"mat-header-cell",8),n.Ic(18,vp,3,2,"mat-cell",9),n.Tb(),n.Ub(19,10),n.Ic(20,wp,2,0,"mat-header-cell",8),n.Ic(21,Cp,3,2,"mat-cell",9),n.Tb(),n.Ub(22,11),n.Ic(23,Sp,2,0,"mat-header-cell",8),n.Ic(24,kp,2,1,"mat-cell",9),n.Tb(),n.Ub(25,12),n.Ic(26,xp,2,0,"mat-header-cell",13),n.Ic(27,Lp,3,2,"mat-cell",14),n.Tb(),n.Ic(28,Tp,1,0,"mat-header-row",15),n.Ic(29,Ep,1,0,"mat-row",16),n.Vb(),n.Rb(30,"mat-paginator",17,18),n.Vb(),n.Vb()),2&e&&(n.Cb(14),n.sc("dataSource",t.appDataSource),n.Cb(14),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.appLength)("pageSize",20)("pageSizeOptions",n.wc(6,Ap)))},directives:[jd,Nd,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,_d,bd,ka,P,up,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}"]}),e})(),Pp=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=yo(e)}get inset(){return this._inset}set inset(e){this._inset=yo(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(n.Db("aria-orientation",t.vertical?"vertical":"horizontal"),n.Gb("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),e})(),Ip=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const Rp=["certPaginator"];var jp,Yp,Vp,Wp,Fp,Hp,Bp;function zp(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",21),n.jc("click",(function(){return n.Cc(e),n.nc().addCertificate()})),n.bc(2,Vp),n.Vb(),n.Vb()}}function Np(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function Up(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",22),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/certificate/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function qp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Wp),n.Vb())}function $p(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",22),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/certificate/",e.id,""),n.Cb(1),n.Lc(" ",e.common_name," ")}}function Jp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Fp),n.Vb())}function Kp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function Gp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Hp),n.Vb())}function Zp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.expire_time)," ")}}function Xp(e,t){1&e&&(n.Wb(0,"mat-header-cell",23),n.bc(1,Bp),n.Vb())}function Qp(e,t){1&e&&(n.Wb(0,"mat-icon",26),n.Jc(1,"check_circle_outline"),n.Vb())}function em(e,t){1&e&&(n.Wb(0,"mat-icon",27),n.Jc(1,"info"),n.Vb())}function tm(e,t){if(1&e&&(n.Wb(0,"mat-cell",23),n.Ic(1,Qp,2,0,"mat-icon",24),n.Ic(2,em,2,0,"mat-icon",25),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",!e.due_to_expire),n.Cb(1),n.sc("ngIf",e.due_to_expire)}}function im(e,t){1&e&&n.Rb(0,"mat-header-row")}function nm(e,t){1&e&&n.Rb(0,"mat-row")}jp=$localize`:@@cert_mgmt␟89d74c661c7a4ff5bb596e5c9da09ffb5f8f5e1b␟7592328498683031180:Certificate Management`,Yp=$localize`:@@acme_note␟3b3a0718d29106ad927a99656a7bf2e47be92494␟3858518482223069301: Note: The private key imported here will be stored encrypted. ACME automatic certificates are automatically managed by the file system (not listed here). `,Vp=$localize`:@@add_cert␟c921699d04972f3342aea874ca2b5590bc770f36␟6891864300492956841:Add Certificate`,Wp=$localize`:@@common_name␟9043be6967386201047a2ac697914c0528b1b3b1␟7596435725983670097: Common Name `,Fp=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,Hp=$localize`:@@expire_time␟e8a206cd8b22430ba0c01746a7c19db6a858642b␟8219491832239345526: Expire Time `,Bp=$localize`:@@cert_status␟6d1cddbe2f61020230280a0543a70e48e43d9832␟4282587102956396340: Status `;const rm=function(){return[10,20,50]};let sm=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.certIcon="assets/images/cert.png",this.displayedColumns=["id","common_name","description","expire_time","due_to_expire"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getCertificates(),setTimeout(()=>{this.certDataSource=new Dd(this.rpcService.certificates),this.certLength=this.rpcService.certificates.length},500)):this.router.navigate(["/"])}addDays(e,t){return new Date(e.getTime()+86400*t*1e3)}addCertificate(){this.router.navigate(["/certificate/0"])}getDate(e){return this.rpcService.getDateString(e)}applyFilter(e){this.certDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-certificates"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Rp,!0),2&e&&n.zc(i=n.kc())&&(t.certPaginator=i.first)},decls:37,vars:8,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","common_name"],["matColumnDef","description"],["matColumnDef","expire_time"],["matColumnDef","due_to_expire"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["certPaginator",""],[1,"notes"],["mat-stroked-button","",3,"click"],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","warn","matTooltip","This certificate is due to expire!",4,"ngIf"],["color","primary"],["color","warn","matTooltip","This certificate is due to expire!"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,jp),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Ic(6,zp,3,0,"span",1),n.Wb(7,"span"),n.Jc(8,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(9,"mat-form-field",2),n.Wb(10,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(11,"div",4),n.Wb(12,"mat-table",5,6),n.Ub(14,7),n.Ic(15,Np,2,0,"mat-header-cell",8),n.Ic(16,Up,3,2,"mat-cell",9),n.Tb(),n.Ub(17,10),n.Ic(18,qp,2,0,"mat-header-cell",8),n.Ic(19,$p,3,2,"mat-cell",9),n.Tb(),n.Ub(20,11),n.Ic(21,Jp,2,0,"mat-header-cell",8),n.Ic(22,Kp,2,1,"mat-cell",9),n.Tb(),n.Ub(23,12),n.Ic(24,Gp,2,0,"mat-header-cell",8),n.Ic(25,Zp,2,1,"mat-cell",9),n.Tb(),n.Ub(26,13),n.Ic(27,Xp,2,0,"mat-header-cell",14),n.Ic(28,tm,3,2,"mat-cell",15),n.Tb(),n.Ic(29,im,1,0,"mat-header-row",16),n.Ic(30,nm,1,0,"mat-row",17),n.Vb(),n.Rb(31,"mat-paginator",18,19),n.Vb(),n.Rb(33,"br"),n.Rb(34,"mat-divider"),n.Wb(35,"div",20),n.bc(36,Yp),n.Vb(),n.Vb()),2&e&&(n.Cb(6),n.sc("ngIf",1==t.rpcService.auth_user.is_cert_admin),n.Cb(6),n.sc("dataSource",t.certDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.certLength)("pageSize",20)("pageSizeOptions",n.wc(7,rm)))},directives:[jd,P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Pp,Nd,_d,bd,ka,up,If,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.notes[_ngcontent-%COMP%]{background-color:#f0f0f0;padding:5px;margin-top:5px;margin-left:3px;margin-right:0;list-style-type:none}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}"]}),e})(),am=0,om=(()=>{class e{constructor(){this._stateChanges=new an.a,this._openCloseAllActions=new an.a,this.id=`cdk-accordion-${am++}`,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=yo(e)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(e){this.multi&&this._openCloseAllActions.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[n.Ab()]}),e})(),cm=0,lm=(()=>{class e{constructor(e,t,i){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=i,this._openCloseAllSubscription=rr.a.EMPTY,this.closed=new n.o,this.opened=new n.o,this.destroyed=new n.o,this.expandedChange=new n.o,this.id=`cdk-accordion-child-${cm++}`,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((e,t)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===t&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=yo(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(om,12),n.Pb(n.h),n.Pb(Do))},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n.Bb([{provide:om,useValue:void 0}])]}),e})(),dm=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();const um=["body"];function hm(e,t){}const fm=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],pm=["mat-expansion-panel-header","*","mat-action-row"],mm=function(e,t){return{collapsedHeight:e,expandedHeight:t}},_m=function(e,t){return{value:e,params:t}};function bm(e,t){if(1&e&&n.Rb(0,"span",2),2&e){const e=n.nc();n.sc("@indicatorRotate",e._getExpandedState())}}const gm=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ym=["mat-panel-title","mat-panel-description","*"],vm=new n.r("MAT_ACCORDION"),wm={indicatorRotate:Object(De.n)("indicatorRotate",[Object(De.k)("collapsed, void",Object(De.l)({transform:"rotate(0deg)"})),Object(De.k)("expanded",Object(De.l)({transform:"rotate(180deg)"})),Object(De.m)("expanded <=> collapsed, void => collapsed",Object(De.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(De.n)("expansionHeight",[Object(De.k)("collapsed, void",Object(De.l)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(De.k)("expanded",Object(De.l)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(De.m)("expanded <=> collapsed, void => collapsed",Object(De.g)([Object(De.i)("@indicatorRotate",Object(De.f)(),{optional:!0}),Object(De.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(De.n)("bodyExpansion",[Object(De.k)("collapsed, void",Object(De.l)({height:"0px",visibility:"hidden"})),Object(De.k)("expanded",Object(De.l)({height:"*",visibility:"visible"})),Object(De.m)("expanded <=> collapsed, void => collapsed",Object(De.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let Cm=(()=>{class e{constructor(e){this._template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e})(),Sm=0;const km=new n.r("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let xm=(()=>{class e extends lm{constructor(e,t,i,r,s,a,o){super(e,t,i),this._viewContainerRef=r,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new n.o,this.afterCollapse=new n.o,this._inputChanges=new an.a,this._headerId=`mat-expansion-panel-header-${Sm++}`,this._bodyAnimationDone=new an.a,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(Xu((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{"void"!==e.fromState&&("expanded"===e.toState?this.afterExpand.emit():"collapsed"===e.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=yo(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Jn(null),ki(()=>this.expanded&&!this._portal),Vn(1)).subscribe(()=>{this._portal=new uh(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(vm,12),n.Pb(n.h),n.Pb(Do),n.Pb(n.P),n.Pb(a),n.Pb(Ye,8),n.Pb(km,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,Cm,!0),2&e&&n.zc(r=n.kc())&&(t._lazyContent=r.first)},viewQuery:function(e,t){var i;1&e&&n.Sc(um,!0),2&e&&n.zc(i=n.kc())&&(t._body=i.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&n.Gb("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n.Bb([{provide:vm,useValue:void 0}]),n.zb,n.Ab()],ngContentSelectors:pm,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(n.rc(fm),n.qc(0),n.Wb(1,"div",0,1),n.jc("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),n.Wb(3,"div",2),n.qc(4,1),n.Ic(5,hm,0,0,"ng-template",3),n.Vb(),n.qc(6,2),n.Vb()),2&e&&(n.Cb(1),n.sc("@bodyExpansion",t._getExpandedState())("id",t.id),n.Db("aria-labelledby",t._headerId),n.Cb(4),n.sc("cdkPortalOutlet",t._portal))},directives:[_h],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[wm.bodyExpansion]},changeDetection:0}),e})(),Mm=(()=>{class e{constructor(e,t,i,n,r){this.panel=e,this._element=t,this._focusMonitor=i,this._changeDetectorRef=n,this._parentChangeSubscription=rr.a.EMPTY,this._animationsDisabled=!0;const s=e.accordion?e.accordion._stateChanges.pipe(ki(e=>!(!e.hideToggle&&!e.togglePosition))):_n;this._parentChangeSubscription=Object(sd.a)(e.opened,e.closed,s,e._inputChanges.pipe(ki(e=>!!(e.hideToggle||e.disabled||e.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ki(()=>e._containsFocus())).subscribe(()=>i.focusVia(t,"program")),i.monitor(t).subscribe(t=>{t&&e.accordion&&e.accordion._handleHeaderFocus(this)}),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(e){switch(e.keyCode){case 32:case 13:Sc(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e="program",t){this._focusMonitor.focusVia(this._element,e,t)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(xm,1),n.Pb(n.l),n.Pb(il),n.Pb(n.h),n.Pb(km,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header"],hostVars:19,hostBindings:function(e,t){1&e&&(n.Hb("@expansionHeight.start",(function(){return t._animationStarted()})),n.jc("click",(function(){return t._toggle()}))("keydown",(function(e){return t._keydown(e)}))),2&e&&(n.Db("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),n.Rc("@.disabled",t._animationsDisabled)("@expansionHeight",n.yc(16,_m,t._getExpandedState(),n.yc(13,mm,t.collapsedHeight,t.expandedHeight))),n.Gb("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:ym,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(n.rc(gm),n.Wb(0,"span",0),n.qc(1),n.qc(2,1),n.qc(3,2),n.Vb(),n.Ic(4,bm,1,1,"span",1)),2&e&&(n.Cb(4),n.sc("ngIf",t._showToggle()))},directives:[P],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[wm.indicatorRotate,wm.expansionHeaderHeight]},changeDetection:0}),e})(),Dm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e})(),Lm=(()=>{class e extends om{constructor(){super(...arguments),this._ownHeaders=new n.E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=yo(e)}ngAfterContentInit(){this._headers.changes.pipe(Jn(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(e=>e.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Nc(this._ownHeaders).withWrap()}_handleHeaderKeydown(e){const{keyCode:t}=e,i=this._keyManager;36===t?Sc(e)||(i.setFirstItemActive(),e.preventDefault()):35===t?Sc(e)||(i.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}}return e.\u0275fac=function(t){return Tm(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-accordion"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,Mm,!0),2&e&&n.zc(r=n.kc())&&(t._headers=r)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[n.Bb([{provide:vm,useExisting:e}]),n.zb]}),e})();const Tm=n.Zb(Lm);let Em=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,dm,yh]]}),e})();const Am=["input"],Om=function(){return{enterDuration:150}},Pm=["*"],Im=new n.r("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),Rm=new n.r("mat-checkbox-click-action");let jm=0;const Ym={provide:Je,useExisting:Object(n.U)(()=>Hm),multi:!0};class Vm{}class Wm{constructor(e){this._elementRef=e}}const Fm=gl(_l(bl(ml(Wm))));let Hm=(()=>{class e extends Fm{constructor(e,t,i,r,s,a,o,c){super(e),this._changeDetectorRef=t,this._focusMonitor=i,this._ngZone=r,this._clickAction=a,this._animationMode=o,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId=`mat-checkbox-${++jm}`,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new n.o,this.indeterminateChange=new n.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(s)||0,this._focusMonitor.monitor(e,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),t.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=yo(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=yo(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=yo(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,i=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(e)},1e3)})}}_emitChangeEvent(){const e=new Vm;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}toggle(){this.checked=!this.checked}_onInputClick(e){e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e="keyboard",t){this._focusMonitor.focusVia(this._inputElement,e,t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let i="";switch(e){case 0:if(1===t)i="unchecked-checked";else{if(3!=t)return"";i="unchecked-indeterminate"}break;case 2:i=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(il),n.Pb(n.A),n.gc("tabindex"),n.Pb(Rm,8),n.Pb(Ye,8),n.Pb(Im,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var i;1&e&&(n.Sc(Am,!0),n.Sc(zl,!0)),2&e&&(n.zc(i=n.kc())&&(t._inputElement=i.first),n.zc(i=n.kc())&&(t.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(n.ac("id",t.id),n.Db("tabindex",null),n.Gb("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[n.Bb([Ym]),n.zb],ngContentSelectors:Pm,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(n.rc(),n.Wb(0,"label",0,1),n.Wb(2,"div",2),n.Wb(3,"input",3,4),n.jc("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),n.Vb(),n.Wb(5,"div",5),n.Rb(6,"div",6),n.Vb(),n.Rb(7,"div",7),n.Wb(8,"div",8),n.mc(),n.Wb(9,"svg",9),n.Rb(10,"path",10),n.Vb(),n.lc(),n.Rb(11,"div",11),n.Vb(),n.Vb(),n.Wb(12,"span",12,13),n.jc("cdkObserveContent",(function(){return t._onLabelTextChange()})),n.Wb(14,"span",14),n.Jc(15,"\xa0"),n.Vb(),n.qc(16),n.Vb(),n.Vb()),2&e){const e=n.Ac(1),i=n.Ac(13);n.Db("for",t.inputId),n.Cb(2),n.Gb("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),n.Cb(1),n.sc("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),n.Db("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked()),n.Cb(2),n.sc("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",n.wc(18,Om))}},directives:[zl,Rc],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e})(),Bm=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})(),zm=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,pl,jc,Bm],pl,Bm]}),e})();var Nm;Nm=$localize`:@@app_detail␟fe9c0bbcb9ca68b6161d6ce6e9828aa5a27b4773␟6323294930337585583:Application Detail`;const Um=["placeholder",$localize`:@@app_name␟7e2abed312d91f24b07b1c21982bf0ab5bda6675␟2887251461858216261:Application Name`],qm=["placeholder",$localize`:@@app_internal_scheme␟e4060889fa7dfa1cee1cfc1003e363a3cc6add34␟2359896606808000859:Backend or Internal Scheme`];var $m,Jm;$m=$localize`:@@routing_configuration␟5493b4d2549eeb51ac3bb5ef73500cdeb5bf0cd2␟6653700099992265561:Routing Configuration`,Jm=$localize`:@@domain_configuration␟2cfa697d0ea1de10e87fa50250ec0e48d0fe8e92␟1500695871126868301:Domain Configuration`;const Km=["placeholder",$localize`:@@ip_for_waf␟80441c39aaa90eee8f39967829fa7478e2f079c8␟4538667619332294181:Client IP for WAF`];var Gm,Zm,Xm,Qm,e_,t_,i_;Gm=$localize`:@@redirect_https␟1dbe171223e649c6a0dc253cb379529688801b43␟6409732758263767205: Redirect HTTP to HTTPS (Certificate Required) `,Zm=$localize`:@@hsts_enabled␟58e1b3279df0d8a8fc8178c05cc8b171b26cb2e9␟797501638700667876: Enable HSTS for HTTPS (Add Response Header: Strict-Transport-Security) `,Xm=$localize`:@@waf_enabled␟e94cc89eff52dc58039fc5c95cb63c9f457a5f38␟2235317324002281227: Enable WAF (Web Application Firewall) `,Qm=$localize`:@@cache_enabled␟37b8e7a7cedc9973504d04324d3bedcd839c4271␟5421804331364988662: Enable caching for static files less than 10MB (brotli, gzip compression supported) `,e_=$localize`:@@shield_enabled␟69d5e784e80ab6526a53f57b8aab742f9ddb9a69␟9109307501335766971: Enable 5-second shield (Please check the search engines list in settings, disabled by default) `,t_=$localize`:@@oauth_required␟7bf22c25043d2f834ada0dd4fb1919d3e289ce48␟1615126847134965216: Enable Authentication (The provider needs to be registered and enabled in the settings, used for Internal Employees and Internal Applications. ${"\ufffd0\ufffd"}:INTERPOLATION:) `,i_=$localize`:@@csp_enabled␟1bf2cdd64c89a77d08ad8236ce73df0ed9e8aff4␟8050337485292058380: Enable CSP (Content-Security-Policy, example: default-src 'self', disabled by default) `;const n_=["placeholder",$localize`:@@owner␟02afaff74daa82a8877966a267df371e8220d22f␟4709669786209672837:Application Owner`],r_=["placeholder",$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`];var s_,a_,o_;s_=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,a_=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,o_=$localize`:@@request_location␟061e64501c9652e68385c2d4490f050a6fadc834␟1675516276525936556:Request Location`;const c_=["matTooltip",$localize`:@@request_location_tooltip␟0ad81c05c83c7438f4fea9d57cb91daa9fd270b4␟1086158971731286851:Default: / , options: /abc/ .php / , ordered from highest priority to lowest, and /abc/def/ is not supported.`];var l_;l_=$localize`:@@routing_type␟fb423aa11a87f6a5920a39a3805653ab2662485d␟4291238413537579254:Routing Type`;const d_=["matTooltip",$localize`:@@routing_type_tooltip␟f8b1e1acd107f4da45b4dc6a0143e0f31427a592␟5345810443905749306:Default: Reverse_Proxy, other options: Local_FastCGI used for PHP/Python etc., Static_Website used for local static resources without backend servers, K8S_Ingress used for K8S Pods.`];function u_(e,t){if(1&e&&(n.Wb(0,"mat-option",20),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}var h_;h_=$localize`:@@destination␟a7369891e88cd613e45a39b55a282c97776d05f5␟1866048779551574162:Destination`;const f_=["matTooltip",$localize`:@@destination_tooltip␟b1de75694e2fd829b5188c5c4b19d54f77d37e7c␟7090249157165623120:Default IP:Port (such as 10.0.0.1:80), or default file (such as index.html) if Static_Website was selected.`];var p_;p_=$localize`:@@backend_routing␟fda26bd262b92796a0439695dd22bcd02404649a␟6384067608517852147:Backend Routing`;const m_=["matTooltip",$localize`:@@backend_routing_tooltip␟d58e7a0c4ca99de9da4d5f8228b0bec632baa826␟5055285045902212680:Default /, using /xyz/ if the backend is using different URL Path. Please fill in absolute path (/path/to/www/) if the routing type is Static_Website or Local_FastCGI.`],__=["matTooltip",$localize`:@@add_new_routing␟9d5dc2eb534e384f4613a9a9fa85a443176b5421␟3105577272767442961:Add new routing`];function b_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",25),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delDestination(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function g_(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",21),n.Wb(2,"mat-label"),n.bc(3,h_),n.Vb(),n.Wb(4,"input",22),n.dc(5,f_),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].destination=t})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field",21),n.Wb(7,"mat-label"),n.bc(8,p_),n.Vb(),n.Wb(9,"input",22),n.dc(10,m_),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].backend_route=t})),n.Vb(),n.Wb(11,"mat-icon",23),n.dc(12,__),n.jc("click",(function(){return n.Cc(e),n.nc(3).addDestination()})),n.Jc(13,"add_circle_outline"),n.Vb(),n.Ic(14,b_,2,0,"mat-icon",24),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.application.destinations[e].destination)("readonly",t.readOnlyValue),n.Cb(5),n.sc("ngModel",t.application.destinations[e].backend_route)("readonly",t.readOnlyValue),n.Cb(5),n.sc("ngIf",t.application.destinations.length>1)}}const y_=["matTooltip",$localize`:@@add_new_routing␟9d5dc2eb534e384f4613a9a9fa85a443176b5421␟3105577272767442961:Add new routing`];function v_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",25),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delDestination(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function w_(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",21),n.Wb(2,"mat-label"),n.Jc(3,"K8S Pods API"),n.Vb(),n.Wb(4,"input",26),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].pods_api=t})),n.Vb(),n.Vb(),n.Wb(5,"mat-form-field",21),n.Wb(6,"mat-label"),n.Jc(7,"K8S Pod Port"),n.Vb(),n.Wb(8,"input",27),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].pod_port=t})),n.Vb(),n.Wb(9,"mat-icon",23),n.dc(10,y_),n.jc("click",(function(){return n.Cc(e),n.nc(3).addDestination()})),n.Jc(11,"add_circle_outline"),n.Vb(),n.Ic(12,v_,2,0,"mat-icon",24),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.application.destinations[e].pods_api)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.application.destinations[e].pod_port)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngIf",t.application.destinations.length>1)}}function C_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",16),n.Wb(1,"mat-form-field",17),n.Wb(2,"mat-label"),n.bc(3,o_),n.Vb(),n.Wb(4,"input",18),n.dc(5,c_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.destinations[r].request_route=i})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field",17),n.Wb(7,"mat-label"),n.bc(8,l_),n.Vb(),n.Wb(9,"mat-select",19),n.dc(10,d_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.destinations[r].route_type=i})),n.Ic(11,u_,2,2,"mat-option",10),n.Vb(),n.Vb(),n.Ic(12,g_,15,5,"ng-container",0),n.Ic(13,w_,13,5,"ng-container",0),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc(2);n.Cb(4),n.sc("ngModel",r.application.destinations[i].request_route)("readonly",r.readOnlyValue),n.Cb(5),n.sc("ngModel",r.application.destinations[i].route_type)("disabled",r.readOnlyValue),n.Cb(2),n.sc("ngForOf",r.enum_route_types),n.Cb(1),n.sc("ngIf",e.route_type!=r.k8sRoute),n.Cb(1),n.sc("ngIf",e.route_type==r.k8sRoute)}}const S_=["placeholder",$localize`:@@domain_name␟fa5ce9087b488893fb601b5596bcd33d1dfc7a16␟2332461354438777072:Domain name (required)`,"matTooltip",$localize`:@@domain_name_tooltip␟58603a2700c6043c532f54c1678b0ef2ba836417␟4582161848423782090:Required, format: www.your-domain.com`],k_=["placeholder",$localize`:@@certificate␟9e37e0d06148c7708e88b4a1eb412babbe1a4afc␟7164856686778871055:Certificate`,"matTooltip",$localize`:@@acme_requirement␟aadabdabc9f9c926181d6207e39dc0e7cd307354␟3385432567489797291:If ACME automated certificate used, default port 80/443, open to Internet, and single node are required.`];var x_,M_;x_=$localize`:@@automated_certificate␟a7b361ce6079ec07fdeb1e2848ce75e57123a0d2␟7835843245541578986:ACME Automated Certificate`,M_=$localize`:@@redirect␟df9b04356740fa3c69d58d35f93acb23be5253a1␟3451145344605364071: (Disabled by default) Redirect to (308):   `;const D_=["matTooltip",$localize`:@@add_domain␟7ab63115aecfd8e50213144ecb0110f9c56f8c79␟3144242076022355294:Add new domain`];function L_(e,t){if(1&e&&(n.Wb(0,"option"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Kc(e.name)}}function T_(e,t){if(1&e&&(n.Wb(0,"mat-option",20),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.common_name," ")}}function E_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",39),n.jc("click",(function(){n.Cc(e);const t=n.nc().index;return n.nc(2).delDomain(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function A_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",16),n.Wb(1,"mat-form-field",17),n.Wb(2,"mat-icon",28),n.Jc(3,"language"),n.Vb(),n.Wb(4,"input",29),n.dc(5,S_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].name=i})),n.Vb(),n.Wb(6,"datalist",30),n.Ic(7,L_,2,1,"option",31),n.Vb(),n.Vb(),n.Wb(8,"mat-form-field",17),n.Wb(9,"mat-icon",28),n.Jc(10,"lock_outline"),n.Vb(),n.Wb(11,"mat-select",32),n.dc(12,k_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].cert_id=i})),n.Wb(13,"mat-option",33),n.bc(14,x_),n.Vb(),n.Ic(15,T_,2,2,"mat-option",10),n.Vb(),n.Vb(),n.Wb(16,"mat-form-field",34),n.Wb(17,"mat-checkbox",35),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].redirect=i})),n.bc(18,M_),n.Vb(),n.Wb(19,"input",36),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].location=i})),n.Vb(),n.Wb(20,"mat-icon",37),n.dc(21,D_),n.jc("click",(function(){return n.Cc(e),n.nc(2).addDomain()})),n.Jc(22,"add_circle_outline"),n.Vb(),n.Ic(23,E_,2,0,"mat-icon",38),n.Vb(),n.Vb()}if(2&e){const e=t.index,i=n.nc(2);n.Cb(4),n.sc("ngModel",i.application.domains[e].name)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngForOf",i.rpcService.domains),n.Cb(4),n.sc("ngModel",i.application.domains[e].cert_id)("disabled",i.readOnlyValue),n.Cb(4),n.sc("ngForOf",i.optionCertificates),n.Cb(2),n.sc("ngModel",i.application.domains[e].redirect)("disabled",i.readOnlyValue),n.Cb(2),n.sc("ngModel",i.application.domains[e].location)("disabled",i.readOnlyValue),n.Cb(4),n.sc("ngIf",i.application.domains.length>1)}}function O_(e,t){if(1&e&&(n.Wb(0,"mat-option",20),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}const P_=["placeholder",$localize`:@@session_seconds␟f76c9bcda8d5e05dc737c94afe6983ea0c325947␟8409085772541297676:Session Expire Seconds for OAuth2`];function I_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",40),n.dc(2,P_),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).application.session_seconds=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.application.session_seconds)("readonly",e.readOnlyValue)}}function R_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"mat-label"),n.Jc(2,"Content-Security-Policy"),n.Vb(),n.Wb(3,"input",41,42),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).application.csp=t})),n.Vb(),n.Wb(5,"mat-hint",4),n.Jc(6),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(4),t=n.nc(2);n.Cb(3),n.sc("ngModel",t.application.csp)("readonly",t.readOnlyValue),n.Cb(3),n.Lc("",(null==e.value?null:e.value.length)||0,"/1024")}}function j_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"h2",1),n.bc(2,Nm),n.Vb(),n.Wb(3,"div",1),n.Wb(4,"mat-form-field"),n.Wb(5,"input",2,3),n.dc(7,Um),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.name=t})),n.Vb(),n.Wb(8,"mat-hint",4),n.Jc(9),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"mat-select",5),n.dc(12,qm),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.internal_scheme=t})),n.Wb(13,"mat-option",6),n.Jc(14,"http"),n.Vb(),n.Wb(15,"mat-option",7),n.Jc(16,"https"),n.Vb(),n.Vb(),n.Vb(),n.Wb(17,"mat-expansion-panel",8),n.Wb(18,"mat-expansion-panel-header"),n.Wb(19,"mat-panel-title"),n.Wb(20,"h3"),n.bc(21,$m),n.Vb(),n.Vb(),n.Vb(),n.Ic(22,C_,14,7,"div",9),n.Vb(),n.Wb(23,"mat-expansion-panel",8),n.Wb(24,"mat-expansion-panel-header"),n.Wb(25,"mat-panel-title"),n.Wb(26,"h3"),n.bc(27,Jm),n.Vb(),n.Vb(),n.Vb(),n.Ic(28,A_,24,11,"div",9),n.Vb(),n.Wb(29,"mat-form-field"),n.Wb(30,"mat-select",5),n.dc(31,Km),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.ip_method=t})),n.Ic(32,O_,2,2,"mat-option",10),n.Vb(),n.Vb(),n.Wb(33,"section"),n.Wb(34,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.redirect_https=t})),n.bc(35,Gm),n.Vb(),n.Vb(),n.Wb(36,"section"),n.Wb(37,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.hsts_enabled=t})),n.bc(38,Zm),n.Vb(),n.Vb(),n.Wb(39,"section"),n.Wb(40,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.waf_enabled=t})),n.bc(41,Xm),n.Vb(),n.Vb(),n.Wb(42,"section"),n.Wb(43,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.cache_enabled=t})),n.bc(44,Qm),n.Vb(),n.Vb(),n.Wb(45,"section"),n.Wb(46,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.shield_enabled=t})),n.bc(47,e_),n.Vb(),n.Vb(),n.Wb(48,"section"),n.Wb(49,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.oauth_required=t})),n.bc(50,t_),n.Vb(),n.Vb(),n.Ic(51,I_,3,2,"mat-form-field",0),n.Wb(52,"section"),n.Wb(53,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.csp_enabled=t})),n.bc(54,i_),n.Vb(),n.Vb(),n.Ic(55,R_,7,3,"mat-form-field",0),n.Wb(56,"mat-form-field"),n.Wb(57,"input",12),n.dc(58,n_),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.owner=t})),n.Vb(),n.Vb(),n.Wb(59,"mat-form-field"),n.Wb(60,"input",12,13),n.dc(62,r_),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.description=t})),n.Vb(),n.Wb(63,"mat-hint",4),n.Jc(64),n.Vb(),n.Vb(),n.Wb(65,"div"),n.Wb(66,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().setApplication()})),n.bc(67,s_),n.Vb(),n.Wb(68,"button",15),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(69),n.Vb(),n.Wb(70,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().deleteApplication()})),n.bc(71,a_),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(6),t=n.Ac(61),i=n.nc();n.Cb(5),n.sc("ngModel",i.application.name)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",i.application.internal_scheme)("disabled",i.readOnlyValue),n.Cb(6),n.sc("expanded",!0),n.Cb(5),n.sc("ngForOf",i.application.destinations)("ngForTrackBy",i.trackByFn),n.Cb(1),n.sc("expanded",!0),n.Cb(5),n.sc("ngForOf",i.application.domains)("ngForTrackBy",i.trackByFn),n.Cb(2),n.sc("ngModel",i.application.ip_method)("disabled",i.readOnlyValue),n.Cb(2),n.sc("ngForOf",i.enum_ip_method_values),n.Cb(2),n.sc("ngModel",i.application.redirect_https)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.hsts_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.waf_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.cache_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.shield_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.oauth_required)("disabled",i.readOnlyValue),n.Cb(1),n.ec(i.oauth.display_name),n.cc(50),n.Cb(1),n.sc("ngIf",i.application.oauth_required),n.Cb(2),n.sc("ngModel",i.application.csp_enabled)("disabled",i.readOnlyValue),n.Cb(2),n.sc("ngIf",i.application.csp_enabled),n.Cb(2),n.sc("ngModel",i.application.owner)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.description)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==t.value?null:t.value.length)||0,"/256"),n.Cb(2),n.sc("disabled",i.readOnlyValue),n.Cb(3),n.Kc(i.readOnlyButtonText),n.Cb(1),n.sc("disabled",i.readOnlyValue)}}let Y_=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.http=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.enum_ip_method_values=[],this.enum_route_types=[],this.oauth=new po,this.k8sRoute=Qa.K8S_Ingress}getApplication(){const e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_app",(function(e){null!=e&&(t.application=e)}),e)}else this.readOnlyValue=!1,this.application=new Ja,this.application.id="0",this.application.name="XXX",this.application.internal_scheme="http",this.application.redirect_https=!0,this.application.hsts_enabled=!1,this.application.waf_enabled=!0,this.application.shield_enabled=!1,this.application.domains=[],this.application.ip_method=1,this.application.destinations=[],this.application.oauth_required=!1,this.application.session_seconds=7200,this.application.owner=this.rpcService.auth_user.username,this.application.csp_enabled=!1,this.application.csp="",this.application.cache_enabled=!0,this.application.description="Used for ...",this.addDomain(),this.addDestination()}setApplication(){var e=this;this.rpcService.getResponse("update_app",(function(t){if(null==t)return void e.messageService.add("Update failed.");let i=t.id;e.application.id==i?e.application=t:(e.application.id=i,e.router.navigate(["/application/"+i])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Application "+t.name+" saved.")}),null,e.application)}deleteApplication(){if(confirm("Are you sure to delete application: "+this.application.name+"?")){var e=this;this.rpcService.getResponse("del_app",(function(){e.messageService.add(e.application.name+" deleted."),e.router.navigate(["/applications"])}),this.application.id,null)}}addDestination(){if(!this.readOnlyValue){var e=new eo;e.id="0",e.route_type=Qa.Reverse_Proxy,e.request_route="/",e.backend_route="/",e.destination="127.0.0.1:8080",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",e.app_id=this.application.id,e.node_id="0",this.application.destinations.push(e)}}delDestination(e){this.readOnlyValue||(1!=this.application.destinations.length?this.application.destinations.splice(e,1):alert("At least one item is required!"))}addDomain(){if(!this.readOnlyValue){var e=new to;e.name="",e.id="0",e.app_id=this.application.id,e.cert_id="0",e.redirect=!1,e.location="",this.application.domains.push(e),console.log(this.application.domains)}}delDomain(e){this.readOnlyValue||(1!=this.application.domains.length?this.application.domains.splice(e,1):alert("At least one item is required!"))}ngOnInit(){for(var e in Za)"number"==typeof Za[e]&&this.enum_ip_method_values.push({value:Za[e],name:e});for(var e in Qa)"number"==typeof Qa[e]&&this.enum_route_types.push({value:Qa[e],name:e});null!=this.rpcService.domains&&0!=this.rpcService.domains.length||this.rpcService.getDomains(),null!=this.rpcService.certificates&&0!=this.rpcService.certificates.length||this.rpcService.getCertificates(),this.getApplication(),this.acme_certificate=new Xa,this.acme_certificate.id="0",this.acme_certificate.common_name="Automated Certificate",this.getCertificates();let t=this;this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(e){null!=e&&(t.oauth=e)}))}getCertificates(){var e=this;this.rpcService.getResponse("get_certs",(function(t){null!=t&&(e.optionCertificates=t)}))}trackByFn(e,t){return e}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(zi))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-application-detail"]],inputs:{application:"application"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","http"],["value","https"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","disabled","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"matTooltip"],[3,"value"],[1,"inline-form-field-25"],["matInput","","matTooltipPosition","below",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"],["matPrefix",""],["matInput","","matTooltipPosition","below","list","domains","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["id","domains"],[4,"ngFor","ngForOf"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["value","0"],[1,"inline-form-field-50"],["matPrefix","",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","https://www.your-domain.com/",3,"ngModel","disabled","ngModelChange"],["matSuffix","","matTooltipPosition","right",3,"click",6,"matTooltip"],["matSuffix","",3,"click",4,"ngIf"],["matSuffix","",3,"click"],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","",3,"ngModel","readonly","ngModelChange"],["csp",""]],template:function(e,t){1&e&&n.Ic(0,j_,72,39,"div",0),2&e&&n.sc("ngIf",t.application)},directives:[P,Mu,Bu,Qe,hi,st,ci,bu,gf,td,xm,Mm,Dm,A,Hm,Nd,gu,If,up,wu,vu,Tt,Pt,bt],styles:['.required[_ngcontent-%COMP%]{color:red}.align-right[_ngcontent-%COMP%]{text-align:right}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.inner-container[_ngcontent-%COMP%]{border:1px dashed;padding:3px}.inline-form[_ngcontent-%COMP%]{display:-webkit-box;display:flex;margin-top:10px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-25[_ngcontent-%COMP%]{width:25%;margin-right:5px}.inline-form-field-50[_ngcontent-%COMP%]{width:50%}.clickable_btn[_ngcontent-%COMP%]:hover{cursor:pointer}.detail_panel[_ngcontent-%COMP%]{margin:10px 0;background-color:#f5f5f5;box-shadow:5px 5px 3px #d5d5d5}.highlighted[_ngcontent-%COMP%]{color:red}.description_block[_ngcontent-%COMP%]{background-color:#f0f0f0;margin-bottom:20px;padding:5px;border-radius:5px}button[_ngcontent-%COMP%]{margin-right:5px}']}),e})();var V_=i("J5zx"),W_=i("NFKh");const F_={provide:n.b,useFactory:function(e,t){return()=>{if(q(t)){const t=Array.from(e.querySelectorAll(`[class*=${H_}]`)),i=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(`${H_}ssr`)&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")})}}},deps:[a,n.C],multi:!0},H_="flex-layout-";let B_=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[F_]}),e})();class z_{constructor(e=!1,t="all",i="",n="",r=0){this.matches=e,this.mediaQuery=t,this.mqAlias=i,this.suffix=n,this.priority=r,this.property=""}clone(){return new z_(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let N_=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,i){const n=this.stylesheet.get(e);n?n.set(t,i):this.stylesheet.set(e,new Map([[t,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const i=this.stylesheet.get(e);let n="";if(i){const e=i.get(t);"number"!=typeof e&&"string"!=typeof e||(n=e+"")}return n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const U_={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},q_=new n.r("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>U_}),$_=new n.r("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),J_=new n.r("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function K_(e,t){return e=e?e.clone():new z_,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const G_=["row","column","row-reverse","column-reverse"];function Z_(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let X_=(()=>{class e{constructor(e,t,i,n){this.elementRef=e,this.styleBuilder=t,this.styler=i,this.marshal=n,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new an.a,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const i=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const i=this.styleBuilder,n=i.shouldCache;let r=this.styleCache.get(e);r&&n||(r=i.buildStyles(e,t),n&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),i.sideEffect(e,r,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[i,n]=this.styler.getFlowDirection(e);if(!n&&t){const t=function(e){let[t,i,n]=function(e){e=e?e.toLowerCase():"";let[t,i,n]=e.split(" ");return G_.find(e=>e===t)||(t=G_[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[t,Z_(i),!!n]}(e);return function(e,t=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,i,n)}(i);this.styler.applyStyleToElements(t,[e])}return i.trim()}return"row"}applyStyleToElement(e,t,i=this.nativeElement){this.styler.applyStyleToElement(i,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.addStyles(e)}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e,features:[n.Ab()]}),e})();const Q_=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],eb="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",tb="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",ib="(orientation: portrait) and (min-width: 840px)",nb="(orientation: landscape) and (min-width: 1280px)",rb={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:`${eb} , ${tb}`,WEB:`${ib}, ${nb} `,HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:`${eb} `,WEB_PORTRAIT:`${ib}`,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)]",TABLET_LANDSCAPE:`${tb}`,WEB_LANDSCAPE:`${nb}`},sb=[{alias:"handset",priority:2e3,mediaQuery:rb.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:rb.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:rb.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:rb.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:rb.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:rb.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:rb.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:rb.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:rb.WEB_PORTRAIT,overlapping:!0}],ab=/(\.|-|_)/g;function ob(e){let t=e.length>0?e.charAt(0):"",i=e.length>1?e.slice(1):"";return t.toUpperCase()+i}const cb=new n.r("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=Object(n.V)(J_),t=Object(n.V)(q_),i=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const i={};return e.forEach(e=>{i[e.alias]=e}),t.forEach(e=>{i[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let i of t)if(null!=i)for(let t in i)i.hasOwnProperty(t)&&(e[t]=i[t])}(i[e.alias],e):i[e.alias]=e}),(n=Object.keys(i).map(e=>i[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(ab,"|").split("|").map(ob).join(""),e.overlapping=!!e.overlapping)}),n;var n}((t.disableDefaultBps?[]:Q_).concat(t.addOrientationBps?sb:[]),i)}});function lb(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function db(e,t){return(e.priority||0)-(t.priority||0)}let ub=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(db)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let i=this.findByMap.get(e);return i||(i=this.items.find(t)||null,this.findByMap.set(e,i)),i||null}}return e.\u0275fac=function(t){return new(t||e)(n.fc(cb))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(cb))},token:e,providedIn:"root"}),e})(),hb=(()=>{class e{constructor(e,t,i){this._zone=e,this._platformId=t,this._document=i,this.source=new cn(new z_(!0)),this.registry=new Map,this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,i)=>{t.matches&&e.push(i)}),e}isActive(e){const t=this.registry.get(e);return!!t&&t.matches}observe(e,t=!1){if(e&&e.length){const i=this._observable$.pipe(ki(i=>!t||e.indexOf(i.mediaQuery)>-1)),n=new He.a(t=>{const i=this.registerQuery(e);if(i.length){const e=i.pop();i.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()});return Object(sd.a)(n,i)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],i=[];return function(e,t){const i=e.filter(e=>!fb[e]);if(i.length>0){const e=i.join(", ");try{const n=t.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(n),i.forEach(e=>fb[e]=n)}catch(n){console.error(n)}}}(t,this._document),t.forEach(e=>{let t=this.registry.get(e);t||(t=this.buildMQL(e),t.addListener(t=>{this._zone.run(()=>this.source.next(new z_(t.matches,e)))}),this.registry.set(e,t)),t.matches&&i.push(new z_(!0,e))}),i}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}(e,q(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(n.C),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(n.C),Object(n.fc)(a))},token:e,providedIn:"root"}),e})();const fb={},pb={alias:"print",mediaQuery:"print",priority:1e3};let mb=(()=>{class e{constructor(e,t,i){this.breakpoints=e,this.layoutConfig=t,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.isPrinting=!1,this.queue=new _b,this.deactivations=[]}withPrintQuery(e){return[...e,"print"]}isPrintEvent(e){return e.mediaQuery.startsWith("print")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(lb)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),K_(e,t)}registerBeforeAfterPrintHooks(e){this._document.defaultView&&!this.registeredBeforeAfterPrintHooks&&(this.registeredBeforeAfterPrintHooks=!0,this._document.defaultView.addEventListener("beforeprint",()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new z_(!0,"print"))),e.updateStyles())}),this._document.defaultView.addEventListener("afterprint",()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())}))}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(lb))}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(ub),n.fc(q_),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(ub),Object(n.fc)(q_),Object(n.fc)(a))},token:e,providedIn:"root"}),e})();class _b{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(pb),e.sort(lb),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function bb(e){for(let t in e){let i=e[t]||"";switch(t){case"display":e.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=i;break;case"flex-direction":i=i||"row",e["-webkit-flex-direction"]=i,e["flex-direction"]=i;break;case"order":e.order=e["-webkit-"+t]=isNaN(+i)?"0":i}}return e}let gb=(()=>{class e{constructor(e,t,i,n){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=i,this.layoutConfig=n}applyStyleToElement(e,t,i=null){let n={};"string"==typeof t&&(n[t]=i,t=n),n=this.layoutConfig.disableVendorPrefixes?t:bb(t),this._applyMultiValueStyleToElement(n,e)}applyStyleToElements(e,t=[]){const i=this.layoutConfig.disableVendorPrefixes?e:bb(e);t.forEach(e=>{this._applyMultiValueStyleToElement(i,e)})}getFlowDirection(e){let t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||$(this._platformId)&&this._serverModuleLoaded?t:""]}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return q(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,i=!1){let n="";return e&&((n=this.lookupInlineStyle(e,t))||(q(this._platformId)?i||(n=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(n=this._serverStylesheet.getStyleForElement(e,t)))),n?n.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(i=>{const n=e[i],r=Array.isArray(n)?n:[n];r.sort();for(let e of r)e=e?e+"":"",q(this._platformId)||!this._serverModuleLoaded?q(this._platformId)?t.style.setProperty(i,e):this._setServerStyle(t,i,e):this._serverStylesheet.addStyleToElement(t,i,e)})}_setServerStyle(e,t,i){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const n=this._readStyleAttribute(e);n[t]=i||"",this._writeStyleAttribute(e,n)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},i=e.getAttribute("style");if(i){const e=i.split(/;+/g);for(let i=0;i0){const e=n.indexOf(":");if(-1===e)throw new Error(`Invalid CSS style: ${n}`);t[n.substr(0,e).trim()]=n.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let i="";for(const n in t)t[n]&&(i+=n+":"+t[n]+";");e.setAttribute("style",i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(N_),n.fc($_),n.fc(n.C),n.fc(q_))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(N_),Object(n.fc)($_),Object(n.fc)(n.C),Object(n.fc)(q_))},token:e,providedIn:"root"}),e})();class yb{constructor(){this.shouldCache=!0}sideEffect(e,t,i){}}function vb(e,t="1",i="1"){let n=[t,i,e],r=e.indexOf("calc");if(r>0){n[2]=wb(e.substring(r).trim());let t=e.substr(0,r).trim().split(" ");2==t.length&&(n[0]=t[0],n[1]=t[1])}else if(0==r)n[2]=wb(e.trim());else{let r=e.split(" ");n=3===r.length?r:[t,i,e]}return n}function wb(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Cb=(()=>{class e{constructor(e,t,i){this.matchMedia=e,this.breakpoints=t,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new an.a,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=K_(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(lb),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(lb),this.updateStyles()))}init(e,t,i,n,r=[]){Sb(this.updateMap,e,t,i),Sb(this.clearMap,e,t,n),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}getValue(e,t,i){const n=this.elementMap.get(e);if(n){const e=void 0!==i?n.get(i):this.getActivatedValues(n,t);if(e)return e.get(t)}}hasValue(e,t){const i=this.elementMap.get(e);if(i){const e=this.getActivatedValues(i,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,i,n){let r=this.elementMap.get(e);if(r){const s=(r.get(n)||new Map).set(t,i);r.set(n,s),this.elementMap.set(e,r)}else r=(new Map).set(n,(new Map).set(t,i)),this.elementMap.set(e,r);const s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)}trackValue(e,t){return this.subject.asObservable().pipe(ki(i=>i.element===e&&i.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const i=new Set(this.elementKeyMap.get(t));let n=this.getActivatedValues(e);n&&n.forEach((e,n)=>{this.updateElement(t,n,e),i.delete(n)}),i.forEach(i=>{if(n=this.getActivatedValues(e,i),n){const e=n.get(i);this.updateElement(t,i,e)}else this.clearElement(t,i)})})}clearElement(e,t){const i=this.clearMap.get(e);if(i){const n=i.get(t);n&&(n(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,i){const n=this.updateMap.get(e);if(n){const r=n.get(t);r&&(r(i),this.subject.next({element:e,key:t,value:i}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const i=this.elementMap.get(e);i&&(i.forEach((e,t)=>i.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const i=this.elementMap.get(e);if(i){const n=this.getActivatedValues(i,t);n&&(t?this.updateElement(e,t,n.get(t)):n.forEach((t,i)=>this.updateElement(e,i,t)))}}buildElementKeyMap(e,t){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(t)}watchExtraTriggers(e,t,i){if(i&&i.length){let n=this.watcherMap.get(e);if(n||(n=new Map,this.watcherMap.set(e,n)),!n.get(t)){const r=Object(sd.a)(...i).subscribe(()=>{const i=this.getValue(e,t);this.updateElement(e,t,i)});n.set(t,r)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let n=0;ne.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(tr(this.hook.interceptEvents(this)),ki(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(hb),n.fc(ub),n.fc(mb))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(hb),Object(n.fc)(ub),Object(n.fc)(mb))},token:e,providedIn:"root"}),e})();function Sb(e,t,i,n){if(void 0!==n){let r=e.get(t);r||(r=new Map,e.set(t,r)),r.set(i,n)}}const kb=["row","column","row-reverse","column-reverse"];function xb(e){e=e?e.toLowerCase():"";let[t,i,n]=e.split(" ");return kb.find(e=>e===t)||(t=kb[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[t,Db(i),!!n]}function Mb(e){let[t]=xb(e);return t.indexOf("row")>-1}function Db(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let Lb=(()=>{class e extends yb{buildStyles(e){return function(e){let[t,i,n]=xb(e);return function(e,t=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,i,n)}(e)}}return e.\u0275fac=function(t){return Tb(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Tb=n.Zb(Lb),Eb=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let Ab=(()=>{class e extends X_{constructor(e,t,i,n){super(e,i,t,n),this.DIRECTIVE_KEY="layout",this.styleCache=Ib,this.init()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(gb),n.Pb(Lb),n.Pb(Cb))},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})(),Ob=(()=>{class e extends Ab{constructor(){super(...arguments),this.inputs=Eb}}return e.\u0275fac=function(t){return Pb(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[n.zb]}),e})();const Pb=n.Zb(Ob),Ib=new Map;function Rb(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let i of t)if(null!=i)for(let t in i)i.hasOwnProperty(t)&&(e[t]=i[t]);return e}let jb=(()=>{class e extends yb{constructor(e){super(),this.layoutConfig=e}buildStyles(e,t){let[i,n,...r]=e.split(" "),s=r.join(" ");const a=t.direction.indexOf("column")>-1?"column":"row",o=Mb(a)?"max-width":"max-height",c=Mb(a)?"min-width":"min-height",l=String(s).indexOf("calc")>-1,d=l||"auto"===s,u=String(s).indexOf("%")>-1&&!l,h=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let f=l||h;i="0"==i?0:i,n="0"==n?0:n;const p=!i&&!n;let m={};const _={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":const e=!1!==this.layoutConfig.useColumnBasisZero;s="row"===a?"0%":e?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,s="auto";break;case"grow":s="100%";break;case"noshrink":n=0,s="auto";break;case"auto":break;case"none":i=0,n=0,s="auto";break;default:f||u||isNaN(s)||(s+="%"),"0%"===s&&(f=!0),"0px"===s&&(s="0%"),m=Rb(_,l?{"flex-grow":i,"flex-shrink":n,"flex-basis":f?s:"100%"}:{flex:`${i} ${n} ${f?s:"100%"}`})}return m.flex||m["flex-grow"]||(m=Rb(_,l?{"flex-grow":i,"flex-shrink":n,"flex-basis":s}:{flex:`${i} ${n} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(m[c]=p||f&&i?s:null,m[o]=p||!d&&n?s:null),m[c]||m[o]?t.hasWrap&&(m[l?"flex-basis":"flex"]=m[o]?l?m[o]:`${i} ${n} ${m[o]}`:l?m[c]:`${i} ${n} ${m[c]}`):m=Rb(_,l?{"flex-grow":i,"flex-shrink":n,"flex-basis":s}:{flex:`${i} ${n} ${s}`}),Rb(m,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(q_))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(q_))},token:e,providedIn:"root"}),e})();const Yb=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let Vb=(()=>{class e extends X_{constructor(e,t,i,n,r){super(e,n,t,r),this.layoutConfig=i,this.DIRECTIVE_KEY="flex",this.direction="",this.wrap=!1,this.flexGrow="1",this.flexShrink="1",this.init(),this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Ho(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Ho(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}onLayoutChange(e){const t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}updateWithValue(e){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));const t=this.direction,i=t.startsWith("row"),n=this.wrap;i&&n?this.styleCache=zb:i&&!n?this.styleCache=Hb:!i&&n?this.styleCache=Nb:i||n||(this.styleCache=Bb);const r=vb(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(r.join(" "),{direction:t,hasWrap:n})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const t=vb(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(gb),n.Pb(q_),n.Pb(jb),n.Pb(Cb))},e.\u0275dir=n.Kb({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[n.zb]}),e})(),Wb=(()=>{class e extends Vb{constructor(){super(...arguments),this.inputs=Yb}}return e.\u0275fac=function(t){return Fb(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[n.zb]}),e})();const Fb=n.Zb(Wb),Hb=new Map,Bb=new Map,zb=new Map,Nb=new Map;let Ub=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[B_,Ao]]}),e})();var qb;qb=$localize`:@@login_title␟c8f0af331f13cd58311dfb3c4bc2a9ea7a9dc2de␟1769638224126160393:Admin Login`;const $b=["placeholder",$localize`:@@username␟08c74dc9762957593b91f6eb5d65efdfc975bf48␟5248717555542428023:Username`],Jb=["placeholder",$localize`:@@password␟c32ef07f8803a223a83ed17024b38e8d82292407␟1431416938026210429:Password`];var Kb;Kb=$localize`:@@submit␟71c77bb8cecdf11ec3eead24dd1ba506573fa9cd␟935187492052582731:Submit`;const Gb=["placeholder",$localize`:@@authenticator_code␟1bf5326a94db10ce1ad68246a29e195f265e96e0␟4444315150361605281:Authenticator Code`,"matTooltip",$localize`:@@authenticator_code_tip␟2441698cb011ad14e78a25cfb6c439ba0767d84c␟7766260635644722072:000000 for first use`];function Zb(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",9),n.dc(2,Gb),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).login_user.totp_key=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.login_user.totp_key)}}function Xb(e,t){if(1&e&&(n.Wb(0,"div",10),n.Wb(1,"a",11),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.tc("href",e.oauth.entrance_url,n.Dc),n.Cb(1),n.Kc(e.oauth.display_name)}}function Qb(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",3),n.Wb(1,"h1"),n.bc(2,qb),n.Vb(),n.Wb(3,"mat-form-field"),n.Wb(4,"input",4),n.dc(5,$b),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().login_user.username=t})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",5),n.dc(8,Jb),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().password=t})),n.Vb(),n.Vb(),n.Ic(9,Zb,3,1,"mat-form-field",6),n.Wb(10,"button",7),n.jc("click",(function(t){return n.Cc(e),n.nc().onSubmit(t)})),n.bc(11,Kb),n.Vb(),n.Ic(12,Xb,3,2,"div",8),n.Vb()}if(2&e){const e=n.nc();n.Cb(4),n.sc("ngModel",e.login_user.username),n.Cb(3),n.sc("ngModel",e.password),n.Cb(2),n.sc("ngIf",e.oauth.authenticator_enabled),n.Cb(3),n.sc("ngIf",1==e.oauth.use_oauth)}}let eg=(()=>{class e{constructor(e,t,i,n){this.rpcService=e,this.messageService=t,this.http=i,this.router=n,this.submitted=!1,this.oauth=new po,this.login_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1}}onSubmit(e){if(!this.login_user.username||!this.password)return this.messageService.add("Please input your username and password!"),void(this.submitted=!1);this.messageService.clear();let t="$2a$12$"+String(W_.SHA256("Janusec"+this.login_user.username+this.password)).substring(0,22),i=V_.hashSync(this.password,t);this.login_user.passwd=i;var n=this;this.rpcService.getResponse("login",(function(e){null!=e&&(n.rpcService.auth_user=e,n.submitted=!0,n.router.navigate(n.oauth.authenticator_enabled&&!n.rpcService.auth_user.logged?["/authcode-register"]:["/"]))}),null,this.login_user)}ngOnInit(){let e=this;this.messageService.clear(),this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(t){null!=t&&(e.oauth=t)}))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o),n.Pb(zi),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-login-form"]],decls:4,vars:1,consts:[["fxLayout","row wrap"],["fxFlex","30%"],["fxFlex","40%","class","container",4,"ngIf"],["fxFlex","40%",1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],[4,"ngIf"],["mat-button","",1,"submit",3,"click"],["class","oauth",4,"ngIf"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","ngModelChange",6,"placeholder","matTooltip"],[1,"oauth"],[3,"href"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Rb(1,"div",1),n.Ic(2,Qb,13,4,"div",2),n.Rb(3,"div",1),n.Vb()),2&e&&(n.Cb(2),n.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[Ob,Wb,P,Mu,Bu,Qe,hi,st,ci,Nd,If],styles:[".submit[_ngcontent-%COMP%]{background-color:#e5e5e5}.oauth[_ngcontent-%COMP%]{margin-top:20px}"]}),e})();var tg;tg=$localize`:@@cert_detail_title␟3a8e0f16f7165047ad86550d9fcb9a33ab4aa990␟6818330678688793635:Certificate Details`;const ig=["placeholder",$localize`:@@cert_common_name␟e1a70760a341b9e84d107f44a2437df2bf479227␟2203571163881366181:Common Name or Subject Alternative Name`],ng=["placeholder",$localize`:@@cert_public␟538c1b9766ffa86fbfb9d04696076111d210e534␟8674187039503057623:Public Certificate Content Begin with: -----BEGIN CERTIFICATE-----`],rg=["placeholder",$localize`:@@cert_priv␟c50c9aa3a8ba742bdd7f3b5ba33748335acd3ab3␟7811278187914733773:Private Key Content (begin with: -----BEGIN PRIVATE KEY-----)`],sg=["placeholder",$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`];var ag;ag=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`;const og=["placeholder",$localize`:@@cert_expire␟45eecb6161ef0b26bc67532463515ce497e6ecd7␟103471684912655286:Expire time`];function cg(e,t){if(1&e&&(n.Wb(0,"mat-form-field"),n.Wb(1,"input",15),n.dc(2,og),n.Vb(),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.sc("value",e.getDate(e.certificate.expire_time))("readonly",!0)}}function lg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc(2).changeEditable()})),n.Jc(1),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.readOnlyButtonText)}}var dg,ug;function hg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",12),n.jc("click",(function(){return n.Cc(e),n.nc(2).deleteCertificate()})),n.bc(1,dg),n.Vb()}if(2&e){const e=n.nc(2);n.sc("disabled",e.readOnlyValue)}}function fg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc(2).selfSignCertificate()})),n.bc(1,ug),n.Vb()}}function pg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,tg),n.Vb(),n.Wb(4,"mat-form-field"),n.Wb(5,"input",2,3),n.dc(7,ig),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.common_name=t})),n.Vb(),n.Wb(8,"mat-hint",4),n.Jc(9),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"textarea",5,6),n.dc(13,ng),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.cert_content=t})),n.Jc(14," "),n.Vb(),n.Wb(15,"input",7),n.jc("change",(function(t){return n.Cc(e),n.nc().readCertificateFile(t)})),n.Vb(),n.Wb(16,"mat-hint",4),n.Jc(17),n.Vb(),n.Vb(),n.Wb(18,"mat-form-field"),n.Wb(19,"textarea",8,9),n.dc(21,rg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.priv_key_content=t})),n.Jc(22," "),n.Vb(),n.Wb(23,"input",7),n.jc("change",(function(t){return n.Cc(e),n.nc().readPrivKeyFile(t)})),n.Vb(),n.Wb(24,"mat-hint",4),n.Jc(25),n.Vb(),n.Vb(),n.Ic(26,cg,3,2,"mat-form-field",0),n.Wb(27,"mat-form-field"),n.Wb(28,"input",10,11),n.dc(30,sg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.description=t})),n.Vb(),n.Wb(31,"mat-hint",4),n.Jc(32),n.Vb(),n.Vb(),n.Wb(33,"div"),n.Wb(34,"button",12),n.jc("click",(function(){return n.Cc(e),n.nc().setCertificate()})),n.bc(35,ag),n.Vb(),n.Ic(36,lg,2,1,"button",13),n.Ic(37,hg,2,1,"button",14),n.Ic(38,fg,2,0,"button",13),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(6),t=n.Ac(12),i=n.Ac(20),r=n.Ac(29),s=n.nc();n.Cb(5),n.sc("ngModel",s.certificate.common_name)("readonly",s.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",s.certificate.cert_content)("readonly",s.readOnlyValue),n.Cb(4),n.sc("disabled",s.readOnlyValue),n.Cb(2),n.Lc("",(null==t.value?null:t.value.length)||0,"/16384"),n.Cb(2),n.sc("ngModel",s.certificate.priv_key_content)("readonly",s.readOnlyValue),n.Cb(4),n.sc("disabled",s.readOnlyValue),n.Cb(2),n.Lc("",(null==i.value?null:i.value.length)||0,"/4096"),n.Cb(1),n.sc("ngIf",s.certificate.id>0),n.Cb(2),n.sc("ngModel",s.certificate.description)("readonly",s.readOnlyValue),n.Cb(4),n.Lc("",(null==r.value?null:r.value.length)||0,"/256"),n.Cb(2),n.sc("disabled",s.readOnlyValue),n.Cb(2),n.sc("ngIf",1==s.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",s.certificate.id>0),n.Cb(1),n.sc("ngIf",0==s.certificate.id&&s.certificate.common_name)}}dg=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,ug=$localize`:@@cert_self_sign␟f254bfa4d1c9673fdbd69479ce607339c4bc8f09␟4311221339245365144:Self-Sign Certificate`;let mg=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.http=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",e.params.forEach(e=>{this.startDate=new Date,this.getCertificate()})}getCertificate(){let e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_cert",(function(e){null!=e&&(t.certificate=e)}),e)}else this.certificate=new Xa,this.certificate.id="0",this.certificate.common_name="*.yourdomain.com",this.certificate.description="New certificate",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}setCertificate(){var e=this;this.rpcService.getResponse("update_cert",(function(t){if(null!=t){let i=t.id;e.certificate.id==i?e.certificate=t:e.router.navigate(["/certificate/"+i]),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Certificate "+t.common_name+" saved.")}}),null,e.certificate)}deleteCertificate(){if(confirm("Are you sure to delete certificate: "+this.certificate.common_name+"?")){var e=this;this.rpcService.getResponse("del_cert",(function(){e.messageService.add(e.certificate.common_name+" deleted."),e.router.navigate(["/certificates"])}),this.certificate.id,null)}}selfSignCertificate(){var e=this;this.rpcService.getResponse("self_sign_cert",(function(t){null!=t&&(e.certificate.cert_content=t.cert_content,e.certificate.priv_key_content=t.priv_key_content)}),null,{common_name:this.certificate.common_name})}ngOnInit(){this.startDate=new Date,this.getCertificate()}changeEditable(){0!=this.rpcService.auth_user.is_super_admin&&(this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel")}getDate(e){return this.rpcService.getDateString(e)}readCertificateFile(e){if(e.target.files&&e.target.files.length>0){let t=e.target.files[0],i=new FileReader;i.onload=e=>{this.certificate.cert_content=i.result},i.readAsText(t)}}readPrivKeyFile(e){if(e.target.files&&e.target.files.length>0){let t=e.target.files[0],i=new FileReader;i.onload=e=>{this.certificate.priv_key_content=i.result},i.readAsText(t)}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(zi))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-certificate-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["common_name",""],["align","end"],["matInput","","rows","5","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["cert_content",""],["type","file",3,"disabled","change"],["matInput","","rows","5",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["priv_key_content",""],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","",3,"value","readonly",6,"placeholder"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&n.Ic(0,pg,39,19,"div",0),2&e&&n.sc("ngIf",t.certificate)},directives:[P,Mu,Bu,Qe,pi,hi,st,ci,bu,Nd],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:3px;margin-bottom:3px;background-color:#f0f0f0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}button[_ngcontent-%COMP%]{margin-right:5px}']}),e})();const _g=["userPaginator"];var bg,gg,yg,vg,wg,Cg;function Sg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",20),n.jc("click",(function(){return n.Cc(e),n.nc().addAdmin()})),n.bc(2,gg),n.Vb(),n.Vb()}}function kg(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function xg(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",21),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/appuser/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function Mg(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,yg),n.Vb())}function Dg(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",21),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/appuser/",e.id,""),n.Cb(1),n.Lc(" ",e.username," ")}}function Lg(e,t){1&e&&(n.Wb(0,"mat-header-cell",22),n.bc(1,vg),n.Vb())}function Tg(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"check_circle_outline"),n.Vb())}function Eg(e,t){if(1&e&&(n.Wb(0,"mat-cell",22),n.Ic(1,Tg,2,0,"mat-icon",23),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_super_admin)}}function Ag(e,t){1&e&&(n.Wb(0,"mat-header-cell",22),n.bc(1,wg),n.Vb())}function Og(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"check_circle_outline"),n.Vb())}function Pg(e,t){if(1&e&&(n.Wb(0,"mat-cell",22),n.Ic(1,Og,2,0,"mat-icon",23),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_cert_admin)}}function Ig(e,t){1&e&&(n.Wb(0,"mat-header-cell",22),n.bc(1,Cg),n.Vb())}function Rg(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"check_circle_outline"),n.Vb())}function jg(e,t){if(1&e&&(n.Wb(0,"mat-cell",22),n.Ic(1,Rg,2,0,"mat-icon",23),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_app_admin)}}function Yg(e,t){1&e&&n.Rb(0,"mat-header-row")}function Vg(e,t){1&e&&n.Rb(0,"mat-row")}bg=$localize`:@@user_mgmt␟ddbd16ea0d9d8831b1897ff0936e91cd10a1aedd␟6362392309535777035:Users Management`,gg=$localize`:@@add_user␟94be6ae6ec1f87bedc67020629343b27fdbece0a␟2941198503117307737:Add User`,yg=$localize`:@@username␟fec8de042d9645af8886e515b9c4e6334d4ab2c8␟5381513611853730068: Username `,vg=$localize`:@@is_super_admin␟d067e1ef48b7ff76e7889f6e84d3ed3252730153␟2499232325983554725: Super Admin `,wg=$localize`:@@is_cert_admin␟a926226a016de0a6048b0c02b420dd5d1f3f68b2␟8070005005515015318: Certificate Admin `,Cg=$localize`:@@is_app_admin␟4e0bf711f10ff5de36176a884f3ffd6a88945d9a␟1152691990915327597: Application Admin `;const Wg=function(){return[10,20,50]};let Fg=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.displayedColumns=["id","username","is_super_admin","is_cert_admin","is_app_admin"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getAppUsers(),setTimeout(()=>{this.userDataSource=new Dd(this.rpcService.admins),this.userLength=this.rpcService.admins.length},500)):this.router.navigate(["/"])}addAdmin(){this.router.navigate(["/appuser/0"])}applyFilter(e){this.userDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-usermgmt"]],viewQuery:function(e,t){var i;1&e&&n.Sc(_g,!0),2&e&&n.zc(i=n.kc())&&(t.userPaginator=i.first)},decls:33,vars:8,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","username"],["matColumnDef","is_super_admin"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","is_cert_admin"],["matColumnDef","is_app_admin"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["userPaginator",""],["mat-stroked-button","",3,"click"],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,bg),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Ic(6,Sg,3,0,"span",1),n.Wb(7,"span"),n.Jc(8,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(9,"mat-form-field",2),n.Wb(10,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(11,"div",4),n.Wb(12,"mat-table",5,6),n.Ub(14,7),n.Ic(15,kg,2,0,"mat-header-cell",8),n.Ic(16,xg,3,2,"mat-cell",9),n.Tb(),n.Ub(17,10),n.Ic(18,Mg,2,0,"mat-header-cell",8),n.Ic(19,Dg,3,2,"mat-cell",9),n.Tb(),n.Ub(20,11),n.Ic(21,Lg,2,0,"mat-header-cell",12),n.Ic(22,Eg,2,1,"mat-cell",13),n.Tb(),n.Ub(23,14),n.Ic(24,Ag,2,0,"mat-header-cell",12),n.Ic(25,Pg,2,1,"mat-cell",13),n.Tb(),n.Ub(26,15),n.Ic(27,Ig,2,0,"mat-header-cell",12),n.Ic(28,jg,2,1,"mat-cell",13),n.Tb(),n.Ic(29,Yg,1,0,"mat-header-row",16),n.Ic(30,Vg,1,0,"mat-row",17),n.Vb(),n.Rb(31,"mat-paginator",18,19),n.Vb(),n.Vb()),2&e&&(n.Cb(6),n.sc("ngIf",1==t.rpcService.auth_user.is_super_admin),n.Cb(6),n.sc("dataSource",t.userDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.userLength)("pageSize",20)("pageSizeOptions",n.wc(7,Wg)))},directives:[jd,P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Nd,_d,bd,ka,up,Cd,kd],styles:['mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),e})();var Hg;Hg=$localize`:@@user_details␟b4a0bf59944eeabcb65e19f512620c16ac91bb5c␟8296640497525814291:User Details`;const Bg=["placeholder",$localize`:@@username␟08c74dc9762957593b91f6eb5d65efdfc975bf48␟5248717555542428023:Username`],zg=["placeholder",$localize`:@@password␟c32ef07f8803a223a83ed17024b38e8d82292407␟1431416938026210429:Password`],Ng=["placeholder",$localize`:@@confirm_password␟c1b7e6d75ff4285c7636c67e5ef259629b81725b␟3241357959735682038:Confirm Password`],Ug=["placeholder",$localize`:@@email␟810f7a8d7b821853cbe16735237ba0e9a9afa2a1␟8482524874284138132:Email (Used for alarms)`];var qg,$g,Jg,Kg,Gg;function Zg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",10),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).appUser.is_super_admin=t})),n.bc(2,Jg),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.appUser.is_super_admin)("disabled",e.readOnlyValue)}}function Xg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",10),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).appUser.is_cert_admin=t})),n.bc(2,Kg),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.appUser.is_cert_admin)("disabled",e.readOnlyValue)}}function Qg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",10),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).appUser.is_app_admin=t})),n.bc(2,Gg),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.appUser.is_app_admin)("disabled",e.readOnlyValue)}}function ey(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",1),n.Wb(1,"h2"),n.Wb(2,"span"),n.bc(3,Hg),n.Vb(),n.Vb(),n.Wb(4,"div"),n.Wb(5,"mat-form-field"),n.Wb(6,"input",2,3),n.dc(8,Bg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().appUser.username=t})),n.Vb(),n.Wb(9,"mat-hint",4),n.Jc(10),n.Vb(),n.Vb(),n.Wb(11,"mat-form-field"),n.Wb(12,"input",5),n.dc(13,zg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().plainpwd=t})),n.Vb(),n.Vb(),n.Wb(14,"mat-form-field"),n.Wb(15,"input",5),n.dc(16,Ng),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().plainpwd2=t})),n.Vb(),n.Vb(),n.Wb(17,"mat-form-field"),n.Wb(18,"input",2,6),n.dc(20,Ug),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().appUser.email=t})),n.Vb(),n.Wb(21,"mat-hint",4),n.Jc(22),n.Vb(),n.Vb(),n.Ic(23,Zg,3,2,"section",7),n.Ic(24,Xg,3,2,"section",7),n.Ic(25,Qg,3,2,"section",7),n.Vb(),n.Wb(26,"div"),n.Wb(27,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().onSave()})),n.bc(28,qg),n.Vb(),n.Wb(29,"button",9),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(30),n.Vb(),n.Wb(31,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().onDelete()})),n.bc(32,$g),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(7),t=n.Ac(19),i=n.nc();n.Cb(6),n.sc("ngModel",i.appUser.username)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",i.plainpwd)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.plainpwd2)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.appUser.email)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==t.value?null:t.value.length)||0,"/128"),n.Cb(1),n.sc("ngIf",1==i.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==i.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==i.rpcService.auth_user.is_super_admin),n.Cb(2),n.sc("disabled",i.readOnlyValue),n.Cb(3),n.Kc(i.readOnlyButtonText),n.Cb(1),n.sc("disabled","admin"==i.appUser.username||0==i.appUser.id||i.readOnlyValue)}}qg=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,$g=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,Jg=$localize`:@@super_admin␟5697206d5987632ce8252fa4f99af67e42838ba7␟1474561519790538294: Super Administrator (Authorization and WAF Management) `,Kg=$localize`:@@certificate_admin␟15549249b3bac8ee826d76fc8b9a0e73f67ee299␟8385209030340792999: Certificate Administrator `,Gg=$localize`:@@application_admin␟7961d808f0d34e673d2b98762a00d7f113e6c5f3␟3215911346408530352: Application Administrator `;let ty=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.http=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}ngOnInit(){this.appUser=new $a,this.getAppUser()}getAppUser(){let e=this.route.snapshot.paramMap.get("id");if("0"!=e){let t=this;this.rpcService.getResponse("get_app_user",(function(e){null!=e&&(t.appUser=e),t.appUser.need_modify_pwd&&(t.readOnlyValue=!1)}),e,null)}else this.appUser=new $a,this.appUser.id="0",this.appUser.is_super_admin=!1,this.appUser.is_cert_admin=!1,this.appUser.is_app_admin=!1,this.appUser.need_modify_pwd=!0,this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}onDelete(){if(!confirm("Are you sure to delete user: "+this.appUser.username+"?"))return;let e=this;this.rpcService.getResponse("del_app_user",(function(){e.messageService.add(e.appUser.username+" deleted."),e.router.navigate(["/usermgmt"])}),this.appUser.id,null)}onSave(){if(this.plainpwd!=this.plainpwd2)return void this.messageService.add("Password mismatch");if(this.plainpwd){let e="$2a$12$"+String(W_.SHA256("Janusec"+this.appUser.username+this.plainpwd)).substring(0,22),t=V_.hashSync(this.plainpwd,e);this.appUser.password=t}else this.appUser.password="";let e=this;this.rpcService.getResponse("update_app_user",(function(t){if(null==t)return;let i=t.id;e.appUser.id==i?e.appUser=t:e.router.navigate(["/appuser/"+i]),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add(e.appUser.username+" saved."),e.rpcService.getAuthUser((function(){}))}),null,this.appUser)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(zi))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-user-detail"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["username",""],["align","end"],["matInput","","type","password",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["email",""],[4,"ngIf"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[3,"ngModel","disabled","ngModelChange"]],template:function(e,t){1&e&&n.Ic(0,ey,33,16,"div",0),2&e&&n.sc("ngIf",t.appUser)},directives:[P,Mu,Bu,Qe,pi,hi,st,ci,bu,Nd,Hm],styles:['button[_ngcontent-%COMP%]{margin-top:10px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{display:block;margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();const iy=["paginator"],ny=["ipPaginator"],ry=["fileInput"];var sy,ay,oy,cy,ly;function dy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc().newGroupPolicy()})),n.bc(2,sy),n.Vb(),n.Vb()}}function uy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc().exportWAF()})),n.bc(2,ay),n.Vb(),n.Vb()}}function hy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc().importWAF()})),n.bc(2,oy),n.Vb(),n.Wb(3,"input",17,18),n.jc("change",(function(t){return n.Cc(e),n.nc().readFile(t)})),n.Vb(),n.Vb()}}function fy(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function py(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/policy/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function my(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,cy),n.Vb())}function _y(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function by(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,ly),n.Vb())}function gy(e,t){1&e&&(n.Wb(0,"mat-icon",22),n.Jc(1,"check_circle_outline"),n.Vb())}function yy(e,t){1&e&&(n.Wb(0,"mat-icon",23),n.Jc(1,"highlight_off"),n.Vb())}function vy(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Ic(1,gy,2,0,"mat-icon",20),n.Ic(2,yy,2,0,"mat-icon",21),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_enabled),n.Cb(1),n.sc("ngIf",!e.is_enabled)}}function wy(e,t){1&e&&n.Rb(0,"mat-header-row")}function Cy(e,t){1&e&&n.Rb(0,"mat-row")}sy=$localize`:@@add_policy␟b77042030ceb629838381322ceb84c7864347767␟3048951785216363434:Add Policy`,ay=$localize`:@@export_policies␟97ed31580aee081fa502f5e46eb6ca2f9b643969␟3541288010151194377:Export Policies`,oy=$localize`:@@import_policies␟d49a8a7115dc1a6b069222c3ad18de6800662d08␟6736990121547304968:Import Policies`,cy=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,ly=$localize`:@@enabled␟abe44b93ca347e46a9b8cb48178c884672111ee4␟6151416851572883297: Enabled `;const Sy=function(){return[10,20,50]};let ky=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.group_policies=[],this.enum_action_values=[],this.displayedColumns=["id","description","is_enabled"],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.dynamicDownload=null,this.global_cc_policy=new io,this.app_cc_policy=new io,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getGroupPolicies())}ngOnInit(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e});else this.router.navigate(["/"])}getCCPolicy(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(i){null!=i&&("0"==e?t.global_cc_policy=i:(t.app_cc_policy=i,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}newCCPolicy(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}updateCCPolicy(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);let i=this;this.rpcService.getResponse("update_cc_policy",(function(){i.messageService.add("CC policy updated!")}),e,t)}deleteCCPolicy(e){if("0"==e)return;this.has_custom_cc_policy=!1;let t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}onSelectApp(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}getGroupPolicies(){var e=this;this.rpcService.getResponse("get_group_policies",(function(t){if(null!=t){e.group_policies=t;for(let t of e.group_policies)t.unique_hash=e.calcUniqueHash(t);e.globalRegexDataSource=new Dd(e.group_policies),e.globalRegexDataSource.paginator=e.paginator,e.regexLength=e.group_policies.length,e.paginator.pageIndex=0}}))}getVulnNameByID(e){return this.rpcService.vulntypemap[e]}newGroupPolicy(){this.router.navigate(["/policy/0"])}applyFilter(e){this.globalRegexDataSource.filter=e.trim().toLowerCase()}exportWAF(){vi(this.group_policies).subscribe(e=>{let t=JSON.stringify(e);this.dynamicDownload=document.createElement("a"),this.dynamicDownload.setAttribute("href",`data:text/json;charset=utf-8,${encodeURIComponent(t)}`),this.dynamicDownload.setAttribute("download","JANUSEC-WAF.json");var i=new MouseEvent("click");this.dynamicDownload.dispatchEvent(i)})}importWAF(){this.fileInput.nativeElement.click()}readFile(e){if(e.target.files&&e.target.files.length>0){let t=e.target.files[0],i=new FileReader;i.onload=e=>{let t=JSON.parse(i.result);this.importWAFData(t)},i.readAsText(t)}}importWAFData(e){for(let t of e)this.isInCurrentGroupPolicies(t)||(t.id="0",this.setGroupPolicy(t));setTimeout(()=>{this.getGroupPolicies(),this.messageService.add("Import WAF policies finished!")},3e3)}isInCurrentGroupPolicies(e){let t=this.calcUniqueHash(e);for(let i of this.group_policies)if(t==i.unique_hash)return!0;return!1}calcUniqueHash(e){let t=""+e.app_id+e.description+e.vuln_id+e.hit_value+e.action;for(let i of e.check_items)t+="^"+i.check_point+i.operation+i.key_name+i.regex_policy;return String(W_.SHA256(t))}setGroupPolicy(e){this.rpcService.getResponse("update_group_policy",(function(t){if(null!=t){e=t;for(let t of e.check_items)t.id="0",t.group_policy_id=e.id}}),null,e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-waf"]],viewQuery:function(e,t){var i;1&e&&(n.Sc(iy,!0),n.Sc(ny,!0),n.Sc(ry,!0)),2&e&&(n.zc(i=n.kc())&&(t.paginator=i.first),n.zc(i=n.kc())&&(t.ipPaginator=i.first),n.zc(i=n.kc())&&(t.fileInput=i.first))},decls:26,vars:10,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","description"],["matColumnDef","is_enabled"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["paginator",""],["mat-stroked-button","",3,"click"],["type","file",2,"display","none",3,"change"],["fileInput",""],[3,"routerLink"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"div"),n.Ic(3,dy,3,0,"span",1),n.Ic(4,uy,3,0,"span",1),n.Ic(5,hy,5,0,"span",1),n.Wb(6,"span"),n.Jc(7,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(8,"mat-form-field",2),n.Wb(9,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(10,"div",4),n.Wb(11,"mat-table",5,6),n.Ub(13,7),n.Ic(14,fy,2,0,"mat-header-cell",8),n.Ic(15,py,3,2,"mat-cell",9),n.Tb(),n.Ub(16,10),n.Ic(17,my,2,0,"mat-header-cell",8),n.Ic(18,_y,2,1,"mat-cell",9),n.Tb(),n.Ub(19,11),n.Ic(20,by,2,0,"mat-header-cell",8),n.Ic(21,vy,3,2,"mat-cell",9),n.Tb(),n.Ic(22,wy,1,0,"mat-header-row",12),n.Ic(23,Cy,1,0,"mat-row",13),n.Vb(),n.Rb(24,"mat-paginator",14,15),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(3),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(6),n.sc("dataSource",t.globalRegexDataSource),n.Cb(11),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.regexLength)("pageSize",20)("pageSizeOptions",n.wc(9,Sy)))},directives:[P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Nd,_d,bd,ka,up,Cd,kd],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.float_right[_ngcontent-%COMP%]{display:-webkit-box;display:flex;float:right}']}),e})();var xy;xy=$localize`:@@policy_detail␟36915f58289a0994bfbdc5688a19cb0f4760c01f␟5634039722621641041:Policy Details`;const My=["placeholder",$localize`:@@policy_description␟f31fb6bfd7cb675e7e0b7279985ea202467f4527␟7653179075669619700:Name or Description`],Dy=["placeholder",$localize`:@@apply_to␟16c0f258e8457e1e7bda6d7ecc2c82b1e14dff2b␟8188398788637486228:Applies to`];var Ly;Ly=$localize`:@@all␟255cb5b41f7a18a13adc9ae75c8a2335275f31e4␟1726267335244559659:All applications`;const Ty=["placeholder",$localize`:@@vulnerability␟09ffc759b49382fc087edfb83b506d794011c73f␟7471386395532815020:Vulnerability`],Ey=["placeholder",$localize`:@@action␟1bd5e17c9582661e20763a7634ef07881e33bbd7␟9216117865911519658:Action`];var Ay,Oy,Py,Iy;Ay=$localize`:@@enable_policy␟3c96c2317e63c35d320da3e998ad4a229deb283b␟6507213648773489188: Enable this policy `,Oy=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,Py=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,Iy=$localize`:@@regex_test_tool␟cf2c05cddea7ec1e1ca957a48d69f1c8fd2e08a9␟6782308648328086424:Regex Test Tool`;const Ry=["placeholder",$localize`:@@regex_pattern␟b45d2529e755cb6dd269c6707d729853e474483b␟549098991873584918:Policy Pattern (Google RE2 Regex Expression, Single-Line Mode)`],jy=["placeholder",$localize`:@@payload_to_test␟394e2ed7fbf53e923e14db4f2fe1eb42f4c2e4e8␟6330309368981945523:Payload Value to Test`],Yy=["placeholder",$localize`:@@matched_result␟12f14ec5e3a85a44e38a2cb956b83a5b9f299870␟3569221976704549973:Match Result`];var Vy,Wy;function Fy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function Hy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}Vy=$localize`:@@regex_preprocess␟8f696da263d6cb723d97134d90c3ce857ab17fad␟6813516149374090999: Preprocess Payload Value by Janusec (Selected, Remove " ' , replace /**/ with backspace.) `,Wy=$localize`:@@test␟a79d938b5ed20249b4ab6bef86c12633d2f346a0␟6563391987554512024:Test`;const By=["placeholder",$localize`:@@check_point␟232559ea95cb5a6c69126d3fd08ef3f166005136␟1979121568078297259:Check Point`],zy=["placeholder",$localize`:@@operation␟787e44bf8fb991dfb43b1c7eb7056090514d6905␟1283895920974679461:Operation`],Ny=["placeholder",$localize`:@@value_or_regex␟32e898250fff8ba6252504e25304dcd25b328be6␟2229369941918828209:Value or RegexPolicy (Google RE2,start with (?i) if CaseInsensitive required)`],Uy=["matTooltip",$localize`:@@add_new_checkpoint␟f7863b5f48230785099c5e20bd07beaed017a0e6␟1234834535205391304:Add new check point`];function qy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}function $y(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}const Jy=["placeholder",$localize`:@@designated_headerkey␟c4f7eed1c3e5685140e5eb2d94c0f28dfa632650␟3116812232264639239:Designated HeaderKey (optional)`];function Ky(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",19),n.dc(2,Jy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().$implicit.key_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc().$implicit,t=n.nc(2);n.Cb(1),n.sc("ngModel",e.key_name)("disabled",t.readOnlyValue)}}function Gy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",20),n.jc("click",(function(){n.Cc(e);const t=n.nc().index;return n.nc(2).delCheckItem(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function Zy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",15),n.Wb(1,"mat-form-field"),n.Wb(2,"mat-select",16),n.dc(3,By),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).group_policy.check_items[r].check_point=i})),n.Ic(4,qy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Wb(5,"mat-form-field"),n.Wb(6,"mat-select",16),n.dc(7,zy),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).group_policy.check_items[r].operation=i})),n.Ic(8,$y,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Ic(9,Ky,3,2,"mat-form-field",0),n.Wb(10,"mat-form-field"),n.Wb(11,"input",2),n.dc(12,Ny),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.regex_policy=i})),n.Vb(),n.Vb(),n.Wb(13,"div"),n.Wb(14,"mat-icon",17),n.dc(15,Uy),n.jc("click",(function(){return n.Cc(e),n.nc(2).addCheckItem()})),n.Jc(16,"add_circle_outline"),n.Vb(),n.Ic(17,Gy,2,0,"mat-icon",18),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc(2);n.Cb(2),n.sc("ngModel",r.group_policy.check_items[i].check_point)("disabled",r.readOnlyValue),n.Cb(2),n.sc("ngForOf",r.enum_check_values),n.Cb(2),n.sc("ngModel",r.group_policy.check_items[i].operation)("disabled",r.readOnlyValue),n.Cb(2),n.sc("ngForOf",r.enum_operation_values),n.Cb(1),n.sc("ngIf",e.check_point==r.chkpointHeadValue),n.Cb(2),n.sc("ngModel",e.regex_policy)("disabled",r.readOnlyValue),n.Cb(6),n.sc("ngIf",r.group_policy.check_items.length>1)}}function Xy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}const Qy=["placeholder",$localize`:@@update_time␟fdaf3f57f2fdd07676eaabb17a98403f277356c3␟663069680804731405:Latest Update Time`];function ev(e,t){if(1&e&&(n.Wb(0,"mat-form-field"),n.Wb(1,"input",21),n.dc(2,Qy),n.Vb(),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.sc("value",e.getDate(e.group_policy.update_time))}}function tv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",13),n.jc("click",(function(){return n.Cc(e),n.nc(2).changeEditable()})),n.Jc(1),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.readOnlyButtonText)}}function iv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"h2",1),n.bc(2,xy),n.Vb(),n.Wb(3,"div",1),n.Wb(4,"mat-form-field"),n.Wb(5,"input",2),n.dc(6,My),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.description=t})),n.Vb(),n.Vb(),n.Wb(7,"mat-form-field"),n.Wb(8,"mat-select",3),n.dc(9,Dy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.app_id=t})),n.Wb(10,"mat-option",4),n.bc(11,Ly),n.Vb(),n.Ic(12,Fy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"mat-select",3),n.dc(15,Ty),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.vuln_id=t})),n.Ic(16,Hy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Ic(17,Zy,18,10,"div",6),n.Wb(18,"mat-form-field"),n.Wb(19,"mat-select",3),n.dc(20,Ey),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.action=t})),n.Ic(21,Xy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Ic(22,ev,3,1,"mat-form-field",0),n.Wb(23,"section"),n.Wb(24,"mat-checkbox",7),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.is_enabled=t})),n.bc(25,Ay),n.Vb(),n.Vb(),n.Wb(26,"div"),n.Rb(27,"br"),n.Wb(28,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().setGroupPolicy()})),n.bc(29,Oy),n.Vb(),n.Ic(30,tv,2,1,"button",9),n.Wb(31,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().delGroupPolicy()})),n.bc(32,Py),n.Vb(),n.Vb(),n.Vb(),n.Rb(33,"hr"),n.Wb(34,"div",1),n.Wb(35,"h3"),n.bc(36,Iy),n.Vb(),n.Wb(37,"mat-form-field"),n.Wb(38,"input",10),n.dc(39,Ry),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.pattern=t})),n.Vb(),n.Vb(),n.Wb(40,"mat-form-field"),n.Wb(41,"input",10),n.dc(42,jy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.payload=t})),n.Vb(),n.Vb(),n.Wb(43,"mat-form-field"),n.Wb(44,"input",11),n.dc(45,Yy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.matched=t})),n.Vb(),n.Vb(),n.Wb(46,"section"),n.Wb(47,"mat-checkbox",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.preprocess=t})),n.bc(48,Vy),n.Vb(),n.Vb(),n.Wb(49,"div"),n.Rb(50,"br"),n.Wb(51,"button",13),n.jc("click",(function(){return n.Cc(e),n.nc().testRegex()})),n.bc(52,Wy),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.sc("ngModel",e.group_policy.description)("disabled",e.readOnlyValue),n.Cb(3),n.sc("ngModel",e.group_policy.app_id)("disabled",e.readOnlyValue),n.Cb(4),n.sc("ngForOf",e.rpcService.applications),n.Cb(2),n.sc("ngModel",e.group_policy.vuln_id)("disabled",e.readOnlyValue),n.Cb(2),n.sc("ngForOf",e.rpcService.vulntypes),n.Cb(1),n.sc("ngForOf",e.group_policy.check_items)("ngForTrackBy",e.trackByFn),n.Cb(2),n.sc("ngModel",e.group_policy.action)("disabled",e.readOnlyValue),n.Cb(2),n.sc("ngForOf",e.enum_action_values),n.Cb(1),n.sc("ngIf",e.group_policy.id>0),n.Cb(2),n.sc("ngModel",e.group_policy.is_enabled)("disabled",e.readOnlyValue),n.Cb(4),n.sc("disabled",e.readOnlyValue),n.Cb(2),n.sc("ngIf",e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("disabled",e.readOnlyValue),n.Cb(7),n.sc("ngModel",e.regex_match.pattern),n.Cb(3),n.sc("ngModel",e.regex_match.payload),n.Cb(3),n.sc("ngModel",e.regex_match.matched),n.Cb(3),n.sc("ngModel",e.regex_match.preprocess)}}let nv=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.regex_match=new co,this.enum_check_values=[],this.enum_operation_values=[],this.enum_action_values=[],this.chkpointHeadValue=no.HeaderValue}getGroupPolicy(e){const t=this.route.snapshot.paramMap.get("id");if("0"==t)this.readOnlyValue=!1,this.group_policy=new so,this.group_policy.id="0",this.group_policy.app_id=null!=e?e:"0",this.group_policy.action=ro.BLOCK,this.group_policy.description="Custom",this.group_policy.check_items=[],this.addCheckItem(),this.group_policy.is_enabled=!0,this.readOnlyButtonText="Cancel";else{var i=this;this.rpcService.getResponse("get_group_policy",(function(e){null!=e&&(i.group_policy=e,i.regex_match.pattern=i.group_policy.check_items[0].regex_policy)}),t)}this.regex_match.preprocess=!0}setGroupPolicy(){var e=this;this.rpcService.getResponse("update_group_policy",(function(t){if(null==t)return;let i=t.id;e.group_policy.id==i?e.group_policy=t:(e.group_policy=t,e.router.navigate(["/policy/"+i])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Policy saved.")}),null,e.group_policy)}ngOnInit(){for(var e in this.getGroupPolicy(),0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),no)"number"==typeof no[e]&&this.enum_check_values.push({value:no[e],name:e});for(var e in ao)"number"==typeof ao[e]&&this.enum_operation_values.push({value:ao[e],name:e});for(var e in ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e})}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}getDate(e){return this.rpcService.getDateString(e)}testRegex(){this.regex_match.matched=null;var e=this;this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}addCheckItem(){if(!this.readOnlyValue){var e=new oo;e.id="0",e.operation=ao.Regex_Match,e.key_name="",e.regex_policy="",e.group_policy_id=this.group_policy.id,this.group_policy.check_items.push(e)}}delCheckItem(e){this.readOnlyValue||(1!=this.group_policy.check_items.length?this.group_policy.check_items.splice(e,1):alert("At least one checkpoint is required!"))}delGroupPolicy(){if(!this.readOnlyValue){var e=this;this.rpcService.getResponse("del_group_policy",(function(){e.router.navigate(["/waf"]),e.messageService.add("Policy Deleted.")}),this.group_policy.id,null)}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-policy"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["class","inner-container",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngModel","disabled","ngModelChange"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","readonly","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange"],["mat-stroked-button","",3,"click"],[3,"value"],[1,"inner-container"],["required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],["matTooltipPosition","right",3,"click",6,"matTooltip"],[3,"click",4,"ngIf"],["matInput","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"click"],["matInput","","disabled","true",3,"value",6,"placeholder"]],template:function(e,t){1&e&&n.Ic(0,iv,53,23,"div",0),2&e&&n.sc("ngIf",t.group_policy)},directives:[P,Mu,Bu,Qe,hi,st,ci,gf,td,A,Hm,Nd,up,If],styles:['button[_ngcontent-%COMP%]{margin-top:5px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();const rv=["*"],sv=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],av=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class ov{}const cv=ml(bl(ov));class lv{}const dv=bl(lv);let uv=(()=>{class e extends cv{constructor(){super(...arguments),this._stateChanges=new an.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return hv(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[n.zb,n.Ab()],ngContentSelectors:rv,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),e})();const hv=n.Zb(uv);let fv=(()=>{class e extends cv{constructor(e){super(),this._elementRef=e,this._stateChanges=new an.a,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[n.zb,n.Ab()],ngContentSelectors:rv,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),e})(),pv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e})(),mv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e})(),_v=(()=>{class e extends dv{constructor(e,t,i,n){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new an.a,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const r=this._getHostElement();"button"!==r.nodeName.toLowerCase()||r.hasAttribute("type")||r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Ho(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=yo(e)}ngAfterContentInit(){var e,t;t=this._element,(e=this._lines).changes.pipe(Jn(e)).subscribe(({length:e})=>{jl(t,"mat-2-line",!1),jl(t,"mat-3-line",!1),jl(t,"mat-multi-line",!1),2===e||3===e?jl(t,`mat-${e}-line`,!0):e>3&&jl(t,"mat-multi-line",!0)})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(uv,8),n.Pb(fv,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,pv,!0),n.Ib(i,mv,!0),n.Ib(i,Rl,!0)),2&e&&(n.zc(r=n.kc())&&(t._avatar=r.first),n.zc(r=n.kc())&&(t._icon=r.first),n.zc(r=n.kc())&&(t._lines=r))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&n.Gb("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[n.zb],ngContentSelectors:av,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(n.rc(sv),n.Wb(0,"div",0),n.Rb(1,"div",1),n.qc(2),n.Wb(3,"div",2),n.qc(4,1),n.Vb(),n.qc(5,2),n.Vb()),2&e&&(n.Cb(1),n.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[zl],encapsulation:2,changeDetection:0}),e})(),bv=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Yl,Nl,pl,ql,U],Yl,pl,ql,Ip]}),e})();const gv=["nodesPaginator"];var yv,vv,wv,Cv,Sv,kv,xv,Mv,Dv,Lv;function Tv(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Sv),n.Vb())}function Ev(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.last_ip," ")}}function Av(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,kv),n.Vb())}function Ov(e,t){1&e&&(n.Wb(0,"mat-icon",23),n.Jc(1,"check_circle_outline"),n.Vb())}function Pv(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"highlight_off"),n.Vb())}function Iv(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Ic(1,Ov,2,0,"mat-icon",21),n.Ic(2,Pv,2,0,"mat-icon",22),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.online),n.Cb(1),n.sc("ngIf",!e.online)}}function Rv(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,xv),n.Vb())}function jv(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.version," ")}}function Yv(e,t){1&e&&(n.Wb(0,"mat-header-cell",25),n.bc(1,Mv),n.Vb())}function Vv(e,t){if(1&e&&(n.Wb(0,"mat-cell",25),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.last_req_time)," ")}}function Wv(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Dv),n.Vb())}function Fv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"button",1),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().deleteNode(i.id)})),n.bc(2,Lv),n.Vb(),n.Vb()}}function Hv(e,t){1&e&&n.Rb(0,"mat-header-row")}function Bv(e,t){1&e&&n.Rb(0,"mat-row")}yv=$localize`:@@node_mgmt␟7c79873448e91ed2609a9c9260490e4577c29517␟234012432003542018:Node Management`,vv=$localize`:@@refresh␟c8d1785038d461ec66b5799db21864182b35900a␟1102717806459547726:Refresh`,wv=$localize`:@@node_sync␟0e4898ccb7f74dc7411e66c783b249e9d95bd936␟3758475628515629380:Node Synchronization`,Cv=$localize`:@@node_notice␟98d0a9609caabf92a0f6928e3b5fcecaa20a3516␟5588654204421158929:Please copy the following node_key into config.json of all replica nodes. `,Sv=$localize`:@@last_ip␟de2ae53a235560ee7aa37145da929a18d70ea504␟7822607628884491209: IP `,kv=$localize`:@@online␟ee74fb7b4bab3ce4785bc0470a25ba7f49533cdb␟6381905842608823548: Online `,xv=$localize`:@@version␟55841e4bef36a1768906aa7555c43c31b7c61a3b␟5088286317508582496: Version `,Mv=$localize`:@@sync_time␟181c8e53f31dd255ba7495eea8996a954058ca01␟665365445806980314: Synchronization Time `,Dv=$localize`:@@action␟01a32bb7e93373cbc305329319efc67c0bd85226␟97940262148604706: Action `,Lv=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`;const zv=function(){return[10,20,50]};let Nv=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.nodes=[],this.displayedColumns=["last_ip","online","version","last_req_time","action"],this.rpcService.auth_user.logged&&(this.rpcService.getNodesKey(),this.getNodes())}ngOnInit(){0!=this.rpcService.auth_user.logged?this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]):this.router.navigate(["/"])}onSelect(e){this.selectedNode=e,this.router.navigate(["/node/"+this.selectedNode.id])}getDate(e){return this.rpcService.getDateString(e)}getNodes(){var e=this;this.rpcService.getResponse("get_nodes",(function(t){if(e.nodes=t,e.nodesDataSource=new Dd(e.nodes),e.nodesLength=e.nodes.length,null!=e.nodes){var i=(new Date).getTime();for(let t of e.nodes){let e=i-new Date(1e3*t.last_req_time).getTime();t.online=e<36e4}}}))}deleteNode(e){let t=this;this.rpcService.getResponse("del_node",(function(){t.getNodes()}),e,null)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-nodes"]],viewQuery:function(e,t){var i;1&e&&n.Sc(gv,!0),2&e&&n.zc(i=n.kc())&&(t.nodesPaginator=i.first)},decls:44,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click"],["matListIcon",""],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","last_ip"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","online"],["matColumnDef","version"],["matColumnDef","last_req_time"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["nodesPaginator",""],["matLine",""],[1,"wrapkey"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"],[1,"center_column"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.Wb(4,"span"),n.bc(5,yv),n.Vb(),n.Wb(6,"span"),n.Jc(7," \xa0\xa0\xa0\xa0 "),n.Vb(),n.Wb(8,"span"),n.Wb(9,"button",1),n.jc("click",(function(){return t.getNodes()})),n.Wb(10,"mat-icon",2),n.Jc(11,"refresh"),n.Vb(),n.Wb(12,"span"),n.bc(13,vv),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(14,"div",3),n.Wb(15,"mat-table",4,5),n.Ub(17,6),n.Ic(18,Tv,2,0,"mat-header-cell",7),n.Ic(19,Ev,2,1,"mat-cell",8),n.Tb(),n.Ub(20,9),n.Ic(21,Av,2,0,"mat-header-cell",7),n.Ic(22,Iv,3,2,"mat-cell",8),n.Tb(),n.Ub(23,10),n.Ic(24,Rv,2,0,"mat-header-cell",7),n.Ic(25,jv,2,1,"mat-cell",8),n.Tb(),n.Ub(26,11),n.Ic(27,Yv,2,0,"mat-header-cell",12),n.Ic(28,Vv,2,1,"mat-cell",13),n.Tb(),n.Ub(29,14),n.Ic(30,Wv,2,0,"mat-header-cell",7),n.Ic(31,Fv,3,0,"mat-cell",8),n.Tb(),n.Ic(32,Hv,1,0,"mat-header-row",15),n.Ic(33,Bv,1,0,"mat-row",16),n.Vb(),n.Rb(34,"mat-paginator",17,18),n.Vb(),n.Rb(36,"br"),n.Wb(37,"mat-card"),n.Wb(38,"h3"),n.bc(39,wv),n.Vb(),n.Wb(40,"p",19),n.bc(41,Cv),n.Vb(),n.Wb(42,"span",20),n.Jc(43),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(15),n.sc("dataSource",t.nodesDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.nodesLength)("pageSize",20)("pageSizeOptions",n.wc(7,zv)),n.Cb(9),n.Kc(t.rpcService.hexNodesKey))},directives:[jd,Nd,up,mv,cd,pd,hd,dd,gd,vd,Jf,Rl,_d,bd,P,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.wrapkey[_ngcontent-%COMP%]{font-size:10px;font-family:Courier New,Courier,monospace;background-color:#f4f4f4;padding:5px;line-height:2em;word-break:break-all}"]}),e})();var Uv;function qv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",4),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).node.last_ip=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.node.last_ip)("readonly",!0)}}function $v(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).node.version=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.node.version)("readonly",!0)}}function Jv(e,t){if(1&e&&(n.Wb(0,"mat-form-field"),n.Rb(1,"input",6),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.sc("value",e.getDate(e.node.last_req_time))("readonly",!0)}}function Kv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",7),n.jc("click",(function(){n.Cc(e);const t=n.nc(2);return t.deleteNode(t.node.id)})),n.Jc(1,"Delete"),n.Vb()}if(2&e){const e=n.nc(2);n.sc("disabled",e.readOnlyValue)}}function Gv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,Uv),n.Vb(),n.Ic(4,qv,2,2,"mat-form-field",0),n.Ic(5,$v,2,2,"mat-form-field",0),n.Ic(6,Jv,2,2,"mat-form-field",0),n.Wb(7,"div"),n.Wb(8,"button",2),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(9),n.Vb(),n.Ic(10,Kv,2,1,"button",3),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(4),n.sc("ngIf",e.node.id>0),n.Cb(1),n.sc("ngIf",e.node.id>0),n.Cb(1),n.sc("ngIf",e.node.id>0),n.Cb(3),n.Kc(e.readOnlyButtonText),n.Cb(1),n.sc("ngIf",e.node.id>0)}}Uv=$localize`:@@node_detail␟2d653a3d7a3b48d501c08d3fe9376c1c4e24ed21␟7177990097443434093:Node Details`;let Zv=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}ngOnInit(){this.getNode()}getNode(){let e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_node",(function(e){null!=e&&(t.node=e)}),e)}else this.node=new lo,this.node.id="0",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}getDate(e){return this.rpcService.getDateString(e)}deleteNode(e){this.rpcService.getResponse("del_node",(function(){}),e,null),this.router.navigate(["/nodes"])}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-node-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","","placeholder","Node IP",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Node Version",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Last Sync time",3,"value","readonly"],["mat-stroked-button","",3,"disabled","click"]],template:function(e,t){1&e&&n.Ic(0,Gv,11,5,"div",0),2&e&&n.sc("ngIf",t.node)},directives:[P,Nd,Mu,Bu,Qe,st,ci],styles:["button[_ngcontent-%COMP%]{margin-right:5px}"]}),e})();var Xv=i("MO+k");const Qv=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`];var ew,tw;ew=$localize`:@@all␟255cb5b41f7a18a13adc9ae75c8a2335275f31e4␟1726267335244559659:All applications`,tw=$localize`:@@view␟6829218544e108e152f5fa72cb79c4ccb82e0d06␟2509141182388535183:View`;const iw=["placeholder",$localize`:@@vulnerability␟09ffc759b49382fc087edfb83b506d794011c73f␟7471386395532815020:Vulnerability`];var nw,rw,sw,aw;function ow(e,t){if(1&e&&(n.Wb(0,"mat-option",10),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function cw(e,t){if(1&e&&(n.Wb(0,"mat-option",10),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function lw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",2),n.Wb(1,"div",3),n.Wb(2,"mat-form-field"),n.Wb(3,"mat-select",4),n.dc(4,Qv),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().selected_app_id=t})),n.Wb(5,"mat-option",5),n.bc(6,ew),n.Vb(),n.Ic(7,ow,2,2,"mat-option",6),n.Vb(),n.Vb(),n.Wb(8,"button",7),n.jc("click",(function(){return n.Cc(e),n.nc().statByAppID()})),n.bc(9,tw),n.Vb(),n.Wb(10,"div",8),n.Wb(11,"canvas",9),n.Jc(12),n.Vb(),n.Vb(),n.Vb(),n.Wb(13,"div",3),n.Wb(14,"mat-form-field"),n.Wb(15,"mat-select",4),n.dc(16,iw),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().selected_vuln_id=t})),n.Wb(17,"mat-option",10),n.bc(18,nw),n.Vb(),n.Ic(19,cw,2,2,"mat-option",6),n.Vb(),n.Vb(),n.Wb(20,"button",7),n.jc("click",(function(){return n.Cc(e),n.nc().statByAppAndVuln()})),n.bc(21,rw),n.Vb(),n.Wb(22,"div",8),n.Wb(23,"canvas",11),n.Jc(24),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(3),n.sc("ngModel",e.selected_app_id),n.Cb(4),n.sc("ngForOf",e.rpcService.applications),n.Cb(5),n.Kc(e.todayVulnChart),n.Cb(3),n.sc("ngModel",e.selected_vuln_id),n.Cb(2),n.sc("value",0),n.Cb(2),n.sc("ngForOf",e.rpcService.vulntypes),n.Cb(5),n.Kc(e.weekCountChart)}}function dw(e,t){if(1&e&&(n.Wb(0,"div",2),n.Wb(1,"div",12),n.Wb(2,"div",13),n.Wb(3,"canvas",14),n.Jc(4),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(4),n.Kc(e.accessStatChart)}}function uw(e,t){if(1&e&&(n.Wb(0,"tr"),n.Wb(1,"td"),n.Jc(2),n.Vb(),n.Wb(3,"td"),n.Jc(4),n.Vb(),n.Wb(5,"td",21),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc(2);n.Cb(2),n.Lc(" ",i.getAppNameByID(e.app_id)," "),n.Cb(2),n.Lc(" ",e.url_path," "),n.Cb(2),n.Lc(" ",e.amount," ")}}function hw(e,t){if(1&e&&(n.Wb(0,"div",2),n.Wb(1,"div",15),n.Wb(2,"table",16),n.Wb(3,"caption"),n.bc(4,sw),n.Vb(),n.Wb(5,"tr"),n.Wb(6,"th",17),n.Jc(7,"Application"),n.Vb(),n.Wb(8,"th",18),n.Jc(9,"URL"),n.Vb(),n.Wb(10,"th",19),n.Jc(11,"Count"),n.Vb(),n.Vb(),n.Ic(12,uw,7,3,"tr",20),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(12),n.sc("ngForOf",e.pop_contents)}}function fw(e,t){if(1&e&&(n.Wb(0,"tr"),n.Wb(1,"td"),n.Wb(2,"a",23),n.Jc(3),n.Vb(),n.Vb(),n.Wb(4,"td",21),n.Jc(5),n.Vb(),n.Wb(6,"td",21),n.Jc(7),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc(2);n.Cb(2),n.vc("routerLink","/referring/",i.selected_app_id,"/",e.host,""),n.Cb(1),n.Lc(" ",e.host," "),n.Cb(2),n.Lc(" ",e.PV," "),n.Cb(2),n.Lc(" ",e.UV," ")}}function pw(e,t){if(1&e&&(n.Wb(0,"div",2),n.Wb(1,"div",15),n.Wb(2,"table",16),n.Wb(3,"caption"),n.bc(4,aw),n.Vb(),n.Wb(5,"tr"),n.Wb(6,"th",17),n.Jc(7,"Site"),n.Vb(),n.Wb(8,"th",22),n.Jc(9,"PV"),n.Vb(),n.Wb(10,"th",22),n.Jc(11,"UV"),n.Vb(),n.Vb(),n.Ic(12,fw,8,5,"tr",20),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(12),n.sc("ngForOf",e.referer_hosts)}}nw=$localize`:@@all␟dfc3c34e182ea73c5d784ff7c8135f087992dac1␟1616102757855967475:All`,rw=$localize`:@@view␟6829218544e108e152f5fa72cb79c4ccb82e0d06␟2509141182388535183:View`,sw=$localize`:@@popular_content_today␟330937b831f58f2b1e5abaaa25e2d2d3bb064263␟2482852217848403822:Popular Content Today`,aw=$localize`:@@referring_sites␟ec585bc47d5923492ce19460aae8bf3661fc081a␟1923109454628308267:Referring Sites (14 days)`;let mw=(()=>{class e{constructor(e,t,i){this.elementRef=e,this.rpcService=t,this.router=i,this.selected_app_id="0",this.selected_vuln_id=0}initTodayChart(){let e=this.elementRef.nativeElement.querySelector("#today_canvas");null!=this.todayVulnChart&&this.todayVulnChart.destroy(),this.todayVulnChart=new Xv.Chart(e,{type:"doughnut",data:{labels:this.today_stat_vuln_name,datasets:[{data:this.today_stat_count,backgroundColor:this.today_stat_bgcolor,borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Today Attack Statistics",display:!0},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]}}})}initWeekChart(){setTimeout(()=>{let e=this.elementRef.nativeElement.querySelector("#week_canvas");null!=this.weekCountChart&&this.weekCountChart.destroy(),this.weekCountChart=new Xv.Chart(e,{type:"bar",data:{labels:this.week_stat_date,datasets:[{label:"Count",data:this.week_stat_count,backgroundColor:"rgba(250,10,10,0.8)",borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Week Attack Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})},300)}initAccessStatChart(){setTimeout(()=>{let e=this.elementRef.nativeElement.querySelector("#stat_canvas");null!=this.accessStatChart&&this.accessStatChart.destroy(),this.accessStatChart=new Xv.Chart(e,{type:"line",data:{labels:this.access_stat_date,datasets:[{label:"Count",lineTension:0,fill:!1,data:this.access_stat_count,borderColor:"rgba(00, 95, 200, 1.0)",borderWidth:1}]},options:{maintainAspectRatio:!1,legend:{display:!0,position:"bottom"},title:{text:"Access Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})},300)}ngOnInit(){if(0!=this.rpcService.auth_user.logged){if(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),0==this.rpcService.vulntypes.length){let e=this;this.rpcService.getVulnTypes((function(){e.getTodayVulnStat("0"),e.getWeekStat("0",0),e.getAccessStat("0"),e.getPopContents("0"),e.getRefererHosts("0")}))}else this.getTodayVulnStat("0"),this.getWeekStat("0",0),this.getAccessStat("0"),this.getPopContents("0"),this.getRefererHosts("0");0==this.rpcService.applications.length&&this.rpcService.getApplications(),this.initWeekChart(),this.initAccessStatChart()}else this.router.navigate(["/"])}getVulnNameByID(e){return this.rpcService.vulntypemap[e]}getAppNameByID(e){return this.rpcService.appmap[e]}getTodayVulnStat(e){let t=new Date;t.setHours(0,0,0,0);let i=new Date;i.setHours(23,59,59,0);let n=t.getTime()/1e3,r=i.getTime()/1e3+1;this.today_stat_vuln_name=[],this.today_stat_count=[],this.today_stat_counts=0,this.today_stat_bgcolor=[];let s=this;this.rpcService.getResponseByCustomBody({action:"get_vuln_stat",app_id:e,start_time:n,end_time:r},(function(e){null==e&&(e=[]);for(let t of e){let e=s.getVulnNameByID(t.vuln_id);s.today_stat_vuln_name.push(e),s.today_stat_count.push(t.count),s.today_stat_counts+=t.count,s.today_stat_bgcolor.push(s.getColorString(t.vuln_id))}0==s.today_stat_counts&&(s.today_stat_vuln_name.push("None"),s.today_stat_count.push(1e-9)),s.initTodayChart()}))}getWeekStat(e,t){let i=new Date;i.setHours(0,0,0,0);let n=i.getTime()-5184e5;this.week_stat_date=[];for(let s=0;s<7;s++){let e=new Date(n+864e5*s);this.week_stat_date.push(e.toLocaleDateString())}let r=this;this.rpcService.getResponseByCustomBody({action:"get_week_stat",app_id:e,vuln_id:t,start_time:n/1e3},(function(e){null==e&&(e=[0,0,0,0,0,0,0]),r.week_stat_count=e,r.initWeekChart()}))}getAccessStat(e){let t=new Date;t.setHours(0,0,0,0);let i=t.getTime()-11232e5;this.access_stat_date=[];for(let r=0;r<14;r++){let e=new Date(i+864e5*r);this.access_stat_date.push(e.toLocaleDateString())}let n=this;this.rpcService.getResponseByCustomBody({action:"get_access_stat",app_id:e},(function(e){null==e&&(e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0]),n.access_stat_count=e,n.initAccessStatChart()}))}getPopContents(e){let t=this;this.rpcService.getResponseByCustomBody({action:"get_pop_contents",app_id:e},(function(e){t.pop_contents=e}))}getRefererHosts(e){let t=this;this.rpcService.getResponseByCustomBody({action:"get_referer_hosts",app_id:e},(function(e){t.referer_hosts=e}))}getColorString(e){return"rgba("+60*e%256+","+50*e%256+","+50*e%256+",0.9)"}statByAppID(){this.getTodayVulnStat(this.selected_app_id),this.statByAppAndVuln(),this.getAccessStat(this.selected_app_id),this.getPopContents(this.selected_app_id),this.getRefererHosts(this.selected_app_id)}statByAppAndVuln(){this.getWeekStat(this.selected_app_id,this.selected_vuln_id)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-dashboard"]],decls:6,vars:4,consts:[[1,"container"],["fxLayout","row wrap",4,"ngIf"],["fxLayout","row wrap"],["fxFlex","50%"],[3,"ngModel","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],[1,"myChart"],["id","today_canvas"],[3,"value"],["id","week_canvas"],["fxFlex","100%"],[1,"statChart"],["id","stat_canvas"],["fxFlex","100%",1,"access_div"],[1,"top_access_table"],["width","30%"],["width","60%"],["width","10%"],[4,"ngFor","ngForOf"],[1,"td-align-center"],["width","35%"],[3,"routerLink"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Ic(1,lw,25,7,"div",1),n.Ic(2,dw,5,1,"div",1),n.Ic(3,hw,13,1,"div",1),n.Rb(4,"br"),n.Ic(5,pw,13,1,"div",1),n.Vb()),2&e&&(n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(2),n.sc("ngIf",t.rpcService.auth_user.logged))},directives:[P,Ob,Wb,Mu,gf,st,ci,td,A,Nd,ka],styles:['.container[_ngcontent-%COMP%], .mat-form-field[_ngcontent-%COMP%], .mat-option[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%], button[_ngcontent-%COMP%], div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;font-size:14px}button[_ngcontent-%COMP%]{margin-left:10px}.myChart[_ngcontent-%COMP%], .statChart[_ngcontent-%COMP%]{background-color:#e5e5e5;margin:15px}.statChart[_ngcontent-%COMP%]{height:300px}.access_div[_ngcontent-%COMP%]{padding:0 15px}.top_access_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.top_access_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.top_access_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.top_access_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}']}),e})();function _w(e,t){}class bw{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const gw={dialogContainer:Object(De.n)("dialogContainer",[Object(De.k)("void, exit",Object(De.l)({opacity:0,transform:"scale(0.7)"})),Object(De.k)("enter",Object(De.l)({transform:"none"})),Object(De.m)("* => enter",Object(De.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({transform:"none",opacity:1}))),Object(De.m)("* => void, * => exit",Object(De.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(De.l)({opacity:0})))])};function yw(){throw Error("Attempting to attach dialog content after content is already attached")}let vw=(()=>{class e extends fh{constructor(e,t,i,r,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=i,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new n.o,this.attachDomPortal=e=>(this._portalOutlet.hasAttached()&&yw(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=r}attachComponentPortal(e){return this._portalOutlet.hasAttached()&&yw(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached()&&yw(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}_trapFocus(){const e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const t=this._document.activeElement;t===e||e.contains(t)||e.focus()}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,i=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==i&&!i.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Kc),n.Pb(n.h),n.Pb(a,8),n.Pb(bw))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var i;1&e&&n.Gc(_h,!0),2&e&&n.zc(i=n.kc())&&(t._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&n.Hb("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(n.Db("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),n.Rc("@dialogContainer",t._state))},features:[n.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&n.Ic(0,_w,0,0,"ng-template",0)},directives:[_h],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[gw.dialogContainer]}}),e})(),ww=0;class Cw{constructor(e,t,i=`mat-dialog-${ww++}`){this._overlayRef=e,this._containerInstance=t,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new an.a,this._afterClosed=new an.a,this._beforeClosed=new an.a,this._state=0,t._id=i,t._animationStateChanged.pipe(ki(e=>"done"===e.phaseName&&"enter"===e.toState),Vn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ki(e=>"done"===e.phaseName&&"exit"===e.toState),Vn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(ki(e=>27===e.keyCode&&!this.disableClose&&!Sc(e))).subscribe(e=>{e.preventDefault(),this.close()})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(ki(e=>"start"===e.phaseName),Vn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},t.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const Sw=new n.r("MatDialogData"),kw=new n.r("mat-dialog-default-options"),xw=new n.r("mat-dialog-scroll-strategy"),Mw={provide:xw,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.block()}};let Dw=(()=>{class e{constructor(e,t,i,n,r,s,a){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new an.a,this._afterOpenedAtThisLevel=new an.a,this._ariaHiddenElements=new Map,this.afterAllClosed=gn(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Jn(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}open(e,t){if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new bw)).id&&this.getDialogById(t.id))throw Error(`Dialog with id "${t.id}" exists already. The dialog id must be unique.`);const i=this._createOverlay(t),n=this._attachDialogContainer(i,t),r=this._attachDialogContent(e,n,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Th({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const i=new vh(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[bw,t]])),n=new dh(vw,t.viewContainerRef,i,t.componentFactoryResolver);return e.attach(n).instance}_attachDialogContent(e,t,i,r){const s=new Cw(i,t,r.id);if(r.hasBackdrop&&i.backdropClick().subscribe(()=>{s.disableClose||s.close()}),e instanceof n.M)t.attachTemplatePortal(new uh(e,null,{$implicit:r.data,dialogRef:s}));else{const i=this._createInjector(r,s,t),n=t.attachComponentPortal(new dh(e,r.viewContainerRef,i));s.componentInstance=n.instance}return s.updateSize(r.width,r.height).updatePosition(r.position),s}_createInjector(e,t,i){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=new WeakMap([[vw,i],[Sw,e.data],[Cw,t]]);return!e.direction||n&&n.get(Eo,null)||r.set(Eo,{value:e.direction,change:vi()}),new vh(n||this._injector,r)}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){let n=t[i];n===e||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(qh),n.fc(n.s),n.fc(w,8),n.fc(kw,8),n.fc(xw),n.fc(e,12),n.fc(jh))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Lw=0,Tw=(()=>{class e{constructor(e,t,i){this.dialogRef=e,this._elementRef=t,this._dialog=i,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Pw(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Cw,8),n.Pb(n.l),n.Pb(Dw))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("click",(function(){return t.dialogRef.close(t.dialogResult)})),2&e&&n.Db("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[n.Ab()]}),e})(),Ew=(()=>{class e{constructor(e,t,i){this._dialogRef=e,this._elementRef=t,this._dialog=i,this.id=`mat-dialog-title-${Lw++}`}ngOnInit(){this._dialogRef||(this._dialogRef=Pw(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Cw,8),n.Pb(n.l),n.Pb(Dw))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&n.ac("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),Aw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),Ow=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})();function Pw(e,t){let i=e.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?t.find(e=>e.id===i.id):null}let Iw=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Dw,Mw],imports:[[Xh,yh,pl],pl]}),e})();const Rw=["mat-calendar-body",""];function jw(e,t){if(1&e&&(n.Wb(0,"tr",2),n.Wb(1,"td",3),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(1),n.Hc("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),n.Db("colspan",e.numCols),n.Cb(1),n.Lc(" ",e.label," ")}}function Yw(e,t){if(1&e&&(n.Wb(0,"td",7),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.Hc("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),n.Db("colspan",e._firstRowOffset),n.Cb(1),n.Lc(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Vw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"td",8),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc(2)._cellClicked(i)})),n.Wb(1,"div",9),n.Jc(2),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc().index,s=n.nc();n.Hc("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),n.Gb("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",s._isActiveCell(r,i)),n.sc("ngClass",e.cssClasses)("tabindex",s._isActiveCell(r,i)?0:-1),n.Db("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",s.selectedValue===e.value),n.Cb(1),n.Gb("mat-calendar-body-selected",s.selectedValue===e.value)("mat-calendar-body-today",s.todayValue===e.value),n.Cb(1),n.Lc(" ",e.displayValue," ")}}function Ww(e,t){if(1&e&&(n.Wb(0,"tr",4),n.Ic(1,Yw,2,6,"td",5),n.Ic(2,Vw,3,20,"td",6),n.Vb()),2&e){const e=t.$implicit,i=t.index,r=n.nc();n.Cb(1),n.sc("ngIf",0===i&&r._firstRowOffset),n.Cb(1),n.sc("ngForOf",e)}}function Fw(e,t){if(1&e&&(n.Wb(0,"th",5),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Db("aria-label",e.long),n.Cb(1),n.Kc(e.narrow)}}const Hw=["*"];function Bw(e,t){}function zw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-month-view",5),n.jc("activeDateChange",(function(t){return n.Cc(e),n.nc().activeDate=t}))("selectedChange",(function(t){return n.Cc(e),n.nc()._dateSelected(t)}))("_userSelection",(function(){return n.Cc(e),n.nc()._userSelected()})),n.Vb()}if(2&e){const e=n.nc();n.sc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Nw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-year-view",6),n.jc("activeDateChange",(function(t){return n.Cc(e),n.nc().activeDate=t}))("monthSelected",(function(t){return n.Cc(e),n.nc()._monthSelectedInYearView(t)}))("selectedChange",(function(t){return n.Cc(e),n.nc()._goToDateInView(t,"month")})),n.Vb()}if(2&e){const e=n.nc();n.sc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}function Uw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-multi-year-view",7),n.jc("activeDateChange",(function(t){return n.Cc(e),n.nc().activeDate=t}))("yearSelected",(function(t){return n.Cc(e),n.nc()._yearSelectedInMultiYearView(t)}))("selectedChange",(function(t){return n.Cc(e),n.nc()._goToDateInView(t,"year")})),n.Vb()}if(2&e){const e=n.nc();n.sc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}const qw=["button"];function $w(e,t){1&e&&(n.mc(),n.Wb(0,"svg",3),n.Rb(1,"path",4),n.Vb())}const Jw=[[["","matDatepickerToggleIcon",""]]],Kw=["[matDatepickerToggleIcon]"];function Gw(e){return Error(`MatDatepicker: No provider found for ${e}. You must import one of the following `+"modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}let Zw=(()=>{class e{constructor(){this.changes=new an.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();class Xw{constructor(e,t,i,n,r={}){this.value=e,this.displayValue=t,this.ariaLabel=i,this.enabled=n,this.cssClasses=r}}let Qw=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new n.o}_cellClicked(e){e.enabled&&this.selectedValueChange.emit(e.value)}ngOnChanges(e){const t=e.numCols,{rows:i,numCols:n}=this;(e.rows||t)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/n}%`),!t&&this._cellWidth||(this._cellWidth=`${100/n}%`)}_isActiveCell(e,t){let i=e*this.numCols+t;return e&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&e.focus()})})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A))},e.\u0275cmp=n.Jb({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[n.Ab()],attrs:Rw,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell mat-focus-indicator","role","button",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell","role","button",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(n.Ic(0,jw,3,6,"tr",0),n.Ic(1,Ww,3,2,"tr",1)),2&e&&(n.sc("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n"],encapsulation:2,changeDetection:0}),e})(),eC=(()=>{class e{constructor(e,t,i,r){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=rr.a.EMPTY,this.selectedChange=new n.o,this._userSelection=new n.o,this.activeDateChange=new n.o,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Jn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){if(this._selectedDate!=e){const t=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.createDate(t,i,e);this.selectedChange.emit(n)}this._userSelection.emit()}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((e,i)=>({long:e,narrow:t[i]}));this._weekdays=i.slice(e).concat(i.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Sl,8),n.Pb(Cl,8),n.Pb(Eo,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Qw,!0),2&e&&n.zc(i=n.kc())&&(t._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(n.Wb(0,"table",0),n.Wb(1,"thead",1),n.Wb(2,"tr"),n.Ic(3,Fw,2,2,"th",2),n.Vb(),n.Wb(4,"tr"),n.Rb(5,"th",3),n.Vb(),n.Vb(),n.Wb(6,"tbody",4),n.jc("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),n.Vb(),n.Vb()),2&e&&(n.Cb(3),n.sc("ngForOf",t._weekdays),n.Cb(3),n.sc("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[A,Qw],encapsulation:2,changeDetection:0}),e})(),tC=(()=>{class e{constructor(e,t,i){if(this._changeDetectorRef=e,this._dateAdapter=t,this._dir=i,this._rerenderSubscription=rr.a.EMPTY,this.selectedChange=new n.o,this.yearSelected=new n.o,this.activeDateChange=new n.o,!this._dateAdapter)throw Gw("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),iC(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Jn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,i=[];t<24;t++)i.push(e+t),4==i.length&&(this._years.push(i.map(e=>this._createCellForYear(e))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let t=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){let t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new Xw(e,t,t,this._shouldEnableYear(e))}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class e{constructor(e,t,i,r){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=rr.a.EMPTY,this.selectedChange=new n.o,this.monthSelected=new n.o,this.activeDateChange=new n.o,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Jn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(t);const i=this._dateAdapter.getNumDaysInMonth(t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){let i=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new Xw(e,t.toLocaleUpperCase(),i,this._shouldEnableMonth(e))}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return e>i||e===i&&t>n}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e{class e{constructor(e,t,i,n,r){this._intl=e,this.calendar=t,this._dateAdapter=i,this._dateFormats=n,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-nC(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+24-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(i,n)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):iC(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Zw),n.Pb(Object(n.U)(()=>oC)),n.Pb(Cl,8),n.Pb(Sl,8),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Hw,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0),n.Wb(1,"div",1),n.Wb(2,"button",2),n.jc("click",(function(){return t.currentPeriodClicked()})),n.Jc(3),n.Rb(4,"div",3),n.Vb(),n.Rb(5,"div",4),n.qc(6),n.Wb(7,"button",5),n.jc("click",(function(){return t.previousClicked()})),n.Vb(),n.Wb(8,"button",6),n.jc("click",(function(){return t.nextClicked()})),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(2),n.Db("aria-label",t.periodButtonLabel),n.Cb(1),n.Lc(" ",t.periodButtonText," "),n.Cb(1),n.Gb("mat-calendar-invert","month"!=t.calendar.currentView),n.Cb(3),n.sc("disabled",!t.previousEnabled()),n.Db("aria-label",t.prevButtonLabel),n.Cb(1),n.sc("disabled",!t.nextEnabled()),n.Db("aria-label",t.nextButtonLabel))},directives:[Nd,el],encapsulation:2,changeDetection:0}),e})(),oC=(()=>{class e{constructor(e,t,i,r){if(this._dateAdapter=t,this._dateFormats=i,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new n.o,this.yearSelected=new n.o,this.monthSelected=new n.o,this._userSelection=new n.o,this.stateChanges=new an.a,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._intlChanges=e.changes.subscribe(()=>{r.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new dh(this.headerComponent||aC),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t.ngAfterContentInit()}_dateSelected(e){e&&!this._dateAdapter.sameDate(e,this.selected)&&this.selectedChange.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_userSelected(){this._userSelection.emit()}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Zw),n.Pb(Cl,8),n.Pb(Sl,8),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){var i;1&e&&(n.Sc(eC,!0),n.Sc(sC,!0),n.Sc(tC,!0)),2&e&&(n.zc(i=n.kc())&&(t.monthView=i.first),n.zc(i=n.kc())&&(t.yearView=i.first),n.zc(i=n.kc())&&(t.multiYearView=i.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[n.Ab()],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(n.Ic(0,Bw,0,0,"ng-template",0),n.Wb(1,"div",1),n.Ic(2,zw,1,6,"mat-month-view",2),n.Ic(3,Nw,1,5,"mat-year-view",3),n.Ic(4,Uw,1,5,"mat-multi-year-view",4),n.Vb()),2&e&&(n.sc("cdkPortalOutlet",t._calendarHeaderPortal),n.Cb(1),n.sc("ngSwitch",t.currentView),n.Cb(1),n.sc("ngSwitchCase","month"),n.Cb(1),n.sc("ngSwitchCase","year"),n.Cb(1),n.sc("ngSwitchCase","multi-year"))},directives:[_h,nl,Y,V,eC,sC,tC],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e})();const cC={transformPanel:Object(De.n)("transformPanel",[Object(De.k)("void",Object(De.l)({opacity:0,transform:"scale(1, 0.8)"})),Object(De.m)("void => enter",Object(De.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({opacity:1,transform:"scale(1, 1)"}))),Object(De.m)("* => void",Object(De.e)("100ms linear",Object(De.l)({opacity:0})))]),fadeInCalendar:Object(De.n)("fadeInCalendar",[Object(De.k)("void",Object(De.l)({opacity:0})),Object(De.k)("enter",Object(De.l)({opacity:1})),Object(De.m)("void => *",Object(De.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let lC=0;const dC=new n.r("mat-datepicker-scroll-strategy"),uC={provide:dC,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class hC{constructor(e){this._elementRef=e}}const fC=_l(hC);let pC=(()=>{class e extends fC{constructor(e,t){super(e),this._changeDetectorRef=t,this._animationState="enter",this._animationDone=new an.a}ngAfterViewInit(){this._calendar.focusActiveCell()}ngOnDestroy(){this._animationDone.complete()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var i;1&e&&n.Sc(oC,!0),2&e&&n.zc(i=n.kc())&&(t._calendar=i.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&n.Hb("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(n.Rc("@transformPanel",t._animationState),n.Gb("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[n.zb],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(n.Wb(0,"mat-calendar",0),n.jc("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(){return t.datepicker.close()})),n.Vb()),2&e&&n.sc("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[oC,Gc,T],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[cC.transformPanel,cC.fadeInCalendar]},changeDetection:0}),e})(),mC=(()=>{class e{constructor(e,t,i,r,s,a,o,c){if(this._dialog=e,this._overlay=t,this._ngZone=i,this._viewContainerRef=r,this._dateAdapter=a,this._dir=o,this._document=c,this.startView="month",this._touchUi=!1,this.yearSelected=new n.o,this.monthSelected=new n.o,this.openedStream=new n.o,this.closedStream=new n.o,this._opened=!1,this.id=`mat-datepicker-${lC++}`,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=rr.a.EMPTY,this._disabledChange=new an.a,this._selectedChanged=new an.a,!this._dateAdapter)throw Gw("DateAdapter");this._scrollStrategy=s}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=yo(e)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(e){const t=yo(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}get opened(){return this._opened}set opened(e){e?this.open():this.close()}get _selected(){return this._validSelected}set _selected(e){this._validSelected=e}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}select(e){let t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_registerInput(e){if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe(e=>this._selected=e)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Vn(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(pC,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}_openAsPopup(){const e=new dh(pC,this._viewContainerRef);this._destroyPopup(),this._createPopup();const t=this._popupComponentRef=this._popupRef.attach(e);t.instance.datepicker=this,t.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{this._popupRef.updatePosition()})}_createPopup(){const e=new Th({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(sd.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(ki(e=>27===e.keyCode||this._datepickerInput&&e.altKey&&38===e.keyCode))).subscribe(e=>{e&&e.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Dw),n.Pb(qh),n.Pb(n.A),n.Pb(n.P),n.Pb(dC),n.Pb(Cl,8),n.Pb(Eo,8),n.Pb(a,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const _C={provide:Je,useExisting:Object(n.U)(()=>yC),multi:!0},bC={provide:ot,useExisting:Object(n.U)(()=>yC),multi:!0};class gC{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let yC=(()=>{class e{constructor(e,t,i,r){if(this._elementRef=e,this._dateAdapter=t,this._dateFormats=i,this._formField=r,this.dateChange=new n.o,this.dateInput=new n.o,this._valueChange=new n.o,this._disabledChange=new n.o,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=rr.a.EMPTY,this._localeSubscription=rr.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.min||!t||this._dateAdapter.compareDate(this.min,t)<=0?null:{matDatepickerMin:{min:this.min,actual:t}}},this._maxValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.max||!t||this._dateAdapter.compareDate(this.max,t)>=0?null:{matDatepickerMax:{max:this.max,actual:t}}},this._filterValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return this._dateFilter&&t&&!this._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=dt.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._localeSubscription=t.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(e){e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(e=>{this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new gC(this,this._elementRef.nativeElement)),this.dateChange.emit(new gC(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const t=yo(e),i=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&i.blur&&i.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let i=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!i||this._dateAdapter.isValid(i),i=this._getValidDateOrNull(i),this._dateAdapter.sameDate(i,this._value)?t!==this._lastValueValid&&this._validatorOnChange():(this._value=i,this._cvaOnChange(i),this._valueChange.emit(i),this.dateInput.emit(new gC(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new gC(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Cl,8),n.Pb(Sl,8),n.Pb(Mu,8))},e.\u0275dir=n.Kb({type:e,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&n.jc("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(n.ac("disabled",t.disabled),n.Db("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[n.Bb([_C,bC,{provide:Yu,useExisting:e}])]}),e})(),vC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),wC=(()=>{class e{constructor(e,t,i){this._intl=e,this._changeDetectorRef=t,this._stateChanges=rr.a.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=yo(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker._disabledChange:vi(),t=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:vi(),i=this.datepicker?Object(sd.a)(this.datepicker.openedStream,this.datepicker.closedStream):vi();this._stateChanges.unsubscribe(),this._stateChanges=Object(sd.a)(this._intl.changes,e,t,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Zw),n.Pb(n.h),n.gc("tabindex"))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,vC,!0),2&e&&n.zc(r=n.kc())&&(t._customIcon=r.first)},viewQuery:function(e,t){var i;1&e&&n.Sc(qw,!0),2&e&&n.zc(i=n.kc())&&(t._button=i.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&n.jc("focus",(function(){return t._button.focus()})),2&e&&(n.Db("tabindex",t.disabled?null:-1),n.Gb("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[n.Ab()],ngContentSelectors:Kw,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(n.rc(Jw),n.Wb(0,"button",0,1),n.jc("click",(function(e){return t._open(e)})),n.Ic(2,$w,2,0,"svg",2),n.qc(3),n.Vb()),2&e&&(n.sc("disabled",t.disabled)("disableRipple",t.disableRipple),n.Db("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),n.Cb(2),n.sc("ngIf",!t._customIcon))},directives:[Nd,P],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),CC=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Zw,uC],imports:[[U,qd,Iw,Xh,al,yh]]}),e})();const SC=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`],kC=["placeholder",$localize`:@@begin_time␟7a80b3ae74e5b4b36f40df7c340d4368218f470c␟401349900922345298:Begin Time (00:00:00)`],xC=["placeholder",$localize`:@@end_time␟075d55ffb39ffc39d2603a64038db31cb862575a␟7277844754494375521:End Time (23:59:59)`];var MC;function DC(e,t){if(1&e&&(n.Wb(0,"mat-option",25),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function LC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function TC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",26),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/log/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function EC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Time "),n.Vb())}function AC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.request_time)," ")}}function OC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Client IP "),n.Vb())}function PC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.client_ip," ")}}function IC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Method "),n.Vb())}function RC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.method," ")}}function jC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Host "),n.Vb())}function YC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.host," ")}}function VC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," URL Path "),n.Vb())}function WC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.url_path," ")}}function FC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Action "),n.Vb())}function HC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getPolicyActionEnumString(e.action)," ")}}function BC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," PolicyID "),n.Vb())}function zC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.policy_id," ")}}function NC(e,t){1&e&&n.Rb(0,"mat-header-row")}function UC(e,t){1&e&&n.Rb(0,"mat-row")}MC=$localize`:@@query_waf_logs␟c6bb66ee2e4b8eade4eb0cd8042ad508e19eba57␟5406286306501075317:Query WAF Logs`;const qC=function(){return[10,20,50]};let $C=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.router=t,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action","policy_id"]}ngOnInit(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.regexLogDataSource=new JC(this.rpcService),this.rpcService.lastRegexLogs.length>0&&(this.regexLogDataSource.loadLast(),this.app_id=this.rpcService.lastRegexLogs.app_id,this.start_date=this.rpcService.lastRegexLogs.start_date,this.end_date=this.rpcService.lastRegexLogs.end_date,this.pageLength=this.rpcService.lastRegexLogs.length,this.pageIndex=this.rpcService.lastRegexLogs.page_index)}else this.router.navigate(["/"])}getRegexLogsCount(e,t,i){let n={action:"get_regex_logs_count",app_id:e,start_time:t,end_time:i};var r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(n,(function(e){null!=e&&(r.paginator.length=e.count,r.regexLogDataSource.loadLogs(r.app_id,t,i,0,r.request_count),r.rpcService.lastRegexLogs.length=e.count)}))}queryRegexLogs(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getRegexLogsCount(this.app_id,e,t)}pageChanged(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.regexLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}getDate(e){return this.rpcService.getDateString(e)}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-logs"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Jf,!0),2&e&&n.zc(i=n.kc())&&(t.paginator=i.first)},decls:51,vars:17,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageIndex","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-form-field"),n.Wb(3,"mat-select",1),n.dc(4,SC),n.jc("ngModelChange",(function(e){return t.app_id=e})),n.Ic(5,DC,2,2,"mat-option",2),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",3),n.dc(8,kC),n.jc("ngModelChange",(function(e){return t.start_date=e})),n.Vb(),n.Rb(9,"mat-datepicker-toggle",4),n.Rb(10,"mat-datepicker",null,5),n.Vb(),n.Wb(12,"mat-form-field"),n.Wb(13,"input",3),n.dc(14,xC),n.jc("ngModelChange",(function(e){return t.end_date=e})),n.Vb(),n.Rb(15,"mat-datepicker-toggle",4),n.Rb(16,"mat-datepicker",null,6),n.Vb(),n.Wb(18,"button",7),n.jc("click",(function(){return t.queryRegexLogs()})),n.bc(19,MC),n.Vb(),n.Vb(),n.Wb(20,"div",8),n.Wb(21,"mat-table",9,10),n.Ub(23,11),n.Ic(24,LC,2,0,"mat-header-cell",12),n.Ic(25,TC,3,2,"mat-cell",13),n.Tb(),n.Ub(26,14),n.Ic(27,EC,2,0,"mat-header-cell",12),n.Ic(28,AC,2,1,"mat-cell",13),n.Tb(),n.Ub(29,15),n.Ic(30,OC,2,0,"mat-header-cell",12),n.Ic(31,PC,2,1,"mat-cell",13),n.Tb(),n.Ub(32,16),n.Ic(33,IC,2,0,"mat-header-cell",12),n.Ic(34,RC,2,1,"mat-cell",13),n.Tb(),n.Ub(35,17),n.Ic(36,jC,2,0,"mat-header-cell",12),n.Ic(37,YC,2,1,"mat-cell",13),n.Tb(),n.Ub(38,18),n.Ic(39,VC,2,0,"mat-header-cell",12),n.Ic(40,WC,2,1,"mat-cell",13),n.Tb(),n.Ub(41,19),n.Ic(42,FC,2,0,"mat-header-cell",12),n.Ic(43,HC,2,1,"mat-cell",13),n.Tb(),n.Ub(44,20),n.Ic(45,BC,2,0,"mat-header-cell",12),n.Ic(46,zC,2,1,"mat-cell",13),n.Tb(),n.Ic(47,NC,1,0,"mat-header-row",21),n.Ic(48,UC,1,0,"mat-row",22),n.Vb(),n.Wb(49,"mat-paginator",23,24),n.jc("page",(function(){return t.pageChanged()})),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.Ac(11),i=n.Ac(17);n.Cb(3),n.sc("ngModel",t.app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(2),n.sc("ngModel",t.start_date)("matDatepicker",e),n.Cb(2),n.sc("for",e),n.Cb(4),n.sc("ngModel",t.end_date)("matDatepicker",i),n.Cb(2),n.sc("for",i),n.Cb(6),n.sc("dataSource",t.regexLogDataSource),n.Cb(26),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.pageLength)("pageSize",20)("pageIndex",t.pageIndex)("pageSizeOptions",n.wc(16,qC))("showFirstLastButtons",!0)}},directives:[Mu,gf,st,ci,A,Bu,Qe,yC,wC,wu,mC,Nd,cd,pd,hd,dd,gd,vd,Jf,td,_d,bd,ka,Cd,kd],styles:[""]}),e})();class JC{constructor(e){this.rpcService=e,this.logsSubject=new cn([]),this.loadingSubject=new cn(!1),this.loading$=this.loadingSubject.asObservable()}connect(e){return this.logsSubject.asObservable()}disconnect(e){this.logsSubject.complete(),this.loadingSubject.complete()}loadLogs(e,t,i,n=0,r){this.loadingSubject.next(!0);var s=this;this.rpcService.getResponseByCustomBody({action:"get_regex_logs",app_id:e,start_time:t,end_time:i,request_count:r,offset:n*r},(function(r){null!=r&&(s.logsSubject.next(r),s.rpcService.lastRegexLogs.app_id=e,s.rpcService.lastRegexLogs.start_date=new Date(1e3*t),s.rpcService.lastRegexLogs.end_date=new Date(1e3*(i-1)),s.rpcService.lastRegexLogs.page_index=n,s.rpcService.lastRegexLogs.regex_logs=r)}))}loadLast(){this.logsSubject.next(this.rpcService.lastRegexLogs.regex_logs)}}var KC,GC;function ZC(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,KC),n.Vb(),n.Wb(4,"mat-form-field"),n.Rb(5,"input",2),n.Vb(),n.Wb(6,"mat-form-field"),n.Rb(7,"input",3),n.Vb(),n.Wb(8,"mat-form-field"),n.Rb(9,"input",4),n.Vb(),n.Wb(10,"mat-form-field"),n.Rb(11,"input",5),n.Vb(),n.Wb(12,"mat-form-field"),n.Rb(13,"input",6),n.Vb(),n.Wb(14,"mat-form-field"),n.Rb(15,"input",7),n.Vb(),n.Wb(16,"mat-form-field"),n.Rb(17,"input",8),n.Vb(),n.Wb(18,"mat-form-field"),n.Rb(19,"textarea",9),n.Vb(),n.Wb(20,"mat-form-field"),n.Rb(21,"input",10),n.Vb(),n.Wb(22,"mat-form-field"),n.Rb(23,"textarea",11),n.Vb(),n.Wb(24,"mat-form-field"),n.Rb(25,"input",12),n.Vb(),n.Wb(26,"section"),n.Wb(27,"label"),n.Jc(28,"Policy"),n.Vb(),n.Wb(29,"a",13),n.Jc(30),n.Vb(),n.Vb(),n.Rb(31,"section"),n.Rb(32,"div"),n.Wb(33,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().goBack()})),n.bc(34,GC),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.sc("value",e.getDate(e.log.request_time)),n.Cb(2),n.sc("value",e.log.client_ip),n.Cb(2),n.sc("value",e.log.host),n.Cb(2),n.sc("value",e.log.method),n.Cb(2),n.sc("value",e.log.url_path),n.Cb(2),n.sc("value",e.log.url_query),n.Cb(2),n.sc("value",e.log.content_type),n.Cb(2),n.sc("value",e.log.user_agent),n.Cb(2),n.sc("value",e.log.cookies),n.Cb(2),n.sc("value",e.log.raw_request),n.Cb(2),n.sc("value",e.getPolicyActionEnumString(e.log.action)),n.Cb(4),n.uc("routerLink","/policy/",e.log.policy_id,""),n.Cb(1),n.Kc(e.log.policy_id)}}KC=$localize`:@@log_details␟6fae13efb6ab03e34f34fccd5f7d443c9b8c6623␟9120384987646329152:Log Details`,GC=$localize`:@@go_back␟3e6937fdbde4da7f8c6866d56182945437e2629e␟2960246622843217026:Go Back`;let XC=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.location=r}ngOnInit(){const e=this.route.snapshot.paramMap.get("id");var t=this;this.rpcService.getResponse("get_regex_log",(function(e){null!=e&&(t.log=e)}),e)}getDate(e){return this.rpcService.getDateString(e)}goBack(){this.location.back()}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(w))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-log-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],[3,"routerLink"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&n.Ic(0,ZC,35,13,"div",0),2&e&&n.sc("ngIf",t.log)},directives:[P,Mu,Bu,ka,Nd],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();const QC=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`],eS=["placeholder",$localize`:@@begin_time␟7a80b3ae74e5b4b36f40df7c340d4368218f470c␟401349900922345298:Begin Time (00:00:00)`],tS=["placeholder",$localize`:@@end_time␟075d55ffb39ffc39d2603a64038db31cb862575a␟7277844754494375521:End Time (23:59:59)`];var iS;function nS(e,t){if(1&e&&(n.Wb(0,"mat-option",25),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function rS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function sS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",26),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/cclog/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function aS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Time "),n.Vb())}function oS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.request_time)," ")}}function cS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Client IP "),n.Vb())}function lS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.client_ip," ")}}function dS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Method "),n.Vb())}function uS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.method," ")}}function hS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Host "),n.Vb())}function fS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.host," ")}}function pS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," URL Path "),n.Vb())}function mS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.url_path," ")}}function _S(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Action "),n.Vb())}function bS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getPolicyActionEnumString(e.action)," ")}}function gS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," PolicyID "),n.Vb())}function yS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.policy_id," ")}}function vS(e,t){1&e&&n.Rb(0,"mat-header-row")}function wS(e,t){1&e&&n.Rb(0,"mat-row")}iS=$localize`:@@query_cc_logs␟b096438669f2e42694b784dfeac680f3c4ef8b8d␟1240629564821051165:Query CC Logs`;const CS=function(){return[10,20,50]};let SS=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.router=t,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action"]}ngOnInit(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.ccLogDataSource=new kS(this.rpcService),this.rpcService.lastCCLogs.length>0&&(this.ccLogDataSource.loadLast(),this.app_id=this.rpcService.lastCCLogs.app_id,this.start_date=this.rpcService.lastCCLogs.start_date,this.end_date=this.rpcService.lastCCLogs.end_date,this.paginator.length=this.rpcService.lastCCLogs.length,this.paginator.pageIndex=this.rpcService.lastCCLogs.page_index)}else this.router.navigate(["/"])}getCCLogsCount(e,t,i){let n={action:"get_cc_logs_count",app_id:e,start_time:t,end_time:i};var r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(n,(function(e){null!=e&&(r.paginator.length=e.count,r.ccLogDataSource.loadLogs(r.app_id,t,i,0,r.request_count),r.rpcService.lastCCLogs.length=e.count)}))}queryCCLogs(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getCCLogsCount(this.app_id,e,t)}pageChanged(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.ccLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}getDate(e){return this.rpcService.getDateString(e)}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-cclogs"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Jf,!0),2&e&&n.zc(i=n.kc())&&(t.paginator=i.first)},decls:51,vars:15,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-form-field"),n.Wb(3,"mat-select",1),n.dc(4,QC),n.jc("ngModelChange",(function(e){return t.app_id=e})),n.Ic(5,nS,2,2,"mat-option",2),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",3),n.dc(8,eS),n.jc("ngModelChange",(function(e){return t.start_date=e})),n.Vb(),n.Rb(9,"mat-datepicker-toggle",4),n.Rb(10,"mat-datepicker",null,5),n.Vb(),n.Wb(12,"mat-form-field"),n.Wb(13,"input",3),n.dc(14,tS),n.jc("ngModelChange",(function(e){return t.end_date=e})),n.Vb(),n.Rb(15,"mat-datepicker-toggle",4),n.Rb(16,"mat-datepicker",null,6),n.Vb(),n.Wb(18,"button",7),n.jc("click",(function(){return t.queryCCLogs()})),n.bc(19,iS),n.Vb(),n.Vb(),n.Wb(20,"div",8),n.Wb(21,"mat-table",9,10),n.Ub(23,11),n.Ic(24,rS,2,0,"mat-header-cell",12),n.Ic(25,sS,3,2,"mat-cell",13),n.Tb(),n.Ub(26,14),n.Ic(27,aS,2,0,"mat-header-cell",12),n.Ic(28,oS,2,1,"mat-cell",13),n.Tb(),n.Ub(29,15),n.Ic(30,cS,2,0,"mat-header-cell",12),n.Ic(31,lS,2,1,"mat-cell",13),n.Tb(),n.Ub(32,16),n.Ic(33,dS,2,0,"mat-header-cell",12),n.Ic(34,uS,2,1,"mat-cell",13),n.Tb(),n.Ub(35,17),n.Ic(36,hS,2,0,"mat-header-cell",12),n.Ic(37,fS,2,1,"mat-cell",13),n.Tb(),n.Ub(38,18),n.Ic(39,pS,2,0,"mat-header-cell",12),n.Ic(40,mS,2,1,"mat-cell",13),n.Tb(),n.Ub(41,19),n.Ic(42,_S,2,0,"mat-header-cell",12),n.Ic(43,bS,2,1,"mat-cell",13),n.Tb(),n.Ub(44,20),n.Ic(45,gS,2,0,"mat-header-cell",12),n.Ic(46,yS,2,1,"mat-cell",13),n.Tb(),n.Ic(47,vS,1,0,"mat-header-row",21),n.Ic(48,wS,1,0,"mat-row",22),n.Vb(),n.Wb(49,"mat-paginator",23,24),n.jc("page",(function(){return t.pageChanged()})),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.Ac(11),i=n.Ac(17);n.Cb(3),n.sc("ngModel",t.app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(2),n.sc("ngModel",t.start_date)("matDatepicker",e),n.Cb(2),n.sc("for",e),n.Cb(4),n.sc("ngModel",t.end_date)("matDatepicker",i),n.Cb(2),n.sc("for",i),n.Cb(6),n.sc("dataSource",t.ccLogDataSource),n.Cb(26),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("pageSize",20)("pageSizeOptions",n.wc(14,CS))("showFirstLastButtons",!0)}},directives:[Mu,gf,st,ci,A,Bu,Qe,yC,wC,wu,mC,Nd,cd,pd,hd,dd,gd,vd,Jf,td,_d,bd,ka,Cd,kd],styles:[""]}),e})();class kS{constructor(e){this.rpcService=e,this.logsSubject=new cn([]),this.loadingSubject=new cn(!1),this.loading$=this.loadingSubject.asObservable()}connect(e){return this.logsSubject.asObservable()}disconnect(e){this.logsSubject.complete(),this.loadingSubject.complete()}loadLogs(e,t,i,n=0,r){this.loadingSubject.next(!0);var s=this;this.rpcService.getResponseByCustomBody({action:"get_cc_logs",app_id:e,start_time:t,end_time:i,request_count:r,offset:n*r},(function(r){null!=r&&(s.logsSubject.next(r),s.rpcService.lastCCLogs.app_id=e,s.rpcService.lastCCLogs.start_date=new Date(1e3*t),s.rpcService.lastCCLogs.end_date=new Date(1e3*(i-1)),s.rpcService.lastCCLogs.page_index=n,s.rpcService.lastCCLogs.cc_logs=r)}))}loadLast(){this.logsSubject.next(this.rpcService.lastCCLogs.cc_logs)}}var xS,MS;function DS(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,xS),n.Vb(),n.Wb(4,"mat-form-field"),n.Rb(5,"input",2),n.Vb(),n.Wb(6,"mat-form-field"),n.Rb(7,"input",3),n.Vb(),n.Wb(8,"mat-form-field"),n.Rb(9,"input",4),n.Vb(),n.Wb(10,"mat-form-field"),n.Rb(11,"input",5),n.Vb(),n.Wb(12,"mat-form-field"),n.Rb(13,"input",6),n.Vb(),n.Wb(14,"mat-form-field"),n.Rb(15,"input",7),n.Vb(),n.Wb(16,"mat-form-field"),n.Rb(17,"input",8),n.Vb(),n.Wb(18,"mat-form-field"),n.Rb(19,"textarea",9),n.Vb(),n.Wb(20,"mat-form-field"),n.Rb(21,"input",10),n.Vb(),n.Wb(22,"mat-form-field"),n.Rb(23,"textarea",11),n.Vb(),n.Wb(24,"mat-form-field"),n.Rb(25,"input",12),n.Vb(),n.Rb(26,"section"),n.Rb(27,"div"),n.Wb(28,"button",13),n.jc("click",(function(){return n.Cc(e),n.nc().goBack()})),n.bc(29,MS),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.sc("value",e.getDate(e.log.request_time)),n.Cb(2),n.sc("value",e.log.client_ip),n.Cb(2),n.sc("value",e.log.host),n.Cb(2),n.sc("value",e.log.method),n.Cb(2),n.sc("value",e.log.url_path),n.Cb(2),n.sc("value",e.log.url_query),n.Cb(2),n.sc("value",e.log.content_type),n.Cb(2),n.sc("value",e.log.user_agent),n.Cb(2),n.sc("value",e.log.cookies),n.Cb(2),n.sc("value",e.log.raw_request),n.Cb(2),n.sc("value",e.getPolicyActionEnumString(e.log.action))}}xS=$localize`:@@cc_log_details␟1e017fb27295acc12ebb9688787b504cc47e8f3a␟2111462504113166168:CC Log Details`,MS=$localize`:@@go_back␟3e6937fdbde4da7f8c6866d56182945437e2629e␟2960246622843217026:Go Back`;let LS=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.location=r}ngOnInit(){const e=this.route.snapshot.paramMap.get("id");var t=this;this.rpcService.getResponse("get_cc_log",(function(e){null!=e&&(t.log=e)}),e)}getDate(e){return this.rpcService.getDateString(e)}goBack(){this.location.back()}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(w))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-cclog-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&n.Ic(0,DS,30,11,"div",0),2&e&&n.sc("ngIf",t.log)},directives:[P,Mu,Bu,Nd],styles:[".container[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace}"]}),e})();function TS(e,t){1&e&&n.qc(0)}const ES=["*"];function AS(e,t){}const OS=function(e){return{animationDuration:e}},PS=function(e,t){return{value:e,params:t}},IS=["tabBodyWrapper"],RS=["tabHeader"];function jS(e,t){}function YS(e,t){if(1&e&&n.Ic(0,jS,0,0,"ng-template",9),2&e){const e=n.nc().$implicit;n.sc("cdkPortalOutlet",e.templateLabel)}}function VS(e,t){if(1&e&&n.Jc(0),2&e){const e=n.nc().$implicit;n.Kc(e.textLabel)}}function WS(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",6),n.jc("click",(function(){n.Cc(e);const i=t.$implicit,r=t.index,s=n.nc(),a=n.Ac(1);return s._handleClick(i,a,r)})),n.Wb(1,"div",7),n.Ic(2,YS,1,1,"ng-template",8),n.Ic(3,VS,1,1,"ng-template",8),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc();n.Gb("mat-tab-label-active",r.selectedIndex==i),n.sc("id",r._getTabLabelId(i))("disabled",e.disabled)("matRippleDisabled",e.disabled||r.disableRipple),n.Db("tabIndex",r._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),n.Cb(2),n.sc("ngIf",e.templateLabel),n.Cb(1),n.sc("ngIf",!e.templateLabel)}}function FS(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-tab-body",10),n.jc("_onCentered",(function(){return n.Cc(e),n.nc()._removeTabBodyWrapperHeight()}))("_onCentering",(function(t){return n.Cc(e),n.nc()._setTabBodyWrapperHeight(t)})),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc();n.Gb("mat-tab-body-active",r.selectedIndex==i),n.sc("id",r._getTabContentId(i))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration),n.Db("aria-labelledby",r._getTabLabelId(i))}}const HS=["tabListContainer"],BS=["tabList"],zS=["nextPaginator"],NS=["previousPaginator"],US=new n.r("MatInkBarPositioner",{providedIn:"root",factory:function(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});let qS=(()=>{class e{constructor(e,t,i,n){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=i,this._animationMode=n}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),i=this._elementRef.nativeElement;i.style.left=t.left,i.style.width=t.width}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(US),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e})(),$S=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTabContent",""]]}),e})(),JS=(()=>{class e extends mh{}return e.\u0275fac=function(t){return KS(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[n.zb]}),e})();const KS=n.Zb(JS);class GS{}const ZS=ml(GS),XS=new n.r("MAT_TAB_GROUP");let QS=(()=>{class e extends ZS{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new an.a,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){e&&(this._templateLabel=e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new uh(this._explicitContent||this._implicitContent,this._viewContainerRef)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(XS,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,JS,!0),n.Fc(i,$S,!0,n.M)),2&e&&(n.zc(r=n.kc())&&(t.templateLabel=r.first),n.zc(r=n.kc())&&(t._explicitContent=r.first))},viewQuery:function(e,t){var i;1&e&&n.Gc(n.M,!0),2&e&&n.zc(i=n.kc())&&(t._implicitContent=i.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[n.zb,n.Ab()],ngContentSelectors:ES,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.Ic(0,TS,1,0,"ng-template"))},encapsulation:2}),e})();const ek={translateTab:Object(De.n)("translateTab",[Object(De.k)("center, void, left-origin-center, right-origin-center",Object(De.l)({transform:"none"})),Object(De.k)("left",Object(De.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(De.k)("right",Object(De.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(De.m)("* => left, * => right, left => center, right => center",Object(De.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(De.m)("void => left-origin-center",[Object(De.l)({transform:"translate3d(-100%, 0, 0)"}),Object(De.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(De.m)("void => right-origin-center",[Object(De.l)({transform:"translate3d(100%, 0, 0)"}),Object(De.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let tk=(()=>{class e extends _h{constructor(e,t,i,n){super(e,t,n),this._host=i,this._centeringSub=rr.a.EMPTY,this._leavingSub=rr.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Jn(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.j),n.Pb(n.P),n.Pb(Object(n.U)(()=>nk)),n.Pb(a))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTabBodyHost",""]],features:[n.zb]}),e})(),ik=(()=>{class e{constructor(e,t,i){this._elementRef=e,this._dir=t,this._dirChangeSubscription=rr.a.EMPTY,this._translateTabComplete=new an.a,this._onCentering=new n.o,this._beforeCentering=new n.o,this._afterLeavingCenter=new n.o,this._onCentered=new n.o(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(e=>{this._computePositionAnimationState(e),i.markForCheck()})),this._translateTabComplete.pipe(Xu((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Eo,8),n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e})(),nk=(()=>{class e extends ik{constructor(e,t,i){super(e,t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Eo,8),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var i;1&e&&n.Sc(bh,!0),2&e&&n.zc(i=n.kc())&&(t._portalHost=i.first)},hostAttrs:[1,"mat-tab-body"],features:[n.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(n.Wb(0,"div",0,1),n.jc("@translateTab.start",(function(e){return t._onTranslateTabStarted(e)}))("@translateTab.done",(function(e){return t._translateTabComplete.next(e)})),n.Ic(2,AS,0,0,"ng-template",2),n.Vb()),2&e&&n.sc("@translateTab",n.yc(3,PS,t._position,n.xc(1,OS,t.animationDuration)))},directives:[tk],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[ek.translateTab]}}),e})();const rk=new n.r("MAT_TABS_CONFIG");let sk=0;class ak{}class ok{constructor(e){this._elementRef=e}}const ck=_l(bl(ok),"primary");let lk=(()=>{class e extends ck{constructor(e,t,i,r){super(e),this._changeDetectorRef=t,this._animationMode=r,this._tabs=new n.E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=rr.a.EMPTY,this._tabLabelSubscription=rr.a.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new n.o,this.focusChange=new n.o,this.animationDone=new n.o,this.selectedTabChange=new n.o(!0),this._groupId=sk++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=yo(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=vo(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;t||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(()=>{this._tabs.forEach((t,i)=>t.isActive=i===e),t||this.selectedIndexChange.emit(e)})}this._tabs.forEach((t,i)=>{t.position=i-e,null==this._selectedIndex||0!=t.position||t.origin||(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const e=this._tabs.toArray();for(let t=0;t{this._tabs.reset(e.filter(e=>!e._closestTabGroup||e._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new ak;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(sd.a)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,i){e.disabled||(this.selectedIndex=t.focusIndex=i)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(rk,8),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[n.zb]}),e})(),dk=(()=>{class e extends lk{constructor(e,t,i,n){super(e,t,i,n)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(rk,8),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab-group"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,QS,!0),2&e&&n.zc(r=n.kc())&&(t._allTabs=r)},viewQuery:function(e,t){var i;1&e&&(n.Sc(IS,!0),n.Sc(RS,!0)),2&e&&(n.zc(i=n.kc())&&(t._tabBodyWrapper=i.first),n.zc(i=n.kc())&&(t._tabHeader=i.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[n.Bb([{provide:XS,useExisting:e}]),n.zb],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(n.Wb(0,"mat-tab-header",0,1),n.jc("indexFocused",(function(e){return t._focusChanged(e)}))("selectFocusedIndex",(function(e){return t.selectedIndex=e})),n.Ic(2,WS,4,14,"div",2),n.Vb(),n.Wb(3,"div",3,4),n.Ic(5,FS,1,8,"mat-tab-body",5),n.Vb()),2&e&&(n.sc("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),n.Cb(2),n.sc("ngForOf",t._tabs),n.Cb(1),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode),n.Cb(2),n.sc("ngForOf",t._tabs))},directives:function(){return[bk,A,fk,zl,nl,P,_h,nk]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e})();class uk{}const hk=ml(uk);let fk=(()=>{class e extends hk{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(n.Db("aria-disabled",!!t.disabled),n.Gb("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[n.zb]}),e})();const pk=Wo({passive:!0});let mk=(()=>{class e{constructor(e,t,i,r,s,a,o){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=i,this._dir=r,this._ngZone=s,this._platform=a,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new an.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new an.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new n.o,this.indexFocused=new n.o,s.runOutsideAngular(()=>{$d(e.nativeElement,"mouseleave").pipe(Ho(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=vo(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){$d(this._previousPaginator.nativeElement,"touchstart",pk).pipe(Ho(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),$d(this._nextPaginator.nativeElement,"touchstart",pk).pipe(Ho(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:vi(null),t=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Nc(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),Object(sd.a)(e,t,this._items.changes).pipe(Ho(this._destroyed)).subscribe(()=>{i(),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Ho(this._destroyed)).subscribe(e=>{this.indexFocused.emit(e),this._setTabFocus(e)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Sc(e))switch(e.keyCode){case 36:this._keyManager.setFirstItemActive(),e.preventDefault();break;case 35:this._keyManager.setLastItemActive(),e.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e);break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement,i=this._getLayoutDirection();t.scrollLeft="ltr"==i?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t=this._platform,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:r}=t.elementRef.nativeElement;let s,a;"ltr"==this._getLayoutDirection()?(s=n,a=s+r):(a=this._tabList.nativeElement.offsetWidth-n,s=a-r);const o=this.scrollDistance,c=this.scrollDistance+i;sc&&(this.scrollDistance+=a-c+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),Au(650,100).pipe(Ho(Object(sd.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:t,distance:i}=this._scrollHeader(e);(0===i||i>=t)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ah),n.Pb(Eo,8),n.Pb(n.A),n.Pb(Po),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),_k=(()=>{class e extends mk{constructor(e,t,i,n,r,s,a){super(e,t,i,n,r,s,a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=yo(e)}_itemSelected(e){e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ah),n.Pb(Eo,8),n.Pb(n.A),n.Pb(Po),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,inputs:{disableRipple:"disableRipple"},features:[n.zb]}),e})(),bk=(()=>{class e extends _k{constructor(e,t,i,n,r,s,a){super(e,t,i,n,r,s,a)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ah),n.Pb(Eo,8),n.Pb(n.A),n.Pb(Po),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,fk,!1),2&e&&n.zc(r=n.kc())&&(t._items=r)},viewQuery:function(e,t){var i;1&e&&(n.Gc(qS,!0),n.Gc(HS,!0),n.Gc(BS,!0),n.Sc(zS,!0),n.Sc(NS,!0)),2&e&&(n.zc(i=n.kc())&&(t._inkBar=i.first),n.zc(i=n.kc())&&(t._tabListContainer=i.first),n.zc(i=n.kc())&&(t._tabList=i.first),n.zc(i=n.kc())&&(t._nextPaginator=i.first),n.zc(i=n.kc())&&(t._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[n.zb],ngContentSelectors:ES,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0,1),n.jc("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),n.Rb(2,"div",2),n.Vb(),n.Wb(3,"div",3,4),n.jc("keydown",(function(e){return t._handleKeydown(e)})),n.Wb(5,"div",5,6),n.jc("cdkObserveContent",(function(){return t._onContentChanges()})),n.Wb(7,"div",7),n.qc(8),n.Vb(),n.Rb(9,"mat-ink-bar"),n.Vb(),n.Vb(),n.Wb(10,"div",8,9),n.jc("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),n.Rb(12,"div",2),n.Vb()),2&e&&(n.Gb("mat-tab-header-pagination-disabled",t._disableScrollBefore),n.sc("matRippleDisabled",t._disableScrollBefore||t.disableRipple),n.Cb(5),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode),n.Cb(5),n.Gb("mat-tab-header-pagination-disabled",t._disableScrollAfter),n.sc("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[zl,Rc,qS],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e})(),gk=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl,yh,Nl,jc,al],pl]}),e})();const yk=["label",$localize`:@@security_auth␟ed72606056198896f46c65d0dbbe854d04f3de47␟8966698274727122602:Authentication`];var vk,wk;vk=$localize`:@@authenticator_enabled␟37790ea4efd9c7d87957a872ac4015c9eece3458␟1582371579996458286: Enable Authenticator (2-factor Authentication) for Gateway Management `,wk=$localize`:@@auth_enabled␟ba614120ed4b34e656777738ecda68c641d7e284␟8157486757764332727: Enable Single Sign On Authentication for Applications `;const Ck=["placeholder",$localize`:@@auth_provider␟6f02b16e074b7342981c93fcbd0c96c001c9db21␟7732709167286392666:Authentication Provider`];var Sk;Sk=$localize`:@@auth_provider_note␟cf568461d1b7c6c9da68460df401154c0694be15␟6013422074948837968: Note: Janusec on replica nodes need to be restarted if authentication provider changed. `;const kk=["label",$localize`:@@access_control␟5c6045daf544bdad844619af3fdcc0565555a1dd␟3594232496989819559:Access Control`];var xk,Mk,Dk,Lk,Tk,Ek,Ak;xk=$localize`:@@seo_five_second_shield␟925698af8fe62fa69e71631c99caca4547c452c9␟342812371113703753:SEO and 5-second Shield`,Mk=$localize`:@@skip_se_enabled␟94e0d6f7b52478d2ea92597e59ea22f212f8aa4e␟943867907043347408: Allow search engines bypass 5-second shield. `,Dk=$localize`:@@search_engine_label␟421c69699ace2672ed11c3d4c5846397b5e9d16d␟8733801051348973968: Search Engines (not empty, case insensitive, seperated by | ) `,Lk=$localize`:@@five_second_shield_note␟9fb7eebdf2608f3c5ec005133f36cf2e74ea8aa4␟4223310860706491830: Note: When the 5-second shield is enabled for an application, it will affect SEO. You can set it to not block the search engines listed above (User-Agent). `,Tk=$localize`:@@security_operation␟97fddb9e33f8b9e959568d8b26e749a4f2916d32␟3154101219665998296: Security Operation `,Ek=$localize`:@@webssh_enabled␟7ab07613d328eb7ca594a2d9d9cc4cd5d22d477e␟8262421472820038708: Enable Web-based SSH `,Ak=$localize`:@@custom_block_html␟74d42545afba4fda389a9a23191f77932d684583␟8648578220720713943:Custom Block Content (HTML)`;const Ok=["label",$localize`:@@security_audit␟62f734ba974fd7e3fec3a6f4793a9696ce9e3f76␟5162040759776173662:Security Audit`],Pk=["placeholder",$localize`:@@waf_log_days␟3838d845a20449d0a8ff267219ad36ee1397ad79␟2485014493910251443:WAF Log Days`],Ik=["placeholder",$localize`:@@cc_log_days␟2c213ab954959907e9a82eda40149065588ea58c␟8985708287306942071:CC Log Days`],Rk=["placeholder",$localize`:@@access_log_days␟8d0d70a0a748128d3b08b8518e0a8e4fd1522844␟607882647415630545:Access Log Days`],jk=["label",$localize`:@@data_discovery␟b5e5fe40e652b17ba42055c924c59227e7013f5c␟4813722285684291098:Data Discovery`];var Yk,Vk,Wk,Fk;Yk=$localize`:@@enable_json_data_discovery␟dc509034970937d260591d54e23b5865310a1283␟6050811728770475351: Enable JSON Data Discovery (Only for WAF-enabled applications) `,Vk=$localize`:@@api_key␟258c041e93862316871096965e2d70579282fb1a␟8517109745758603034:API Key`,Wk=$localize`:@@manage_discovery_rules␟f230157c7e25dba7cac3563351337a5480971d3a␟4222471587241201690:Manage Discovery Rules`,Fk=$localize`:@@data_discovery_note␟663d8f4bd538c1248a3a7a3dcc43e0a2d24c6d02␟4902964772601694392: Note: Data discovery function module is integrated with JANUCAT (Compliance, Accountability and Transparency). `;const Hk=["label",$localize`:@@email_notification␟4cebe31487853c9ec37b37605422941d9a343925␟3874237384974489918:Email Notification`];var Bk,zk,Nk,Uk,qk,$k,Jk;Bk=$localize`:@@smtp_enabled␟4b0532a01c00ac2710f8a6d6e22c5d210445ec4b␟8104588569335395033: Enable SMTP Notification (certificate expire, server offline etc.) `,zk=$localize`:@@smtp_server␟905882c0fe09eee755ee6730ecf10e3b85cb6d9c␟2188854519574316630:Server`,Nk=$localize`:@@smtp_port␟b11ead88a8deb9cc9e1b8ba2decfaebf9eeeef2e␟1380824593217409510:Port (25, 587, 465)`,Uk=$localize`:@@smtp_account␟4f711ab3889d50858db6b500b8f2106cb0611ab1␟5193620171962741987:Account (Sender's Email)`,qk=$localize`:@@smtp_password␟8823373206ad3bce7b3139e2f6ad18c7ae5dd821␟4336953366599045226:Password (Access Token)`,$k=$localize`:@@test_smtp␟68293cafb4cb89cbb236befb5a2836f4166df415␟6547422491485399366:Test SMTP`,Jk=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`;const Kk=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function Gk(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,Kk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.display_name)("readonly",e.readOnlyValue)}}const Zk=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function Xk(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,Zk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.callback)("readonly",e.readOnlyValue)}}function Qk(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.corpid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.corpid)("readonly",e.readOnlyValue)}}function ex(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",24),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.agentid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.agentid)("readonly",e.readOnlyValue)}}function tx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",25),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.corpsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.corpsecret)("readonly",e.readOnlyValue)}}const ix=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function nx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,ix),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.display_name)("readonly",e.readOnlyValue)}}const rx=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function sx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,rx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.callback)("readonly",e.readOnlyValue)}}function ax(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",26),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.appid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.appid)("readonly",e.readOnlyValue)}}function ox(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",27),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.appsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.appsecret)("readonly",e.readOnlyValue)}}const cx=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function lx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,cx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.display_name)("readonly",e.readOnlyValue)}}const dx=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function ux(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,dx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.callback)("readonly",e.readOnlyValue)}}function hx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",26),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.appid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.appid)("readonly",e.readOnlyValue)}}function fx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",27),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.appsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.appsecret)("readonly",e.readOnlyValue)}}const px=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function mx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,px),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.display_name)("readonly",e.readOnlyValue)}}const _x=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function bx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,_x),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.callback)("readonly",e.readOnlyValue)}}function gx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",26),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.appid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.appid)("readonly",e.readOnlyValue)}}function yx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",27),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.appsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.appsecret)("readonly",e.readOnlyValue)}}const vx=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function wx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,vx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.display_name)("readonly",e.readOnlyValue)}}function Cx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",28),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.entrance=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.entrance)("readonly",e.readOnlyValue)}}function Sx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",29),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.address=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.address)("readonly",e.readOnlyValue)}}function kx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",30),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.dn=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.dn)("readonly",e.readOnlyValue)}}var xx,Mx,Dx;function Lx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.bind_required=t})),n.bc(2,xx),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.bind_required)("disabled",e.readOnlyValue)}}function Tx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",31),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.base_dn=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.base_dn)("readonly",e.readOnlyValue)}}function Ex(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"mat-label"),n.Jc(2,"Bind Username"),n.Vb(),n.Wb(3,"input",32),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.bind_username=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(3),n.sc("ngModel",e.ldapConfig.bind_username)("readonly",e.readOnlyValue)}}function Ax(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"mat-label"),n.Jc(2,"Bind Password"),n.Vb(),n.Wb(3,"input",33),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.bind_password=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(3),n.sc("ngModel",e.ldapConfig.bind_password)("readonly",e.readOnlyValue)}}function Ox(e,t){1&e&&n.Rb(0,"mat-divider")}function Px(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.using_tls=t})),n.bc(2,Mx),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.using_tls)("disabled",e.readOnlyValue)}}function Ix(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.authenticator_enabled=t})),n.bc(2,Dx),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.authenticator_enabled)("disabled",e.readOnlyValue)}}xx=$localize`:@@bind_required␟36618dd9897fd792847976ff329e12f78dba3d52␟8177872427518750679: BindDN required (for Active Directory) `,Mx=$localize`:@@using_tls␟58e061b8f08210a594c451b4bbe12a91e501354d␟3436250795514999249: Using TLS Encryption `,Dx=$localize`:@@enable_authenticator␟a25c22ba34edd2156be5bae1588f221819070ea7␟358761306182775508: Enable Authenticator `;const Rx=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function jx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,Rx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).cas2Config.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.cas2Config.display_name)("readonly",e.readOnlyValue)}}function Yx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",28),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).cas2Config.entrance=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.cas2Config.entrance)("readonly",e.readOnlyValue)}}const Vx=["placeholder",$localize`:@@callback␟241d2d966382d34746dab5ea75bac39b86cbc376␟8861286084756285841:callback`];function Wx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",22),n.dc(2,Vx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).cas2Config.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.cas2Config.callback)("readonly",e.readOnlyValue)}}function Fx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"mat-tab-group"),n.Wb(2,"mat-tab",1),n.dc(3,yk),n.Wb(4,"div",2),n.Wb(5,"section"),n.Wb(6,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.authenticator_enabled=t})),n.bc(7,vk),n.Vb(),n.Vb(),n.Wb(8,"section"),n.Wb(9,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.auth_enabled=t})),n.bc(10,wk),n.Vb(),n.Vb(),n.Rb(11,"br"),n.Wb(12,"mat-form-field"),n.Wb(13,"mat-select",4),n.dc(14,Ck),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.auth_provider=t}))("selectionChange",(function(){n.Cc(e);const t=n.nc();return t.loadAuthProvider(t.settings.auth_provider)})),n.Wb(15,"mat-option",5),n.Jc(16,"WxWork\uff08\u4f01\u4e1a\u5fae\u4fe1\u626b\u7801\uff09"),n.Vb(),n.Wb(17,"mat-option",6),n.Jc(18,"DingTalk\uff08\u9489\u9489\u626b\u7801\uff09"),n.Vb(),n.Wb(19,"mat-option",7),n.Jc(20,"Feishu\uff08\u98de\u4e66\u626b\u7801\uff09"),n.Vb(),n.Wb(21,"mat-option",8),n.Jc(22,"Lark\uff08Lark\u626b\u7801\uff09"),n.Vb(),n.Wb(23,"mat-option",9),n.Jc(24,"LDAP"),n.Vb(),n.Wb(25,"mat-option",10),n.Jc(26,"CAS 2.0 Protocol"),n.Vb(),n.Vb(),n.Vb(),n.Ic(27,Gk,3,2,"mat-form-field",0),n.Ic(28,Xk,3,2,"mat-form-field",0),n.Ic(29,Qk,2,2,"mat-form-field",0),n.Ic(30,ex,2,2,"mat-form-field",0),n.Ic(31,tx,2,2,"mat-form-field",0),n.Ic(32,nx,3,2,"mat-form-field",0),n.Ic(33,sx,3,2,"mat-form-field",0),n.Ic(34,ax,2,2,"mat-form-field",0),n.Ic(35,ox,2,2,"mat-form-field",0),n.Ic(36,lx,3,2,"mat-form-field",0),n.Ic(37,ux,3,2,"mat-form-field",0),n.Ic(38,hx,2,2,"mat-form-field",0),n.Ic(39,fx,2,2,"mat-form-field",0),n.Ic(40,mx,3,2,"mat-form-field",0),n.Ic(41,bx,3,2,"mat-form-field",0),n.Ic(42,gx,2,2,"mat-form-field",0),n.Ic(43,yx,2,2,"mat-form-field",0),n.Ic(44,wx,3,2,"mat-form-field",0),n.Ic(45,Cx,2,2,"mat-form-field",0),n.Ic(46,Sx,2,2,"mat-form-field",0),n.Ic(47,kx,2,2,"mat-form-field",0),n.Ic(48,Lx,3,2,"section",0),n.Ic(49,Tx,2,2,"mat-form-field",0),n.Ic(50,Ex,4,2,"mat-form-field",0),n.Ic(51,Ax,4,2,"mat-form-field",0),n.Ic(52,Ox,1,0,"mat-divider",0),n.Ic(53,Px,3,2,"section",0),n.Ic(54,Ix,3,2,"section",0),n.Ic(55,jx,3,2,"mat-form-field",0),n.Ic(56,Yx,2,2,"mat-form-field",0),n.Ic(57,Wx,3,2,"mat-form-field",0),n.Rb(58,"br"),n.Rb(59,"mat-divider"),n.Wb(60,"div",11),n.bc(61,Sk),n.Vb(),n.Vb(),n.Vb(),n.Wb(62,"mat-tab",1),n.dc(63,kk),n.Wb(64,"div",2),n.Wb(65,"h2"),n.bc(66,xk),n.Vb(),n.Wb(67,"section"),n.Wb(68,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.skip_se_enabled=t})),n.bc(69,Mk),n.Vb(),n.Vb(),n.Rb(70,"br"),n.Wb(71,"mat-form-field"),n.Wb(72,"mat-label"),n.bc(73,Dk),n.Vb(),n.Wb(74,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.search_engines=t})),n.Vb(),n.Wb(75,"mat-hint"),n.bc(76,Lk),n.Vb(),n.Vb(),n.Vb(),n.Wb(77,"div",2),n.Wb(78,"h2"),n.bc(79,Tk),n.Vb(),n.Wb(80,"section"),n.Wb(81,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.webssh_enabled=t})),n.bc(82,Ek),n.Vb(),n.Vb(),n.Vb(),n.Wb(83,"div",2),n.Wb(84,"h2"),n.bc(85,Ak),n.Vb(),n.Wb(86,"mat-form-field"),n.Wb(87,"textarea",13,14),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.block_html=t})),n.Jc(89," "),n.Vb(),n.Wb(90,"mat-hint",15),n.Jc(91),n.Vb(),n.Vb(),n.Ub(92),n.Qb(),n.Wb(93,"div",11),n.Jc(94," Built-in variables: "),n.Wb(95,"ul"),n.Wb(96,"li"),n.Jc(97," {{ .PolicyID }} : the id of WAF policy/rule."),n.Vb(),n.Wb(98,"li"),n.Jc(99," {{ .VulnName }} : the vulnerability name. "),n.Vb(),n.Vb(),n.Vb(),n.Xb(),n.Tb(),n.Vb(),n.Vb(),n.Wb(100,"mat-tab",1),n.dc(101,Ok),n.Wb(102,"div",2),n.Wb(103,"mat-form-field"),n.Wb(104,"input",16),n.dc(105,Pk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.waf_log_days=t})),n.Vb(),n.Vb(),n.Wb(106,"mat-form-field"),n.Wb(107,"input",16),n.dc(108,Ik),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.cc_log_days=t})),n.Vb(),n.Vb(),n.Wb(109,"mat-form-field"),n.Wb(110,"input",16),n.dc(111,Rk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.access_log_days=t})),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(112,"mat-tab",1),n.dc(113,jk),n.Wb(114,"div",2),n.Wb(115,"section"),n.Wb(116,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_enabled=t})),n.bc(117,Yk),n.Vb(),n.Vb(),n.Wb(118,"mat-form-field"),n.Wb(119,"mat-label"),n.Jc(120,"API"),n.Vb(),n.Wb(121,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_api=t})),n.Vb(),n.Vb(),n.Wb(122,"mat-form-field"),n.Wb(123,"mat-label"),n.Jc(124,"Tenant ID"),n.Vb(),n.Wb(125,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_tenant_id=t})),n.Vb(),n.Vb(),n.Wb(126,"mat-form-field"),n.Wb(127,"mat-label"),n.bc(128,Vk),n.Vb(),n.Wb(129,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_key=t})),n.Vb(),n.Vb(),n.Wb(130,"section"),n.Wb(131,"a",17),n.bc(132,Wk),n.Vb(),n.Vb(),n.Rb(133,"br"),n.Rb(134,"mat-divider"),n.Wb(135,"div",11),n.bc(136,Fk),n.Vb(),n.Vb(),n.Vb(),n.Wb(137,"mat-tab",1),n.dc(138,Hk),n.Wb(139,"div",2),n.Wb(140,"section"),n.Wb(141,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_enabled=t})),n.bc(142,Bk),n.Vb(),n.Vb(),n.Wb(143,"mat-form-field"),n.Wb(144,"mat-label"),n.bc(145,zk),n.Vb(),n.Wb(146,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_server=t})),n.Vb(),n.Vb(),n.Wb(147,"mat-form-field"),n.Wb(148,"mat-label"),n.bc(149,Nk),n.Vb(),n.Wb(150,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_port=t})),n.Vb(),n.Vb(),n.Wb(151,"mat-form-field"),n.Wb(152,"mat-label"),n.bc(153,Uk),n.Vb(),n.Wb(154,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_account=t})),n.Vb(),n.Vb(),n.Wb(155,"mat-form-field"),n.Wb(156,"mat-label"),n.bc(157,qk),n.Vb(),n.Wb(158,"input",18),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_password=t})),n.Vb(),n.Vb(),n.Wb(159,"section"),n.Wb(160,"button",19),n.jc("click",(function(){return n.Cc(e),n.nc().testSMTP()})),n.bc(161,$k),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(162,"div",2),n.Wb(163,"section"),n.Wb(164,"button",20),n.jc("click",(function(){return n.Cc(e),n.nc().saveSettings()})),n.bc(165,Jk),n.Vb(),n.Wb(166,"button",21),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(167),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(88),t=n.nc();n.Cb(6),n.sc("ngModel",t.settings.authenticator_enabled)("disabled",t.readOnlyValue),n.Cb(3),n.sc("ngModel",t.settings.auth_enabled)("disabled",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.settings.auth_provider)("disabled",t.readOnlyValue),n.Cb(14),n.sc("ngIf","wxwork"==t.settings.auth_provider&&t.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==t.settings.auth_provider&&t.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==t.settings.auth_provider&&t.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==t.settings.auth_provider&&t.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==t.settings.auth_provider&&t.wxworkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==t.settings.auth_provider&&t.dingtalkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==t.settings.auth_provider&&t.dingtalkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==t.settings.auth_provider&&t.dingtalkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==t.settings.auth_provider&&t.dingtalkConfig),n.Cb(1),n.sc("ngIf","feishu"==t.settings.auth_provider&&t.feishuConfig),n.Cb(1),n.sc("ngIf","feishu"==t.settings.auth_provider&&t.feishuConfig),n.Cb(1),n.sc("ngIf","feishu"==t.settings.auth_provider&&t.feishuConfig),n.Cb(1),n.sc("ngIf","feishu"==t.settings.auth_provider&&t.feishuConfig),n.Cb(1),n.sc("ngIf","lark"==t.settings.auth_provider&&t.larkConfig),n.Cb(1),n.sc("ngIf","lark"==t.settings.auth_provider&&t.larkConfig),n.Cb(1),n.sc("ngIf","lark"==t.settings.auth_provider&&t.larkConfig),n.Cb(1),n.sc("ngIf","lark"==t.settings.auth_provider&&t.larkConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig&&t.ldapConfig.bind_required),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig&&t.ldapConfig.bind_required),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig&&t.ldapConfig.bind_required),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==t.settings.auth_provider&&t.ldapConfig),n.Cb(1),n.sc("ngIf","cas2"==t.settings.auth_provider&&t.cas2Config),n.Cb(1),n.sc("ngIf","cas2"==t.settings.auth_provider&&t.cas2Config),n.Cb(1),n.sc("ngIf","cas2"==t.settings.auth_provider&&t.cas2Config),n.Cb(11),n.sc("ngModel",t.settings.skip_se_enabled)("disabled",t.readOnlyValue),n.Cb(6),n.sc("ngModel",t.settings.search_engines)("readonly",t.readOnlyValue),n.Cb(7),n.sc("ngModel",t.settings.webssh_enabled)("disabled",t.readOnlyValue),n.Cb(6),n.sc("ngModel",t.settings.block_html)("readonly",t.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/4096"),n.Cb(13),n.sc("ngModel",t.settings.waf_log_days)("readonly",t.readOnlyValue),n.Cb(3),n.sc("ngModel",t.settings.cc_log_days)("readonly",t.readOnlyValue),n.Cb(3),n.sc("ngModel",t.settings.access_log_days)("readonly",t.readOnlyValue),n.Cb(6),n.sc("ngModel",t.settings.data_discovery_enabled)("disabled",t.readOnlyValue),n.Cb(5),n.sc("ngModel",t.settings.data_discovery_api)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.settings.data_discovery_tenant_id)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.settings.data_discovery_key)("readonly",t.readOnlyValue),n.Cb(12),n.sc("ngModel",t.settings.smtp.smtp_enabled)("disabled",t.readOnlyValue),n.Cb(5),n.sc("ngModel",t.settings.smtp.smtp_server)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.settings.smtp.smtp_port)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.settings.smtp.smtp_account)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.settings.smtp.smtp_password)("readonly",t.readOnlyValue),n.Cb(6),n.sc("disabled",t.readOnlyValue),n.Cb(3),n.Kc(t.readOnlyButtonText)}}let Hx=(()=>{class e{constructor(e,t){this.rpcService=e,this.messageService=t,this.readOnlyValue=!0,this.readOnlyButtonText="Edit";let i=this;this.rpcService.getResponse("get_primary_setting",(function(e){i.settings=e,i.loadAuthProvider(i.settings.auth_provider)}))}ngOnInit(){}loadAuthProvider(e){let t=this;switch(this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("get_wxwork_config",(function(e){t.wxworkConfig=e}));break;case"dingtalk":this.rpcService.getResponse("get_dingtalk_config",(function(e){t.dingtalkConfig=e}));break;case"feishu":this.rpcService.getResponse("get_feishu_config",(function(e){t.feishuConfig=e}));break;case"lark":this.rpcService.getResponse("get_lark_config",(function(e){t.larkConfig=e}));break;case"ldap":this.rpcService.getResponse("get_ldap_config",(function(e){t.ldapConfig=e}));break;case"cas2":this.rpcService.getResponse("get_cas2_config",(function(e){t.cas2Config=e}))}}saveSettings(){let e=this;switch(this.rpcService.getResponse("update_primary_setting",(function(t){e.settings=t,e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Settings saved.")}),null,this.settings),this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("update_wxwork_config",(function(t){e.wxworkConfig=t}),"0",this.wxworkConfig);break;case"dingtalk":this.rpcService.getResponse("update_dingtalk_config",(function(t){e.dingtalkConfig=t}),"0",this.dingtalkConfig);break;case"feishu":this.rpcService.getResponse("update_feishu_config",(function(t){e.feishuConfig=t}),"0",this.feishuConfig);break;case"lark":this.rpcService.getResponse("update_lark_config",(function(t){e.larkConfig=t}),"0",this.larkConfig);break;case"ldap":this.rpcService.getResponse("update_ldap_config",(function(t){e.ldapConfig=t}),"0",this.ldapConfig);break;case"cas2":this.rpcService.getResponse("update_cas2_config",(function(t){e.cas2Config=t}),"0",this.cas2Config)}}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}testSMTP(){let e=this;this.rpcService.getResponse("test_smtp",(function(){e.messageService.add("Email sent, please check your inbox. If not, check your information under user management.")}),"0",this.settings.smtp)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-settings"]],decls:1,vars:1,consts:[[4,"ngIf"],[6,"label"],[1,"container"],[3,"ngModel","disabled","ngModelChange"],[3,"ngModel","disabled","ngModelChange","selectionChange",6,"placeholder"],["value","wxwork"],["value","dingtalk"],["value","feishu"],["value","lark"],["value","ldap"],["value","cas2"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matInput","","rows","30","required","",3,"ngModel","readonly","ngModelChange"],["block_html",""],["align","end"],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["mat-stroked-button","","routerLink","/discovery-rules"],["matInput","","type","password","required","",3,"ngModel","readonly","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","corpid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","agentid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","corpsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","entrance",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","address",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","dn",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","BaseDN",3,"ngModel","readonly","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange"],["type","password","matInput","",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&n.Ic(0,Fx,168,72,"div",0),2&e&&n.sc("ngIf",t.settings)},directives:[P,dk,QS,Hm,st,ci,Mu,gf,td,Pp,gu,Bu,Qe,hi,bu,bt,Ud,ka,Nd],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{margin-left:0}']}),e})();var Bx,zx,Nx,Ux,qx,$x,Jx,Kx,Gx,Zx;Bx=$localize`:@@product_name␟dd69878b4a52722f9526a6896d270a0057f67a7b␟777814678817001056:Janusec Application Gateway`,zx=$localize`:@@product_desc␟2485fdffa30bc87a1dce48312ac9e6ee601766e3␟3856266118762267302: Janusec Application Gateway, a Golang based application security solution which provides WAF (Web Application Firewall), CC attack defense, LDAP and OAuth2 Authentication, unified web administration portal, private key protection, web routing and scalable load balancing. `,Nx=$localize`:@@feature_title␟6c9acac01658fd0c91f25bd4fbe0106ff30d4f9d␟5882086698205675997: Features of Janusec Application Gateway `,Ux=$localize`:@@feature_waf␟b90eb92766b2a7e71d8d02fd8959677c17decebc␟2580428788447058936:WAF (Web Application Firewall) and CC denfense`,qx=$localize`:@@feature_full_site_https␟7b0df9ccfb872f1f45a092776ce5fb9795fe8b0f␟7023757491218403743:Full Site HTTPS: Certificate Management, and Encryption of Private Key`,$x=$localize`:@@feature_oauth␟3329b2759f77ae6be071e913f7369722da3f4390␟8436038435583012574:Authentication: LDAP, CAS2, WxWork, DingTalk, Feishu, Lark`,Jx=$localize`:@@support␟b081eb2b01cad6cb19318dcca5509ccca4edac2d␟4611971993576521428: Support `,Kx=$localize`:@@official_site␟a1a16c0655a2532346be77d5581e842c01df8d2a␟8585481223049876955:Official Site`,Gx=$localize`:@@source_code␟76b8339d5b6a70b6871600727ac3a9510e59d26f␟4352526755847379280:Source Code`,Zx=$localize`:@@user_agreement␟73546446e442c1b3861297089d5436ee268b4866␟2785927571630251176:User Agreement`;let Xx=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.messageService=t,this.router=i}ngOnInit(){let e=this;this.rpcService.getAuthUser((function(t){if(t.logged)return t.need_modify_pwd?(e.messageService.add("Please modify your password before next step!"),void e.router.navigate(["/appuser/"+t.user_id])):void e.rpcService.getResponse("get_license",(function(t){if(e.rpcService.license=t,null!=t&&"Trial"==t.edition){let i=e.getDate(t.expire_time);e.messageService.add("This is a trial edition, and will expire at "+i+". Limitation: max number of users: "+t.max_users_count+", max number of applications: "+t.max_apps_count+", max concurrency: "+t.max_concurrency)}}));e.router.navigate(["/login"])})),setTimeout(()=>{0==this.rpcService.auth_user.logged&&this.router.navigate(["/login"])},500)}getDate(e){return this.rpcService.getDateString(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-frontpage"]],decls:51,vars:0,consts:[[1,"container"],[1,"card-content"],["mat-card-image","","src","/janusec-admin/assets/images/gateway.png",1,"card-image"],["mat-card-avatar",""],["mat-list-item","","href","https://www.janusec.com/","target","_blank"],["mat-list-item","","href","https://janusec.github.io/","target","_blank"],["mat-list-item","","href","https://doc.janusec.com/cn/","target","_blank"],["mat-list-item","","href","https://github.com/Janusec/janusec","target","_blank"],["mat-list-item","","href","https://janusec.github.io/documentation/user-agreement/","target","_blank"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"mat-card"),n.Wb(2,"h2"),n.bc(3,Bx),n.Vb(),n.Vb(),n.Wb(4,"mat-card"),n.Wb(5,"mat-card-content",1),n.Rb(6,"img",2),n.Wb(7,"p"),n.bc(8,zx),n.Vb(),n.Vb(),n.Vb(),n.Wb(9,"mat-card"),n.Wb(10,"mat-card-header"),n.Wb(11,"mat-card-title"),n.bc(12,Nx),n.Vb(),n.Vb(),n.Wb(13,"mat-card-content"),n.Wb(14,"mat-list"),n.Wb(15,"mat-list-item"),n.Wb(16,"mat-icon",3),n.Jc(17,"done"),n.Vb(),n.Wb(18,"span"),n.Jc(19,"HTTP, HTTPS, HTTP2, Web Socket, TCP, UDP"),n.Vb(),n.Vb(),n.Wb(20,"mat-list-item"),n.Wb(21,"mat-icon",3),n.Jc(22,"done"),n.Vb(),n.Wb(23,"span"),n.bc(24,Ux),n.Vb(),n.Vb(),n.Wb(25,"mat-list-item"),n.Wb(26,"mat-icon",3),n.Jc(27,"done"),n.Vb(),n.Wb(28,"span"),n.bc(29,qx),n.Vb(),n.Vb(),n.Wb(30,"mat-list-item"),n.Wb(31,"mat-icon",3),n.Jc(32,"done"),n.Vb(),n.Wb(33,"span"),n.bc(34,$x),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(35,"mat-card"),n.Wb(36,"mat-card-header"),n.Wb(37,"mat-card-title"),n.bc(38,Jx),n.Vb(),n.Vb(),n.Wb(39,"mat-card-content"),n.Wb(40,"mat-nav-list"),n.Wb(41,"a",4),n.bc(42,Kx),n.Vb(),n.Wb(43,"a",5),n.Jc(44,"User Guide (English)"),n.Vb(),n.Wb(45,"a",6),n.Jc(46,"\u7528\u6237\u624b\u518c\uff08\u4e2d\u6587\uff09"),n.Vb(),n.Wb(47,"a",7),n.bc(48,Gx),n.Vb(),n.Wb(49,"a",8),n.bc(50,Zx),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb())},directives:[jd,Od,Id,Yd,Pd,fv,_v,up,Rd,uv],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:7px;border-radius:0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.card-content[_ngcontent-%COMP%]{padding-top:15px}.card-image[_ngcontent-%COMP%]{width:70%;margin-left:15%}.mat-list-item[_ngcontent-%COMP%]{font-size:14px}.mat-nav-list[_ngcontent-%COMP%]{display:-webkit-box;display:flex}']}),e})();var Qx=i("/POA"),eM=i("Fzww");const tM=["terminalDiv"];var iM;iM=$localize`:@@web_ssh_term␟13a25c64ec9f41a297a2bb15bd8c14661882752c␟6630465543638873694:Web SSH Term`;const nM=["placeholder",$localize`:@@ip_address␟1c1113c07fe4f7008c667f8fb1c5d397fa2055b1␟1827245616056417685:IP Address`],rM=["placeholder",$localize`:@@port␟cb2741a46e3560f6bc6dfd99d385e86b08b26d72␟6117946241126833991:Port`],sM=["placeholder",$localize`:@@username␟08c74dc9762957593b91f6eb5d65efdfc975bf48␟5248717555542428023:Username`],aM=["placeholder",$localize`:@@password␟c32ef07f8803a223a83ed17024b38e8d82292407␟1431416938026210429:Password`];let oM=(()=>{class e{constructor(){this.server=new fo("127.0.0.1","22","root","")}ngOnInit(){}SSHConnect(){var e,t=window.location;e="https:"===t.protocol?"wss://":"ws://",e+=t.host+"/janusec-admin/webssh",this.term.reset();const i=new WebSocket(e),n=new eM.AttachAddon(i);this.term.loadAddon(n);let r=this;i.onopen=function(){i.send(JSON.stringify(r.server))}}ngAfterViewInit(){this.term=new Qx.Terminal,this.term.open(this.terminalDiv.nativeElement)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["app-webssh"]],viewQuery:function(e,t){var i;1&e&&n.Sc(tM,!0),2&e&&n.zc(i=n.kc())&&(t.terminalDiv=i.first)},inputs:{server:"server"},decls:23,vars:4,consts:[[1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],["mat-stroked-button","",3,"click"],["terminalDiv",""]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"h2"),n.Wb(2,"mat-icon"),n.Jc(3,"computer"),n.Vb(),n.Wb(4,"span"),n.bc(5,iM),n.Vb(),n.Vb(),n.Wb(6,"div"),n.Wb(7,"mat-form-field"),n.Wb(8,"input",1),n.dc(9,nM),n.jc("ngModelChange",(function(e){return t.server.ip=e})),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"input",1),n.dc(12,rM),n.jc("ngModelChange",(function(e){return t.server.port=e})),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"input",1),n.dc(15,sM),n.jc("ngModelChange",(function(e){return t.server.username=e})),n.Vb(),n.Vb(),n.Wb(16,"mat-form-field"),n.Wb(17,"input",2),n.dc(18,aM),n.jc("ngModelChange",(function(e){return t.server.password=e})),n.Vb(),n.Vb(),n.Wb(19,"button",3),n.jc("click",(function(){return t.SSHConnect()})),n.Jc(20,"SSH"),n.Vb(),n.Vb(),n.Rb(21,"div",null,4),n.Vb()),2&e&&(n.Cb(8),n.sc("ngModel",t.server.ip),n.Cb(3),n.sc("ngModel",t.server.port),n.Cb(3),n.sc("ngModel",t.server.username),n.Cb(3),n.sc("ngModel",t.server.password))},directives:[up,Mu,Bu,Qe,hi,st,ci,Nd],styles:['.xterm{font-feature-settings:"liga" 0;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}'],encapsulation:2}),e})();const cM=["label",$localize`:@@gateway_status␟77bd5b2151a7e6f63b4ce5645926608358fda653␟5500591070135419387:Gateway Status`],lM=["label",$localize`:@@hosts_status␟e4880fac90cf65b170bafe46834ec4c5b5240f9e␟6105676681289214831:Hosts Status`];var dM,uM,hM;dM=$localize`:@@offline_hosts␟eb40c1096a1e1e6866b5a139b57ae1ca8ce1b54b␟3307196589296956987:Offline Hosts`,uM=$localize`:@@unvisited_hosts␟933e3a20f0afb28b267d5f374f7761986ef70fc4␟9134872526760691454:Zero Access Hosts within 24 hours`,hM=$localize`:@@refresh␟c8d1785038d461ec66b5799db21864182b35900a␟1102717806459547726:Refresh`;const fM=["label",$localize`:@@host_status_by_application␟f21a06f977113fb6a1e7857752c35428fddaa7c9␟4466788601899143199:Hosts Status by Application`],pM=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`];var mM,_M,bM,gM,yM,vM,wM,CM,SM,kM,xM,MM,DM;function LM(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"mat-list",4),n.Wb(2,"mat-list-item"),n.Wb(3,"span"),n.bc(4,_M),n.Vb(),n.Jc(5),n.Vb(),n.Wb(6,"mat-list-item"),n.Wb(7,"span"),n.bc(8,bM),n.Vb(),n.Jc(9),n.Vb(),n.Wb(10,"mat-list-item"),n.Wb(11,"span"),n.bc(12,gM),n.Vb(),n.Jc(13),n.Vb(),n.Wb(14,"mat-list-item"),n.Wb(15,"span"),n.bc(16,yM),n.Vb(),n.Jc(17),n.Vb(),n.Wb(18,"mat-list-item"),n.Wb(19,"span"),n.bc(20,vM),n.Vb(),n.Jc(21),n.Vb(),n.Wb(22,"mat-list-item"),n.Wb(23,"span"),n.bc(24,wM),n.Vb(),n.Jc(25),n.Vb(),n.Wb(26,"mat-list-item"),n.Wb(27,"span"),n.bc(28,CM),n.Vb(),n.Jc(29),n.Vb(),n.Wb(30,"mat-list-item"),n.Wb(31,"span"),n.bc(32,SM),n.Vb(),n.Jc(33),n.Vb(),n.Wb(34,"mat-list-item"),n.Wb(35,"span"),n.bc(36,kM),n.Vb(),n.Jc(37),n.Vb(),n.Wb(38,"mat-list-item"),n.Wb(39,"span"),n.bc(40,xM),n.Vb(),n.Jc(41),n.Vb(),n.Wb(42,"mat-list-item"),n.Wb(43,"span"),n.bc(44,MM),n.Vb(),n.Jc(45),n.Vb(),n.Wb(46,"button",6),n.jc("click",(function(){return n.Cc(e),n.nc().getGatewayHealth()})),n.Wb(47,"mat-icon",7),n.Jc(48,"refresh"),n.Vb(),n.Wb(49,"span"),n.bc(50,DM),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.Lc(": ",e.getDate(e.gate_health.start_time)," "),n.Cb(4),n.Lc(": ",e.getDate(e.gate_health.cur_time)," "),n.Cb(4),n.Mc(": ",e.gate_health.time_zone," ",e.gate_health.time_offset," "),n.Cb(4),n.Lc(": ",e.gate_health.version," "),n.Cb(4),n.Lc(": ",e.gate_health.concurrency," "),n.Cb(4),n.Lc(": ",e.gate_health.cpu_percent.toFixed(2),"% "),n.Cb(4),n.Nc(": ",e.gate_health.cpu_load1.toFixed(2)," ",e.gate_health.cpu_load5.toFixed(2)," ",e.gate_health.cpu_load15.toFixed(2)," "),n.Cb(4),n.Lc(": ",(e.gate_health.mem_used/1073741824).toFixed(2)," GB "),n.Cb(4),n.Lc(": ",(e.gate_health.mem_total/1073741824).toFixed(2)," GB "),n.Cb(4),n.Lc(": ",(e.gate_health.disk_used/1073741824).toFixed(2)," GB "),n.Cb(4),n.Lc(": ",(e.gate_health.disk_total/1073741824).toFixed(2)," GB ")}}function TM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",11),n.Jc(2,"error"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getAppNameByID(e.app_id),") "),n.Cb(2),n.Lc(" Offline Time: ",i.getDate(e.check_time)," ")}}function EM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",11),n.Jc(2,"error"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getVipAppNameByID(e.vip_app_id),") "),n.Cb(2),n.Lc(" Offline Time: ",i.getDate(e.check_time)," ")}}function AM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",12),n.Jc(2,"help"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getAppNameByID(e.app_id),") "),n.Cb(2),n.Lc(" Last Access Time: ",i.getDate(e.check_time)," ")}}function OM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",12),n.Jc(2,"help"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getVipAppNameByID(e.vip_app_id),") "),n.Cb(2),n.Lc(" Last Access Time: ",i.getDate(e.check_time)," ")}}function PM(e,t){if(1&e&&(n.Wb(0,"mat-option",13),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function IM(e,t){1&e&&(n.Wb(0,"mat-icon",11),n.Jc(1,"error"),n.Vb())}function RM(e,t){1&e&&(n.Wb(0,"mat-icon",16),n.Jc(1,"check_circle_outline"),n.Vb())}function jM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Ic(1,IM,2,0,"mat-icon",14),n.Ic(2,RM,2,0,"mat-icon",15),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc(2);n.Cb(1),n.sc("ngIf",0==e.online),n.Cb(1),n.sc("ngIf",1==e.online),n.Cb(2),n.Mc(" ",e.destination," (",i.selected_app.name,") "),n.Cb(2),n.Lc(" Check Time: ",i.getDate(e.check_time)," ")}}function YM(e,t){if(1&e&&(n.Wb(0,"mat-list",4),n.Ic(1,jM,7,5,"mat-list-item",5),n.Vb()),2&e){const e=n.nc();n.Cb(1),n.sc("ngForOf",e.selected_app.destinations)}}mM=$localize`:@@view␟ad817cf4269e54829d82b4224d36766ad5f0b3e6␟9041078670559726454:Check`,_M=$localize`:@@start_time␟7c0a71d337783e527c1c8e91e433b301c5b1d8a8␟4204880191779081093:Start Time`,bM=$localize`:@@current_time␟4c6af4b06c43a9223010f8f0d50fb58e8d4eda98␟5927565365227316396:Current Time`,gM=$localize`:@@time_zone␟a2e48645755a13a5fb547cb5446d4b33ad6ef897␟3204725360923694745:Time Zone`,yM=$localize`:@@version␟8fe73a4787b8068b2ba61f54ab7e0f9af2ea1fc9␟2724055831234181057:Version`,vM=$localize`:@@concurrency␟28b80e1edc25a686f67fa5fd409af659614ab025␟5419498400359535937:Concurrency`,wM=$localize`:@@cpu_percent␟88ddf1784c2514f32c8843fe8fb1086568be3da5␟1779561025143910931:CPU Percent`,CM=$localize`:@@cpu_load1_5_15␟103f6aa6d3cf5888a5391e5317936b8fcf3e614e␟7402126300765101235:CPU Load (1/5/15 Minutes)`,SM=$localize`:@@mem_used␟815de8480fe5cfeb9901a306873590d38168a754␟3965710386570662641:Memory Used`,kM=$localize`:@@mem_total␟335f607f026f84a95a839395e9dacc92202189e0␟2746802394039410947:Memory Total`,xM=$localize`:@@disk_used␟ae1fb05bb99a0fb884c37cde5f7829101bf85789␟3600558956582093461:Storage Used`,MM=$localize`:@@disk_total␟183b9511c62e680bbbe5bed40d07e0b95b68a878␟6405327325552491671:Storage Total`,DM=$localize`:@@refresh␟c8d1785038d461ec66b5799db21864182b35900a␟1102717806459547726:Refresh`;let VM=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.getGatewayHealth(),this.updateDestinations()):this.router.navigate(["/"])}updateDestinations(){this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[];let e=this;var t=(new Date).getTime();this.rpcService.getResponse("get_apps",(function(i){e.rpcService.applications=i;for(let t of e.rpcService.applications)e.rpcService.appmap[t.id]=t.name;for(let n of e.rpcService.applications)for(let i of n.destinations)i.route_type==Qa.Reverse_Proxy&&(0==i.online?e.offlineDestinations.push(i):t-1e3*i.check_time>864e5&&e.unvisitedDestinations.push(i))})),this.rpcService.getResponse("get_vip_apps",(function(i){e.rpcService.vip_apps=i;for(let n of e.rpcService.vip_apps){e.rpcService.vip_app_map[n.id]=n.name;for(let i of n.targets)0==i.online?e.offlineVipTargets.push(i):t-1e3*i.check_time>864e5&&e.unvisitedVipTargets.push(i)}}))}getAppNameByID(e){return this.rpcService.appmap[e]}getVipAppNameByID(e){return this.rpcService.vip_app_map[e]}health_check_by_app_id(){for(let e of this.rpcService.applications)if(e.id==this.selected_app_id)return void(this.selected_app=e)}getDate(e){return this.rpcService.getDateString(e)}getGatewayHealth(){let e=this;this.rpcService.getResponse("get_gateway_health",(function(t){e.gate_health=t}))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-health-check"]],decls:40,vars:10,consts:[[1,"container"],[6,"label"],[4,"ngIf"],["matLine",""],[1,"mat-list-item-list-stacked"],[4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],["matListIcon",""],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["class","mat-list-item-list-stacked",4,"ngIf"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn"],["matListIcon","","color","accent"],[3,"value"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"mat-tab-group"),n.Wb(2,"mat-tab",1),n.dc(3,cM),n.Ic(4,LM,51,14,"div",2),n.Vb(),n.Wb(5,"mat-tab",1),n.dc(6,lM),n.Wb(7,"div"),n.Wb(8,"h3",3),n.Wb(9,"span"),n.bc(10,dM),n.Vb(),n.Jc(11),n.Vb(),n.Vb(),n.Wb(12,"div"),n.Wb(13,"mat-list",4),n.Ic(14,TM,7,3,"mat-list-item",5),n.Ic(15,EM,7,3,"mat-list-item",5),n.Vb(),n.Vb(),n.Wb(16,"div"),n.Wb(17,"h3",3),n.Wb(18,"span"),n.bc(19,uM),n.Vb(),n.Jc(20),n.Vb(),n.Vb(),n.Wb(21,"div"),n.Wb(22,"mat-list",4),n.Ic(23,AM,7,3,"mat-list-item",5),n.Ic(24,OM,7,3,"mat-list-item",5),n.Vb(),n.Vb(),n.Wb(25,"button",6),n.jc("click",(function(){return t.updateDestinations()})),n.Wb(26,"mat-icon",7),n.Jc(27,"refresh"),n.Vb(),n.Wb(28,"span"),n.bc(29,hM),n.Vb(),n.Vb(),n.Vb(),n.Wb(30,"mat-tab",1),n.dc(31,fM),n.Wb(32,"mat-form-field"),n.Wb(33,"mat-select",8),n.dc(34,pM),n.jc("ngModelChange",(function(e){return t.selected_app_id=e})),n.Ic(35,PM,2,2,"mat-option",9),n.Vb(),n.Vb(),n.Wb(36,"button",6),n.jc("click",(function(){return t.health_check_by_app_id()})),n.bc(37,mM),n.Vb(),n.Wb(38,"div"),n.Ic(39,YM,2,1,"mat-list",10),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(4),n.sc("ngIf",t.gate_health),n.Cb(7),n.Lc(": ",t.offlineDestinations.length+t.offlineVipTargets.length,""),n.Cb(3),n.sc("ngForOf",t.offlineDestinations),n.Cb(1),n.sc("ngForOf",t.offlineVipTargets),n.Cb(5),n.Lc(": ",t.unvisitedDestinations.length+t.unvisitedVipTargets.length,""),n.Cb(3),n.sc("ngForOf",t.unvisitedDestinations),n.Cb(1),n.sc("ngForOf",t.unvisitedVipTargets),n.Cb(9),n.sc("ngModel",t.selected_app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(4),n.sc("ngIf",t.selected_app))},directives:[dk,QS,P,Rl,fv,A,Nd,up,mv,Mu,gf,st,ci,_v,If,td],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px 0}.refresh_pointer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#e0e0e0}"]}),e})();const WM=["appPaginator"];var FM,HM,BM,zM,NM,UM,qM;function $M(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",18),n.jc("click",(function(){return n.Cc(e),n.nc().addVipApp()})),n.bc(1,BM),n.Vb()}}function JM(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function KM(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/vip/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function GM(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,zM),n.Vb())}function ZM(e,t){1&e&&(n.Wb(0,"span",21),n.Jc(1,"TCP"),n.Vb())}function XM(e,t){1&e&&(n.Wb(0,"span",21),n.Jc(1,"UDP"),n.Vb())}function QM(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Ic(1,ZM,2,0,"span",20),n.Ic(2,XM,2,0,"span",20),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_tcp),n.Cb(1),n.sc("ngIf",!e.is_tcp)}}function eD(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,NM),n.Vb())}function tD(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/vip/",e.id,""),n.Cb(1),n.Lc(" ",e.listen_port," ")}}function iD(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,UM),n.Vb())}function nD(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/vip/",e.id,""),n.Cb(1),n.Lc(" ",e.name," ")}}function rD(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,qM),n.Vb())}function sD(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function aD(e,t){1&e&&n.Rb(0,"mat-header-row")}function oD(e,t){1&e&&n.Rb(0,"mat-row")}FM=$localize`:@@port_forwarding␟12bb8fbf00bb4b46a43fc70230de633d147c57c7␟6848902813628453884:Port Forwarding`,HM=$localize`:@@vip_note␟811838870bdbf5bfa022af056d4a4005df4e5201␟929706042584219383: Note: Layer-4 TCP/UDP Port forwarding (No WAF/CC protection). `,BM=$localize`:@@add_vip␟fba47cbea5354ecc5178f3efd70342ea218a3f6e␟2431827976905058381:Add Port Forwarding`,zM=$localize`:@@protocol␟fd1a334caa945c369664060d16c4231397a3ae6d␟8116972897687649774: Protocol `,NM=$localize`:@@listen_port2␟39c09b0c2b65288546e266dee9d2c34a9fdc36bb␟3614688088249806000: Listen Port `,UM=$localize`:@@app_name␟20371277706eedf7fd8a3f51633ca5d801cd4fc2␟8778616811237742446: Name `,qM=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `;const cD=function(){return[10,20,50]};let lD=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.displayedColumns=["id","is_tcp","listen_port","name","description"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.getVipApps(),setTimeout(()=>{this.appDataSource=new Dd(this.rpcService.vip_apps),this.appLength=this.rpcService.vip_apps.length},500)):this.router.navigate(["/"])}addVipApp(){this.router.navigate(["/vip/0"])}applyFilter(e){this.appDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-vip-apps"]],viewQuery:function(e,t){var i;1&e&&n.Sc(WM,!0),2&e&&n.zc(i=n.kc())&&(t.appPaginator=i.first)},decls:38,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click",4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8",3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_tcp"],["matColumnDef","listen_port"],["matColumnDef","name"],["matColumnDef","description"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["appPaginator",""],[1,"notes"],["mat-stroked-button","",3,"click"],[3,"routerLink"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,FM),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Wb(6,"span"),n.Ic(7,$M,2,0,"button",1),n.Vb(),n.Wb(8,"span"),n.Jc(9,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(10,"mat-form-field",2),n.Wb(11,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(12,"div"),n.Wb(13,"mat-table",4,5),n.Ub(15,6),n.Ic(16,JM,2,0,"mat-header-cell",7),n.Ic(17,KM,3,2,"mat-cell",8),n.Tb(),n.Ub(18,9),n.Ic(19,GM,2,0,"mat-header-cell",7),n.Ic(20,QM,3,2,"mat-cell",8),n.Tb(),n.Ub(21,10),n.Ic(22,eD,2,0,"mat-header-cell",7),n.Ic(23,tD,3,2,"mat-cell",8),n.Tb(),n.Ub(24,11),n.Ic(25,iD,2,0,"mat-header-cell",7),n.Ic(26,nD,3,2,"mat-cell",8),n.Tb(),n.Ub(27,12),n.Ic(28,rD,2,0,"mat-header-cell",7),n.Ic(29,sD,2,1,"mat-cell",8),n.Tb(),n.Ic(30,aD,1,0,"mat-header-row",13),n.Ic(31,oD,1,0,"mat-row",14),n.Vb(),n.Rb(32,"mat-paginator",15,16),n.Vb(),n.Rb(34,"br"),n.Rb(35,"mat-divider"),n.Wb(36,"div",17),n.bc(37,HM),n.Vb(),n.Vb()),2&e&&(n.Cb(7),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(6),n.sc("dataSource",t.appDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.appLength)("pageSize",20)("pageSizeOptions",n.wc(7,cD)))},directives:[jd,P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Pp,Nd,_d,bd,ka,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}"]}),e})();const dD=["input"],uD=function(){return{enterDuration:150}},hD=["*"],fD=new n.r("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let pD=0;const mD={provide:Je,useExisting:Object(n.U)(()=>bD),multi:!0};class _D{constructor(e,t){this.source=e,this.value=t}}let bD=(()=>{class e{constructor(e){this._changeDetector=e,this._value=null,this._name=`mat-radio-group-${pD++}`,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.o}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=yo(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(e=>{e.checked=this.value===e.value,e.checked&&(this._selected=e)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new _D(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-radio-group"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,vD,!0),2&e&&n.zc(r=n.kc())&&(t._radios=r)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[n.Bb([mD])]}),e})();class gD{constructor(e){this._elementRef=e}}const yD=bl(gl(gD));let vD=(()=>{class e extends yD{constructor(e,t,i,r,s,a,o){super(t),this._changeDetector=i,this._focusMonitor=r,this._radioDispatcher=s,this._animationMode=a,this._providerOverride=o,this._uniqueId=`mat-radio-${++pD}`,this.id=this._uniqueId,this.change=new n.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._removeUniqueSelectionListener=s.listen((e,t)=>{e!==this.id&&t===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=yo(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(yo(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=yo(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new _D(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputChange(e){e.stopPropagation();const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(bD,8),n.Pb(n.l),n.Pb(n.h),n.Pb(il),n.Pb(Do),n.Pb(Ye,8),n.Pb(fD,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-radio-button"]],viewQuery:function(e,t){var i;1&e&&n.Sc(dD,!0),2&e&&n.zc(i=n.kc())&&(t._inputElement=i.first)},hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&n.jc("focus",(function(){return t._inputElement.nativeElement.focus()})),2&e&&(n.Db("tabindex",-1)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.Gb("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},exportAs:["matRadioButton"],features:[n.zb],ngContentSelectors:hD,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(n.rc(),n.Wb(0,"label",0,1),n.Wb(2,"div",2),n.Rb(3,"div",3),n.Rb(4,"div",4),n.Wb(5,"div",5),n.Rb(6,"div",6),n.Vb(),n.Wb(7,"input",7,8),n.jc("change",(function(e){return t._onInputChange(e)}))("click",(function(e){return t._onInputClick(e)})),n.Vb(),n.Vb(),n.Wb(9,"div",9),n.Wb(10,"span",10),n.Jc(11,"\xa0"),n.Vb(),n.qc(12),n.Vb(),n.Vb()),2&e){const e=n.Ac(1);n.Db("for",t.inputId),n.Cb(5),n.sc("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.wc(18,uD)),n.Cb(2),n.sc("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),n.Db("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),n.Cb(2),n.Gb("mat-radio-label-before","before"==t.labelPosition)}},directives:[zl],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e})(),wD=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,pl],pl]}),e})();var CD,SD;CD=$localize`:@@port_forwarding␟12bb8fbf00bb4b46a43fc70230de633d147c57c7␟6848902813628453884:Port Forwarding`,SD=$localize`:@@port_forwarding_warning␟34f747a5758cd09ddd062048c852a0482bf8cdd4␟8582057483155413428: Caution: Port forwarding may bring serious security risks and can only be used for non-web application publishing. Please follow the internal security management regulations when using it. `;const kD=["placeholder",$localize`:@@app_name␟7e2abed312d91f24b07b1c21982bf0ab5bda6675␟2887251461858216261:Application Name`],xD=["placeholder",$localize`:@@listen_port␟d2e79fe4bc1237f166600a562592b632cfdb8d0c␟4176968710654271933:Listen Port (1025-65535)`];var MD,DD;MD=$localize`:@@forward_note␟4cfe40cb8f194c53f0e7f125e0de3ab7337d7b23␟452055469951542456:Note: Only support services which respond directly from the listening port. Multiple ports or reverse connections are not supported.`,DD=$localize`:@@target_configuration␟000353943c654d653e34d84bfe8289ebf14ebbc0␟2142433279538164084:Target Configuration`;const LD=["placeholder",$localize`:@@vip_owner␟02afaff74daa82a8877966a267df371e8220d22f␟4709669786209672837:Application Owner`],TD=["placeholder",$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`];var ED,AD,OD,PD;ED=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,AD=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,OD=$localize`:@@forward_mode␟fb78ea3d1ccb29d5b96512c9572a307082c47dc5␟7104964915409047271:Forward Mode`,PD=$localize`:@@target␟639672f61f16b7d9c3d022685becb756faf2def3␟7592174351973511057:Target (IP:Port)`;const ID=["matTooltip",$localize`:@@add_new_target␟ecb1fef543db12c99453a054dd2e623964005bd5␟3578726587253769109:Add New Target`];function RD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",24),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delTarget(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function jD(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",20),n.Wb(2,"mat-label"),n.bc(3,PD),n.Vb(),n.Wb(4,"input",21),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).vip_app.targets[i].destination=t})),n.Vb(),n.Wb(5,"mat-icon",22),n.dc(6,ID),n.jc("click",(function(){return n.Cc(e),n.nc(3).addTarget()})),n.Jc(7,"add_circle_outline"),n.Vb(),n.Ic(8,RD,2,0,"mat-icon",23),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.vip_app.targets[e].destination)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngIf",t.vip_app.targets.length>1)}}const YD=["matTooltip",$localize`:@@add_new_routing␟9d5dc2eb534e384f4613a9a9fa85a443176b5421␟3105577272767442961:Add new routing`];function VD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",24),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delTarget(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function WD(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",25),n.Wb(2,"mat-label"),n.Jc(3,"K8S Pods API"),n.Vb(),n.Wb(4,"input",26),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).vip_app.targets[i].pods_api=t})),n.Vb(),n.Vb(),n.Wb(5,"mat-form-field",17),n.Wb(6,"mat-label"),n.Jc(7,"K8S Pod Port"),n.Vb(),n.Wb(8,"input",27),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).vip_app.targets[i].pod_port=t})),n.Vb(),n.Wb(9,"mat-icon",22),n.dc(10,YD),n.jc("click",(function(){return n.Cc(e),n.nc(3).addTarget()})),n.Jc(11,"add_circle_outline"),n.Vb(),n.Ic(12,VD,2,0,"mat-icon",23),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.vip_app.targets[e].pods_api)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.vip_app.targets[e].pod_port)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngIf",t.vip_app.targets.length>1)}}function FD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",16),n.Wb(1,"mat-form-field",17),n.Wb(2,"mat-label"),n.bc(3,OD),n.Vb(),n.Wb(4,"mat-select",18),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).vip_app.targets[r].route_type=i})),n.Wb(5,"mat-option",9),n.Jc(6," Reverse Proxy "),n.Vb(),n.Wb(7,"mat-option",9),n.Jc(8," K8S Ingress "),n.Vb(),n.Vb(),n.Vb(),n.Ic(9,jD,9,3,"ng-container",19),n.Ic(10,WD,13,5,"ng-container",19),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc(2);n.Cb(4),n.sc("ngModel",r.vip_app.targets[i].route_type)("disabled",r.readOnlyValue),n.Cb(1),n.sc("value",r.reverseProxyMode),n.Cb(2),n.sc("value",r.k8sMode),n.Cb(2),n.sc("ngIf",e.route_type==r.reverseProxyMode),n.Cb(1),n.sc("ngIf",e.route_type==r.k8sMode)}}function HD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",1),n.Wb(1,"div"),n.Wb(2,"h2"),n.bc(3,CD),n.Vb(),n.Wb(4,"div",2),n.bc(5,SD),n.Vb(),n.Vb(),n.Wb(6,"div"),n.Wb(7,"mat-form-field"),n.Wb(8,"input",3,4),n.dc(10,kD),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.name=t})),n.Vb(),n.Wb(11,"mat-hint",5),n.Jc(12),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"input",6,7),n.dc(16,xD),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.listen_port=t})),n.Vb(),n.Wb(17,"mat-hint",5),n.Jc(18),n.Vb(),n.Vb(),n.Wb(19,"mat-radio-group",8),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.is_tcp=t})),n.Wb(20,"mat-radio-button",9),n.Jc(21,"TCP"),n.Vb(),n.Wb(22,"mat-radio-button",9),n.Jc(23,"UDP"),n.Vb(),n.Vb(),n.Wb(24,"div",2),n.bc(25,MD),n.Vb(),n.Wb(26,"mat-expansion-panel",10),n.Wb(27,"mat-expansion-panel-header"),n.Wb(28,"mat-panel-title"),n.Wb(29,"h3"),n.bc(30,DD),n.Vb(),n.Vb(),n.Vb(),n.Ic(31,FD,11,6,"div",11),n.Vb(),n.Wb(32,"mat-form-field"),n.Wb(33,"input",12),n.dc(34,LD),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.owner=t})),n.Vb(),n.Vb(),n.Wb(35,"mat-form-field"),n.Wb(36,"input",12,13),n.dc(38,TD),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.description=t})),n.Vb(),n.Wb(39,"mat-hint",5),n.Jc(40),n.Vb(),n.Vb(),n.Wb(41,"div"),n.Wb(42,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().updateVipApp()})),n.bc(43,ED),n.Vb(),n.Wb(44,"button",15),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(45),n.Vb(),n.Wb(46,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().deleteVipApp()})),n.bc(47,AD),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(9),t=n.Ac(15),i=n.Ac(37),r=n.nc();n.Cb(8),n.sc("ngModel",r.vip_app.name)("readonly",r.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",r.vip_app.listen_port)("readonly",r.readOnlyValue),n.Cb(4),n.Lc("",(null==t.value?null:t.value.length)||0,"/5"),n.Cb(1),n.sc("ngModel",r.vip_app.is_tcp)("disabled",r.readOnlyValue),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1),n.Cb(4),n.sc("expanded",!0),n.Cb(5),n.sc("ngForOf",r.vip_app.targets)("ngForTrackBy",r.trackByFn),n.Cb(2),n.sc("ngModel",r.vip_app.owner)("readonly",r.readOnlyValue),n.Cb(3),n.sc("ngModel",r.vip_app.description)("readonly",r.readOnlyValue),n.Cb(4),n.Lc("",(null==i.value?null:i.value.length)||0,"/256"),n.Cb(2),n.sc("disabled",r.readOnlyValue),n.Cb(3),n.Kc(r.readOnlyButtonText),n.Cb(1),n.sc("disabled",r.readOnlyValue)}}let BD=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.reverseProxyMode=Qa.Reverse_Proxy,this.k8sMode=Qa.K8S_Ingress,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}ngOnInit(){this.getVipApp()}getVipApp(){const e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_vip_app",(function(e){null!=e&&(t.vip_app=e)}),e)}else this.readOnlyValue=!1,this.vip_app=new Ka,this.vip_app.id="0",this.vip_app.name="XXX",this.vip_app.listen_port=8001,this.vip_app.is_tcp=!0,this.vip_app.targets=[],this.vip_app.owner=this.rpcService.auth_user.username,this.vip_app.description="Used for YYY",this.addTarget()}addTarget(){if(!this.readOnlyValue){var e=new Ga;e.id="0",e.vip_app_id=this.vip_app.id,e.route_type=Qa.Reverse_Proxy,e.destination="127.0.0.1:4001",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",this.vip_app.targets.push(e)}}delTarget(e){this.readOnlyValue||(1!=this.vip_app.targets.length?this.vip_app.targets.splice(e,1):alert("At least one item is required!"))}updateVipApp(){var e=this;this.rpcService.getResponse("update_vip_app",(function(t){if(null==t)return void e.messageService.add("Update failed.");let i=t.id;e.vip_app.id==i?e.vip_app=t:(e.vip_app.id=i,e.router.navigate(["/vip/"+i])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Port forwarding "+t.name+" saved.")}),null,e.vip_app)}deleteVipApp(){if(confirm("Are you sure to delete application: "+this.vip_app.name+"?")){var e=this;this.rpcService.getResponse("del_vip_app",(function(){e.messageService.add(e.vip_app.name+" deleted."),e.router.navigate(["/forwarding"])}),this.vip_app.id,null)}}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-vip-app"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],["matInput","","type","number","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["listen_port",""],["aria-label","Protocol",3,"ngModel","disabled","ngModelChange"],[3,"value"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["required","",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],[1,"inline-form-field-80"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],[1,"inline-form-field-60"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&n.Ic(0,HD,48,21,"div",0),2&e&&n.sc("ngIf",t.vip_app)},directives:[P,Mu,Bu,Qe,hi,st,ci,bu,bt,bD,vD,xm,Mm,Dm,A,Nd,gu,gf,td,up,wu,If],styles:['.required[_ngcontent-%COMP%]{color:red}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;width:100%}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}.detail_panel[_ngcontent-%COMP%]{margin-top:20px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;margin-top:5px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-60[_ngcontent-%COMP%]{width:55%;margin-right:5px}.inline-form-field-80[_ngcontent-%COMP%]{width:75%;margin-right:5px}']}),e})();var zD,ND,UD;function qD(e,t){if(1&e&&(n.Wb(0,"tr"),n.Wb(1,"td"),n.Wb(2,"a",7),n.Jc(3),n.Vb(),n.Vb(),n.Wb(4,"td",8),n.Jc(5),n.Vb(),n.Wb(6,"td",8),n.Jc(7),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(2),n.tc("href",e.url,n.Dc),n.Cb(1),n.Lc(" ",e.url," "),n.Cb(2),n.Lc(" ",e.PV," "),n.Cb(2),n.Lc(" ",e.UV," ")}}zD=$localize`:@@referring_site␟56e20e97f32fccfa6c94aad6f33e4735689d16b4␟1891403958688141467:Referring site`,ND=$localize`:@@target_site␟a2ebd38e40ac032d44d74c5204673f3e3e3f6c67␟5531534430589766613:Target site`,UD=$localize`:@@referring_link␟25bb807edcb491dd296a08d7fb097854709bbffc␟1107133793118657967:Referring Link`;let $D=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n}ngOnInit(){this.app_id=this.route.snapshot.paramMap.get("app_id"),this.host=this.route.snapshot.paramMap.get("host"),this.getRefererURLs(this.app_id,this.host)}getRefererURLs(e,t){let i=this;this.rpcService.getResponseByCustomBody({action:"get_referer_urls",app_id:e,host:t},(function(e){i.referer_urls=e}))}getAppNameByID(e){return"0"==e?"All":this.rpcService.appmap[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-referer"]],decls:23,vars:3,consts:[[1,"container"],["fxLayout","row wrap"],["fxFlex","100%",1,"access_div"],[1,"referer_table"],["width","60%"],["width","20%"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"td-align-center"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"div"),n.Wb(4,"span"),n.bc(5,zD),n.Vb(),n.Jc(6),n.Vb(),n.Wb(7,"div"),n.Wb(8,"span"),n.bc(9,ND),n.Vb(),n.Jc(10),n.Vb(),n.Vb(),n.Vb(),n.Rb(11,"br"),n.Wb(12,"div",1),n.Wb(13,"div",2),n.Wb(14,"table",3),n.Wb(15,"tr"),n.Wb(16,"th",4),n.bc(17,UD),n.Vb(),n.Wb(18,"th",5),n.Jc(19,"PV (14 days)"),n.Vb(),n.Wb(20,"th",5),n.Jc(21,"UV (14 days)"),n.Vb(),n.Vb(),n.Ic(22,qD,8,4,"tr",6),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(6),n.Lc(": ",t.host," "),n.Cb(4),n.Lc(": ",t.getAppNameByID(t.app_id)," "),n.Cb(12),n.sc("ngForOf",t.referer_urls))},directives:[jd,Ob,Wb,A],styles:['.referer_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#ddd}.referer_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.referer_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();var JD=i("0FX9");const KD=["qrcElement"];let GD=(()=>{let e=class{constructor(e,t){this.renderer=e,this.platformId=t,this.colordark="",this.colorlight="",this.level="",this.hidetitle=!1,this.size=0,this.usesvg=!1,this.allowEmptyString=!1,this.qrdata="",this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.scale=4,this.width=10,this.qrcode=null,this.isValidQrCodeText=e=>!1===this.allowEmptyString?!(void 0===e||""===e||"null"===e||null===e):!(void 0===e),""!==this.colordark&&console.warn("[angularx-qrcode] colordark is deprecated, use colorDark."),""!==this.colorlight&&console.warn("[angularx-qrcode] colorlight is deprecated, use colorLight."),""!==this.level&&console.warn("[angularx-qrcode] level is deprecated, use errorCorrectionLevel."),!1!==this.hidetitle&&console.warn("[angularx-qrcode] hidetitle is deprecated."),0!==this.size&&console.warn("[angularx-qrcode] size is deprecated, use `width`. Defaults to 10."),!1!==this.usesvg&&console.warn("[angularx-qrcode] usesvg is deprecated, use [elementType]=\"'img'\".")}ngAfterViewInit(){$(this.platformId)||this.createQRCode()}ngOnChanges(){this.createQRCode()}toDataURL(){return new Promise((e,t)=>{Object(JD.toDataURL)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},(i,n)=>{i?t(i):e(n)})})}toCanvas(e){return new Promise((t,i)=>{Object(JD.toCanvas)(e,this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},e=>{e?i(e):t("success")})})}toSVG(){return new Promise((e,t)=>{Object(JD.toString)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,type:"svg",version:this.version,width:this.width},(i,n)=>{i?t(i):e(n)})})}renderElement(e){for(const t of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,t);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):void 0!==this.version&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto"),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty");let e;switch(this.elementType){case"canvas":e=this.renderer.createElement("canvas"),this.toCanvas(e).then(()=>{this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] canvas error: ",e)});break;case"svg":e=this.renderer.createElement("svg","svg"),this.toSVG().then(t=>{e.innerHTML=t,this.renderer.setAttribute(e,"height",`${this.width}`),this.renderer.setAttribute(e,"width",`${this.width}`),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] svg error: ",e)});break;case"url":case"img":default:e=this.renderer.createElement("img"),this.toDataURL().then(t=>{e.setAttribute("src",t),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] img/url error: ",e)})}}catch(e){console.error("[angularx-qrcode] Error generating QR Code: ",e.message)}}};return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.C))},e.\u0275cmp=n.Jb({type:e,selectors:[["qrcode"]],viewQuery:function(e,t){var i;1&e&&n.Gc(KD,!0),2&e&&n.zc(i=n.kc())&&(t.qrcElement=i.first)},inputs:{colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",size:"size",usesvg:"usesvg",allowEmptyString:"allowEmptyString",qrdata:"qrdata",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",margin:"margin",scale:"scale",width:"width",version:"version"},features:[n.Ab()],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,t){1&e&&n.Rb(0,"div",null,0),2&e&&n.Eb(t.cssClass)},encapsulation:2,changeDetection:0}),e})(),ZD=(()=>{let e=class{};return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[]}),e})();var XD,QD,eL,tL,iL;XD=$localize`:@@authenticator_register␟e63ad8355fe8bf46bc37e9ca4aca1f8fde944bd3␟5969208796545941505:Authenticator Registration`,QD=$localize`:@@authenticator_notice␟1f830b294f7117f2353aa8a45f88fc329c57288f␟5133033014201784485: Please scan the following QRCode with Google Authenticator, or Microsoft Authenticator: `,eL=$localize`:@@input_key_notice␟4307a4d3132d90e7629582a429b92beede51b064␟3711585289156562892: Or input the Secret Key in your mobile app: `,tL=$localize`:@@input_code_notice␟5d322b9b58b5d26e5b9e218d90d5c09b9e1a3e1f␟5487583822487337611:Input 6-digit Code`,iL=$localize`:@@verify␟b39189bdad1461d0b25ab2bbbfd3f8988116058c␟8057635354960539736:Verify and Register`;let nL=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.messageService=t,this.router=i}ngOnInit(){this.qrData="otpauth://totp/"+this.rpcService.auth_user.username+"?secret="+this.rpcService.auth_user.totp_key+"&issuer=JANUSEC"}verify(){var e=this;this.rpcService.getResponseByCustomBody({action:"verify_totp",uid:this.rpcService.auth_user.username,code:this.code},(function(){e.messageService.add("verify ok, please login"),e.router.navigate(["/login"])}))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-authcode-register"]],decls:18,vars:5,consts:[[1,"container"],[1,"notes"],[3,"qrdata","width","errorCorrectionLevel"],["matInput","","required","",3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"h1"),n.bc(2,XD),n.Vb(),n.Wb(3,"div",1),n.bc(4,QD),n.Vb(),n.Rb(5,"qrcode",2),n.Wb(6,"div"),n.Wb(7,"span"),n.bc(8,eL),n.Vb(),n.Jc(9),n.Vb(),n.Rb(10,"br"),n.Wb(11,"mat-form-field"),n.Wb(12,"mat-label"),n.bc(13,tL),n.Vb(),n.Wb(14,"input",3),n.jc("ngModelChange",(function(e){return t.code=e})),n.Vb(),n.Vb(),n.Wb(15,"section"),n.Wb(16,"button",4),n.jc("click",(function(){return t.verify()})),n.bc(17,iL),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(5),n.sc("qrdata",t.qrData)("width",256)("errorCorrectionLevel","M"),n.Cb(4),n.Lc(" ",t.rpcService.auth_user.totp_key," "),n.Cb(5),n.sc("ngModel",t.code))},directives:[GD,Mu,gu,Bu,Qe,hi,st,ci,Nd],styles:[""]}),e})();const rL=["label",$localize`:@@global_cc_policy␟85b89d3f97c8cfc9a22297dab6f3ebe3e88a54eb␟8185795483098629630:Global CC Policy`];var sL;sL=$localize`:@@global_cc_title␟80df0b7adb6f3cdfd2e0553bd6e9899f07783b9b␟6623469599976426156:Global CC Policy (Priority is lower than custom policy)`;const aL=["placeholder",$localize`:@@interval_milliseconds␟c67377cf3a7553d095461ae62b535cb0edbe5f87␟5333209757526234081:Time Window (100 ms)`],oL=["placeholder",$localize`:@@max_count␟b6dfba48f89c2284c1141bfda88f2e90330bc708␟3630794273078022397:Max Requests Count (6)`],cL=["placeholder",$localize`:@@block_seconds␟f18354d7c5284259f574b92b85e4ff4adc4cfeae␟3553848666220343841:Block Seconds (900)`],lL=["placeholder",$localize`:@@action␟1bd5e17c9582661e20763a7634ef07881e33bbd7␟9216117865911519658:Action`];var dL,uL,hL,fL,pL,mL;dL=$localize`:@@count_each_url␟37a3ab18bb110b8e75023ceb0865f07fbebc2e5a␟710768478920804943:Count each URL separately (default: selected)`,uL=$localize`:@@count_each_ua␟47db0222a6df7dc3c196ceb5f048b88768ab07d9␟5743571863130741572:Count each User-Agent separately (default: not selected)`,hL=$localize`:@@count_each_cookie␟99e06ecde46232b08aa36c131322a752e7e254eb␟832962717517678565:Count different Cookies separately (default: not selected)`,fL=$localize`:@@enable_policy␟c1a5f913d3e4333026c42bf940238aed1e95154f␟591469843136255470:Enabled this CC block policy (default: selected)`,pL=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,mL=$localize`:@@slow_cc_notice␟c17427b71184ebc32fae608d40d648dd77c351f6␟6706756055351880040: Note: Slow CC detection is also enabled using 15 time windows (other parameters are the same). `;const _L=["label",$localize`:@@custom_cc_policy␟5ac736ae976f63be80aa6e2d36bf2e600fd6e089␟9096686161247344163:Custom CC Policy`];var bL;bL=$localize`:@@custom_cc_title␟e5f406f1527a1bedcc6ed8178ab4998a46127470␟100944363597393702:Custom CC Policy (Only show when an application selected)`;const gL=["placeholder",$localize`:@@select_application␟5e310a28af710db10832c9756459f0e14072ca63␟5427239173611242637:Select the Application`];function yL(e,t){if(1&e&&(n.Wb(0,"mat-option",11),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}function vL(e,t){if(1&e&&(n.Wb(0,"mat-option",11),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}var wL;function CL(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"button",12),n.jc("click",(function(){n.Cc(e);const t=n.nc();return t.newCCPolicy(t.selected_app_id)})),n.bc(2,wL),n.Vb(),n.Vb()}}wL=$localize`:@@add_custom_cc_policy␟337931a440e7dc8e8b5db54b20b906408dbc7749␟1242276401010012994:Add Custom CC Policy`;const SL=["placeholder",$localize`:@@interval_milliseconds␟c67377cf3a7553d095461ae62b535cb0edbe5f87␟5333209757526234081:Time Window (100 ms)`],kL=["placeholder",$localize`:@@max_count␟b6dfba48f89c2284c1141bfda88f2e90330bc708␟3630794273078022397:Max Requests Count (6)`],xL=["placeholder",$localize`:@@block_seconds␟f18354d7c5284259f574b92b85e4ff4adc4cfeae␟3553848666220343841:Block Seconds (900)`],ML=["placeholder",$localize`:@@action␟1bd5e17c9582661e20763a7634ef07881e33bbd7␟9216117865911519658:Action`];var DL,LL,TL,EL,AL,OL;function PL(e,t){if(1&e&&(n.Wb(0,"mat-option",11),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}function IL(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"h3"),n.Jc(2),n.Vb(),n.Wb(3,"mat-form-field"),n.Wb(4,"input",2),n.dc(5,SL),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.interval_milliseconds=t})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",2),n.dc(8,kL),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.max_count=t})),n.Vb(),n.Vb(),n.Wb(9,"mat-form-field"),n.Wb(10,"input",2),n.dc(11,xL),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.block_seconds=t})),n.Vb(),n.Vb(),n.Wb(12,"mat-form-field"),n.Wb(13,"mat-select",3),n.dc(14,ML),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.action=t})),n.Ic(15,PL,2,2,"mat-option",4),n.Vb(),n.Vb(),n.Wb(16,"section"),n.Wb(17,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.stat_by_url=t})),n.bc(18,DL),n.Vb(),n.Vb(),n.Wb(19,"section"),n.Wb(20,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.stat_by_ua=t})),n.bc(21,LL),n.Vb(),n.Vb(),n.Wb(22,"section"),n.Wb(23,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.stat_by_cookie=t})),n.bc(24,TL),n.Vb(),n.Vb(),n.Wb(25,"section"),n.Wb(26,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.is_enabled=t})),n.bc(27,EL),n.Vb(),n.Vb(),n.Wb(28,"div"),n.Wb(29,"button",6),n.jc("click",(function(){n.Cc(e);const t=n.nc();return t.updateCCPolicy(t.selected_app_id)})),n.bc(30,AL),n.Vb(),n.Wb(31,"button",12),n.jc("click",(function(){n.Cc(e);const t=n.nc();return t.deleteCCPolicy(t.selected_app_id)})),n.bc(32,OL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(2),n.Lc("",e.application.name," CC Policy"),n.Cb(2),n.sc("ngModel",e.app_cc_policy.interval_milliseconds),n.Cb(3),n.sc("ngModel",e.app_cc_policy.max_count),n.Cb(3),n.sc("ngModel",e.app_cc_policy.block_seconds),n.Cb(3),n.sc("ngModel",e.app_cc_policy.action),n.Cb(2),n.sc("ngForOf",e.enum_action_values),n.Cb(2),n.sc("ngModel",e.app_cc_policy.stat_by_url),n.Cb(3),n.sc("ngModel",e.app_cc_policy.stat_by_ua),n.Cb(3),n.sc("ngModel",e.app_cc_policy.stat_by_cookie),n.Cb(3),n.sc("ngModel",e.app_cc_policy.is_enabled)}}DL=$localize`:@@count_each_url␟85ded74a7837149fa16cfd814ccfd0c7f2fac0bc␟284133628696784148:Count each URL separately`,LL=$localize`:@@count_each_ua␟01f54b088928f791fc92d1ae241c411aa06940fc␟6976258656448014735:Count each User-Agent separately`,TL=$localize`:@@count_each_cookie␟cad4728674cfe9ad5249a40b9e4a7fc8a9108097␟8316237512627864188:Count different Cookies separately`,EL=$localize`:@@enable_policy␟8b0da17b127a0b9ab1883ee945a3ae6c4ab52087␟5864582010366176989:Enabled this CC block policy`,AL=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,OL=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`;let RL=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.enum_action_values=[],this.global_cc_policy=new io,this.app_cc_policy=new io,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getCCPolicy("0"))}ngOnInit(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e});else this.router.navigate(["/"])}getCCPolicy(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(i){null!=i&&("0"==e?t.global_cc_policy=i:(t.app_cc_policy=i,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}newCCPolicy(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}updateCCPolicy(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);let i=this;this.rpcService.getResponse("update_cc_policy",(function(){i.messageService.add("CC policy updated!")}),e,t)}deleteCCPolicy(e){if("0"==e)return;this.has_custom_cc_policy=!1;let t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}onSelectApp(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}getVulnNameByID(e){return this.rpcService.vulntypemap[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-cc"]],decls:48,vars:13,consts:[[1,"container"],[6,"label"],["matInput","","type","number","required","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],[1,"notes"],[1,"fullrow"],[3,"ngModel","ngModelChange","selectionChange",6,"placeholder"],[4,"ngIf"],[3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"mat-tab-group"),n.Wb(2,"mat-tab",1),n.dc(3,rL),n.Wb(4,"div"),n.Wb(5,"h2"),n.bc(6,sL),n.Vb(),n.Wb(7,"mat-form-field"),n.Wb(8,"input",2),n.dc(9,aL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.interval_milliseconds=e})),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"input",2),n.dc(12,oL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.max_count=e})),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"input",2),n.dc(15,cL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.block_seconds=e})),n.Vb(),n.Vb(),n.Wb(16,"mat-form-field"),n.Wb(17,"mat-select",3),n.dc(18,lL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.action=e})),n.Ic(19,yL,2,2,"mat-option",4),n.Vb(),n.Vb(),n.Wb(20,"section"),n.Wb(21,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_url=e})),n.bc(22,dL),n.Vb(),n.Vb(),n.Wb(23,"section"),n.Wb(24,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_ua=e})),n.bc(25,uL),n.Vb(),n.Vb(),n.Wb(26,"section"),n.Wb(27,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_cookie=e})),n.bc(28,hL),n.Vb(),n.Vb(),n.Wb(29,"section"),n.Wb(30,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.is_enabled=e})),n.bc(31,fL),n.Vb(),n.Vb(),n.Wb(32,"button",6),n.jc("click",(function(){return t.updateCCPolicy("0")})),n.bc(33,pL),n.Vb(),n.Rb(34,"hr"),n.Wb(35,"div",7),n.bc(36,mL),n.Vb(),n.Vb(),n.Vb(),n.Wb(37,"mat-tab",1),n.dc(38,_L),n.Wb(39,"div"),n.Wb(40,"h2"),n.bc(41,bL),n.Vb(),n.Wb(42,"mat-form-field",8),n.Wb(43,"mat-select",9),n.dc(44,gL),n.jc("ngModelChange",(function(e){return t.selected_app_id=e}))("selectionChange",(function(){return t.onSelectApp()})),n.Ic(45,vL,2,2,"mat-option",4),n.Vb(),n.Vb(),n.Ic(46,CL,3,0,"div",10),n.Vb(),n.Ic(47,IL,33,10,"div",10),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(8),n.sc("ngModel",t.global_cc_policy.interval_milliseconds),n.Cb(3),n.sc("ngModel",t.global_cc_policy.max_count),n.Cb(3),n.sc("ngModel",t.global_cc_policy.block_seconds),n.Cb(3),n.sc("ngModel",t.global_cc_policy.action),n.Cb(2),n.sc("ngForOf",t.enum_action_values),n.Cb(2),n.sc("ngModel",t.global_cc_policy.stat_by_url),n.Cb(3),n.sc("ngModel",t.global_cc_policy.stat_by_ua),n.Cb(3),n.sc("ngModel",t.global_cc_policy.stat_by_cookie),n.Cb(3),n.sc("ngModel",t.global_cc_policy.is_enabled),n.Cb(13),n.sc("ngModel",t.selected_app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(1),n.sc("ngIf",t.selected_app_id&&!t.has_custom_cc_policy),n.Cb(1),n.sc("ngIf",t.has_custom_cc_policy&&t.application))},directives:[dk,QS,Mu,Bu,bt,Qe,hi,st,ci,gf,A,Hm,Nd,P,td],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),e})();const jL=["ipPaginator"];var YL,VL,WL,FL,HL,BL,zL,NL,UL,qL,$L,JL,KL;function GL(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,HL),n.Vb())}function ZL(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"input",18),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.ip_addr=i})),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.ip_addr)("disabled",!e.editable)}}function XL(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,BL),n.Vb())}function QL(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-select",19),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.is_allow=i})),n.Wb(2,"mat-option",20),n.bc(3,zL),n.Vb(),n.Wb(4,"mat-option",20),n.bc(5,NL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.is_allow)("disabled",!e.editable),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1)}}function eT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," WAF "),n.Vb())}function tT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-select",19),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.apply_to_waf=i})),n.Wb(2,"mat-option",20),n.bc(3,UL),n.Vb(),n.Wb(4,"mat-option",20),n.bc(5,qL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.apply_to_waf)("disabled",!e.editable),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1)}}function iT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," CC "),n.Vb())}function nT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-select",19),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.apply_to_cc=i})),n.Wb(2,"mat-option",20),n.bc(3,$L),n.Vb(),n.Wb(4,"mat-option",20),n.bc(5,JL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.apply_to_cc)("disabled",!e.editable),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1)}}function rT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,KL),n.Vb())}function sT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",24),n.jc("click",(function(){n.Cc(e);const t=n.nc().index;return n.nc().saveIP(t)})),n.Jc(1,"save"),n.Vb()}}function aT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",25),n.jc("click",(function(){return n.Cc(e),n.nc().$implicit.editable=!0})),n.Jc(1,"edit"),n.Vb()}}function oT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Ic(1,sT,2,0,"mat-icon",21),n.Ic(2,aT,2,0,"mat-icon",22),n.Wb(3,"span"),n.Jc(4,"\xa0\xa0\xa0"),n.Vb(),n.Wb(5,"mat-icon",23),n.jc("click",(function(){n.Cc(e);const i=t.index;return n.nc().deleteIP(i)})),n.Jc(6," delete_outline"),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.editable),n.Cb(1),n.sc("ngIf",!e.editable)}}function cT(e,t){1&e&&n.Rb(0,"mat-header-row")}function lT(e,t){1&e&&n.Rb(0,"mat-row")}YL=$localize`:@@ip_policy␟8f9f517abd64c0696ff319aefd501c8d6bfbcdae␟1030481121539161597:IP Policy`,VL=$localize`:@@ip_policy_allow␟e3829f126dc17e33e15c1925f7a78f6fea5cc8ea␟1085219955609485961: Allow: allow security testing if WAF applicable, allow high frequency access if CC applicable. `,WL=$localize`:@@ip_policy_block␟f35fc8ec5c92eb592fa753565b736ba5c22e0791␟1454906982648768569: Block: show block information if WAF applicable only, block access if CC applicable. `,FL=$localize`:@@add_ip␟b218bf288eb626ef504db58843c379e1026ef5e1␟1038456613595221490:Add IP`,HL=$localize`:@@ip_addr␟e8129ddc9c3593ea666e127d21a357ace16d57cf␟7175831147405774690: IP Address `,BL=$localize`:@@is_allow␟01a32bb7e93373cbc305329319efc67c0bd85226␟97940262148604706: Action `,zL=$localize`:@@allow␟df30bc0856e61ba596fc22fba03c409537bc055c␟340639236808573336:Allow`,NL=$localize`:@@block␟7f5d0c10614e8a34f0e2dad33a0568277c50cf69␟420763834450076269:Block`,UL=$localize`:@@applicable␟c62b0c1e9ec036c84e2c060ad471f0b73ce41652␟111090786407836768:Applicable`,qL=$localize`:@@not_applicable␟8f95b2e1fc78f85e52f385faebcece7d9a009b3b␟1575742678514522985:Not Applicable`,$L=$localize`:@@applicable␟c62b0c1e9ec036c84e2c060ad471f0b73ce41652␟111090786407836768:Applicable`,JL=$localize`:@@not_applicable␟8f95b2e1fc78f85e52f385faebcece7d9a009b3b␟1575742678514522985:Not Applicable`,KL=$localize`:@@ip_operation␟f3e8908987e623d7428b64122fd5379f75392cf5␟5928868080162558607: Operation `;const dT=function(){return[10,20,50]};let uT=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.enum_action_values=[],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getIPPolicies())}ngOnInit(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e});else this.router.navigate(["/"])}getIPPolicies(){var e=this;this.rpcService.getResponse("get_ip_policies",(function(t){e.ip_policies=t,e.ipPolicyDataSource=new Dd(e.ip_policies),e.ipPolicyDataSource.paginator=e.ipPaginator,e.ipPaginator.pageIndex=0,e.ipPageLength=e.ip_policies.length}))}addIPPolicy(){let e=new mo;e.id="0",e.ip_addr="127.0.0.1",e.is_allow=!0,e.apply_to_waf=!0,e.apply_to_cc=!0,e.editable=!0,this.ip_policies.splice(0,0,e),this.ipPolicyDataSource.data=this.ip_policies}saveIP(e){let t=this;this.rpcService.getResponse("update_ip_policy",(function(i){t.ip_policies[e]=i,t.ip_policies[e].editable=!1,t.ipPolicyDataSource.data=t.ip_policies}),"0",this.ip_policies[e])}deleteIP(e){let t=this,i=this.ip_policies[e];"0"==i.id?(t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies):this.rpcService.getResponse("del_ip_policy",(function(){t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies}),i.id,null)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-ip-policy"]],viewQuery:function(e,t){var i;1&e&&n.Sc(jL,!0),2&e&&n.zc(i=n.kc())&&(t.ipPaginator=i.first)},decls:35,vars:8,consts:[[1,"container"],[1,"notes"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","ip_addr"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_allow"],["matColumnDef","apply_to_waf"],["matColumnDef","apply_to_cc"],["matColumnDef","editable"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","showFirstLastButtons"],["ipPaginator",""],["mat-stroked-button","",3,"click"],["matListIcon",""],["matInput","","placeholder","IP Address","required","",3,"ngModel","disabled","ngModelChange"],[1,"custom_select",3,"ngModel","disabled","ngModelChange"],[3,"value"],["class","btn_icon","inline","true","matTooltip","Save","matTooltipPosition","left",3,"click",4,"ngIf"],["class","btn_icon","inline","true","matTooltip","Edit","matTooltipPosition","left",3,"click",4,"ngIf"],["inline","true","matTooltip","Delete","matTooltipPosition","right",1,"btn_icon",3,"click"],["inline","true","matTooltip","Save","matTooltipPosition","left",1,"btn_icon",3,"click"],["inline","true","matTooltip","Edit","matTooltipPosition","left",1,"btn_icon",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"h2"),n.bc(2,YL),n.Vb(),n.Wb(3,"ul",1),n.Wb(4,"li"),n.bc(5,VL),n.Vb(),n.Wb(6,"li"),n.bc(7,WL),n.Vb(),n.Vb(),n.Wb(8,"div",2),n.Wb(9,"mat-table",3,4),n.Ub(11,5),n.Ic(12,GL,2,0,"mat-header-cell",6),n.Ic(13,ZL,2,2,"mat-cell",7),n.Tb(),n.Ub(14,8),n.Ic(15,XL,2,0,"mat-header-cell",6),n.Ic(16,QL,6,4,"mat-cell",7),n.Tb(),n.Ub(17,9),n.Ic(18,eT,2,0,"mat-header-cell",6),n.Ic(19,tT,6,4,"mat-cell",7),n.Tb(),n.Ub(20,10),n.Ic(21,iT,2,0,"mat-header-cell",6),n.Ic(22,nT,6,4,"mat-cell",7),n.Tb(),n.Ub(23,11),n.Ic(24,rT,2,0,"mat-header-cell",6),n.Ic(25,oT,7,2,"mat-cell",7),n.Tb(),n.Ic(26,cT,1,0,"mat-header-row",12),n.Ic(27,lT,1,0,"mat-row",13),n.Vb(),n.Rb(28,"mat-paginator",14,15),n.Vb(),n.Wb(30,"button",16),n.jc("click",(function(){return t.addIPPolicy()})),n.Wb(31,"mat-icon",17),n.Jc(32,"add_circle_outline"),n.Vb(),n.Wb(33,"span"),n.bc(34,FL),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(9),n.sc("dataSource",t.ipPolicyDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.ipDisplayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.ipDisplayedColumns),n.Cb(1),n.sc("length",t.ipPageLength)("pageSize",20)("pageSizeOptions",n.wc(7,dT))("showFirstLastButtons",!0))},directives:[cd,pd,hd,dd,gd,vd,Jf,Nd,up,mv,_d,bd,Bu,Qe,hi,st,ci,gf,td,P,If,Cd,kd],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),e})();var hT,fT,pT,mT,_T,bT,gT;function yT(e,t){1&e&&(n.Wb(0,"mat-icon",15),n.Jc(1,"check_circle_outline"),n.Vb())}function vT(e,t){1&e&&(n.Wb(0,"mat-icon",16),n.Jc(1,"highlight_off"),n.Vb())}hT=$localize`:@@data_discovery_rule␟2b5f9e63dd6a70dfbd4f41131cfd3e724c21f6db␟6424898335834367633:Data Discovery Rule`,fT=$localize`:@@field_name␟87b5a4b1c81f74c0937d7ee1f9714d6fe67270ec␟1301244316831267771:Field Name`,pT=$localize`:@@sample␟86bd4c895bf70b35a58305b7d107a2f1b67b141c␟1238358838717941284:Sample`,mT=$localize`:@@regex_pattern␟6e2a02c5ad298613a2936a91c00d5acbb3a1ab1a␟3673538476717951874:Regular Expression Pattern`,_T=$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`,bT=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,gT=$localize`:@@cancel␟d7b35c384aecd25a516200d6921836374613dfe7␟2159130950882492111:Cancel`;let wT=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.dialogRef=t,this.data=i,this.regex_match=new co,this.discovery_rule=i.discovery_rule}testRegex(){this.regex_match.matched=null,this.regex_match.preprocess=!1,this.regex_match.payload=this.discovery_rule.sample,this.regex_match.pattern=this.discovery_rule.regex;var e=this;0!=this.regex_match.payload.length&&0!=this.regex_match.pattern.length&&this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}saveDiscoveryRule(){var e=this;this.rpcService.getResponse("update_discovery_rule",(function(t){e.discovery_rule=t}),this.discovery_rule.id,this.discovery_rule),this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Cw),n.Pb(Sw))},e.\u0275cmp=n.Jb({type:e,selectors:[["discovery-rule-dialog"]],decls:38,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matInput","","required","",3,"ngModel","ngModelChange"],["field_name",""],["align","end"],["sample",""],["matInput","","required","",3,"ngModel","ngModelChange","focusout"],["regex_pattern",""],["matSuffix","","color","primary",4,"ngIf"],["matSuffix","","color","warn",4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],["description",""],["mat-dialog-actions",""],["mat-stroked-button","",3,"click"],["mat-stroked-button","","mat-dialog-close",""],["matSuffix","","color","primary"],["matSuffix","","color","warn"]],template:function(e,t){if(1&e&&(n.Wb(0,"h1",0),n.bc(1,hT),n.Vb(),n.Wb(2,"div",1),n.Wb(3,"mat-form-field"),n.Wb(4,"mat-label"),n.bc(5,fT),n.Vb(),n.Wb(6,"input",2,3),n.jc("ngModelChange",(function(e){return t.discovery_rule.field_name=e})),n.Vb(),n.Wb(8,"mat-hint",4),n.Jc(9),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"mat-label"),n.bc(12,pT),n.Vb(),n.Wb(13,"input",2,5),n.jc("ngModelChange",(function(e){return t.discovery_rule.sample=e})),n.Vb(),n.Wb(15,"mat-hint",4),n.Jc(16),n.Vb(),n.Vb(),n.Wb(17,"mat-form-field"),n.Wb(18,"mat-label"),n.bc(19,mT),n.Vb(),n.Wb(20,"input",6,7),n.jc("ngModelChange",(function(e){return t.discovery_rule.regex=e}))("focusout",(function(){return t.testRegex()})),n.Vb(),n.Ic(22,yT,2,0,"mat-icon",8),n.Ic(23,vT,2,0,"mat-icon",9),n.Wb(24,"mat-hint",4),n.Jc(25),n.Vb(),n.Vb(),n.Wb(26,"mat-form-field"),n.Wb(27,"mat-label"),n.bc(28,_T),n.Vb(),n.Wb(29,"input",10,11),n.jc("ngModelChange",(function(e){return t.discovery_rule.description=e})),n.Vb(),n.Wb(31,"mat-hint",4),n.Jc(32),n.Vb(),n.Vb(),n.Vb(),n.Wb(33,"div",12),n.Wb(34,"button",13),n.jc("click",(function(){return t.saveDiscoveryRule()})),n.bc(35,bT),n.Vb(),n.Wb(36,"button",14),n.bc(37,gT),n.Vb(),n.Vb()),2&e){const e=n.Ac(7),i=n.Ac(14),r=n.Ac(21),s=n.Ac(30);n.Cb(6),n.sc("ngModel",t.discovery_rule.field_name),n.Cb(3),n.Lc("",(null==e.value?null:e.value.length)||0,"/256"),n.Cb(4),n.sc("ngModel",t.discovery_rule.sample),n.Cb(3),n.Lc("",(null==i.value?null:i.value.length)||0,"/512"),n.Cb(4),n.sc("ngModel",t.discovery_rule.regex),n.Cb(2),n.sc("ngIf",t.regex_match.matched),n.Cb(1),n.sc("ngIf",null!=t.regex_match.matched&&!t.regex_match.matched),n.Cb(2),n.Lc("",(null==r.value?null:r.value.length)||0,"/512"),n.Cb(4),n.sc("ngModel",t.discovery_rule.description),n.Cb(3),n.Lc("",(null==s.value?null:s.value.length)||0,"/512")}},directives:[Ew,Aw,Mu,gu,Bu,Qe,hi,st,ci,bu,P,Ow,Nd,Tw,up,wu],styles:[".container[_ngcontent-%COMP%]{margin:5px}mat-form-field[_ngcontent-%COMP%]{width:100%;background-color:#fefefe;border:3px solid #fff;box-sizing:border-box}.width50[_ngcontent-%COMP%]{width:50%!important;box-sizing:border-box}button[_ngcontent-%COMP%]{margin-top:20px;margin-right:5px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}.notice[_ngcontent-%COMP%]{font-size:small;background-color:#f5f5f5;padding:5px}"]}),e})();const CT=["*",[["mat-toolbar-row"]]],ST=["*","mat-toolbar-row"];class kT{constructor(e){this._elementRef=e}}const xT=_l(kT);let MT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),DT=(()=>{class e extends xT{constructor(e,t,i){super(e),this._platform=t,this._document=i}ngAfterViewInit(){Object(n.W)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(e=>!(e.classList&&e.classList.contains("mat-toolbar-row"))).filter(e=>e.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(e=>!(!e.textContent||!e.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Po),n.Pb(a))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,MT,!0),2&e&&n.zc(r=n.kc())&&(t._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.zb],ngContentSelectors:ST,decls:2,vars:0,template:function(e,t){1&e&&(n.rc(CT),n.qc(0),n.qc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),e})(),LT=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const TT=["rulesPaginator"];var ET,AT,OT,PT,IT,RT,jT,YT;function VT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,PT),n.Vb())}function WT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell",19),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().editDataDiscoveryRule(i)})),n.Jc(1),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.field_name," ")}}function FT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,IT),n.Vb())}function HT(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.sample," ")}}function BT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,RT),n.Vb())}function zT(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.regex," ")}}function NT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,jT),n.Vb())}function UT(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function qT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,YT),n.Vb())}function $T(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-icon",20),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().editDataDiscoveryRule(i)})),n.Jc(2,"edit "),n.Vb(),n.Wb(3,"span"),n.Jc(4,"\xa0\xa0"),n.Vb(),n.Wb(5,"mat-icon",20),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().deleteDataDiscoveryRule(i)})),n.Jc(6,"delete "),n.Vb(),n.Vb()}}function JT(e,t){1&e&&n.Rb(0,"mat-header-row")}function KT(e,t){1&e&&n.Rb(0,"mat-row")}ET=$localize`:@@data_discovery␟63d49137f582ee027b1111855e04f02113ca761e␟8653649989113143059: Data Discovery`,AT=$localize`:@@add_discovery_rule␟44c6d7c1c2877426b48bcb42c05ad171983dc8b6␟56354631367414212: Add Discovery Rule `,OT=$localize`:@@back_to_settings␟d48dad8800fb5a0ce2f82b0e8fa88991613f112c␟3523968380696217863:Back to Settings`,PT=$localize`:@@field_name␟1bf30b8df5c68b8f1fbb8c03fa743feaabbcbfc8␟1115020147403727753: Field Name `,IT=$localize`:@@sample␟a5f2a7e435565569aef5e4c5d98ff4c088f565d9␟5897011278848801710: Sample `,RT=$localize`:@@regex␟20a714e8d63d241d9883d9c05ae16b5cdb8e106f␟6998370669475808931: Regex `,jT=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,YT=$localize`:@@action␟01a32bb7e93373cbc305329319efc67c0bd85226␟97940262148604706: Action `;const GT=function(){return[10,20,50]};var ZT,XT,QT,eE,tE;ZT=$localize`:@@api_interface␟ddd6dd9c3c3538836b10ad075dab5f569c229144␟6709824683221194532:API Interface`,XT=$localize`:@@api_notice␟e6daf73f39075b414128f781b7e501c69fc5b20e␟6547220350357958382:Please copy the following API Key string if you want to manage this gateway by external control panel.`,QT=$localize`:@@1_introduction_to_api␟8a82f6f74cbd3502c0631a71f404f1850cc4ed10␟3128266290694603421:1 Introduction to API Interface`,eE=$localize`:@@2_parameters␟44251a53f0471d4f3e64776caca1a78e1ac0e811␟4732772961672778896:2 Parameters`,tE=$localize`:@@3_example␟9881457edfadcc8100f1c7e9e3fadca72ac929d4␟481521859943191501:3 Example`;const iE=[{path:"",redirectTo:"/index.html",pathMatch:"full"},{path:"index.html",component:Xx},{path:"dashboard",component:mw},{path:"application/:id",component:Y_},{path:"applications",component:Op},{path:"forwarding",component:lD},{path:"vip/:id",component:BD},{path:"certificates",component:sm},{path:"certificate/:id",component:mg},{path:"usermgmt",component:Fg},{path:"appuser/:id",component:ty},{path:"waf",component:ky},{path:"cc",component:RL},{path:"ip-policy",component:uT},{path:"policy/:id",component:nv},{path:"nodes",component:Nv},{path:"node/:id",component:Zv},{path:"logs",component:$C},{path:"cclogs",component:SS},{path:"settings",component:Hx},{path:"log/:id",component:XC},{path:"cclog/:id",component:LS},{path:"login",component:eg},{path:"webssh",component:oM},{path:"health",component:VM},{path:"referring/:app_id/:host",component:$D},{path:"authcode-register",component:nL},{path:"discovery-rules",component:(()=>{class e{constructor(e,t){this.rpcService=e,this.dialog=t,this.discovery_rules=[],this.displayedColumns=["field_name","sample","regex","description","action"],this.getDiscoveryRules()}ngOnInit(){}addDataDiscoveryRule(){this.editDataDiscoveryRule({id:"0",field_name:"",sample:"",regex:"",description:"",editor:this.rpcService.auth_user.username,update_time:0})}editDataDiscoveryRule(e){this.dialog.open(wT,{width:"500px",data:{discovery_rule:e}}).afterClosed().subscribe(e=>{this.getDiscoveryRules()})}getDiscoveryRules(){let e=this;this.rpcService.getResponse("get_discovery_rules",(function(t){null==t&&(t=[]),e.discovery_rules=t,e.discoveryRulesDataSource=new Dd(e.discovery_rules),e.discoveryRulesDataSource.paginator=e.rulesPaginator}))}deleteDataDiscoveryRule(e){if(!confirm("Are you sure to delete discovery rule for: "+e.field_name+"?"))return;let t=this;this.rpcService.getResponse("del_discovery_rule",(function(e){t.getDiscoveryRules()}),e.id)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Dw))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-discovery-rules"]],viewQuery:function(e,t){var i;1&e&&n.Sc(TT,!0),2&e&&n.zc(i=n.kc())&&(t.rulesPaginator=i.first)},decls:33,vars:6,consts:[[1,"container"],["mat-stroked-button","",3,"click"],[1,"spacer"],["mat-stroked-button","","routerLink","/settings",1,"back_link"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","field_name"],[4,"matHeaderCellDef"],["class","pointer",3,"click",4,"matCellDef"],["matColumnDef","sample"],[4,"matCellDef"],["matColumnDef","regex"],["matColumnDef","description"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions"],["rulesPaginator",""],[1,"pointer",3,"click"],["inline","true",1,"pointer",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,ET),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"mat-toolbar"),n.Wb(6,"button",1),n.jc("click",(function(){return t.addDataDiscoveryRule()})),n.bc(7,AT),n.Vb(),n.Rb(8,"span",2),n.Wb(9,"a",3),n.bc(10,OT),n.Vb(),n.Vb(),n.Wb(11,"div",4),n.Wb(12,"mat-table",5,6),n.Ub(14,7),n.Ic(15,VT,2,0,"mat-header-cell",8),n.Ic(16,WT,2,1,"mat-cell",9),n.Tb(),n.Ub(17,10),n.Ic(18,FT,2,0,"mat-header-cell",8),n.Ic(19,HT,2,1,"mat-cell",11),n.Tb(),n.Ub(20,12),n.Ic(21,BT,2,0,"mat-header-cell",8),n.Ic(22,zT,2,1,"mat-cell",11),n.Tb(),n.Ub(23,13),n.Ic(24,NT,2,0,"mat-header-cell",8),n.Ic(25,UT,2,1,"mat-cell",11),n.Tb(),n.Ub(26,14),n.Ic(27,qT,2,0,"mat-header-cell",8),n.Ic(28,$T,7,0,"mat-cell",11),n.Tb(),n.Ic(29,JT,1,0,"mat-header-row",15),n.Ic(30,KT,1,0,"mat-row",16),n.Vb(),n.Rb(31,"mat-paginator",17,18),n.Vb(),n.Vb()),2&e&&(n.Cb(12),n.sc("dataSource",t.discoveryRulesDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("pageSize",20)("pageSizeOptions",n.wc(5,GT)))},directives:[jd,DT,Nd,Ud,ka,cd,pd,hd,dd,gd,vd,Jf,_d,bd,up,Cd,kd],styles:[".spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e})()},{path:"api-interface",component:(()=>{class e{constructor(e){this.rpcService=e}ngOnInit(){this.rpcService.getAPIKey()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-api-interface"]],decls:122,vars:43,consts:[[1,"container"],["matLine",""],[1,"wrapkey"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,ZT),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Wb(6,"h3",1),n.bc(7,XT),n.Vb(),n.Wb(8,"span",2),n.Jc(9),n.Vb(),n.Wb(10,"div"),n.Wb(11,"h2"),n.bc(12,QT),n.Vb(),n.Wb(13,"h4"),n.Jc(14,"1.1 Interface Address"),n.Vb(),n.Wb(15,"p"),n.Jc(16,' All operations of the API use the POST method. If "primary_node" -> "admin" -> "listen" in config.json is false, then remove the ":9080". '),n.Vb(),n.Wb(17,"code"),n.Jc(18," POST http://IP_or_Domain_Name:9080/janusec-admin/ui-api "),n.Vb(),n.Wb(19,"h4"),n.Jc(20,"1.2 Content-Type"),n.Vb(),n.Wb(21,"code"),n.Jc(22," Content-Type: application/json "),n.Vb(),n.Wb(23,"h4"),n.Jc(24,"1.3 JSON Body for get object(s)"),n.Vb(),n.Wb(25,"code"),n.Jc(26),n.Vb(),n.Wb(27,"p"),n.Jc(28," id is a snowflake id string, not a number, because it exceeds the range of number. id is required for one object, not required for objects list. "),n.Vb(),n.Wb(29,"h4"),n.Jc(30,"1.4 Response of objects list"),n.Vb(),n.Wb(31,"code"),n.Jc(32),n.Vb(),n.Wb(33,"h4"),n.Jc(34,"1.5 Response of one object"),n.Vb(),n.Wb(35,"code"),n.Jc(36),n.Vb(),n.Wb(37,"h4"),n.Jc(38,"1.6 JSON Body for creating or updating an object"),n.Vb(),n.Wb(39,"p"),n.Jc(40," Let id = '0' for creating an object."),n.Vb(),n.Wb(41,"code"),n.Jc(42),n.Vb(),n.Wb(43,"h4"),n.Jc(44,"1.7 Response of updation one object"),n.Vb(),n.Wb(45,"p"),n.Jc(46,"Please keep the format of the object the same with you get it, and if the object has a time parameter, skip it or set it to 0."),n.Vb(),n.Wb(47,"code"),n.Jc(48),n.Vb(),n.Wb(49,"h4"),n.Jc(50,"1.8 JSON Body for deletion an object"),n.Vb(),n.Wb(51,"code"),n.Jc(52),n.Vb(),n.Wb(53,"h4"),n.Jc(54,"1.9 Response of deletion one object"),n.Vb(),n.Wb(55,"code"),n.Jc(56),n.Vb(),n.Wb(57,"h2"),n.bc(58,eE),n.Vb(),n.Wb(59,"h4"),n.Jc(60,"2.1 Parameter: auth_key"),n.Vb(),n.Wb(61,"p"),n.Jc(62," The auth_key is a time-related parameter, please make sure the time is correct. The auth_key needs to be regenerated every time a request is submitted, it is generated by function GenAuthKey(hex.DecodeString(APIKey)) and it is used to verify the identity of the requester. "),n.Vb(),n.Wb(63,"code"),n.Wb(64,"pre"),n.Jc(65),n.Vb(),n.Vb(),n.Wb(66,"h4"),n.Jc(67,"2.2 Parameter: action"),n.Vb(),n.Wb(68,"p"),n.Jc(69,"The parameter action can take the following values (string):"),n.Vb(),n.Wb(70,"ul"),n.Wb(71,"li"),n.Jc(72," get_certs: get all digital certificates, not include acme automatic certificates. The result will not include the private key of certificates. "),n.Vb(),n.Wb(73,"li"),n.Jc(74," get_cert: get digital certificate with designated id, parameter id (string) is required. "),n.Vb(),n.Wb(75,"li"),n.Jc(76," get_apps: get all web applications. "),n.Vb(),n.Wb(77,"li"),n.Jc(78," get_app: get the web application with designated id, parameter id (string) is required. "),n.Vb(),n.Wb(79,"li"),n.Jc(80," get_vip_apps: get all virtual IP applications, i.e. TCP/UDP port forwarding applications. "),n.Vb(),n.Wb(81,"li"),n.Jc(82," get_vip_app: get the virtual IP applications with designated id (string). "),n.Vb(),n.Wb(83,"li"),n.Jc(84," get_vuln_types: get all vulnerability types. "),n.Vb(),n.Wb(85,"li"),n.Jc(86," get_group_policies: get all group policies/rules for WAF. "),n.Vb(),n.Wb(87,"li"),n.Jc(88," get_group_policy: get the group policy/rule for WAF with designated id (string). "),n.Vb(),n.Wb(89,"li"),n.Jc(90," get_cc_policy: get CC policy with designated application id, parameter id is required and use application id string here, '0' for all applications. "),n.Vb(),n.Wb(91,"li"),n.Jc(92," update_cert: update the digital certificate with designated id (string), if id = '0' then create a new digital certificate. "),n.Vb(),n.Wb(93,"li"),n.Jc(94," update_app: update the web application with designated id (string), if id = '0' then create a new web application. "),n.Vb(),n.Wb(95,"li"),n.Jc(96," update_vip_app: update the virtual IP application, if id = '0' then create a new port forwarding. "),n.Vb(),n.Wb(97,"li"),n.Jc(98," del_cert: delete the digital certificate with designated id (string). "),n.Vb(),n.Wb(99,"li"),n.Jc(100," del_app: delete the web application with designated id (string). "),n.Vb(),n.Wb(101,"li"),n.Jc(102," del_vip_app: delete the virtual IP application with designated id (string). "),n.Vb(),n.Wb(103,"li"),n.Jc(104," del_group_policy: delete the group policy/rule for WAF with designated id (string). "),n.Vb(),n.Wb(105,"li"),n.Jc(106," del_cc_policy: delete the CC policy/rule for designated web application. "),n.Vb(),n.Vb(),n.Wb(107,"h2"),n.bc(108,tE),n.Vb(),n.Wb(109,"p"),n.Jc(110,"To update a web application, the body would like the following (Its format should be single line, without spaces or line breaks):"),n.Vb(),n.Wb(111,"code"),n.Wb(112,"pre"),n.Jc(113),n.Vb(),n.Vb(),n.Wb(114,"p"),n.Jc(115," Parameter route_type: 1 for Reverse_Proxy (default), 2 for Local_FastCGI, 4 for Static_Website, 8 for K8S_Ingress. "),n.Vb(),n.Wb(116,"p"),n.Jc(117," Parameter node_id is not used now. "),n.Vb(),n.Wb(118,"p"),n.Jc(119," Parameter ip_method: 1 for REMOTE_ADDR (default), 2 for X_Forwarded_For, 4 for X_REAL_IP, 8 for REAL_IP "),n.Vb(),n.Wb(120,"p"),n.Jc(121," Please set id = '0' for new object (such as certificate, application, virtual ip application, destination, domain, group policy, cc policy etc.). "),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(9),n.Kc(t.rpcService.hexAPIKey),n.Cb(17),n.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),n.Cb(6),n.Mc(" ","{",'"err":null,"object":[...]',"}"," "),n.Cb(4),n.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),n.Cb(6),n.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"...", "object":...',"}"," "),n.Cb(6),n.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),n.Cb(4),n.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),n.Cb(4),n.Mc(" ","{",'"err":null',"}"," "),n.Cb(9),n.Qc([" auth_key := GenAuthKey(hex.DecodeString(APIKey)) \n\n func GenAuthKey(key []byte) string ","{","\n authTime := AuthTime","{","\n CurTime: time.Now().Unix()\n ","}","\n authTimeBytes, err := json.Marshal(authTime)\n if err != nil ","{",'\n fmt.Println("GenAuthKey", err)\n ',"}","\n encryptedAuthBytes := EncryptWithKey(authTimeBytes, key)\n return hex.EncodeToString(encryptedAuthBytes)\n ","}","\n\n type AuthTime struct ","{",'\n CurTime int64 `json:"cur_time"`\n ',"}","\n\n func EncryptWithKey(plaintext []byte, key []byte) []byte ","{","\n block, err := aes.NewCipher(key)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewCipher", err)\n ',"}","\n nonce := make([]byte, 12)\n _, err = io.ReadFull(rand.Reader, nonce)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey ReadFull", err)\n ',"}","\n aesgcm, err := cipher.NewGCM(block)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewGCM", err)\n ',"}","\n ciphertext := aesgcm.Seal(nonce, nonce, plaintext, nil)\n return ciphertext\n ","}","\n\n "]),n.Cb(48),n.Pc(" ","{",'\n "auth_key":"...",\n "action":"update_app",\n "id":"1642051816726204416",\n "object":',"{",'\n "id":"1642051816726204416",\n "name":"Test",\n "internal_scheme":"http",\n "destinations":[',"{",'\n "id":"1642051816839450624",\n "route_type":1,\n "request_route":"/",\n "backend_route":"/",\n "destination":"127.0.0.1:5000",\n "pods_api":"",\n "pod_port":"80",\n "pods":"",\n "app_id":"1642051816726204416",\n "node_id":"0",\n "online":true,\n "check_time":0\n ',"}",'],\n "domains":[',"{",'\n "id":"1642051816931725312",\n "name":"www.example.com",\n "app_id":"1642051816726204416",\n "cert_id":"1642094823705939968",\n "redirect":false,\n "location":""\n ',"}",'],\n "redirect_https":false,\n "hsts_enabled":false,\n "waf_enabled":true,\n "shield_enabled":false,\n "ip_method":1,\n "description":"Test",\n "oauth_required":false,\n "session_seconds":7200,\n "owner":"admin",\n "csp_enabled":false,\n "csp":"",\n "cache_enabled":true\n ',"}","\n ","}","\n "))},directives:[jd,Rl],styles:[""]}),e})()}];let nE=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Va.forRoot(iE)],Va]}),e})();function rE(e,t=Lc){var i;const n=(i=e)instanceof Date&&!isNaN(+i)?+e-t.now():Math.abs(e);return e=>e.lift(new sE(n,t))}class sE{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new aE(e,this.delay,this.scheduler))}}class aE extends Si.a{constructor(e,t,i){super(e),this.delay=t,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,i=t.queue,n=e.scheduler,r=e.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(r);if(i.length>0){const t=Math.max(0,i[0].time-n.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(aE.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,i=new oE(t.now()+this.delay,e);this.queue.push(i),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(nh.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(nh.createComplete()),this.unsubscribe()}}class oE{constructor(e,t){this.time=e,this.notification=t}}const cE=["mat-menu-item",""],lE=["*"];function dE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",0),n.jc("keydown",(function(t){return n.Cc(e),n.nc()._handleKeydown(t)}))("click",(function(){return n.Cc(e),n.nc().closed.emit("click")}))("@transformMenu.start",(function(t){return n.Cc(e),n.nc()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return n.Cc(e),n.nc()._onAnimationDone(t)})),n.Wb(1,"div",1),n.qc(2),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),n.Db("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const uE={transformMenu:Object(De.n)("transformMenu",[Object(De.k)("void",Object(De.l)({opacity:0,transform:"scale(0.8)"})),Object(De.m)("void => enter",Object(De.g)([Object(De.i)(".mat-menu-content, .mat-mdc-menu-content",Object(De.e)("100ms linear",Object(De.l)({opacity:1}))),Object(De.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({transform:"scale(1)"}))])),Object(De.m)("* => void",Object(De.e)("100ms 25ms linear",Object(De.l)({opacity:0})))]),fadeInItems:Object(De.n)("fadeInItems",[Object(De.k)("showing",Object(De.l)({opacity:1})),Object(De.m)("void => *",[Object(De.l)({opacity:0}),Object(De.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let hE=(()=>{class e{constructor(e,t,i,n,r,s,a){this._template=e,this._componentFactoryResolver=t,this._appRef=i,this._injector=n,this._viewContainerRef=r,this._document=s,this._changeDetectorRef=a,this._attached=new an.a}attach(e={}){this._portal||(this._portal=new uh(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ph(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.j),n.Pb(n.g),n.Pb(n.s),n.Pb(n.P),n.Pb(a),n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,selectors:[["ng-template","matMenuContent",""]]}),e})();const fE=new n.r("MAT_MENU_PANEL");class pE{}const mE=bl(ml(pE));let _E=(()=>{class e extends mE{constructor(e,t,i,n){super(),this._elementRef=e,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new an.a,this._focused=new an.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.monitor(this._elementRef,!1),n&&n.addItem&&n.addItem(this),this._document=t}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3;let i="";if(e.childNodes){const n=e.childNodes.length;for(let r=0;r{class e{constructor(e,t,i){this._elementRef=e,this._ngZone=t,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new n.E,this._tabSubscription=rr.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new an.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new n.o,this.close=this.closed,this.panelId=`mat-menu-panel-${gE++}`}get xPosition(){return this._xPosition}set xPosition(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=yo(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=yo(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Nc(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Jn(this._directDescendantItems),Nn(e=>Object(sd.a)(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Jn(this._directDescendantItems),Nn(e=>Object(sd.a)(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,i=this._keyManager;switch(t){case 27:Sc(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:Sc(e)||(36===t?i.setFirstItemActive():i.setLastItemActive(),e.preventDefault());break;default:38!==t&&40!==t||i.setFocusOrigin("keyboard"),i.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=`mat-elevation-z${Math.min(4+e,24)}`,i=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===e,i["mat-menu-after"]="after"===e,i["mat-menu-above"]="above"===t,i["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Jn(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(bE))},e.\u0275dir=n.Kb({type:e,contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,hE,!0),n.Ib(i,_E,!0),n.Ib(i,_E,!1)),2&e&&(n.zc(r=n.kc())&&(t.lazyContent=r.first),n.zc(r=n.kc())&&(t._allItems=r),n.zc(r=n.kc())&&(t.items=r))},viewQuery:function(e,t){var i;1&e&&n.Sc(n.M,!0),2&e&&n.zc(i=n.kc())&&(t.templateRef=i.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),vE=(()=>{class e extends yE{}return e.\u0275fac=function(t){return wE(t||e)},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})();const wE=n.Zb(vE);let CE=(()=>{class e extends vE{constructor(e,t,i){super(e,t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(bE))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[n.Bb([{provide:fE,useExisting:vE},{provide:vE,useExisting:e}]),n.zb],ngContentSelectors:lE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(n.rc(),n.Ic(0,dE,3,6,"ng-template"))},directives:[T],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[uE.transformMenu,uE.fadeInItems]},changeDetection:0}),e})();const SE=new n.r("mat-menu-scroll-strategy"),kE={provide:SE,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},xE=Wo({passive:!0});let ME=(()=>{class e{constructor(e,t,i,r,s,a,o,c){this._overlay=e,this._element=t,this._viewContainerRef=i,this._parentMenu=s,this._menuItemInstance=a,this._dir=o,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=rr.a.EMPTY,this._hoverSubscription=rr.a.EMPTY,this._menuCloseSubscription=rr.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new n.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.o,this.onMenuClose=this.menuClosed,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,xE),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe(e=>{this._destroyMenu(),"click"!==e&&"tab"!==e||!this._parentMenu||this._parentMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,xE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof vE&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof vE?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(ki(e=>"void"===e.toState),Vn(1),Ho(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Th({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,a]=[n,r],[o,c]=[t,i],l=0;this.triggersSubmenu()?(c=t="before"===this.menu.xPosition?"start":"end",i=o="end"===t?"start":"end",l="bottom"===n?8:-8):this.menu.overlapTrigger||(s="top"===n?"bottom":"top",a="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:o,overlayY:n,offsetY:l},{originX:i,originY:s,overlayX:c,overlayY:n,offsetY:l},{originX:t,originY:a,overlayX:o,overlayY:r,offsetY:-l},{originX:i,originY:a,overlayX:c,overlayY:r,offsetY:-l}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),i=this._parentMenu?this._parentMenu.closed:vi(),n=this._parentMenu?this._parentMenu._hovered().pipe(ki(e=>e!==this._menuItemInstance),ki(()=>this._menuOpen)):vi();return Object(sd.a)(e,i,n,t)}_handleMousedown(e){rl(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&this.openMenu()}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(ki(e=>e===this._menuItemInstance&&!e.disabled),rE(0,Zu)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof vE&&this.menu._isAnimating?this.menu._animationDone.pipe(Vn(1),rE(0,Zu),Ho(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new uh(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(qh),n.Pb(n.l),n.Pb(n.P),n.Pb(SE),n.Pb(vE,8),n.Pb(_E,10),n.Pb(Eo,8),n.Pb(il))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&n.Db("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),DE=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[kE],imports:[pl]}),e})(),LE=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[kE],imports:[[U,pl,Nl,Xh,DE],DE]}),e})();var TE,EE;function AE(e,t){if(1&e&&(n.Wb(0,"button",9),n.Wb(1,"mat-icon",0),n.Jc(2,"account_circle"),n.Vb(),n.Jc(3),n.Vb()),2&e){const e=n.nc(),t=n.Ac(9);n.sc("matMenuTriggerFor",t),n.Cb(3),n.Lc(" ",e.rpcService.auth_user.username," ")}}function OE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",10),n.jc("click",(function(){return n.Cc(e),n.nc().navigate("/login")})),n.bc(1,EE),n.Vb()}}TE=$localize`:@@lang␟c63cfd6ff79615ec6c9b8b389abb4ffee8c8fcd7␟2118856116169775514:中文`,EE=$localize`:@@login␟12910217fdcdbca64bee06f511639b653d5428ea␟7329323998926911298: Login `;let PE=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.http=t,this.router=i,this.logoPath="assets/images/logo.png",this.personIcon="assets/images/person_1x.png"}navigate(e){this.router.navigate([e])}ngOnInit(){null==localStorage.getItem("lang")&&navigator.language.indexOf("zh")>-1&&(localStorage.setItem("lang","zh-cn"),window.location.reload())}switchLanguage(){var e=localStorage.getItem("lang");null==e||""==e||"en"==e?localStorage.setItem("lang","zh-cn"):localStorage.setItem("lang","en"),window.location.reload()}logout(){this.rpcService.getResponse("logout",(function(){}),null,null),this.rpcService.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.router.navigate(["/login"])}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(zi),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-navbar"]],decls:21,vars:3,consts:[["color","secondary"],["src","assets/images/logo.png","alt","JANUSEC",1,"logo"],["routerLink","/",1,"text-logo"],[1,"spacer"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"mat-toolbar",0),n.Wb(1,"span"),n.Rb(2,"img",1),n.Vb(),n.Wb(3,"span"),n.Wb(4,"a",2),n.Jc(5,"JANUSEC"),n.Vb(),n.Vb(),n.Rb(6,"span",3),n.Ic(7,AE,4,2,"button",4),n.Wb(8,"mat-menu",5,6),n.Wb(10,"button",7),n.jc("click",(function(){return t.switchLanguage()})),n.Wb(11,"mat-icon"),n.Jc(12,"language"),n.Vb(),n.Wb(13,"span"),n.bc(14,TE),n.Vb(),n.Vb(),n.Rb(15,"mat-divider"),n.Wb(16,"button",7),n.jc("click",(function(){return t.logout()})),n.Wb(17,"mat-icon"),n.Jc(18,"exit_to_app"),n.Vb(),n.Jc(19," Exit "),n.Vb(),n.Vb(),n.Ic(20,OE,2,0,"button",8),n.Vb()),2&e&&(n.Cb(7),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(1),n.sc("overlapTrigger",!1),n.Cb(12),n.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[DT,ka,P,CE,_E,up,Pp,Nd,ME],styles:[".icon[_ngcontent-%COMP%]{padding:0 14px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.mat-toolbar[_ngcontent-%COMP%]{height:40px;padding-left:1px;padding-top:1px}.logo-span[_ngcontent-%COMP%]{height:38px}.logo[_ngcontent-%COMP%]{width:24px;height:24px;margin:5px 0 0 5px}.text-logo[_ngcontent-%COMP%]{display:block;font-family:Arial,Helvetica,sans-serif;font-size:24px;color:#f5f5f5;width:174px;text-decoration:none;text-shadow:2px 2px 4px #000;box-shadow:1px 1px 1px #d5d5d5;padding-left:5px}"]}),e})();function IE(e,t){if(1&e&&(n.Wb(0,"mat-list-item",6),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e," ")}}function RE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"div",2),n.Wb(3,"mat-list",3),n.Ic(4,IE,2,1,"mat-list-item",4),n.Vb(),n.Vb(),n.Wb(5,"div",5),n.jc("click",(function(){return n.Cc(e),n.nc().messageService.clear()})),n.Wb(6,"mat-icon"),n.Jc(7,"clear"),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(4),n.sc("ngForOf",e.messageService.messages)}}let jE=(()=>{class e{constructor(e){this.messageService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-messages"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"flex-row"],[1,"flex-90"],["role","list"],["class","alert",4,"ngFor","ngForOf"],["title","Clear",1,"flex-10","middle",3,"click"],[1,"alert"]],template:function(e,t){1&e&&n.Ic(0,RE,8,1,"div",0),2&e&&n.sc("ngIf",t.messageService.messages.length)},directives:[P,fv,A,up,_v],styles:[".messagelist[_ngcontent-%COMP%]{margin:0}"]}),e})();const YE=["*"];function VE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",2),n.jc("click",(function(){return n.Cc(e),n.nc()._onBackdropClicked()})),n.Vb()}if(2&e){const e=n.nc();n.Gb("mat-drawer-shown",e._isShowingBackdrop())}}function WE(e,t){1&e&&(n.Wb(0,"mat-drawer-content"),n.qc(1,2),n.Vb())}const FE=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],HE=["mat-drawer","mat-drawer-content","*"];function BE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",2),n.jc("click",(function(){return n.Cc(e),n.nc()._onBackdropClicked()})),n.Vb()}if(2&e){const e=n.nc();n.Gb("mat-drawer-shown",e._isShowingBackdrop())}}function zE(e,t){1&e&&(n.Wb(0,"mat-sidenav-content",3),n.qc(1,2),n.Vb())}const NE=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],UE=["mat-sidenav","mat-sidenav-content","*"],qE={transformDrawer:Object(De.n)("transform",[Object(De.k)("open, open-instant",Object(De.l)({transform:"none",visibility:"visible"})),Object(De.k)("void",Object(De.l)({"box-shadow":"none",visibility:"hidden"})),Object(De.m)("void => open-instant",Object(De.e)("0ms")),Object(De.m)("void <=> open, open-instant => void",Object(De.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function $E(e){throw Error(`A drawer was already declared for 'position="${e}"'`)}const JE=new n.r("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),KE=new n.r("MAT_DRAWER_CONTAINER");let GE=(()=>{class e extends sh{constructor(e,t,i,n,r){super(i,n,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Object(n.U)(()=>XE)),n.Pb(n.l),n.Pb(rh),n.Pb(n.A))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&n.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[n.zb],ngContentSelectors:YE,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},encapsulation:2,changeDetection:0}),e})(),ZE=(()=>{class e{constructor(e,t,i,r,s,a,o){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=i,this._platform=r,this._ngZone=s,this._doc=a,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new an.a,this._animationEnd=new an.a,this._animationState="void",this.openedChange=new n.o(!0),this._destroyed=new an.a,this.onPositionChanged=new n.o,this._modeChanged=new an.a,this.openedChange.subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{$d(this._elementRef.nativeElement,"keydown").pipe(ki(e=>27===e.keyCode&&!this.disableClose&&!Sc(e)),Ho(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.pipe(Xu((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{const{fromState:t,toState:i}=e;(0===i.indexOf("open")&&"void"===t||"void"===i&&0===t.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=yo(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"!==this.mode:e}set autoFocus(e){this._autoFocus=yo(e)}get opened(){return this._opened}set opened(e){this.toggle(yo(e))}get _openedStream(){return this.openedChange.pipe(ki(e=>e),Object(ze.a)(()=>{}))}get openedStart(){return this._animationStarted.pipe(ki(e=>e.fromState!==e.toState&&0===e.toState.indexOf("open")),Object(ze.a)(()=>{}))}get _closedStream(){return this.openedChange.pipe(ki(e=>!e),Object(ze.a)(()=>{}))}get closedStart(){return this._animationStarted.pipe(ki(e=>e.fromState!==e.toState&&"void"===e.toState),Object(ze.a)(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(e=>{e||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}toggle(e=!this.opened,t="program"){return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=t):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(e=>{this.openedChange.pipe(Vn(1)).subscribe(t=>e(t?"open":"close"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(e){this._animationStarted.next(e)}_animationDoneListener(e){this._animationEnd.next(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Kc),n.Pb(il),n.Pb(Po),n.Pb(n.A),n.Pb(a,8),n.Pb(KE,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&n.Hb("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(n.Db("align",null),n.Rc("@transform",t._animationState),n.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:YE,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0),n.qc(1),n.Vb())},encapsulation:2,data:{animation:[qE.transformDrawer]},changeDetection:0}),e})(),XE=(()=>{class e{constructor(e,t,i,r,s,a=!1,o){this._dir=e,this._element=t,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=o,this._drawers=new n.E,this.backdropClick=new n.o,this._destroyed=new an.a,this._doCheckSubject=new an.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new an.a,e&&e.change.pipe(Ho(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Ho(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=yo(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:yo(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Jn(this._allDrawers),Ho(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(e=>!e._container||e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Jn(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Tc(10),Ho(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._width;else if("push"==this._left.mode){const i=this._left._width;e+=i,t-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._width;else if("push"==this._right.mode){const i=this._right._width;t+=i,e-=i}e=e||null,t=t||null,e===this._contentMargins.left&&t===this._contentMargins.right||(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(ki(e=>e.fromState!==e.toState),Ho(this._drawers.changes)).subscribe(e=>{"open-instant"!==e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(Ho(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(Ho(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Vn(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(Ho(Object(sd.a)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,i="mat-drawer-container-has-open";e?t.add(i):t.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?(null!=this._end&&$E("end"),this._end=e):(null!=this._start&&$E("start"),this._start=e)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Eo,8),n.Pb(n.l),n.Pb(n.A),n.Pb(n.h),n.Pb(ah),n.Pb(JE),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,GE,!0),n.Ib(i,ZE,!0)),2&e&&(n.zc(r=n.kc())&&(t._content=r.first),n.zc(r=n.kc())&&(t._allDrawers=r))},viewQuery:function(e,t){var i;1&e&&n.Sc(GE,!0),2&e&&n.zc(i=n.kc())&&(t._userContent=i.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[n.Bb([{provide:KE,useExisting:e}])],ngContentSelectors:HE,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(n.rc(FE),n.Ic(0,VE,1,2,"div",0),n.qc(1),n.qc(2,1),n.Ic(3,WE,2,0,"mat-drawer-content",1)),2&e&&(n.sc("ngIf",t.hasBackdrop),n.Cb(3),n.sc("ngIf",!t._content))},directives:[P,GE],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),e})(),QE=(()=>{class e extends GE{constructor(e,t,i,n,r){super(e,t,i,n,r)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Object(n.U)(()=>iA)),n.Pb(n.l),n.Pb(rh),n.Pb(n.A))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&n.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[n.zb],ngContentSelectors:YE,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},encapsulation:2,changeDetection:0}),e})(),eA=(()=>{class e extends ZE{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=yo(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=vo(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=vo(e)}}return e.\u0275fac=function(t){return tA(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(n.Db("align",null),n.Hc("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),n.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[n.zb],ngContentSelectors:YE,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0),n.qc(1),n.Vb())},encapsulation:2,data:{animation:[qE.transformDrawer]},changeDetection:0}),e})();const tA=n.Zb(eA);let iA=(()=>{class e extends XE{}return e.\u0275fac=function(t){return nA(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,QE,!0),n.Ib(i,eA,!0)),2&e&&(n.zc(r=n.kc())&&(t._content=r.first),n.zc(r=n.kc())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[n.Bb([{provide:KE,useExisting:e}]),n.zb],ngContentSelectors:UE,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(n.rc(NE),n.Ic(0,BE,1,2,"div",0),n.qc(1),n.qc(2,1),n.Ic(3,zE,2,0,"mat-sidenav-content",1)),2&e&&(n.sc("ngIf",t.hasBackdrop),n.Cb(3),n.sc("ngIf",!t._content))},directives:[P,QE,sh],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),e})();const nA=n.Zb(iA);let rA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl,oh,Io],pl]}),e})(),sA=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["app-footer"]],decls:3,vars:0,consts:[[1,"footer"]],template:function(e,t){1&e&&(n.Wb(0,"mat-toolbar"),n.Wb(1,"div",0),n.Jc(2," All Rights Reserved by \xa9JANUSEC "),n.Vb(),n.Vb())},directives:[DT],styles:[".mat-toolbar[_ngcontent-%COMP%]{font-size:14px;height:36px;font-family:Arial Narrow,Arial,sans-serif;text-align:center}.footer[_ngcontent-%COMP%]{text-align:center;-webkit-box-flex:1;flex:1 1 auto}"]}),e})();var aA,oA,cA,lA,dA,uA,hA,fA,pA,mA,_A,bA,gA,yA,vA,wA,CA,SA,kA,xA;function MA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",16),n.Wb(2,"mat-icon"),n.Jc(3,"forward"),n.Vb(),n.Wb(4,"span"),n.bc(5,gA),n.Vb(),n.Vb(),n.Vb())}function DA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",17),n.Wb(2,"mat-icon"),n.Jc(3,"blur_on"),n.Vb(),n.Wb(4,"span"),n.bc(5,yA),n.Vb(),n.Vb(),n.Vb())}function LA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",18),n.Wb(2,"mat-icon"),n.Jc(3,"blur_on"),n.Vb(),n.Wb(4,"span"),n.bc(5,vA),n.Vb(),n.Vb(),n.Vb())}function TA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",19),n.Wb(2,"mat-icon"),n.Jc(3,"blur_on"),n.Vb(),n.Wb(4,"span"),n.bc(5,wA),n.Vb(),n.Vb(),n.Vb())}function EA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",20),n.Wb(2,"mat-icon"),n.Jc(3,"games"),n.Vb(),n.Wb(4,"span"),n.bc(5,CA),n.Vb(),n.Vb(),n.Vb())}function AA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",21),n.Wb(2,"mat-icon"),n.Jc(3,"blur_circular"),n.Vb(),n.Wb(4,"span"),n.bc(5,SA),n.Vb(),n.Vb(),n.Vb())}function OA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",22),n.Wb(2,"mat-icon"),n.Jc(3,"settings"),n.Vb(),n.Wb(4,"span"),n.bc(5,kA),n.Vb(),n.Vb(),n.Vb())}function PA(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-sidenav",4,5),n.jc("openedChange",(function(t){return n.Cc(e),n.nc().showSidenav=t})),n.Wb(2,"mat-nav-list"),n.Wb(3,"mat-list-item"),n.Wb(4,"a",6),n.Wb(5,"mat-icon"),n.Jc(6,"dashboard"),n.Vb(),n.Wb(7,"span"),n.bc(8,aA),n.Vb(),n.Vb(),n.Vb(),n.Wb(9,"mat-accordion"),n.Wb(10,"mat-expansion-panel",7),n.Wb(11,"mat-expansion-panel-header"),n.Wb(12,"mat-panel-title"),n.Wb(13,"mat-icon"),n.Jc(14,"list"),n.Vb(),n.Wb(15,"span"),n.bc(16,oA),n.Vb(),n.Vb(),n.Vb(),n.Wb(17,"mat-list-item"),n.Wb(18,"a",8),n.Wb(19,"mat-icon"),n.Jc(20,"lock_outline"),n.Vb(),n.Wb(21,"span"),n.bc(22,cA),n.Vb(),n.Vb(),n.Vb(),n.Wb(23,"mat-list-item"),n.Wb(24,"a",9),n.Wb(25,"mat-icon"),n.Jc(26,"explore"),n.Vb(),n.Wb(27,"span"),n.bc(28,lA),n.Vb(),n.Vb(),n.Vb(),n.Ic(29,MA,6,0,"mat-list-item",3),n.Wb(30,"mat-list-item"),n.Wb(31,"a",10),n.Wb(32,"mat-icon"),n.Jc(33,"supervisor_account"),n.Vb(),n.Wb(34,"span"),n.bc(35,dA),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(36,"mat-accordion"),n.Wb(37,"mat-expansion-panel",7),n.Wb(38,"mat-expansion-panel-header"),n.Wb(39,"mat-panel-title"),n.Wb(40,"mat-icon"),n.Jc(41,"security"),n.Vb(),n.Wb(42,"span"),n.bc(43,uA),n.Vb(),n.Vb(),n.Vb(),n.Ic(44,DA,6,0,"mat-list-item",3),n.Ic(45,LA,6,0,"mat-list-item",3),n.Ic(46,TA,6,0,"mat-list-item",3),n.Vb(),n.Vb(),n.Wb(47,"mat-accordion"),n.Wb(48,"mat-expansion-panel",7),n.Wb(49,"mat-expansion-panel-header"),n.Wb(50,"mat-panel-title"),n.Wb(51,"mat-icon"),n.Jc(52,"cloud_queue"),n.Vb(),n.Wb(53,"span"),n.bc(54,hA),n.Vb(),n.Vb(),n.Vb(),n.Wb(55,"mat-list-item"),n.Wb(56,"a",11),n.Wb(57,"mat-icon"),n.Jc(58,"computer"),n.Vb(),n.Wb(59,"span"),n.Jc(60,"Web SSH"),n.Vb(),n.Vb(),n.Vb(),n.Ic(61,EA,6,0,"mat-list-item",3),n.Ic(62,AA,6,0,"mat-list-item",3),n.Wb(63,"mat-list-item"),n.Wb(64,"a",12),n.Wb(65,"mat-icon"),n.Jc(66,"check_circle_outline"),n.Vb(),n.Wb(67,"span"),n.bc(68,fA),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(69,"mat-accordion"),n.Wb(70,"mat-expansion-panel",7),n.Wb(71,"mat-expansion-panel-header"),n.Wb(72,"mat-panel-title"),n.Wb(73,"mat-icon"),n.Jc(74,"assignment"),n.Vb(),n.Wb(75,"span"),n.bc(76,pA),n.Vb(),n.Vb(),n.Vb(),n.Wb(77,"mat-list-item"),n.Wb(78,"a",13),n.Wb(79,"mat-icon"),n.Jc(80,"blur_on"),n.Vb(),n.Wb(81,"span"),n.bc(82,mA),n.Vb(),n.Vb(),n.Vb(),n.Wb(83,"mat-list-item"),n.Wb(84,"a",14),n.Wb(85,"mat-icon"),n.Jc(86,"blur_on"),n.Vb(),n.Wb(87,"span"),n.bc(88,_A),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Rb(89,"mat-divider"),n.Ic(90,OA,6,0,"mat-list-item",3),n.Rb(91,"mat-divider"),n.Wb(92,"mat-list-item"),n.Wb(93,"a",15),n.jc("click",(function(){return n.Cc(e),n.nc().toggleSidenav()})),n.Wb(94,"mat-icon"),n.Jc(95,"navigate_before"),n.Vb(),n.Wb(96,"span"),n.bc(97,bA),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("opened",e.showSidenav),n.Cb(10),n.sc("expanded",!0),n.Cb(19),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(8),n.sc("expanded",!0),n.Cb(7),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(2),n.sc("expanded",!0),n.Cb(13),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(8),n.sc("expanded",!0),n.Cb(20),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin)}}function IA(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"button",23),n.jc("click",(function(){return n.Cc(e),n.nc().toggleSidenav()})),n.Wb(2,"mat-icon"),n.Jc(3,"navigate_next"),n.Vb(),n.Wb(4,"span"),n.bc(5,xA),n.Vb(),n.Vb(),n.Vb()}}aA=$localize`:@@dashboard␟f65253954b66e929a8b4d5ecaf61f9129f8cec64␟6570363013146073520:Dashboard`,oA=$localize`:@@basic_configuration␟23806dc993d2bf333cc17bd3f7e7af272cdbf608␟398997111288379761:Basic Configuration`,cA=$localize`:@@cert_mgmt␟9e37e0d06148c7708e88b4a1eb412babbe1a4afc␟7164856686778871055:Certificate`,lA=$localize`:@@app_mgmt␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`,dA=$localize`:@@user_mgmt␟6ad31729632818476420bb0f698d617436263675␟2550377588620126747:User Management`,uA=$localize`:@@security_defense␟2b9d7d80b9eea6c5022b035216ca8945704d0b02␟8584970246374393625:Security Defense`,hA=$localize`:@@security_operation␟4f177621b86881c75ae5457014ed233b40170b6a␟6147966477423117693:Security Operation`,fA=$localize`:@@health_check␟d2bcd3296d2850de762fb943060b7e086a893181␟2041675390931385838:Health`,pA=$localize`:@@security_audit␟62f734ba974fd7e3fec3a6f4793a9696ce9e3f76␟5162040759776173662:Security Audit`,mA=$localize`:@@waf_logs␟883316cd7f2c17dcdec2000aef1291926486f046␟3148404375286852836:WAF Logs`,_A=$localize`:@@cc_logs␟0ad2a8104beb81ddecf67d9ba489f1a2fcbb5edf␟1306645041164281806:CC Logs`,bA=$localize`:@@hide_menu␟500e3a4d45805fc2037f7a2a3af2b6a09f6c16fd␟7823247950378652155:Hide Menu`,gA=$localize`:@@vip_app␟4fd4861fa4b326a79a6bb3e86b0c9e57d8bfcc26␟2223283913032152637:Forwarding`,yA=$localize`:@@waf_mgmt␟f3b763d582085f00aefea6aeeab04b157ceeb814␟5576729792646843752:WAF`,vA=$localize`:@@cc_defense␟5920b79b0e0c7f6ca6128c386be77946ad53ade9␟6556497464821373460:CC Defense`,wA=$localize`:@@ip_policy␟8f9f517abd64c0696ff319aefd501c8d6bfbcdae␟1030481121539161597:IP Policy`,CA=$localize`:@@node_mgmt␟f738b840b92bf81637cc77a10cd2b2f2c6e09796␟3971614543116674506:Node`,SA=$localize`:@@api_interface␟ddd6dd9c3c3538836b10ad075dab5f569c229144␟6709824683221194532:API Interface`,kA=$localize`:@@global_settings␟9ad6cb3f49ff69d3715e3a31461ca3a196c1a0c9␟4468741256615440810:Global Settings`,xA=$localize`:@@show_menu␟de54f7fef2294c31aec9103d3dcc375ef20e6de1␟409723564111664560:Show Menu`;let RA=(()=>{class e{constructor(e,t){this.router=e,this.rpcService=t,this.position="right",this.showSidenav=!0}ngOnInit(){}toggleSidenav(){this.showSidenav=!this.showSidenav}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Sa),n.Pb(go))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-root"]],decls:9,vars:2,consts:[[1,"sidenav-container"],["mode","side","class","sidenav","role","navigation",3,"opened","openedChange",4,"ngIf"],["role","region",1,"content"],[4,"ngIf"],["mode","side","role","navigation",1,"sidenav",3,"opened","openedChange"],["sidenav",""],["routerLink","/dashboard"],[1,"nav-panel",3,"expanded"],["routerLink","/certificates"],["routerLink","/applications"],["routerLink","/usermgmt"],["routerLink","/webssh"],["routerLink","/health"],["routerLink","/logs"],["routerLink","/cclogs"],[3,"click"],["routerLink","/forwarding"],["routerLink","/waf"],["routerLink","/cc"],["routerLink","/ip-policy"],["routerLink","/nodes"],["routerLink","/api-interface"],["routerLink","/settings"],[1,"btn_shownav",3,"click"]],template:function(e,t){1&e&&(n.Ub(0),n.Rb(1,"app-navbar"),n.Rb(2,"app-messages"),n.Wb(3,"mat-sidenav-container",0),n.Ic(4,PA,98,12,"mat-sidenav",1),n.Wb(5,"mat-sidenav-content",2),n.Ic(6,IA,6,0,"div",3),n.Rb(7,"router-outlet"),n.Vb(),n.Vb(),n.Rb(8,"app-footer"),n.Tb()),2&e&&(n.Cb(4),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(2),n.sc("ngIf",0==t.showSidenav))},directives:[PE,jE,iA,P,QE,La,sA,eA,uv,_v,ka,up,Lm,xm,Mm,Dm,Pp],styles:[".sidenav-container[_ngcontent-%COMP%]{min-height:800px}.sidenav[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:top;align-items:top;-webkit-box-pack:center;justify-content:center;width:210px}mat-icon[_ngcontent-%COMP%]{font-size:14px;vertical-align:middle}.mat-sidenav[_ngcontent-%COMP%]{background-color:#e5e5e5}.mat-list-item[_ngcontent-%COMP%]{font-size:12px;font-family:Arial Narrow,Arial,sans-serif;padding-top:1px}.btn_shownav[_ngcontent-%COMP%]{margin-top:2px;padding:10px 5px;border:0;height:36px}.mat-sidenav[_ngcontent-%COMP%], .nav-panel[_ngcontent-%COMP%]{background-color:#f5f5f5}.nav-panel[_ngcontent-%COMP%]{padding:0}.sub_list[_ngcontent-%COMP%]{margin:0}.mat-expansion-panel-header[_ngcontent-%COMP%]{padding:0 16px;font-size:12px}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:last-of-type{border-radius:0}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{height:32px} .mat-expansion-panel-body{padding:0 12px!important}mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none!important}"]}),e})(),jA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl,Nl],pl]}),e})();const YA={provide:new n.r("mat-autocomplete-scroll-strategy"),deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let VA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[YA],imports:[[nd,Xh,pl,U],nd,pl]}),e})();const WA=new n.r("mat-chips-default-options"),FA={separatorKeyCodes:[13]};let HA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Il,{provide:WA,useValue:FA}]}),e})(),BA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Yl,pl],Yl,pl]}),e})(),zA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl],pl]}),e})(),NA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl,U],pl]}),e})(),UA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl],pl]}),e})(),qA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})(),$A=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[qA,Nl,pl,jc],qA,pl]}),e})(),JA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Xh,yh,U,qd,pl],pl]}),e})(),KA=(()=>{class e{constructor(){this.changes=new an.a,this.sortButtonLabel=e=>`Change sorting for ${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const GA={provide:KA,deps:[[new n.B,new n.K,KA]],useFactory:function(e){return e||new KA}};let ZA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[GA],imports:[[U]]}),e})(),XA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Ao]]}),e})(),QA=(()=>{class e{constructor(){this.changes=new an.a,this.optionalLabel="Optional"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const eO={provide:QA,deps:[[new n.B,new n.K,QA]],useFactory:function(e){return e||new QA}};let tO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[eO,Il],imports:[[pl,U,yh,qd,XA,hp,Nl],pl]}),e})(),iO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[B_]]}),e})(),nO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[B_]]}),e})(),rO=(()=>{class e{constructor(e,t){$(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,i=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:q_,useValue:Object.assign(Object.assign({},U_),t)},{provide:J_,useValue:i,multi:!0},{provide:$_,useValue:!0}]:[{provide:q_,useValue:Object.assign(Object.assign({},U_),t)},{provide:J_,useValue:i,multi:!0}]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc($_),n.fc(n.C))},imports:[[Ub,iO,nO],Ub,iO,nO]}),e})(),sO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[Cc,VA,qd,jA,Vd,zm,HA,CC,Iw,Em,Du,BA,hp,zu,bv,LE,Pl,Kf,zA,NA,wD,Nl,yf,rA,UA,$A,JA,ZA,Md,gk,LT,jf,tO]}),e})(),aO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e,bootstrap:[RA]}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[_o,go,{provide:_,useClass:v}],imports:[[sO,Me,Fe,rO,_i,sn,nE,ZD]]}),e})();Object(n.T)(),ke().bootstrapModule(aO).catch(e=>console.log(e))},zZGF:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},zavE:function(e,t,i){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},zx6S:function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var r=t.words[n];return 1===n.length?i?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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] [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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))}},[[0,0]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+qE3":function(e,t,i){"use strict";var n,r="object"==typeof Reflect?Reflect:null,s=r&&"function"==typeof r.apply?r.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)};n=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var c=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,i,n){var r,s,a;if(l(i),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),s=e._events),a=s[t]),void 0===a)a=s[t]=i,++e._eventsCount;else if("function"==typeof a?a=s[t]=n?[i,a]:[a,i]:n?a.unshift(i):a.push(i),(r=d(e))>0&&a.length>r&&!a.warned){a.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=a.length,console&&console.warn&&console.warn(o)}return e}function h(){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(e,t,i){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},r=h.bind(n);return r.listener=i,n.wrapFn=r,r}function p(e,t,i){var n=e._events;if(void 0===n)return[];var r=n[t];return void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?function(e){for(var t=new Array(e.length),i=0;i0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var c=r[e];if(void 0===c)return!1;if("function"==typeof c)s(c,this,t);else{var l=c.length,d=_(c,l);for(i=0;i=0;s--)if(i[s]===t||i[s].listener===t){a=i[s].listener,r=s;break}if(r<0)return this;0===r?i.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},"+s0g":function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},"//9w":function(e,t,i){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".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\u017ees",past:"ma\u014bit %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\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"/POA":function(e,t,i){window,e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,(function(t){return e[t]}).bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=32)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(14);t.IBufferService=n.createDecorator("BufferService"),t.ICoreMouseService=n.createDecorator("CoreMouseService"),t.ICoreService=n.createDecorator("CoreService"),t.ICharsetService=n.createDecorator("CharsetService"),t.IDirtyRowService=n.createDecorator("DirtyRowService"),t.IInstantiationService=n.createDecorator("InstantiationService"),t.ILogService=n.createDecorator("LogService"),t.IOptionsService=n.createDecorator("OptionsService"),t.IUnicodeService=n.createDecorator("UnicodeService")},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var i=0;i>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?s.stringFromCodePoint(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[a.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[a.CHAR_DATA_CHAR_INDEX].length){var i=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=i&&i<=56319){var n=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=n&&n<=57343?this.content=1024*(i-55296)+n-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(i(6).AttributeData);t.CellData=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.fg=0,this.bg=0}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e}();t.AttributeData=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=e.length);for(var n="",r=t;r65535?(s-=65536,n+=String.fromCharCode(55296+(s>>10))+String.fromCharCode(s%1024+56320)):n+=String.fromCharCode(s)}return n};var n=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var n=0,r=0;this._interim&&(56320<=(o=e.charCodeAt(r++))&&o<=57343?t[n++]=1024*(this._interim-55296)+o-56320+65536:(t[n++]=this._interim,t[n++]=o),this._interim=0);for(var s=r;s=i)return this._interim=a,n;var o;56320<=(o=e.charCodeAt(s))&&o<=57343?t[n++]=1024*(a-55296)+o-56320+65536:(t[n++]=a,t[n++]=o)}else t[n++]=a}return n},e}();t.StringToUtf32=n;var r=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var n,r,s,a,o=0,c=0,l=0;if(this.interim[0]){var d=!1,u=this.interim[0];u&=192==(224&u)?31:224==(240&u)?15:7;for(var h=0,f=void 0;(f=63&this.interim[++h])&&h<4;)u<<=6,u|=f;for(var p=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=p-h;l=i)return 0;if(128!=(192&(f=e[l++]))){l--,d=!0;break}this.interim[h++]=f,u<<=6,u|=63&f}d||(2===p?u<128?l--:t[o++]=u:3===p?u<2048||u>=55296&&u<=57343||(t[o++]=u):u<65536||u>1114111||(t[o++]=u)),this.interim.fill(0)}for(var _=i-4,b=l;b=i)return this.interim[0]=n,o;if(128!=(192&(r=e[b++]))){b--;continue}if((c=(31&n)<<6|63&r)<128){b--;continue}t[o++]=c}else if(224==(240&n)){if(b>=i)return this.interim[0]=n,o;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=i)return this.interim[0]=n,this.interim[1]=r,o;if(128!=(192&(s=e[b++]))){b--;continue}if((c=(15&n)<<12|(63&r)<<6|63&s)<2048||c>=55296&&c<=57343)continue;t[o++]=c}else if(240==(248&n)){if(b>=i)return this.interim[0]=n,o;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=i)return this.interim[0]=n,this.interim[1]=r,o;if(128!=(192&(s=e[b++]))){b--;continue}if(b>=i)return this.interim[0]=n,this.interim[1]=r,this.interim[2]=s,o;if(128!=(192&(a=e[b++]))){b--;continue}if((c=(7&n)<<18|(63&r)<<12|(63&s)<<6|63&a)<65536||c>1114111)continue;t[o++]=c}}return o},e}();t.Utf8ToUtf32=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=function(e,t,i,n){e.addEventListener(t,i,n);var r=!1;return{dispose:function(){r&&(r=!0,e.removeEventListener(t,i,n))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,i){"use strict";var n,r,s,a;function o(e){var t=e.toString(16);return t.length<2?"0"+t:t}function c(e,t){return e>>0}}(n=t.channels||(t.channels={})),(r=t.color||(t.color={})).blend=function(e,t){var i=(255&t.rgba)/255;if(1===i)return{css:t.css,rgba:t.rgba};var r=t.rgba>>16&255,s=t.rgba>>8&255,a=e.rgba>>24&255,o=e.rgba>>16&255,c=e.rgba>>8&255,l=a+Math.round(((t.rgba>>24&255)-a)*i),d=o+Math.round((r-o)*i),u=c+Math.round((s-c)*i);return{css:n.toCss(l,d,u),rgba:n.toRgba(l,d,u)}},r.ensureContrastRatio=function(e,t,i){var n=a.ensureContrastRatio(e.rgba,t.rgba,i);if(n)return a.toColor(n>>24&255,n>>16&255,n>>8&255)},r.opaque=function(e){var t=(255|e.rgba)>>>0,i=a.toChannels(t);return{css:n.toCss(i[0],i[1],i[2]),rgba:t}},(t.css||(t.css={})).toColor=function(e){return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0}},function(e){function t(e,t,i){var n=e/255,r=t/255,s=i/255;return.2126*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(s=t.rgb||(t.rgb={})),function(e){function t(e,t,i){for(var n=e>>24&255,r=e>>16&255,a=e>>8&255,o=t>>24&255,l=t>>16&255,d=t>>8&255,u=c(s.relativeLuminance2(o,d,l),s.relativeLuminance2(n,r,a));u0||l>0||d>0);)o-=Math.max(0,Math.ceil(.1*o)),l-=Math.max(0,Math.ceil(.1*l)),d-=Math.max(0,Math.ceil(.1*d)),u=c(s.relativeLuminance2(o,d,l),s.relativeLuminance2(n,r,a));return(o<<24|l<<16|d<<8|255)>>>0}function i(e,t,i){for(var n=e>>24&255,r=e>>16&255,a=e>>8&255,o=t>>24&255,l=t>>16&255,d=t>>8&255,u=c(s.relativeLuminance2(o,d,l),s.relativeLuminance2(n,r,a));u>>0}e.ensureContrastRatio=function(e,n,r){var a=s.relativeLuminance(e>>8),o=s.relativeLuminance(n>>8);if(c(a,o)>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,i){return{css:n.toCss(e,t,i),rgba:n.toRgba(e,t,i)}}}(a=t.rgba||(t.rgba={})),t.toPaddedHex=o,t.contrastRatio=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof navigator,r=n?"node":navigator.userAgent,s=n?"node":navigator.platform;function a(e,t){return e.indexOf(t)>=0}t.isFirefox=!!~r.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(r),t.isMac=a(["Macintosh","MacIntel","MacPPC","Mac68K"],s),t.isIpad="iPad"===s,t.isIphone="iPhone"===s,t.isWindows=a(["Windows","Win16","Win32","WinCE"],s),t.isLinux=s.indexOf("Linux")>=0},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.NUL="\0",e.SOH="\x01",e.STX="\x02",e.ETX="\x03",e.EOT="\x04",e.ENQ="\x05",e.ACK="\x06",e.BEL="\x07",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="\x0e",e.SI="\x0f",e.DLE="\x10",e.DC1="\x11",e.DC2="\x12",e.DC3="\x13",e.DC4="\x14",e.NAK="\x15",e.SYN="\x16",e.ETB="\x17",e.CAN="\x18",e.EM="\x19",e.SUB="\x1a",e.ESC="\x1b",e.FS="\x1c",e.GS="\x1d",e.RS="\x1e",e.US="\x1f",e.SP=" ",e.DEL="\x7f"}(t.C0||(t.C0={})),function(e){e.PAD="\x80",e.HOP="\x81",e.BPH="\x82",e.NBH="\x83",e.IND="\x84",e.NEL="\x85",e.SSA="\x86",e.ESA="\x87",e.HTS="\x88",e.HTJ="\x89",e.VTS="\x8a",e.PLD="\x8b",e.PLU="\x8c",e.RI="\x8d",e.SS2="\x8e",e.SS3="\x8f",e.DCS="\x90",e.PU1="\x91",e.PU2="\x92",e.STS="\x93",e.CCH="\x94",e.MW="\x95",e.SPA="\x96",e.EPA="\x97",e.SOS="\x98",e.SGCI="\x99",e.SCI="\x9a",e.CSI="\x9b",e.ST="\x9c",e.OSC="\x9d",e.PM="\x9e",e.APC="\x9f"}(t.C1||(t.C1={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3),r=i(9),s=i(23),a=i(6),o=i(26),c=i(10),l=function(){function e(e,t,i,n,r,s,a,o){this._container=e,this._alpha=n,this._colors=r,this._rendererId=s,this._bufferService=a,this._optionsService=o,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=i.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;this._container.removeChild(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=o.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,i){void 0===i&&(i=!1)},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=s.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype._fillCells=function(e,t,i,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,n*this._scaledCellHeight)},e.prototype._fillBottomLineAtCells=function(e,t,i){void 0===i&&(i=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,i*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*i,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,i,n){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,i*this._scaledCellWidth-window.devicePixelRatio,n*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,i,n){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,n*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,n*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,i){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(i),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},e.prototype._drawChars=function(e,t,i){var s,a,o=this._getContrastColor(e);o||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,i,o):(e.isInverse()?(s=e.isBgDefault()?r.INVERTED_DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?r.INVERTED_DEFAULT_COLOR:e.getFgColor()):(a=e.isBgDefault()?n.DEFAULT_COLOR:e.getBgColor(),s=e.isFgDefault()?n.DEFAULT_COLOR:e.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||n.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||n.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,i))},e.prototype._drawUncachedChars=function(e,t,i,n){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(n)this._ctx.fillStyle=n.css;else if(e.isBgDefault())this._ctx.fillStyle=c.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var s=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8&&(s+=8),this._ctx.fillStyle=this._colors.ansi[s].css}else if(n)this._ctx.fillStyle=n.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var o=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),this._ctx.fillStyle=this._colors.ansi[o].css}this._clipRow(i),e.isDim()&&(this._ctx.globalAlpha=r.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},e.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var i=e.getFgColor(),n=e.getFgColorMode(),r=e.getBgColor(),s=e.getBgColorMode(),a=!!e.isInverse(),o=!!e.isInverse();if(a){var l=i;i=r,r=l;var d=n;n=s,s=d}var u=this._resolveBackgroundRgba(s,r,a),h=this._resolveForegroundRgba(n,i,a,o),f=c.rgba.ensureContrastRatio(u,h,this._optionsService.options.minimumContrastRatio);if(f){var p={css:c.channels.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(e.bg,e.fg,p),p}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},e.prototype._resolveBackgroundRgba=function(e,t,i){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,i,n){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&n&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.background.rgba:this._colors.foreground.rgba}},e}();t.BaseRenderLayer=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="di$target",r="di$dependencies";function s(e,t,i){t[n]===t?t[r].push({id:e,index:i}):(t[r]=[{id:e,index:i}],t[n]=t)}t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[r]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var i=function(e,t,n){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");s(i,e,n)};return i.toString=function(){return e},t.serviceRegistry.set(e,i),i}},function(e,t,i){"use strict";function n(e,t,i,n){if(void 0===i&&(i=0),void 0===n&&(n=e.length),i>=e.length)return e;n=n>=e.length?e.length:(e.length+n)%e.length;for(var r=i=(e.length+i)%e.length;r>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):i]},e.prototype.set=function(e,t){this._data[3*e+1]=t[r.CHAR_DATA_ATTR_INDEX],t[r.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[r.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[r.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?n.stringFromCodePoint(2097151&t):""},e.prototype.loadCell=function(e,t){var i=3*e;return t.content=this._data[i+0],t.fg=this._data[i+1],t.bg=this._data[i+2],2097152&t.content&&(t.combinedData=this._combined[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,i,n,r){this._data[3*e+0]=t|i<<22,this._data[3*e+1]=n,this._data[3*e+2]=r},e.prototype.addCodepointToCell=function(e,t){var i=this._data[3*e+0];2097152&i?this._combined[e]+=n.stringFromCodePoint(t):(2097151&i?(this._combined[e]=n.stringFromCodePoint(2097151&i)+n.stringFromCodePoint(t),i&=-2097152,i|=2097152):i=t|1<<22,this._data[3*e+0]=i)},e.prototype.insertCells=function(e,t,i,n){var r,a,o,c;if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===(r=n)||void 0===r?void 0:r.fg)||0,(null===(a=n)||void 0===a?void 0:a.bg)||0),t=0;--d)this.setCell(e+t+d,this.loadCell(e+d,l));for(d=0;dthis.length){var i=new Uint32Array(3*e);this.length&&i.set(3*e=e&&delete this._combined[s]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={};for(var t=0;t=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,i,n,r){var s=e._data;if(r)for(var a=n-1;a>=0;a--)for(var o=0;o<3;o++)this._data[3*(i+a)+o]=s[3*(t+a)+o];else for(a=0;a=t&&(this._combined[l-t+i]=e._combined[l])}},e.prototype.translateToString=function(e,t,i){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===i&&(i=this.length),e&&(i=Math.min(i,this.getTrimmedLength()));for(var s="";t>22||1}return s},e}();t.BufferLine=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"\u25c6",a:"\u2592",b:"\u2409",c:"\u240c",d:"\u240d",e:"\u240a",f:"\xb0",g:"\xb1",h:"\u2424",i:"\u240b",j:"\u2518",k:"\u2510",l:"\u250c",m:"\u2514",n:"\u253c",o:"\u23ba",p:"\u23bb",q:"\u2500",r:"\u23bc",s:"\u23bd",t:"\u251c",u:"\u2524",v:"\u2534",w:"\u252c",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03c0","|":"\u2260","}":"\xa3","~":"\xb7"},t.CHARSETS.A={"#":"\xa3"},t.CHARSETS.B=null,t.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},t.CHARSETS.C=t.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},t.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},t.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},t.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},t.CHARSETS.E=t.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},t.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},t.CHARSETS.H=t.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var i=new e;if(!t.length)return i;for(var n=t[0]instanceof Array?1:0;n>8,n=255&this._subParamsIdx[t];n-i>0&&e.push(Array.prototype.slice.call(this._subParams,i,n))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,i=255&this._subParamsIdx[e];return i-t>0?this._subParams.subarray(t,i):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t>8,n=255&this._subParamsIdx[t];n-i>0&&(e[t]=this._subParams.slice(i,n))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var i=this._digitIsSub?this._subParams:this.params,n=i[t-1];i[t-1]=~n?Math.min(10*n+e,2147483647):e}},e}();t.Params=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(21),r=i(7),s=function(){function e(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},e.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;t>=0;t--)e[t].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,i){var n=this._handlers[this._id];if(n)for(var s=n.length-1;s>=0;s--)n[s].put(e,t,i);else this._handlerFb(this._id,"PUT",r.utf32ToString(e,t,i))},e.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var i=t.length-1;i>=0&&!1===t[i].end(e);i--);for(i--;i>=0;i--)t[i].end(!1)}else this._handlerFb(this._id,"END",e)},e.prototype.start=function(){this.reset(),this._id=-1,this._state=1},e.prototype.put=function(e,t,i){if(3!==this._state){if(1===this._state)for(;t0&&this._put(e,t,i)}},e.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},e}();t.OscParser=s;var a=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,i){this._hitLimit||(this._data+=r.utf32ToString(e,t,i),this._data.length>n.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},e}();t.OscHandler=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=1e7},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7),r=i(19),s=i(21),a=[],o=function(){function e(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=a,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,i){if(this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,i);else this._handlerFb(this._ident,"PUT",n.utf32ToString(e,t,i))},e.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;t>=0&&!1===this._active[t].unhook(e);t--);for(t--;t>=0;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0},e}();t.DcsParser=o;var c=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,i){this._hitLimit||(this._data+=n.utf32ToString(e,t,i),this._data.length>s.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params?this._params:new r.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},e}();t.DcsHandler=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(24),r=i(42),s=[];t.acquireCharAtlas=function(e,t,i,a,o){for(var c=n.generateConfig(a,o,e,i),l=0;l=0){if(n.configEquals(u.config,c))return u.atlas;1===u.ownedBy.length?(u.atlas.dispose(),s.splice(l,1)):u.ownedBy.splice(d,1);break}}for(l=0;l1)for(var u=this._getJoinedRanges(n,o,s,t,r),h=0;h1)for(u=this._getJoinedRanges(n,o,s,t,r),h=0;h=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new n.CellData)},e.prototype.translateToString=function(e,t,i){return this._line.translateToString(e,t,i)},e}(),d=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,(function(e){return t(e.toArray())}))},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.addDcsHandler(e,(function(e,i){return t(e,i.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}(),u=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!0,configurable:!0}),e}()},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(34),a=i(35),o=i(36),c=i(12),l=i(37),d=i(39),u=i(49),h=i(50),f=i(11),p=i(8),m=i(17),_=i(53),b=i(54),g=i(55),y=i(56),v=i(58),w=i(1),C=i(16),S=i(59),k=i(25),x=i(60),M=i(0),D=i(61),L=i(4),T=i(62),E=i(63),A=i(2),O=i(69),P=i(70),I=i(71),R=i(72),j=i(73),Y=i(74),V=i(75),W=i(76),F=i(77),H=i(79),B="undefined"!=typeof window?window.document:null,z=function(e){function t(t){void 0===t&&(t={});var i=e.call(this)||this;return i.browser=f,i.mouseEvents=0,i._keyDownHandled=!1,i._blankLine=null,i._onCursorMove=new w.EventEmitter,i._onData=new w.EventEmitter,i._onBinary=new w.EventEmitter,i._onKey=new w.EventEmitter,i._onLineFeed=new w.EventEmitter,i._onRender=new w.EventEmitter,i._onResize=new w.EventEmitter,i._onScroll=new w.EventEmitter,i._onSelectionChange=new w.EventEmitter,i._onTitleChange=new w.EventEmitter,i._onFocus=new w.EventEmitter,i._onBlur=new w.EventEmitter,i.onA11yCharEmitter=new w.EventEmitter,i.onA11yTabEmitter=new w.EventEmitter,i._instantiationService=new j.InstantiationService,i.optionsService=new D.OptionsService(t),i._instantiationService.setService(M.IOptionsService,i.optionsService),i._bufferService=i._instantiationService.createInstance(E.BufferService),i._instantiationService.setService(M.IBufferService,i._bufferService),i._logService=i._instantiationService.createInstance(I.LogService),i._instantiationService.setService(M.ILogService,i._logService),i._coreService=i._instantiationService.createInstance(P.CoreService,(function(){return i.scrollToBottom()})),i._instantiationService.setService(M.ICoreService,i._coreService),i._coreService.onData((function(e){return i._onData.fire(e)})),i._coreService.onBinary((function(e){return i._onBinary.fire(e)})),i._coreMouseService=i._instantiationService.createInstance(Y.CoreMouseService),i._instantiationService.setService(M.ICoreMouseService,i._coreMouseService),i._dirtyRowService=i._instantiationService.createInstance(R.DirtyRowService),i._instantiationService.setService(M.IDirtyRowService,i._dirtyRowService),i.unicodeService=i._instantiationService.createInstance(F.UnicodeService),i._instantiationService.setService(M.IUnicodeService,i.unicodeService),i._charsetService=i._instantiationService.createInstance(H.CharsetService),i._instantiationService.setService(M.ICharsetService,i._charsetService),i._setupOptionsListeners(),i._setup(),i._writeBuffer=new V.WriteBuffer((function(e){return i._inputHandler.parse(e)})),i}return r(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this.onA11yCharEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this.onA11yTabEmitter.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){var t,i,n,r;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0,null===(i=this._renderService)||void 0===i||i.dispose(),this._customKeyEventHandler=null,this.write=function(){},null===(r=null===(n=this.element)||void 0===n?void 0:n.parentNode)||void 0===r||r.removeChild(this.element))},t.prototype._setup=function(){var e=this;this._customKeyEventHandler=null,this.insertMode=!1,this.bracketedPasteMode=!1,this._userScrolling=!1,this._inputHandler?this._inputHandler.reset():(this._inputHandler=new l.InputHandler(this,this._bufferService,this._charsetService,this._coreService,this._dirtyRowService,this._logService,this.optionsService,this._coreMouseService,this.unicodeService,this._instantiationService),this._inputHandler.onRequestBell((function(){return e.bell()})),this._inputHandler.onRequestRefreshRows((function(t,i){return e.refresh(t,i)})),this._inputHandler.onRequestReset((function(){return e.reset()})),this._inputHandler.onCursorMove((function(){return e._onCursorMove.fire()})),this._inputHandler.onLineFeed((function(){return e._onLineFeed.fire()})),this.register(this._inputHandler)),this.linkifier||(this.linkifier=new u.Linkifier(this._bufferService,this._logService,this.optionsService,this.unicodeService)),this.options.windowsMode&&this._enableWindowsMode()},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(S.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},(function(){return S.updateWindowsModeWrappedState(e._bufferService),!1}))),this._windowsMode={dispose:function(){t.forEach((function(e){return e.dispose()}))}}}},Object.defineProperty(t.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},t.prototype._setupOptionsListeners=function(){var e=this;this.optionsService.onOptionChange((function(t){var i,n,r,s,a;switch(t){case"fontFamily":case"fontSize":null===(i=e._renderService)||void 0===i||i.clear(),null===(n=e._charSizeService)||void 0===n||n.measure();break;case"cursorBlink":case"cursorStyle":e.refresh(e.buffer.y,e.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":e._renderService&&(e._renderService.clear(),e._renderService.onResize(e.cols,e.rows),e.refresh(0,e.rows-1));break;case"rendererType":e._renderService&&(e._renderService.setRenderer(e._createRenderer()),e._renderService.onResize(e.cols,e.rows));break;case"scrollback":e.buffers.resize(e.cols,e.rows),null===(r=e.viewport)||void 0===r||r.syncScrollArea();break;case"screenReaderMode":e.optionsService.options.screenReaderMode?!e._accessibilityManager&&e._renderService&&(e._accessibilityManager=new g.AccessibilityManager(e,e._renderService)):(null===(s=e._accessibilityManager)||void 0===s||s.dispose(),e._accessibilityManager=null);break;case"tabStopWidth":e.buffers.setupTabStops();break;case"theme":e._setTheme(e.optionsService.options.theme);break;case"windowsMode":e.optionsService.options.windowsMode?e._enableWindowsMode():(null===(a=e._windowsMode)||void 0===a||a.dispose(),e._windowsMode=void 0)}}))},t.prototype._onTextAreaFocus=function(e){this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this.showCursor(),this._onFocus.fire()},t.prototype.blur=function(){return this.textarea.blur()},t.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},t.prototype._initGlobal=function(){var e=this;this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",(function(t){e.hasSelection()&&o.copyHandler(t,e._selectionService)})));var t=function(t){return o.handlePasteEvent(t,e.textarea,e.bracketedPasteMode,e._coreService)};this.register(p.addDisposableDomListener(this.textarea,"paste",t)),this.register(p.addDisposableDomListener(this.element,"paste",t)),this.register(f.isFirefox?p.addDisposableDomListener(this.element,"mousedown",(function(t){2===t.button&&o.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)})):p.addDisposableDomListener(this.element,"contextmenu",(function(t){o.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),f.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",(function(t){1===t.button&&o.moveTextAreaUnderMouseCursor(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register(p.addDisposableDomListener(this.textarea,"compositionend",(function(){return e._compositionHelper.compositionend()}))),this.register(this.onRender((function(){return e._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(t){return e._queueLinkification(t.start,t.end)})))},t.prototype.open=function(e){var t=this;if(!e)throw new Error("Terminal requires a parent element.");B.body.contains(e)||this._logService.warn("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var i=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),i.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),i.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",m.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(p.addDisposableDomListener(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register(p.addDisposableDomListener(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var n=this._instantiationService.createInstance(W.CoreBrowserService,this.textarea);this._instantiationService.setService(L.ICoreBrowserService,n),this._charSizeService=this._instantiationService.createInstance(T.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(L.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(s.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(i),this._theme=this.options.theme||this._theme,this.options.theme=void 0,this._colorManager=new k.ColorManager(B,this.options.allowTransparency),this.optionsService.onOptionChange((function(e){return t._colorManager.onOptionsChange(e)})),this._colorManager.setTheme(this._theme);var r=this._createRenderer();this._renderService=this._instantiationService.createInstance(x.RenderService,r,this.rows,this.screenElement),this._instantiationService.setService(L.IRenderService,this._renderService),this._renderService.onRender((function(e){return t._onRender.fire(e)})),this.onResize((function(e){return t._renderService.resize(e.cols,e.rows)})),this._soundService=this._instantiationService.createInstance(_.SoundService),this._instantiationService.setService(L.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(L.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(a.Viewport,(function(e,i){return t.scrollLines(e,i)}),this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this.viewport),this.register(this.onCursorMove((function(){return t._renderService.onCursorMove()}))),this.register(this.onResize((function(){return t._renderService.onResize(t.cols,t.rows)}))),this.register(this.onBlur((function(){return t._renderService.onBlur()}))),this.register(this.onFocus((function(){return t._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return t.viewport.syncScrollArea()}))),this._selectionService=this._instantiationService.createInstance(h.SelectionService,(function(e,i){return t.scrollLines(e,i)}),this.element,this.screenElement),this._instantiationService.setService(L.ISelectionService,this._selectionService),this.register(this._selectionService.onSelectionChange((function(){return t._onSelectionChange.fire()}))),this.register(this._selectionService.onRedrawRequest((function(e){return t._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(e){t.textarea.value=e,t.textarea.focus(),t.textarea.select()}))),this.register(this.onScroll((function(){t.viewport.syncScrollArea(),t._selectionService.refresh()}))),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(b.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return t._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.register(p.addDisposableDomListener(this.element,"mousedown",(function(e){return t._selectionService.onMouseDown(e)}))),this.mouseEvents?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},t.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(d.Renderer,this._colorManager.colors,this.screenElement,this.linkifier);case"dom":return this._instantiationService.createInstance(y.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},t.prototype._setTheme=function(e){var t,i,n;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(i=this._renderService)||void 0===i||i.setColors(this._colorManager.colors),null===(n=this.viewport)||void 0===n||n.onThemeChange(this._colorManager.colors)},t.prototype.bindMouse=function(){var e=this,t=this,i=this.element;function n(e){var i,n,r;if(!(i=t._mouseService.getRawByteCoords(e,t.screenElement,t.cols,t.rows)))return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(n=3,void 0!==e.button&&(n=e.button<3?e.button:3)):n=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,n=e.button<3?e.button:3;break;case"mousedown":r=1,n=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),n=4;break;default:return!1}return!(void 0===r||void 0===n||n>4)&&t._coreMouseService.triggerMouseEvent({col:i.x-33,row:i.y-33,button:n,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},s=function(t){return n(t),t.buttons||(e._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.removeEventListener("mousemove",r.mousedrag)),e.cancel(t)},a=function(t){return n(t),t.preventDefault(),e.cancel(t)},o=function(e){e.buttons&&n(e)},l=function(e){e.buttons||n(e)};this._coreMouseService.onProtocolChange((function(t){e.mouseEvents=t,t?("debug"===e.optionsService.options.logLevel&&e._logService.debug("Binding to mouse events:",e._coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?r.mousemove||(i.addEventListener("mousemove",l),r.mousemove=l):(i.removeEventListener("mousemove",r.mousemove),r.mousemove=null),16&t?r.wheel||(i.addEventListener("wheel",a),r.wheel=a):(i.removeEventListener("wheel",r.wheel),r.wheel=null),2&t?r.mouseup||(r.mouseup=s):(e._document.removeEventListener("mouseup",r.mouseup),r.mouseup=null),4&t?r.mousedrag||(r.mousedrag=o):(e._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(i,"mousedown",(function(t){if(t.preventDefault(),e.focus(),e.mouseEvents&&!e._selectionService.shouldForceSelection(t))return n(t),r.mouseup&&e._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.addEventListener("mousemove",r.mousedrag),e.cancel(t)}))),this.register(p.addDisposableDomListener(i,"wheel",(function(t){if(r.wheel);else if(!e.buffer.hasScrollback){var i=e.viewport.getLinesScrolled(t);if(0===i)return;for(var n=c.C0.ESC+(e._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),s="",a=0;a=this.buffer.ybase&&(this._userScrolling=!1);var i=this.buffer.ydisp;this.buffer.ydisp=Math.max(Math.min(this.buffer.ydisp+e,this.buffer.ybase),0),i!==this.buffer.ydisp&&(t||this._onScroll.fire(this.buffer.ydisp),this.refresh(0,this.rows-1))},t.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},t.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},t.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},t.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},t.prototype.paste=function(e){o.paste(e,this.textarea,this.bracketedPasteMode,this._coreService)},t.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},t.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},t.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},t.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},t.prototype.registerLinkMatcher=function(e,t,i){var n=this.linkifier.registerLinkMatcher(e,t,i);return this.refresh(0,this.rows-1),n},t.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},t.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},t.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(t.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!0,configurable:!0}),t.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},t.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},t.prototype.select=function(e,t,i){this._selectionService.setSelection(e,t,i)},t.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},t.prototype.getSelectionPosition=function(){if(this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},t.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},t.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},t.prototype.selectLines=function(e,t){var i;null===(i=this._selectionService)||void 0===i||i.selectLines(e,t)},t.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=v.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===t.type||2===t.type){var i=this.rows-1;return this.scrollLines(2===t.type?-i:i),this.cancel(e,!0)}return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==c.C0.ETX&&t.key!==c.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)))},t.prototype._isThirdLevelShift=function(e,t){var i=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?i:i&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e))},t.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null==e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t,!0),0))},t.prototype.bell=function(){var e=this;this._soundBell()&&this._soundService.playBellSound(),this._visualBell()&&(this.element.classList.add("visual-bell-active"),clearTimeout(this._visualBellTimer),this._visualBellTimer=window.setTimeout((function(){e.element.classList.remove("visual-bell-active")}),200))},t.prototype.resize=function(e,t){var i,n;isNaN(e)||isNaN(t)||(e!==this.cols||t!==this.rows?(e=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(4),a=i(0),o=function(){function e(e,t,i,n,r,s){this._textarea=e,this._compositionView=t,this._bufferService=i,this._optionsService=n,this._charSizeService=r,this._coreService=s,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((function(){t._compositionPosition.end=t._textarea.value.length}),0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,this._clearTextareaPosition(),e){var i={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,e=t._isComposing?t._textarea.value.substring(i.start,i.end):t._textarea.value.substring(i.start),t._coreService.triggerDataEvent(e,!0))}),0)}else{this._isSendingComposition=!1;var n=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(n,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout((function(){if(!e._isComposing){var i=e._textarea.value.replace(t,"");i.length>0&&e._coreService.triggerDataEvent(i,!0)}}),0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var i=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),n=this._bufferService.buffer.y*i,r=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=r+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=i+"px",this._compositionView.style.lineHeight=i+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var s=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=n+"px",this._textarea.style.width=s.width+"px",this._textarea.style.height=s.height+"px",this._textarea.style.lineHeight=s.height+"px"}e||setTimeout((function(){return t.updateCompositionElements(!0)}),0)}},e.prototype._clearTextareaPosition=function(){this._textarea.style.left="",this._textarea.style.top=""},n([r(2,a.IBufferService),r(3,a.IOptionsService),r(4,s.ICharSizeService),r(5,a.ICoreService)],e)}();t.CompositionHelper=o},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),c=i(8),l=i(4),d=i(0),u=function(e){function t(t,i,n,r,s,a,o){var l=e.call(this)||this;return l._scrollLines=t,l._viewportElement=i,l._scrollArea=n,l._bufferService=r,l._optionsService=s,l._charSizeService=a,l._renderService=o,l.scrollBarWidth=0,l._currentRowHeight=0,l._lastRecordedBufferLength=0,l._lastRecordedViewportHeight=0,l._lastRecordedBufferHeight=0,l._lastTouchY=0,l._lastScrollTop=0,l._wheelPartialScroll=0,l._refreshAnimationFrame=null,l._ignoreNextScrollEvent=!1,l.scrollBarWidth=l._viewportElement.offsetWidth-l._scrollArea.offsetWidth||15,l.register(c.addDisposableDomListener(l._viewportElement,"scroll",l._onScroll.bind(l))),setTimeout((function(){return l.syncScrollArea()}),0),l}return r(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return t._innerRefresh()})))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._bufferService.buffer.ydisp*this._currentRowHeight&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t,!0)}},t.prototype._bubbleScroll=function(e,t){return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var i=this._optionsService.options.fastScrollModifier;return"alt"===i&&t.altKey||"ctrl"===i&&t.ctrlKey||"shift"===i&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},s([a(3,d.IBufferService),a(4,d.IOptionsService),a(5,l.ICharSizeService),a(6,l.IRenderService)],t)}(o.Disposable);t.Viewport=u},function(e,t,i){"use strict";function n(e){return e.replace(/\r?\n/g,"\r")}function r(e,t){return t?"\x1b[200~"+e+"\x1b[201~":e}function s(e,t,i,s){e=r(e=n(e),i),s.triggerDataEvent(e,!0),t.value=""}function a(e,t,i){var n=i.getBoundingClientRect(),r=e.clientX-n.left-10,s=e.clientY-n.top-10;t.style.position="absolute",t.style.width="20px",t.style.height="20px",t.style.left=r+"px",t.style.top=s+"px",t.style.zIndex="1000",t.focus(),setTimeout((function(){t.style.position="",t.style.width="",t.style.height="",t.style.left="",t.style.top="",t.style.zIndex=""}),200)}Object.defineProperty(t,"__esModule",{value:!0}),t.prepareTextForTerminal=n,t.bracketTextForPaste=r,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,i,n){e.stopPropagation(),e.clipboardData&&s(e.clipboardData.getData("text/plain"),t,i,n)},t.paste=s,t.moveTextAreaUnderMouseCursor=a,t.rightClickHandler=function(e,t,i,n,r){a(e,t,i),r&&!n.isClickInSelection(e)&&n.selectWordAtCursor(e),t.value=n.selectionText,t.select()}},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(12),a=i(18),o=i(38),c=i(2),l=i(15),d=i(7),u=i(16),h=i(1),f=i(3),p=i(5),m=i(6),_=i(20),b=i(22),g=i(4),y={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function v(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}var w=function(){function e(e,t,i,n){this._bufferService=e,this._coreService=t,this._logService=i,this._optionsService=n,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,i){this._data=l.concat(this._data,e.subarray(t,i))},e.prototype.unhook=function(e){if(e){var t=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(s.C0.ESC+'P1$r0"q'+s.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(s.C0.ESC+'P1$r61;1"p'+s.C0.ESC+"\\");case"r":return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+s.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r0m"+s.C0.ESC+"\\");case" q":var i={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return this._coreService.triggerDataEvent(s.C0.ESC+"P1$r"+(i-=this._optionsService.options.cursorBlink?1:0)+" q"+s.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(s.C0.ESC+"P0$r"+s.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},e}(),C=function(e){function t(t,i,n,r,c,l,f,m,b,g,y){void 0===y&&(y=new o.EscapeSequenceParser);var v=e.call(this)||this;v._terminal=t,v._bufferService=i,v._charsetService=n,v._coreService=r,v._dirtyRowService=c,v._logService=l,v._optionsService=f,v._coreMouseService=m,v._unicodeService=b,v._instantiationService=g,v._parser=y,v._parseBuffer=new Uint32Array(4096),v._stringDecoder=new d.StringToUtf32,v._utf8Decoder=new d.Utf8ToUtf32,v._workCell=new p.CellData,v._windowTitle="",v._iconName="",v._windowTitleStack=[],v._iconNameStack=[],v._curAttrData=u.DEFAULT_ATTR_DATA.clone(),v._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone(),v._onRequestRefreshRows=new h.EventEmitter,v._onRequestReset=new h.EventEmitter,v._onRequestBell=new h.EventEmitter,v._onCursorMove=new h.EventEmitter,v._onLineFeed=new h.EventEmitter,v._onScroll=new h.EventEmitter,v.register(v._parser),v._parser.setCsiHandlerFallback((function(e,t){v._logService.debug("Unknown CSI code: ",{identifier:v._parser.identToString(e),params:t.toArray()})})),v._parser.setEscHandlerFallback((function(e){v._logService.debug("Unknown ESC code: ",{identifier:v._parser.identToString(e)})})),v._parser.setExecuteHandlerFallback((function(e){v._logService.debug("Unknown EXECUTE code: ",{code:e})})),v._parser.setOscHandlerFallback((function(e,t,i){v._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:i})})),v._parser.setDcsHandlerFallback((function(e,t,i){"HOOK"===t&&(i=i.toArray()),v._logService.debug("Unknown DCS code: ",{identifier:v._parser.identToString(e),action:t,payload:i})})),v._parser.setPrintHandler((function(e,t,i){return v.print(e,t,i)})),v._parser.setCsiHandler({final:"@"},(function(e){return v.insertChars(e)})),v._parser.setCsiHandler({intermediates:" ",final:"@"},(function(e){return v.scrollLeft(e)})),v._parser.setCsiHandler({final:"A"},(function(e){return v.cursorUp(e)})),v._parser.setCsiHandler({intermediates:" ",final:"A"},(function(e){return v.scrollRight(e)})),v._parser.setCsiHandler({final:"B"},(function(e){return v.cursorDown(e)})),v._parser.setCsiHandler({final:"C"},(function(e){return v.cursorForward(e)})),v._parser.setCsiHandler({final:"D"},(function(e){return v.cursorBackward(e)})),v._parser.setCsiHandler({final:"E"},(function(e){return v.cursorNextLine(e)})),v._parser.setCsiHandler({final:"F"},(function(e){return v.cursorPrecedingLine(e)})),v._parser.setCsiHandler({final:"G"},(function(e){return v.cursorCharAbsolute(e)})),v._parser.setCsiHandler({final:"H"},(function(e){return v.cursorPosition(e)})),v._parser.setCsiHandler({final:"I"},(function(e){return v.cursorForwardTab(e)})),v._parser.setCsiHandler({final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.setCsiHandler({prefix:"?",final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.setCsiHandler({final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.setCsiHandler({prefix:"?",final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.setCsiHandler({final:"L"},(function(e){return v.insertLines(e)})),v._parser.setCsiHandler({final:"M"},(function(e){return v.deleteLines(e)})),v._parser.setCsiHandler({final:"P"},(function(e){return v.deleteChars(e)})),v._parser.setCsiHandler({final:"S"},(function(e){return v.scrollUp(e)})),v._parser.setCsiHandler({final:"T"},(function(e){return v.scrollDown(e)})),v._parser.setCsiHandler({final:"X"},(function(e){return v.eraseChars(e)})),v._parser.setCsiHandler({final:"Z"},(function(e){return v.cursorBackwardTab(e)})),v._parser.setCsiHandler({final:"`"},(function(e){return v.charPosAbsolute(e)})),v._parser.setCsiHandler({final:"a"},(function(e){return v.hPositionRelative(e)})),v._parser.setCsiHandler({final:"b"},(function(e){return v.repeatPrecedingCharacter(e)})),v._parser.setCsiHandler({final:"c"},(function(e){return v.sendDeviceAttributesPrimary(e)})),v._parser.setCsiHandler({prefix:">",final:"c"},(function(e){return v.sendDeviceAttributesSecondary(e)})),v._parser.setCsiHandler({final:"d"},(function(e){return v.linePosAbsolute(e)})),v._parser.setCsiHandler({final:"e"},(function(e){return v.vPositionRelative(e)})),v._parser.setCsiHandler({final:"f"},(function(e){return v.hVPosition(e)})),v._parser.setCsiHandler({final:"g"},(function(e){return v.tabClear(e)})),v._parser.setCsiHandler({final:"h"},(function(e){return v.setMode(e)})),v._parser.setCsiHandler({prefix:"?",final:"h"},(function(e){return v.setModePrivate(e)})),v._parser.setCsiHandler({final:"l"},(function(e){return v.resetMode(e)})),v._parser.setCsiHandler({prefix:"?",final:"l"},(function(e){return v.resetModePrivate(e)})),v._parser.setCsiHandler({final:"m"},(function(e){return v.charAttributes(e)})),v._parser.setCsiHandler({final:"n"},(function(e){return v.deviceStatus(e)})),v._parser.setCsiHandler({prefix:"?",final:"n"},(function(e){return v.deviceStatusPrivate(e)})),v._parser.setCsiHandler({intermediates:"!",final:"p"},(function(e){return v.softReset(e)})),v._parser.setCsiHandler({intermediates:" ",final:"q"},(function(e){return v.setCursorStyle(e)})),v._parser.setCsiHandler({final:"r"},(function(e){return v.setScrollRegion(e)})),v._parser.setCsiHandler({final:"s"},(function(e){return v.saveCursor(e)})),v._parser.setCsiHandler({final:"t"},(function(e){return v.windowOptions(e)})),v._parser.setCsiHandler({final:"u"},(function(e){return v.restoreCursor(e)})),v._parser.setCsiHandler({intermediates:"'",final:"}"},(function(e){return v.insertColumns(e)})),v._parser.setCsiHandler({intermediates:"'",final:"~"},(function(e){return v.deleteColumns(e)})),v._parser.setExecuteHandler(s.C0.BEL,(function(){return v.bell()})),v._parser.setExecuteHandler(s.C0.LF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(s.C0.VT,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(s.C0.FF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(s.C0.CR,(function(){return v.carriageReturn()})),v._parser.setExecuteHandler(s.C0.BS,(function(){return v.backspace()})),v._parser.setExecuteHandler(s.C0.HT,(function(){return v.tab()})),v._parser.setExecuteHandler(s.C0.SO,(function(){return v.shiftOut()})),v._parser.setExecuteHandler(s.C0.SI,(function(){return v.shiftIn()})),v._parser.setExecuteHandler(s.C1.IND,(function(){return v.index()})),v._parser.setExecuteHandler(s.C1.NEL,(function(){return v.nextLine()})),v._parser.setExecuteHandler(s.C1.HTS,(function(){return v.tabSet()})),v._parser.setOscHandler(0,new _.OscHandler((function(e){v.setTitle(e),v.setIconName(e)}))),v._parser.setOscHandler(1,new _.OscHandler((function(e){return v.setIconName(e)}))),v._parser.setOscHandler(2,new _.OscHandler((function(e){return v.setTitle(e)}))),v._parser.setEscHandler({final:"7"},(function(){return v.saveCursor()})),v._parser.setEscHandler({final:"8"},(function(){return v.restoreCursor()})),v._parser.setEscHandler({final:"D"},(function(){return v.index()})),v._parser.setEscHandler({final:"E"},(function(){return v.nextLine()})),v._parser.setEscHandler({final:"H"},(function(){return v.tabSet()})),v._parser.setEscHandler({final:"M"},(function(){return v.reverseIndex()})),v._parser.setEscHandler({final:"="},(function(){return v.keypadApplicationMode()})),v._parser.setEscHandler({final:">"},(function(){return v.keypadNumericMode()})),v._parser.setEscHandler({final:"c"},(function(){return v.fullReset()})),v._parser.setEscHandler({final:"n"},(function(){return v.setgLevel(2)})),v._parser.setEscHandler({final:"o"},(function(){return v.setgLevel(3)})),v._parser.setEscHandler({final:"|"},(function(){return v.setgLevel(3)})),v._parser.setEscHandler({final:"}"},(function(){return v.setgLevel(2)})),v._parser.setEscHandler({final:"~"},(function(){return v.setgLevel(1)})),v._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return v.selectDefaultCharset()})),v._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return v.selectDefaultCharset()}));var C=function(e){S._parser.setEscHandler({intermediates:"(",final:e},(function(){return v.selectCharset("("+e)})),S._parser.setEscHandler({intermediates:")",final:e},(function(){return v.selectCharset(")"+e)})),S._parser.setEscHandler({intermediates:"*",final:e},(function(){return v.selectCharset("*"+e)})),S._parser.setEscHandler({intermediates:"+",final:e},(function(){return v.selectCharset("+"+e)})),S._parser.setEscHandler({intermediates:"-",final:e},(function(){return v.selectCharset("-"+e)})),S._parser.setEscHandler({intermediates:".",final:e},(function(){return v.selectCharset("."+e)})),S._parser.setEscHandler({intermediates:"/",final:e},(function(){return v.selectCharset("/"+e)}))},S=this;for(var k in a.CHARSETS)C(k);return v._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return v.screenAlignmentPattern()})),v._parser.setErrorHandler((function(e){return v._logService.error("Parsing error: ",e),e})),v._parser.setDcsHandler({intermediates:"$",final:"q"},new w(v._bufferService,v._coreService,v._logService,v._optionsService)),v}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.parse=function(e){var t=this._bufferService.buffer,i=t.x,n=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length131072)for(var r=0;r0&&2===p.getWidth(s.x-1)&&p.setCellFromCodePoint(s.x-1,0,1,h.fg,h.bg);for(var m=t;m=c)if(l)s.x=0,s.y++,s.y===s.scrollBottom+1?(s.y--,this._terminal.scroll(this._eraseAttrData(),!0)):(s.y>=this._bufferService.rows&&(s.y=this._bufferService.rows-1),s.lines.get(s.y).isWrapped=!0),p=s.lines.get(s.y+s.ybase);else if(s.x=c-1,2===r)continue;if(u&&(p.insertCells(s.x,r,s.getNullCell(h),h),2===p.getWidth(c-1)&&p.setCellFromCodePoint(c-1,f.NULL_CELL_CODE,f.NULL_CELL_WIDTH,h.fg,h.bg)),p.setCellFromCodePoint(s.x++,n,r,h.fg,h.bg),r>0)for(;--r;)p.setCellFromCodePoint(s.x++,0,0,h.fg,h.bg)}else p.getWidth(s.x-1)?p.addCodepointToCell(s.x-1,n):p.addCodepointToCell(s.x-2,n)}i-t>0&&(p.loadCell(s.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),s.x0&&0===p.getWidth(s.x)&&!p.hasContent(s.x)&&p.setCellFromCodePoint(s.x,0,1,h.fg,h.bg),this._dirtyRowService.markDirty(s.y)},t.prototype.addCsiHandler=function(e,t){var i=this;return this._parser.addCsiHandler(e,"t"!==e.final||e.prefix||e.intermediates?t:function(e){return!v(e.params[0],i._optionsService.options.windowOptions)||t(e)})},t.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new b.DcsHandler(t))},t.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new _.OscHandler(t))},t.prototype.bell=function(){this._onRequestBell.fire()},t.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},t.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},t.prototype.backspace=function(){this._restrictCursor(),this._bufferService.buffer.x>0&&this._bufferService.buffer.x--},t.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var e=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._terminal.onA11yTabEmitter.fire(this._bufferService.buffer.x-e)}},t.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},t.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},t.prototype._restrictCursor=function(){this._bufferService.buffer.x=Math.min(this._bufferService.cols-1,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},t.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;this._moveCursor(0,t>=0?-Math.min(t,e.params[0]||1):-(e.params[0]||1))},t.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;this._moveCursor(0,t>=0?Math.min(t,e.params[0]||1):e.params[0]||1)},t.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},t.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},t.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},t.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.cursorPosition=function(e){this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},t.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},t.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},t.prototype.hVPosition=function(e){this.cursorPosition(e)},t.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},t.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},t.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.x=i.prevStop()},t.prototype._eraseInBufferLine=function(e,t,i,n){void 0===n&&(n=!1);var r=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);r.replaceCells(t,i,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n&&(r.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(this._dirtyRowService.markDirty(t=this._bufferService.buffer.y),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((t=this._bufferService.rows)-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var i=this._bufferService.buffer.lines.length-this._bufferService.rows;i>0&&(this._bufferService.buffer.lines.trimStart(i),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-i,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-i,0),this._onScroll.fire(0))}},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1,i=this._bufferService.buffer;if(!(i.y>i.scrollBottom||i.yi.scrollBottom||i.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.y0||(this._terminal.is("xterm")||this._terminal.is("rxvt-unicode")||this._terminal.is("screen")?this._coreService.triggerDataEvent(s.C0.ESC+"[?1;2c"):this._terminal.is("linux")&&this._coreService.triggerDataEvent(s.C0.ESC+"[?6c"))},t.prototype.sendDeviceAttributesSecondary=function(e){e.params[0]>0||(this._terminal.is("xterm")?this._coreService.triggerDataEvent(s.C0.ESC+"[>0;276;0c"):this._terminal.is("rxvt-unicode")?this._coreService.triggerDataEvent(s.C0.ESC+"[>85;95;0c"):this._terminal.is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._terminal.is("screen")&&this._coreService.triggerDataEvent(s.C0.ESC+"[>83;40003;0c"))},t.prototype.setMode=function(e){for(var t=0;t=2||2===n[1]&&s+r>=5)break;n[1]&&(r=1)}while(++s+t=30&&t<=37?(n.fg&=-50331904,n.fg|=16777216|t-30):t>=40&&t<=47?(n.bg&=-50331904,n.bg|=16777216|t-40):t>=90&&t<=97?(n.fg&=-50331904,n.fg|=16777224|t-90):t>=100&&t<=107?(n.bg&=-50331904,n.bg|=16777224|t-100):0===t?(n.fg=u.DEFAULT_ATTR_DATA.fg,n.bg=u.DEFAULT_ATTR_DATA.bg):1===t?n.fg|=134217728:3===t?n.bg|=67108864:4===t?n.fg|=268435456:5===t?n.fg|=536870912:7===t?n.fg|=67108864:8===t?n.fg|=1073741824:2===t?n.bg|=134217728:22===t?(n.fg&=-134217729,n.bg&=-134217729):23===t?n.bg&=-67108865:24===t?n.fg&=-268435457:25===t?n.fg&=-536870913:27===t?n.fg&=-67108865:28===t?n.fg&=-1073741825:39===t?(n.fg&=-67108864,n.fg|=16777215&u.DEFAULT_ATTR_DATA.fg):49===t?(n.bg&=-67108864,n.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):38===t||48===t?r+=this._extractColor(e,r,n):100===t?(n.fg&=-67108864,n.fg|=16777215&u.DEFAULT_ATTR_DATA.fg,n.bg&=-67108864,n.bg|=16777215&u.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(s.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(s.C0.ESC+"["+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.deviceStatusPrivate=function(e){switch(e.params[0]){case 6:this._coreService.triggerDataEvent(s.C0.ESC+"[?"+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.softReset=function(e){var t;this._coreService.isCursorHidden=!1,this._terminal.insertMode=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._bufferService.buffer.x=this._bufferService.buffer.y=0,this._coreService.reset(),this._charsetService.reset()},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}this._optionsService.options.cursorBlink=t%2==1},t.prototype.setScrollRegion=function(e){var t,i=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>i&&(this._bufferService.buffer.scrollTop=i-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},t.prototype.windowOptions=function(e){if(v(e.params[0],this._optionsService.options.windowOptions)){var t=e.length>1?e.params[1]:0,i=this._instantiationService.getService(g.IRenderService);switch(e.params[0]){case 14:if(i&&2!==t){console.log(i.dimensions);var n=i.dimensions.scaledCanvasWidth.toFixed(0),r=i.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(s.C0.ESC+"[4;"+r+";"+n+"t")}break;case 16:i&&(n=i.dimensions.scaledCellWidth.toFixed(0),r=i.dimensions.scaledCellHeight.toFixed(0),this._coreService.triggerDataEvent(s.C0.ESC+"[6;"+r+";"+n+"t"));break;case 18:this._bufferService&&this._coreService.triggerDataEvent(s.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},t.prototype.saveCursor=function(e){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},t.prototype.restoreCursor=function(e){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},t.prototype.setTitle=function(e){this._windowTitle=e,this._terminal.handleTitle(e)},t.prototype.setIconName=function(e){this._iconName=e},t.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},t.prototype.keypadApplicationMode=function(){var e;this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.keypadNumericMode=function(){var e;this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,a.DEFAULT_CHARSET)},t.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(y[e[0]],a.CHARSETS[e[1]]||a.DEFAULT_CHARSET):this.selectDefaultCharset()},t.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),this._restrictCursor()},t.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},t.prototype.reverseIndex=function(){this._restrictCursor();var e=this._bufferService.buffer;e.y===e.scrollTop?(e.lines.shiftElements(e.y+e.ybase,e.scrollBottom-e.scrollTop,1),e.lines.set(e.y+e.ybase,e.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)):(e.y--,this._restrictCursor())},t.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},t.prototype.reset=function(){this._curAttrData=u.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=u.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){this._charsetService.setgLevel(e)},t.prototype.screenAlignmentPattern=function(){var e=new p.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var i=0;i1)throw new Error("only one byte as prefix supported");if((i=e.prefix.charCodeAt(0))&&60>i||i>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var n=0;nr||r>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");i<<=8,i|=r}}if(1!==e.final.length)throw new Error("final must be a single byte");var s=e.final.charCodeAt(0);if(t[0]>s||s>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(i<<=8)|s},i.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},i.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},i.prototype.setPrintHandler=function(e){this._printHandler=e},i.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},i.prototype.addEscHandler=function(e,t){var i=this._identifier(e,[48,126]);void 0===this._escHandlers[i]&&(this._escHandlers[i]=[]);var n=this._escHandlers[i];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},i.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},i.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},i.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},i.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},i.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},i.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},i.prototype.addCsiHandler=function(e,t){var i=this._identifier(e);void 0===this._csiHandlers[i]&&(this._csiHandlers[i]=[]);var n=this._csiHandlers[i];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},i.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},i.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},i.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},i.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},i.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},i.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},i.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},i.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},i.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},i.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},i.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},i.prototype.setErrorHandler=function(e){this._errorHandler=e},i.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},i.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},i.prototype.parse=function(e,t){for(var i=0,n=0,r=this.currentState,s=this._oscParser,a=this._dcsParser,o=this._collect,c=this._params,l=this.TRANSITIONS.table,d=0;d>4){case 2:for(var u=d+1;;++u){if(u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<160){this._printHandler(e,d,u),d=u-1;break}}break;case 3:this._executeHandlers[i]?this._executeHandlers[i]():this._executeHandlerFb(i),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:d,code:i,currentState:r,collect:o,params:c,abort:!1}).abort)return;break;case 7:for(var h=this._csiHandlers[o<<8|i],f=h?h.length-1:-1;f>=0&&!1===h[f](c);f--);f<0&&this._csiHandlerFb(o<<8|i,c),this.precedingCodepoint=0;break;case 8:do{switch(i){case 59:c.addParam(0);break;case 58:c.addSubParam(-1);break;default:c.addDigit(i-48)}}while(++d47&&i<60);d--;break;case 9:o<<=8,o|=i;break;case 10:for(var p=this._escHandlers[o<<8|i],m=p?p.length-1:-1;m>=0&&!1===p[m]();m--);m<0&&this._escHandlerFb(o<<8|i),this.precedingCodepoint=0;break;case 11:c.reset(),c.addParam(0),o=0;break;case 12:a.hook(o<<8|i,c);break;case 13:for(var _=d+1;;++_)if(_>=t||24===(i=e[_])||26===i||27===i||i>127&&i<160){a.put(e,d,_),d=_-1;break}break;case 14:a.unhook(24!==i&&26!==i),27===i&&(n|=1),c.reset(),c.addParam(0),o=0,this.precedingCodepoint=0;break;case 4:s.start();break;case 5:for(var b=d+1;;b++)if(b>=t||(i=e[b])<32||i>127&&i<=159){s.put(e,d,b),d=b-1;break}break;case 6:s.end(24!==i&&26!==i),27===i&&(n|=1),c.reset(),c.addParam(0),o=0,this.precedingCodepoint=0}r=15&n}this._collect=o,this.currentState=r},i}(s.Disposable);t.EscapeSequenceParser=u},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(40),c=i(46),l=i(47),d=i(48),u=i(27),h=i(2),f=i(4),p=i(0),m=i(23),_=i(1),b=1,g=function(e){function t(t,i,n,r,s,a,h,f){var p=e.call(this)||this;p._colors=t,p._screenElement=i,p._linkifier=n,p._bufferService=r,p._charSizeService=s,p._optionsService=a,p.coreService=h,p.coreBrowserService=f,p._id=b++,p._onRequestRefreshRows=new _.EventEmitter;var m=p._optionsService.options.allowTransparency;return p._characterJoinerRegistry=new u.CharacterJoinerRegistry(p._bufferService),p._renderLayers=[new o.TextRenderLayer(p._screenElement,0,p._colors,p._characterJoinerRegistry,m,p._id,p._bufferService,a),new c.SelectionRenderLayer(p._screenElement,1,p._colors,p._id,p._bufferService,a),new d.LinkRenderLayer(p._screenElement,2,p._colors,p._id,p._linkifier,p._bufferService,a),new l.CursorRenderLayer(p._screenElement,3,p._colors,p._id,p._onRequestRefreshRows,p._bufferService,a,h,f)],p.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},p._devicePixelRatio=window.devicePixelRatio,p._updateDimensions(),p.onOptionsChanged(),p}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._renderLayers.forEach((function(e){return e.dispose()})),m.removeTerminalFromCache(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){var t=this;this._colors=e,this._renderLayers.forEach((function(e){e.setColors(t._colors),e.reset()}))},t.prototype.onResize=function(e,t){var i=this;this._updateDimensions(),this._renderLayers.forEach((function(e){return e.resize(i.dimensions)})),this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation((function(e){return e.onBlur()}))},t.prototype.onFocus=function(){this._runOperation((function(e){return e.onFocus()}))},t.prototype.onSelectionChanged=function(e,t,i){void 0===i&&(i=!1),this._runOperation((function(n){return n.onSelectionChanged(e,t,i)}))},t.prototype.onCursorMove=function(){this._runOperation((function(e){return e.onCursorMove()}))},t.prototype.onOptionsChanged=function(){this._runOperation((function(e){return e.onOptionsChanged()}))},t.prototype.clear=function(){this._runOperation((function(e){return e.reset()}))},t.prototype._runOperation=function(e){this._renderLayers.forEach((function(t){return e(t)}))},t.prototype.renderRows=function(e,t){this._renderLayers.forEach((function(i){return i.onGridChanged(e,t)}))},t.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},t.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},s([a(3,p.IBufferService),a(4,f.ICharSizeService),a(5,p.IOptionsService),a(6,p.ICoreService),a(7,f.ICoreBrowserService)],t)}(h.Disposable);t.Renderer=g},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(41),a=i(13),o=i(6),c=i(3),l=i(27),d=i(5),u=function(e){function t(t,i,n,r,a,o,c,l){var u=e.call(this,t,"text",i,a,n,o,c,l)||this;return u.bufferService=c,u.optionsService=l,u._characterWidth=0,u._characterFont="",u._characterOverlapCache={},u._workCell=new d.CellData,u._state=new s.GridCache,u._characterJoinerRegistry=r,u}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var i=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===i||(this._characterWidth=t.scaledCharWidth,this._characterFont=i,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,i,n){for(var r=e;r<=t;r++)for(var s=r+this._bufferService.buffer.ydisp,a=this._bufferService.buffer.lines.get(s),o=i?i.getJoinedCharacters(s):[],d=0;d0&&d===o[0][0]){h=!0;var p=o.shift();u=new l.JoinedCellData(this._workCell,a.translateToString(!0,p[0],p[1]),p[1]-p[0]),f=p[1]-1}!h&&this._isOverlapping(u)&&fthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=i,i},t}(a.BaseRenderLayer);t.TextRenderLayer=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var i=0;i>>24,r=t.rgba>>>16&255,s=t.rgba>>>8&255,a=0;a=this.capacity)this._unlinkNode(i=this._head),delete this._map[i.key],i.key=e,i.value=t,this._map[e]=i;else{var n=this._nodePool;n.length>0?((i=n.pop()).key=e,i.value=t):i={prev:null,next:null,key:e,value:t},this._map[e]=i,this.size++}this._appendNode(i)},e}();t.LRUMap=n},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(t,i,n,r,s,a){var o=e.call(this,t,"selection",i,!0,n,r,s,a)||this;return o.bufferService=s,o.optionsService=a,o._clearState(),o}return r(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(e,t,i){if(this._didStateChange(e,t,i,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var n=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,s=Math.max(n,0),a=Math.min(r,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||a<0)){if(this._ctx.fillStyle=this._colors.selection.css,i){var o=e[0];this._fillCells(o,s,t[0]-o,a-s+1)}else{this._fillCells(o=n===s?e[0]:0,s,(s===a?t[0]:this._bufferService.cols)-o,1);var c=Math.max(a-s-1,0);this._fillCells(0,s+1,this._bufferService.cols,c),s!==a&&this._fillCells(0,a,r===a?t[0]:this._bufferService.cols,1)}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,i,n){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||i!==this._state.columnSelectMode||n!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},t}(i(13).BaseRenderLayer);t.SelectionRenderLayer=s},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(13),a=i(5),o=function(e){function t(t,i,n,r,s,o,c,l,d){var u=e.call(this,t,"cursor",i,!0,n,r,o,c)||this;return u._onRequestRefreshRowsEvent=s,u.bufferService=o,u.optionsService=c,u._coreService=l,u._coreBrowserService=d,u._cell=new a.CellData,u._state={x:0,y:0,isFocused:!1,style:"",width:0},u._cursorRenderers={bar:u._renderBarCursor.bind(u),block:u._renderBlockCursor.bind(u),underline:u._renderUnderlineCursor.bind(u)},u}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},t.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new c(this._coreBrowserService.isFocused,(function(){t._render(!0)}))):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,i=t-this._bufferService.buffer.ydisp;if(i<0||i>=this._bufferService.rows)this._clearCursor();else if(this._bufferService.buffer.lines.get(t).loadCell(this._bufferService.buffer.x,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var n=this._optionsService.options.cursorStyle;return n&&"block"!==n?this._cursorRenderers[n](this._bufferService.buffer.x,i,this._cell):this._renderBlurCursor(this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=n,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===this._bufferService.buffer.x&&this._state.y===i&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,i.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(i,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,i){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,i.getWidth(),1),this._ctx.restore()},t}(s.BaseRenderLayer);t.CursorRenderLayer=o;var c=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=setTimeout((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0})),t._blinkInterval=setInterval((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0}))}),600)}),e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(13),a=i(9),o=i(24),c=function(e){function t(t,i,n,r,s,a,o){var c=e.call(this,t,"link",i,!0,n,r,a,o)||this;return c.bufferService=a,c.optionsService=o,s.onLinkHover((function(e){return c._onLinkHover(e)})),s.onLinkLeave((function(e){return c._onLinkLeave(e)})),c}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onLinkHover=function(e){if(this._ctx.fillStyle=e.fg===a.INVERTED_DEFAULT_COLOR?this._colors.background.css:e.fg&&o.is256Color(e.fg)?this._colors.ansi[e.fg].css:this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t=e.lines.length)){for(var i=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,n=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,t,i,n,n);r.hasNext();)for(var s=r.next(),a=0;a=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t>9&511:void 0;i.validationCallback?i.validationCallback(o,(function(e){r._rowsTimeoutId||e&&r._addLink(l[1],l[0]-r._bufferService.buffer.ydisp,o,i,h)})):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,o,i,h)},c=this;null!==(n=s.exec(t))&&"break"!==o(););},e.prototype._addLink=function(e,t,i,n,r){var a=this;if(this._mouseZoneManager&&this._element){var o=this._unicodeService.getStringCellWidth(i),c=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),d=(c+o)%this._bufferService.cols,u=l+Math.floor((c+o)/this._bufferService.cols);0===d&&(d=this._bufferService.cols,u--),this._mouseZoneManager.add(new s(c+1,l+1,d+1,u+1,(function(e){if(n.handler)return n.handler(e,i);var t=window.open();t?(t.opener=null,t.location.href=i):console.warn("Opening link blocked as opener could not be cleared")}),(function(){a._onLinkHover.fire(a._createLinkHoverEvent(c,l,d,u,r)),a._element.classList.add("xterm-cursor-pointer")}),(function(e){a._onLinkTooltip.fire(a._createLinkHoverEvent(c,l,d,u,r)),n.hoverTooltipCallback&&n.hoverTooltipCallback(e,i,{start:{x:c,y:l},end:{x:d,y:u}})}),(function(){a._onLinkLeave.fire(a._createLinkHoverEvent(c,l,d,u,r)),a._element.classList.remove("xterm-cursor-pointer"),n.hoverLeaveCallback&&n.hoverLeaveCallback()}),(function(e){return!n.willLinkActivate||n.willLinkActivate(e,i)})))}},e.prototype._createLinkHoverEvent=function(e,t,i,n,r){return{x1:e,y1:t,x2:i,y2:n,cols:this._bufferService.cols,fg:r}},e._timeBeforeLatency=200,e}();t.Linkifier=r;var s=function(e,t,i,n,r,s,a,o,c){this.x1=e,this.y1=t,this.x2=i,this.y2=n,this.clickCallback=r,this.hoverCallback=s,this.tooltipCallback=a,this.leaveCallback=o,this.willLinkActivate=c};t.MouseZone=s},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(11),a=i(51),o=i(5),c=i(1),l=i(4),d=i(0),u=i(28),h=i(52),f=String.fromCharCode(160),p=new RegExp(f,"g"),m=function(){function e(e,t,i,n,r,s,l,d){var u=this;this._scrollLines=e,this._element=t,this._screenElement=i,this._charSizeService=n,this._bufferService=r,this._coreService=s,this._mouseService=l,this._optionsService=d,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new o.CellData,this._mouseDownTimeStamp=0,this._onLinuxMouseSelection=new c.EventEmitter,this._onRedrawRequest=new c.EventEmitter,this._onSelectionChange=new c.EventEmitter,this._mouseMoveListener=function(e){return u._onMouseMove(e)},this._mouseUpListener=function(e){return u._onMouseUp(e)},this._coreService.onUserInput((function(){u.hasSelection&&u.clearSelection()})),this._trimListener=this._bufferService.buffer.lines.onTrim((function(e){return u._onTrim(e)})),this._bufferService.buffers.onBufferActivate((function(e){return u._onBufferActivate(e)})),this.enable(),this._model=new a.SelectionModel(this._bufferService),this._activeSelectionMode=0}return Object.defineProperty(e.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onRedrawRequest",{get:function(){return this._onRedrawRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._removeMouseDownListeners()},e.prototype.reset=function(){this.clearSelection()},e.prototype.disable=function(){this.clearSelection(),this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},Object.defineProperty(e.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var i=this._bufferService.buffer,n=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var r=e[1];r<=t[1];r++){var a=i.translateBufferLineToString(r,!0,e[0],t[0]);n.push(a)}}else{for(n.push(i.translateBufferLineToString(e[1],!0,e[0],e[1]===t[1]?t[0]:void 0)),r=e[1]+1;r<=t[1]-1;r++){var o=i.lines.get(r);a=i.translateBufferLineToString(r,!0),o&&o.isWrapped?n[n.length-1]+=a:n.push(a)}e[1]!==t[1]&&(o=i.lines.get(t[1]),a=i.translateBufferLineToString(t[1],!0,0,t[0]),o&&o.isWrapped?n[n.length-1]+=a:n.push(a))}return n.map((function(e){return e.replace(p," ")})).join(s.isWindows?"\r\n":"\n")},enumerable:!0,configurable:!0}),e.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},e.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return t._refresh()}))),s.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},e.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},e.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),i=this._model.finalSelectionStart,n=this._model.finalSelectionEnd;return!!(i&&n&&t)&&this._areCoordsInSelection(t,i,n)},e.prototype._areCoordsInSelection=function(e,t,i){return e[1]>t[1]&&e[1]=t[0]&&e[0]=t[0]},e.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},e.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},e.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},e.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},e.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},e.prototype._getMouseEventScrollAmount=function(e){var t=u.getCoordsRelativeToElement(e,this._screenElement)[1],i=this._bufferService.rows*Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight);return t>=0&&t<=i?0:(t>i&&(t-=i),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},e.prototype.shouldForceSelection=function(e){return s.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},e.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},e.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return e._dragScroll()}),50)},e.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},e.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},e.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},e.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},e.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},e.prototype.shouldColumnSelect=function(e){return e.altKey&&!(s.isMac&&this._optionsService.options.macOptionClickForcesSelection)},e.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var i=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},e.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500){if(e.altKey&&this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var i=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(i&&void 0!==i[0]&&void 0!==i[1]){var n=h.moveToCellSequence(i[0]-1,i[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(n,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},e.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((function(e){return t._onTrim(e)}))},e.prototype._convertViewportColToCharacterIndex=function(e,t){for(var i=t[0],n=0;t[0]>=n;n++){var r=e.loadCell(n,this._workCell).getChars().length;0===this._workCell.getWidth()?i--:r>1&&t[0]!==n&&(i+=r-1)}return i},e.prototype.setSelection=function(e,t,i){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=i,this.refresh()},e.prototype._getWordAt=function(e,t,i,n){if(void 0===i&&(i=!0),void 0===n&&(n=!0),!(e[0]>=this._bufferService.cols)){var r=this._bufferService.buffer,s=r.lines.get(e[1]);if(s){var a=r.translateBufferLineToString(e[1],!1),o=this._convertViewportColToCharacterIndex(s,e),c=o,l=e[0]-o,d=0,u=0,h=0,f=0;if(" "===a.charAt(o)){for(;o>0&&" "===a.charAt(o-1);)o--;for(;c1&&(f+=_-1,c+=_-1);p>0&&o>0&&!this._isCharWordSeparator(s.loadCell(p-1,this._workCell));){s.loadCell(p-1,this._workCell);var b=this._workCell.getChars().length;0===this._workCell.getWidth()?(d++,p--):b>1&&(h+=b-1,o-=b-1),o--,p--}for(;m1&&(f+=g-1,c+=g-1),c++,m++}}c++;var y=o+l-d+h,v=Math.min(this._bufferService.cols,c-o+d+u-h-f);if(t||""!==a.slice(o,c).trim()){if(i&&0===y&&32!==s.getCodePoint(0)){var w=r.lines.get(e[1]-1);if(w&&s.isWrapped&&32!==w.getCodePoint(this._bufferService.cols-1)){var C=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(C){var S=this._bufferService.cols-C.start;y-=S,v+=S}}}if(n&&y+v===this._bufferService.cols&&32!==s.getCodePoint(this._bufferService.cols-1)){var k=r.lines.get(e[1]+1);if(k&&k.isWrapped&&32!==k.getCodePoint(0)){var x=this._getWordAt([0,e[1]+1],!1,!1,!0);x&&(v+=x.length)}}return{start:y,length:v}}}}},e.prototype._selectWordAt=function(e,t){var i=this._getWordAt(e,t);if(i){for(;i.start<0;)i.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[i.start,e[1]],this._model.selectionStartLength=i.length}},e.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var i=e[1];t.start<0;)t.start+=this._bufferService.cols,i--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,i++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,i]}},e.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.options.wordSeparator.indexOf(e.getChars())>=0},e.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},n([r(3,l.ICharSizeService),r(4,d.IBufferService),r(5,d.ICoreService),r(6,l.IMouseService),r(7,d.IOptionsService)],e)}();t.SelectionService=m},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!0,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12);function r(e,t,i,n){var r=e-s(i,e),o=t-s(i,t);return l(Math.abs(r-o)-function(e,t,i){for(var n=0,r=e-s(i,e),o=t-s(i,t),c=0;c=0&&tt?"A":"B"}function o(e,t,i,n,r,s){for(var a=e,o=t,c="";a!==i||o!==n;)a+=r?1:-1,r&&a>s.cols-1?(c+=s.buffer.translateBufferLineToString(o,!1,e,a),a=0,e=0,o++):!r&&a<0&&(c+=s.buffer.translateBufferLineToString(o,!1,0,e+1),e=a=s.cols-1,o--);return c+s.buffer.translateBufferLineToString(o,!1,e,a)}function c(e,t){return n.C0.ESC+(t?"O":"[")+e}function l(e,t){e=Math.floor(e);for(var i="",n=0;n0?n-s(a,n):t;var h=n,f=function(e,t,i,n,a,o){var c;return c=r(i,n,a,o).length>0?n-s(a,n):t,e=i&&ce?"D":"C",l(Math.abs(d-e),c(a,n));a=u>t?"D":"C";var h=Math.abs(u-t);return l(function(e,t){return t.cols-e}(u>t?e:d,i)+(h-1)*i.cols+1+((u>t?d:e)-1),c(a,n))}},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!0,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var i=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),(function(e){i.buffer=e,i.connect(t.destination),i.start(0)}))}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),i=t.length,n=new Uint8Array(i),r=0;r=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),c=i(8),l=i(4),d=i(0),u=function(e){function t(t,i,n,r,s){var a=e.call(this)||this;return a._element=t,a._screenElement=i,a._bufferService=n,a._mouseService=r,a._selectionService=s,a._zones=[],a._areZonesActive=!1,a._lastHoverCoords=[void 0,void 0],a._initialSelectionLength=0,a.register(c.addDisposableDomListener(a._element,"mousedown",(function(e){return a._onMouseDown(e)}))),a._mouseMoveListener=function(e){return a._onMouseMove(e)},a._mouseLeaveListener=function(e){return a._onMouseLeave(e)},a._clickListener=function(e){return a._onClick(e)},a}return r(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var i=0;ie&&n.y1<=t+1||n.y2>e&&n.y2<=t+1||n.y1t+1)&&(this._currentZone&&this._currentZone===n&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(i--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,i=this._findZoneEventAt(e);i!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),i&&(this._currentZone=i,i.hoverCallback&&i.hoverCallback(e),this._tooltipTimeout=setTimeout((function(){return t._onTooltip(e)}),500)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){var t;this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive&&(null===(t=this._findZoneEventAt(e))||void 0===t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),i=this._getSelectionLength();t&&i===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var i=t[0],n=t[1],r=0;r=s.x1&&i=s.x1||n===s.y2&&is.y1&&ne;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=s.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)}),0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&this._liveRegion.parentNode&&this._accessibilityTreeRoot.removeChild(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var i=this._terminal.buffer,n=i.lines.length.toString(),r=e;r<=t;r++){var s=i.translateBufferLineToString(i.ydisp+r,!0),a=(i.ydisp+r+1).toString(),o=this._rowElements[r];o&&(0===s.length?o.innerHTML=" ":o.textContent=s,o.setAttribute("aria-posinset",a),o.setAttribute("aria-setsize",n))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(57),c=i(9),l=i(2),d=i(4),u=i(0),h=i(1),f=i(10),p="xterm-dom-renderer-owner-",m="xterm-rows",_="xterm-selection",b=1,g=function(e){function t(t,i,n,r,s,a,c,l){var d=e.call(this)||this;return d._colors=t,d._element=i,d._screenElement=n,d._viewportElement=r,d._linkifier=s,d._charSizeService=a,d._optionsService=c,d._bufferService=l,d._terminalClass=b++,d._rowElements=[],d._onRequestRefreshRows=new h.EventEmitter,d._rowContainer=document.createElement("div"),d._rowContainer.classList.add(m),d._rowContainer.style.lineHeight="normal",d._rowContainer.setAttribute("aria-hidden","true"),d._refreshRowElements(d._bufferService.cols,d._bufferService.rows),d._selectionContainer=document.createElement("div"),d._selectionContainer.classList.add(_),d._selectionContainer.setAttribute("aria-hidden","true"),d.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},d._updateDimensions(),d._injectCss(),d._rowFactory=new o.DomRendererRowFactory(document,d._optionsService,d._colors),d._element.classList.add(p+d._terminalClass),d._screenElement.appendChild(d._rowContainer),d._screenElement.appendChild(d._selectionContainer),d._linkifier.onLinkHover((function(e){return d._onLinkHover(e)})),d._linkifier.onLinkLeave((function(e){return d._onLinkLeave(e)})),d}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove(p+this._terminalClass),this._screenElement.removeChild(this._rowContainer),this._screenElement.removeChild(this._selectionContainer),this._screenElement.removeChild(this._themeStyleElement),this._screenElement.removeChild(this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){var e=this;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this._rowElements.forEach((function(t){t.style.width=e.dimensions.canvasWidth+"px",t.style.height=e.dimensions.actualCellHeight+"px",t.style.lineHeight=e.dimensions.actualCellHeight+"px",t.style.overflow="hidden"})),this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.innerHTML=this._terminalSelector+" ."+m+" span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" ."+m+" { color: "+this._colors.foreground.css+"; background-color: "+this._colors.background.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+o.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+o.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+o.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",t+=this._terminalSelector+" ."+m+":not(.xterm-focus) ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" ."+m+".xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+":not(."+o.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" ."+m+" ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" ."+m+" ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=this._terminalSelector+" ."+_+" { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" ."+_+" div { position: absolute; background-color: "+this._colors.selection.css+";}",this._colors.ansi.forEach((function(i,n){t+=e._terminalSelector+" .xterm-fg-"+n+" { color: "+i.css+"; }"+e._terminalSelector+" .xterm-bg-"+n+" { background-color: "+i.css+"; }"})),t+=this._terminalSelector+" .xterm-fg-"+c.INVERTED_DEFAULT_COLOR+" { color: "+f.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+c.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var i=this._rowElements.length;i<=t;i++){var n=document.createElement("div");this._rowContainer.appendChild(n),this._rowElements.push(n)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},t.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},t.prototype.onSelectionChanged=function(e,t,i){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var n=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,s=Math.max(n,0),a=Math.min(r,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||a<0)){var o=document.createDocumentFragment();i?o.appendChild(this._createSelectionElement(s,e[0],t[0],a-s+1)):(o.appendChild(this._createSelectionElement(s,n===s?e[0]:0,s===a?t[0]:this._bufferService.cols)),o.appendChild(this._createSelectionElement(s+1,0,this._bufferService.cols,a-s-1)),s!==a&&o.appendChild(this._createSelectionElement(a,0,r===a?t[0]:this._bufferService.cols))),this._selectionContainer.appendChild(o)}}},t.prototype._createSelectionElement=function(e,t,i,n){void 0===n&&(n=1);var r=document.createElement("div");return r.style.height=n*this.dimensions.actualCellHeight+"px",r.style.top=e*this.dimensions.actualCellHeight+"px",r.style.left=t*this.dimensions.actualCellWidth+"px",r.style.width=this.dimensions.actualCellWidth*(i-t)+"px",r},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){this._rowElements.forEach((function(e){return e.innerHTML=""}))},t.prototype.renderRows=function(e,t){for(var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=this._bufferService.buffer.x,r=this._optionsService.options.cursorBlink,s=e;s<=t;s++){var a=this._rowElements[s];a.innerHTML="";var o=s+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(o);a.appendChild(this._rowFactory.createRow(c,o===i,this._optionsService.options.cursorStyle,n,r,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return"."+p+this._terminalClass},enumerable:!0,configurable:!0}),t.prototype.registerCharacterJoiner=function(e){return-1},t.prototype.deregisterCharacterJoiner=function(e){return!1},t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,i,n,r,s){for(;e!==t||i!==n;){var a=this._rowElements[i];if(!a)return;var o=a.children[e];o&&(o.style.textDecoration=s?"underline":"none"),++e>=r&&(e=0,i++)}},s([a(5,d.ICharSizeService),a(6,u.IOptionsService),a(7,u.IBufferService)],t)}(l.Disposable);t.DomRenderer=g},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),r=i(3),s=i(5),a=i(10);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var o=function(){function e(e,t,i){this._document=e,this._optionsService=t,this._colors=i,this._workCell=new s.CellData}return e.prototype.setColors=function(e){this._colors=e},e.prototype.createRow=function(e,i,s,o,l,d,u){for(var h=this._document.createDocumentFragment(),f=0,p=Math.min(e.length,u)-1;p>=0;p--)if(e.loadCell(p,this._workCell).getCode()!==r.NULL_CELL_CODE||i&&p===o){f=p+1;break}for(p=0;p1&&(_.style.width=d*m+"px"),i&&p===o)switch(_.classList.add(t.CURSOR_CLASS),l&&_.classList.add(t.CURSOR_BLINK_CLASS),s){case"bar":_.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":_.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:_.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&_.classList.add(t.BOLD_CLASS),this._workCell.isItalic()&&_.classList.add(t.ITALIC_CLASS),this._workCell.isDim()&&_.classList.add(t.DIM_CLASS),this._workCell.isUnderline()&&_.classList.add(t.UNDERLINE_CLASS),_.textContent=this._workCell.isInvisible()?r.WHITESPACE_CELL_CHAR:this._workCell.getChars()||r.WHITESPACE_CELL_CHAR;var b=this._workCell.getFgColor(),g=this._workCell.getFgColorMode(),y=this._workCell.getBgColor(),v=this._workCell.getBgColorMode(),w=!!this._workCell.isInverse();if(w){var C=b;b=y,y=C;var S=g;g=v,v=S}switch(g){case 16777216:case 33554432:this._workCell.isBold()&&b<8&&this._optionsService.options.drawBoldTextInBrightColors&&(b+=8),this._applyMinimumContrast(_,this._colors.background,this._colors.ansi[b])||_.classList.add("xterm-fg-"+b);break;case 50331648:var k=a.rgba.toColor(b>>16&255,b>>8&255,255&b);this._applyMinimumContrast(_,this._colors.background,k)||this._addStyle(_,"color:#"+c(b.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(_,this._colors.background,this._colors.foreground)||w&&_.classList.add("xterm-fg-"+n.INVERTED_DEFAULT_COLOR)}switch(v){case 16777216:case 33554432:_.classList.add("xterm-bg-"+y);break;case 50331648:this._addStyle(_,"background-color:#"+c(y.toString(16),"0",6));break;case 0:default:w&&_.classList.add("xterm-bg-"+n.INVERTED_DEFAULT_COLOR)}h.appendChild(_)}}return h},e.prototype._applyMinimumContrast=function(e,t,i){if(1===this._optionsService.options.minimumContrastRatio)return!1;var n=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===n&&(n=a.color.ensureContrastRatio(t,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=n?n:null)),!!n&&(this._addStyle(e,"color:"+n.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e}();function c(e,t,i){for(;e.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,i,s){var a={type:0,cancel:!1,key:void 0},o=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?n.C0.ESC+"OA":n.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?n.C0.ESC+"OD":n.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?n.C0.ESC+"OC":n.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?n.C0.ESC+"OB":n.C0.ESC+"[B");break;case 8:if(e.shiftKey){a.key=n.C0.BS;break}if(e.altKey){a.key=n.C0.ESC+n.C0.DEL;break}a.key=n.C0.DEL;break;case 9:if(e.shiftKey){a.key=n.C0.ESC+"[Z";break}a.key=n.C0.HT,a.cancel=!0;break;case 13:a.key=n.C0.CR,a.cancel=!0;break;case 27:a.key=n.C0.ESC,a.cancel=!0;break;case 37:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"D",a.key===n.C0.ESC+"[1;3D"&&(a.key=n.C0.ESC+(i?"b":"[1;5D"))):a.key=t?n.C0.ESC+"OD":n.C0.ESC+"[D";break;case 39:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"C",a.key===n.C0.ESC+"[1;3C"&&(a.key=n.C0.ESC+(i?"f":"[1;5C"))):a.key=t?n.C0.ESC+"OC":n.C0.ESC+"[C";break;case 38:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"A",i||a.key!==n.C0.ESC+"[1;3A"||(a.key=n.C0.ESC+"[1;5A")):a.key=t?n.C0.ESC+"OA":n.C0.ESC+"[A";break;case 40:if(e.metaKey)break;o?(a.key=n.C0.ESC+"[1;"+(o+1)+"B",i||a.key!==n.C0.ESC+"[1;3B"||(a.key=n.C0.ESC+"[1;5B")):a.key=t?n.C0.ESC+"OB":n.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=n.C0.ESC+"[2~");break;case 46:a.key=o?n.C0.ESC+"[3;"+(o+1)+"~":n.C0.ESC+"[3~";break;case 36:a.key=o?n.C0.ESC+"[1;"+(o+1)+"H":t?n.C0.ESC+"OH":n.C0.ESC+"[H";break;case 35:a.key=o?n.C0.ESC+"[1;"+(o+1)+"F":t?n.C0.ESC+"OF":n.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:a.key=n.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:a.key=n.C0.ESC+"[6~";break;case 112:a.key=o?n.C0.ESC+"[1;"+(o+1)+"P":n.C0.ESC+"OP";break;case 113:a.key=o?n.C0.ESC+"[1;"+(o+1)+"Q":n.C0.ESC+"OQ";break;case 114:a.key=o?n.C0.ESC+"[1;"+(o+1)+"R":n.C0.ESC+"OR";break;case 115:a.key=o?n.C0.ESC+"[1;"+(o+1)+"S":n.C0.ESC+"OS";break;case 116:a.key=o?n.C0.ESC+"[15;"+(o+1)+"~":n.C0.ESC+"[15~";break;case 117:a.key=o?n.C0.ESC+"[17;"+(o+1)+"~":n.C0.ESC+"[17~";break;case 118:a.key=o?n.C0.ESC+"[18;"+(o+1)+"~":n.C0.ESC+"[18~";break;case 119:a.key=o?n.C0.ESC+"[19;"+(o+1)+"~":n.C0.ESC+"[19~";break;case 120:a.key=o?n.C0.ESC+"[20;"+(o+1)+"~":n.C0.ESC+"[20~";break;case 121:a.key=o?n.C0.ESC+"[21;"+(o+1)+"~":n.C0.ESC+"[21~";break;case 122:a.key=o?n.C0.ESC+"[23;"+(o+1)+"~":n.C0.ESC+"[23~";break;case 123:a.key=o?n.C0.ESC+"[24;"+(o+1)+"~":n.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(i&&!s||!e.altKey||e.metaKey)i&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(a.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(a.key=n.C0.US);else{var c=r[e.keyCode],l=c&&c[e.shiftKey?1:0];l?a.key=n.C0.ESC+l:e.keyCode>=65&&e.keyCode<=90&&(a.key=n.C0.ESC+String.fromCharCode(e.ctrlKey?e.keyCode-64:e.keyCode+32))}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=n.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=n.C0.DEL:219===e.keyCode?a.key=n.C0.ESC:220===e.keyCode?a.key=n.C0.FS:221===e.keyCode&&(a.key=n.C0.GS)}return a}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3);t.updateWindowsModeWrappedState=function(e){var t,i=null===(t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1))||void 0===t?void 0:t.get(e.cols-1),r=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);r&&i&&(r.isWrapped=i[n.CHAR_DATA_CODE_INDEX]!==n.NULL_CELL_CODE&&i[n.CHAR_DATA_CODE_INDEX]!==n.WHITESPACE_CELL_CODE)}},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(29),c=i(1),l=i(2),d=i(30),u=i(8),h=i(0),f=i(4),p=function(e){function t(t,i,n,r,s){var a=e.call(this)||this;if(a._renderer=t,a._rowCount=i,a.screenElement=n,a.optionsService=r,a.charSizeService=s,a._isPaused=!1,a._needsFullRefresh=!1,a._canvasWidth=0,a._canvasHeight=0,a._onDimensionsChange=new c.EventEmitter,a._onRender=new c.EventEmitter,a._onRefreshRequest=new c.EventEmitter,a._renderDebouncer=new o.RenderDebouncer((function(e,t){return a._renderRows(e,t)})),a.register(a._renderDebouncer),a._screenDprMonitor=new d.ScreenDprMonitor,a._screenDprMonitor.setListener((function(){return a.onDevicePixelRatioChange()})),a.register(a._screenDprMonitor),a.register(r.onOptionChange((function(){return a._renderer.onOptionsChanged()}))),a.register(s.onCharSizeChange((function(){return a.onCharSizeChanged()}))),a._renderer.onRequestRefreshRows((function(e){return a.refreshRows(e.start,e.end)})),a.register(u.addDisposableDomListener(window,"resize",(function(){return a.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var l=new IntersectionObserver((function(e){return a._onIntersectionChange(e[e.length-1])}),{threshold:0});l.observe(n),a.register({dispose:function(){return l.disconnect()}})}return a}return r(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!0,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=0===e.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t){this._isPaused?this._needsFullRefresh=!0:this._renderDebouncer.refresh(e,t,this._rowCount)},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._onRender.fire({start:e,end:t})},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){this._renderer.dispose(),e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRefreshRows((function(e){return t.refreshRows(e.start,e.end)})),this.refreshRows(0,this._rowCount-1)},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,i){this._renderer.onSelectionChanged(e,t,i)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},t.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},s([a(3,h.IOptionsService),a(4,f.ICharSizeService)],t)}(l.Disposable);t.RenderService=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(11),s=i(31);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:t.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:r.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var a=["cols","rows"],o=function(){function e(e){var i=this;this._onOptionChange=new n.EventEmitter,this.options=s.clone(t.DEFAULT_OPTIONS),Object.keys(e).forEach((function(t){t in i.options&&(i.options[t]=e[t])}))}return Object.defineProperty(e.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!0,configurable:!0}),e.prototype.setOption=function(e,i){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==a.indexOf(e))throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==i&&(i=this._sanitizeAndValidateOption(e,i),this.options[e]!==i&&(this.options[e]=i,this._onOptionChange.fire(e)))},e.prototype._sanitizeAndValidateOption=function(e,i){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":i||(i=t.DEFAULT_OPTIONS[e]);break;case"cursorWidth":i=Math.floor(i);case"lineHeight":case"tabStopWidth":if(i<1)throw new Error(e+" cannot be less than 1, value: "+i);break;case"minimumContrastRatio":i=Math.max(1,Math.min(21,Math.round(10*i)/10));break;case"scrollback":if((i=Math.min(i,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+i);break;case"fastScrollSensitivity":case"scrollSensitivity":if(i<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+i)}return i},e.prototype.getOption=function(e){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},e}();t.OptionsService=o},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(1),o=function(){function e(e,t,i){this.document=e,this.parentElement=t,this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new a.EventEmitter,this._measureStrategy=new c(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!0,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},n([r(2,s.IOptionsService)],e)}();t.CharSizeService=o;var c=function(){function e(e,t,i){this._document=e,this._parentElement=t,this._optionsService=i,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(64);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var o=function(){function e(e){this._optionsService=e,this.cols=Math.max(e.options.cols,t.MINIMUM_COLS),this.rows=Math.max(e.options.rows,t.MINIMUM_ROWS),this.buffers=new a.BufferSet(e,this)}return Object.defineProperty(e.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){this.cols=e,this.rows=t},e.prototype.reset=function(){this.buffers=new a.BufferSet(this._optionsService,this)},n([r(0,s.IOptionsService)],e)}();t.BufferService=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(65),r=i(1),s=function(){function e(e,t){this.optionsService=e,this.bufferService=t,this._onBufferActivate=new r.EventEmitter,this._normal=new n.Buffer(!0,e,t),this._normal.fillViewportRows(),this._alt=new n.Buffer(!1,e,t),this._activeBuffer=this._normal,this.setupTabStops()}return Object.defineProperty(e.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal},enumerable:!0,configurable:!0}),e.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},e.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},e.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},e.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},e}();t.BufferSet=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(66),r=i(16),s=i(5),a=i(3),o=i(67),c=i(68),l=i(18);t.MAX_BUFFER_SIZE=4294967295;var d=function(){function e(e,t,i){this._hasScrollback=e,this._optionsService=t,this._bufferService=i,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=r.DEFAULT_ATTR_DATA.clone(),this.savedCharset=l.DEFAULT_CHARSET,this.markers=[],this._nullCell=s.CellData.fromCharData([0,a.NULL_CELL_CHAR,a.NULL_CELL_WIDTH,a.NULL_CELL_CODE]),this._whitespaceCell=s.CellData.fromCharData([0,a.WHITESPACE_CELL_CHAR,a.WHITESPACE_CELL_WIDTH,a.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new n.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg):(this._nullCell.fg=0,this._nullCell.bg=0),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new r.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&et.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:i},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=r.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new n.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var i=this.getNullCell(r.DEFAULT_ATTR_DATA),n=this._getCorrectBufferLength(t);if(n>this.lines.maxLength&&(this.lines.maxLength=n),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+a+1?(this.ybase--,a++,this.ydisp>0&&this.ydisp--):this.lines.push(new r.BufferLine(e,i)));else for(o=this._rows;o>t;o--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(n0&&(this.lines.trimStart(c),this.ybase=Math.max(this.ybase-c,0),this.ydisp=Math.max(this.ydisp-c,0),this.savedY=Math.max(this.savedY-c,0)),this.lines.maxLength=n}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),a&&(this.y+=a),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(s=0;sthis._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var i=o.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(r.DEFAULT_ATTR_DATA));if(i.length>0){var n=o.reflowLargerCreateNewLayout(this.lines,i);o.reflowLargerApplyNewLayout(this.lines,n.layout),this._reflowLargerAdjustViewport(e,t,n.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,i){for(var n=this.getNullCell(r.DEFAULT_ATTR_DATA),s=i;s-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length=0;a--){var c=this.lines.get(a);if(!(!c||!c.isWrapped&&c.getTrimmedLength()<=e)){for(var l=[c];c.isWrapped&&a>0;)c=this.lines.get(--a),l.unshift(c);var d=this.ybase+this.y;if(!(d>=a&&d0&&(n.push({start:a+l.length+s,newLines:m}),s+=m.length),l.push.apply(l,m);var g=f.length-1,y=f[g];0===y&&(y=f[--g]);for(var v=l.length-p-1,w=h;v>=0;){var C=Math.min(w,y);if(l[g].copyCellsFrom(l[v],w-C,y-C,C,!0),0==(y-=C)&&(y=f[--g]),0==(w-=C)){v--;var S=Math.max(v,0);w=o.getWrappedLineTrimmedLength(l,S,this._cols)}}for(_=0;_0;)0===this.ybase?this.y0){var x=[],M=[];for(_=0;_=0;_--)if(E&&E.start>L+A){for(var O=E.newLines.length-1;O>=0;O--)this.lines.set(_--,E.newLines[O]);_++,x.push({index:L+1,amount:E.newLines.length}),A+=E.newLines.length,E=n[++T]}else this.lines.set(_,M[L--]);var P=0;for(_=x.length-1;_>=0;_--)x[_].index+=P,this.lines.onInsertEmitter.fire(x[_]),P+=x[_].amount;var I=Math.max(0,D+s-this.lines.maxLength);I>0&&this.lines.onTrimEmitter.fire(I)}},e.prototype.stringIndexToBufferIndex=function(e,t,i){for(void 0===i&&(i=!1);t;){var n=this.lines.get(e);if(!n)return[-1,-1];for(var r=i?n.getTrimmedLength():n.length,s=0;s0&&this.lines.get(t).isWrapped;)t--;for(;i+10;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e=this._cols?this._cols-1:e<0?0:e},e.prototype.addMarker=function(e){var t=this,i=new c.Marker(e);return this.markers.push(i),i.register(this.lines.onTrim((function(e){i.line-=e,i.line<0&&i.dispose()}))),i.register(this.lines.onInsert((function(e){i.line>=e.index&&(i.line+=e.amount)}))),i.register(this.lines.onDelete((function(e){i.line>=e.index&&i.linee.index&&(i.line-=e.amount)}))),i.register(i.onDispose((function(){return t._removeMarker(i)}))),i},e.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,i,n,r){return new u(this,e,t,i,n,r)},e}();t.Buffer=d;var u=function(){function e(e,t,i,n,r,s){void 0===i&&(i=0),void 0===n&&(n=e.lines.length),void 0===r&&(r=0),void 0===s&&(s=0),this._buffer=e,this._trimRight=t,this._startIndex=i,this._endIndex=n,this._startOverscan=r,this._endOverscan=s,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",i=e.first;i<=e.last;++i)t+=this._buffer.translateBufferLineToString(i,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new n.EventEmitter,this.onInsertEmitter=new n.EventEmitter,this.onTrimEmitter=new n.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),i=0;ithis._length)for(var t=this._length;t=e;r--)this._array[this._getCyclicIndex(r+i.length)]=this._array[this._getCyclicIndex(r)];for(r=0;rthis._maxLength){var s=this._length+i.length-this._maxLength;this._startIndex+=s,this._length=this._maxLength,this.onTrimEmitter.fire(s)}else this._length+=i.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,i){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(i>0){for(var n=t-1;n>=0;n--)this.set(e+n+i,this.get(e+n));var r=e+t+i-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(n=0;n=o&&r0&&(g>u||0===d[g].getTrimmedLength());g--)b++;b>0&&(a.push(o+d.length-b),a.push(b)),o+=d.length-1}}}return a},t.reflowLargerCreateNewLayout=function(e,t){for(var i=[],n=0,r=t[n],s=0,a=0;al&&(a-=l,o++);var d=2===e[o].getWidth(a-1);d&&a--;var u=d?i-1:i;r.push(u),c+=u}return r},t.getWrappedLineTrimmedLength=n},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s=i(1),a=function(e){function t(i){var n=e.call(this)||this;return n.line=i,n._id=t._nextId++,n.isDisposed=!1,n._onDispose=new s.EventEmitter,n}return r(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},t._nextId=1,t}(i(2).Disposable);t.Marker=a},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(4),a=i(28),o=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,i,n,r){return a.getCoords(e,t,i,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,r)},e.prototype.getRawByteCoords=function(e,t,i,n){var r=this.getCoords(e,t,i,n);return a.getRawByteCoords(r)},n([r(0,s.IRenderService),r(1,s.ICharSizeService)],e)}();t.MouseService=o},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(1),o=i(31),c=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,origin:!1,wraparound:!0}),l=function(){function e(e,t,i,n){this._scrollToBottom=e,this._bufferService=t,this._logService=i,this._optionsService=n,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=new a.EventEmitter,this._onUserInput=new a.EventEmitter,this._onBinary=new a.EventEmitter,this.decPrivateModes=o.clone(c)}return Object.defineProperty(e.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.decPrivateModes=o.clone(c)},e.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var i=this._bufferService.buffer;i.ybase!==i.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},e.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},n([r(1,s.IBufferService),r(2,s.ILogService),r(3,s.IOptionsService)],e)}();t.CoreService=l},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}},s=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){ethis._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var i=e;e=t,t=i}ethis._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},n([r(0,s.IBufferService)],e)}();t.DirtyRowService=a},function(e,t,i){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t0?r[0].index:t.length;if(t.length!==u)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(u+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,n([void 0],n(t,a))))},e}();t.InstantiationService=o},function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__param||function(e,t){return function(i,n){t(i,n,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=i(0),a=i(1),o={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var i=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(i|=64,i|=e.action):(i|=3&e.button,4&e.button&&(i|=64),8&e.button&&(i|=128),32===e.action?i|=32:0!==e.action||t||(i|=3)),i}var l=String.fromCharCode,d={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"\x1b[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"\x1b[<"+c(e,!0)+";"+e.col+";"+e.row+t}},u=function(){function e(e,t){var i=this;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new a.EventEmitter,this._lastEvent=null,Object.keys(o).forEach((function(e){return i.addProtocol(e,o[e])})),Object.keys(d).forEach((function(e){return i.addEncoding(e,d[e])})),this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!0,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{DOWN:!!(1&e),UP:!!(2&e),DRAG:!!(4&e),MOVE:!!(8&e),WHEEL:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},n([r(0,s.IBufferService),r(1,s.ICoreService)],e)}();t.CoreMouseService=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return e.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return i._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var i=this._writeBuffer[this._bufferOffset],n=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(i),this._pendingData-=i.length,n&&n(),Date.now()-t>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return e._innerWrite()}),0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!0,configurable:!0}),e}();t.CoreBrowserService=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(78),s=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new n.EventEmitter;var e=new r.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!0,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,i=e.length,n=0;n=i)return t+this.wcwidth(r);var s=e.charCodeAt(n);56320<=s&&s<=57343?r=1024*(r-55296)+s-56320+65536:t+=this.wcwidth(s)}t+=this.wcwidth(r)}return t},e}();t.UnicodeService=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=i(15),s=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],a=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],o=function(){function e(){if(this.version="6",!n){n=new Uint8Array(65536),r.fill(n,1),n[0]=0,r.fill(n,0,1,32),r.fill(n,0,127,160),r.fill(n,2,4352,4448),n[9001]=2,n[9002]=2,r.fill(n,2,11904,42192),n[12351]=1,r.fill(n,2,44032,55204),r.fill(n,2,63744,64256),r.fill(n,2,65040,65050),r.fill(n,2,65072,65136),r.fill(n,2,65280,65377),r.fill(n,2,65504,65511);for(var e=0;et[r][1])return!1;for(;r>=n;)if(e>t[i=n+r>>1][1])n=i+1;else{if(!(e=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.charsets=[],this.glevel=0}return e.prototype.reset=function(){this.charset=void 0,this.charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this.charsets[e]},e.prototype.setgCharset=function(e,t){this.charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var i=this,n={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(n),t.dispose=function(){return i._wrappedAddonDispose(n)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,i=0;i=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i("wd/R"))},"0tRk":function(e,t,i){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(i("wd/R"))},1:function(e,t){},"1CSz":function(e,t,i){"use strict";var n=i("P7XM"),r=i("hwdV").Buffer,s=i("ZDAU"),a=r.alloc(128);function o(e,t){s.call(this,"digest"),"string"==typeof t&&(t=r.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=r.concat([t,a],64));for(var i=this._ipad=r.allocUnsafe(64),n=this._opad=r.allocUnsafe(64),o=0;o<64;o++)i[o]=54^t[o],n[o]=92^t[o];this._hash=[i]}n(o,s),o.prototype._update=function(e){this._hash.push(e)},o.prototype._final=function(){var e=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,e]))},e.exports=o},"1IWx":function(e,t,i){e.exports=r;var n=i("+qE3").EventEmitter;function r(){n.call(this)}i("P7XM")(r,n),r.Readable=i("43KI"),r.Writable=i("LGOv"),r.Duplex=i("CWBI"),r.Transform=i("0XuU"),r.PassThrough=i("wq4j"),r.Stream=r,r.prototype.pipe=function(e,t){var i=this;function r(t){e.writable&&!1===e.write(t)&&i.pause&&i.pause()}function s(){i.readable&&i.resume&&i.resume()}i.on("data",r),e.on("drain",s),e._isStdio||t&&!1===t.end||(i.on("end",o),i.on("close",c));var a=!1;function o(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(d(),0===n.listenerCount(this,"error"))throw e}function d(){i.removeListener("data",r),e.removeListener("drain",s),i.removeListener("end",o),i.removeListener("close",c),i.removeListener("error",l),e.removeListener("error",l),i.removeListener("end",d),i.removeListener("close",d),e.removeListener("close",d)}return i.on("error",l),e.on("error",l),i.on("end",d),i.on("close",d),e.on("close",d),e.emit("pipe",i),e}},"1rYy":function(e,t,i){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},"1sBl":function(e,t,i){var n=i("e/Dd").getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,i=n(e),r=145===i?26:2*Math.ceil((i-13)/(2*t-2)),s=[i-7],a=1;a>>1|G<<31)^(Z>>>8|G<<24)^(Z>>>7|G<<25),Q=l[U-2],ee=Q.high,te=Q.low,ie=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),ne=l[U-7],re=l[U-16],se=re.low;q.high=$=($=($=((G>>>1|Z<<31)^(G>>>8|Z<<24)^G>>>7)+ne.high+((J=X+ne.low)>>>0>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((J+=ie)>>>0>>0?1:0))+re.high+((J+=se)>>>0>>0?1:0),q.low=J}var ae,oe=Y&W^~Y&H,ce=V&F^~V&B,le=T&A^T&P^A&P,de=(E>>>28|T<<4)^(E<<30|T>>>2)^(E<<25|T>>>7),ue=c[U],he=ue.low,fe=z+((Y>>>14|V<<18)^(Y>>>18|V<<14)^(Y<<23|V>>>9))+((ae=N+((V>>>14|Y<<18)^(V>>>18|Y<<14)^(V<<23|Y>>>9)))>>>0>>0?1:0),pe=de+(E&O^E&I^O&I);z=H,N=B,H=W,B=F,W=Y,F=V,Y=R+(fe=(fe=(fe=fe+oe+((ae+=ce)>>>0>>0?1:0))+ue.high+((ae+=he)>>>0>>0?1:0))+$+((ae+=J)>>>0>>0?1:0))+((V=j+ae|0)>>>0>>0?1:0)|0,R=P,j=I,P=A,I=O,A=T,O=E,T=fe+(((T>>>28|E<<4)^(T<<30|E>>>2)^(T<<25|E>>>7))+le+(pe>>>0>>0?1:0))+((E=ae+pe|0)>>>0>>0?1:0)|0}p=n.low=p+E,n.high=f+T+(p>>>0>>0?1:0),_=r.low=_+O,r.high=m+A+(_>>>0>>0?1:0),g=s.low=g+I,s.high=b+P+(g>>>0>>0?1:0),v=a.low=v+j,a.high=y+R+(v>>>0>>0?1:0),C=o.low=C+V,o.high=w+Y+(C>>>0>>0?1:0),k=d.low=k+F,d.high=S+W+(k>>>0>>0?1:0),M=u.low=M+B,u.high=x+H+(M>>>0>>0?1:0),L=h.low=L+N,h.high=D+z+(L>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),t[31+(n+128>>>10<<5)]=i,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(d),e.HmacSHA512=t._createHmacHelper(d)}(),n.SHA512)},"1w4i":function(e){e.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"}')},"1xZ4":function(e,t,i){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_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\xe7_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\xe0 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\xed %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|\xe8|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i("wd/R"))},2:function(e,t){},"2QA8":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));let n=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},"2fjn":function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(i("wd/R"))},"2j6C":function(e,t){function i(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=i,i.equal=function(e,t,i){if(e!=t)throw new Error(i||"Assertion failed: "+e+" != "+t)}},"2pl3":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"2ykv":function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},3:function(e,t){},"3BRs":function(e,t,i){"use strict";(function(t,n,r){var s=i("lm0R");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,i){var n=e.entry;for(e.entry=null;n;){var r=n.callback;t.pendingcb--,r(void 0),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=g;var o,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:s;g.WritableState=b;var l=i("Onz0");l.inherits=i("P7XM");var d,u={deprecate:i("t9FE")},h=i("QpuX"),f=i("hwdV").Buffer,p=r.Uint8Array||function(){},m=i("RoFp");function _(){}function b(e,t){o=o||i("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof o&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===e.decodeStrings),this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var i=e._writableState,n=i.sync,r=i.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(i),t)!function(e,t,i,n,r){--t.pendingcb,i?(s(r,n),s(k,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(r(n),e._writableState.errorEmitted=!0,e.emit("error",n),k(e,t))}(e,i,n,t,r);else{var a=C(i);a||i.corked||i.bufferProcessing||!i.bufferedRequest||w(e,i),n?c(v,e,i,a,r):v(e,i,a,r)}}(t,e)},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 a(this)}function g(e){if(o=o||i("sZro"),!(d.call(g,this)||this instanceof o))return new g(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function y(e,t,i,n,r,s,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,i?e._writev(r,t.onwrite):e._write(r,s,t.onwrite),t.sync=!1}function v(e,t,i,n){i||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),k(e,t)}function w(e,t){t.bufferProcessing=!0;var i=t.bufferedRequest;if(e._writev&&i&&i.next){var n=new Array(t.bufferedRequestCount),r=t.corkedRequestsFree;r.entry=i;for(var s=0,o=!0;i;)n[s]=i,i.isBuf||(o=!1),i=i.next,s+=1;n.allBuffers=o,y(e,t,!0,t.length,n,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new a(t)}else{for(;i;){var c=i.chunk;if(y(e,t,!1,t.objectMode?1:c.length,c,i.encoding,i.callback),i=i.next,t.writing)break}null===i&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=i,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(i){t.pendingcb--,i&&e.emit("error",i),t.prefinished=!0,e.emit("prefinish"),k(e,t)}))}function k(e,t){var i=C(t);return i&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,s(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),i}l.inherits(g,h),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||e&&e._writableState instanceof b}})):d=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,i){var n,r=this._writableState,a=!1,o=(f.isBuffer(n=e)||n instanceof p)&&!r.objectMode;return o&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(i=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof i&&(i=_),r.ended?function(e,t){var i=new Error("write after end");e.emit("error",i),s(t,i)}(this,i):(o||function(e,t,i,n){var r=!0,a=!1;return null===i?a=new TypeError("May not write null values to stream"):"string"==typeof i||void 0===i||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),s(n,a),r=!1),r}(this,r,e,i))&&(r.pendingcb++,a=function(e,t,i,n,r,s){if(!i){var a=function(e,t,i){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,i)),t}(t,n,r);n!==a&&(i=!0,r="buffer",n=a)}var o=t.objectMode?1:n.length;t.length+=o;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},g.prototype._write=function(e,t,i){i(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,i){var n=this._writableState;"function"==typeof e?(i=e,e=null,t=null):"function"==typeof t&&(i=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,i){t.ending=!0,k(e,t),i&&(t.finished?s(i):e.once("finish",i)),t.ended=!0,e.writable=!1}(this,n,i)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,i("8oxB"),i("URgk").setImmediate,i("aWmh"))},"3E1r":function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i("wd/R"))},"3X7Y":function(e,t,i){var n=i("u/Db");function r(e){this.mode=n.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){var t,i,n;for(t=0;t+3<=this.data.length;t+=3)i=this.data.substr(t,3),n=parseInt(i,10),e.put(n,10);var r=this.data.length-t;r>0&&(i=this.data.substr(t),n=parseInt(i,10),e.put(n,3*r+1))},e.exports=r},"3y9D":function(e,t,i){var n,r,s,a,o,c,l;e.exports=(l=i("Ib8C"),s=(r=(n=l).lib).WordArray,o=[],c=n.algo.SHA1=(a=r.Hasher).extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var i=this._hash.words,n=i[0],r=i[1],s=i[2],a=i[3],c=i[4],l=0;l<80;l++){if(l<16)o[l]=0|e[t+l];else{var d=o[l-3]^o[l-8]^o[l-14]^o[l-16];o[l]=d<<1|d>>>31}var u=(n<<5|n>>>27)+c+o[l];u+=l<20?1518500249+(r&s|~r&a):l<40?1859775393+(r^s^a):l<60?(r&s|r&a|s&a)-1894007588:(r^s^a)-899497514,c=a,a=s,s=r<<30|r>>>2,r=n,n=u}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+s|0,i[3]=i[3]+a|0,i[4]=i[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(i/4294967296),t[15+(n+64>>>9<<4)]=i,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c),l.SHA1)},"43KI":function(e,t,i){(t=e.exports=i("rXFu")).Stream=t,t.Readable=t,t.Writable=i("3BRs"),t.Duplex=i("sZro"),t.Transform=i("J78i"),t.PassThrough=i("eA/Y")},"49sm":function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},"4Hv8":function(e,t,i){var n=i("WnY+"),r=i("tcrS"),s=i("afKu"),a=i("fSpj"),o=i("n53Y"),c=i("hwdV").Buffer,l=c.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function u(e,t,i){var a=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new r).update(e).digest()}:"md5"===e?n:function(t){return s(e).update(t).digest()}}(e),o="sha512"===e||"sha384"===e?128:64;t.length>o?t=a(t):t.length=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i("wd/R"))},"4dMO":function(e,t,i){(function(t){var n=i("MzeL"),r=i("OZ/i");e.exports=function(e){return new a(e)};var s={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 a(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function o(e,i,n){Array.isArray(e)||(e=e.toArray());var r=new t(e);if(n&&r.lengthn.pipe(c((i,n)=>Object(o.a)(e(i,n)).pipe(Object(a.a)((e,r)=>t(i,e,n,r))),i)):("number"==typeof t&&(i=t),t=>t.lift(new l(e,i)))}class l{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new d(e,this.project,this.concurrent))}}class d extends r.a{constructor(e,t,i=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("7o/Q");class r extends n.a{constructor(e,t,i){super(),this.parent=e,this.outerValue=t,this.outerIndex=i,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5hvy":function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("MlIO"),function(e){var t=n,i=t.lib,r=i.WordArray,s=i.Hasher,a=t.x64.Word,o=t.algo,c=[],l=[],d=[];!function(){for(var e=1,t=0,i=0;i<24;i++){c[e+5*t]=(i+1)*(i+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var r=1,s=0;s<24;s++){for(var o=0,u=0,h=0;h<7;h++){if(1&r){var f=(1<>>24)|4278255360&(s<<24|s>>>8),(A=i[r]).high^=a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),A.low^=s}for(var o=0;o<24;o++){for(var h=0;h<5;h++){for(var f=0,p=0,m=0;m<5;m++)f^=(A=i[h+5*m]).high,p^=A.low;var _=u[h];_.high=f,_.low=p}for(h=0;h<5;h++){var b=u[(h+4)%5],g=u[(h+1)%5],y=g.high,v=g.low;for(f=b.high^(y<<1|v>>>31),p=b.low^(v<<1|y>>>31),m=0;m<5;m++)(A=i[h+5*m]).high^=f,A.low^=p}for(var w=1;w<25;w++){var C=(A=i[w]).high,S=A.low,k=c[w];k<32?(f=C<>>32-k,p=S<>>32-k):(f=S<>>64-k,p=C<>>64-k);var x=u[l[w]];x.high=f,x.low=p}var M=u[0],D=i[0];for(M.high=D.high,M.low=D.low,h=0;h<5;h++)for(m=0;m<5;m++){var L=u[w=h+5*m],T=u[(h+1)%5+5*m],E=u[(h+2)%5+5*m];(A=i[w]).high=L.high^~T.high&E.high,A.low=L.low^~T.low&E.low}var A,O=d[o];(A=i[0]).high^=O.high,A.low^=O.low}},_doFinalize:function(){var t=this._data,i=t.words,n=8*t.sigBytes,s=32*this.blockSize;i[n>>>5]|=1<<24-n%32,i[(e.ceil((n+1)/s)*s>>>5)-1]|=128,t.sigBytes=4*i.length,this._process();for(var a=this._state,o=this.cfg.outputLength/8,c=o/8,l=[],d=0;d>>24)|4278255360&(h<<24|h>>>8),l.push(f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)),l.push(h)}return new r.init(l,o)},clone:function(){for(var e=s.clone.call(this),t=e._state=this._state.slice(0),i=0;i<25;i++)t[i]=t[i].clone();return e}});t.SHA3=s._createHelper(h),t.HmacSHA3=s._createHmacHelper(h)}(Math),n.SHA3)},"6+QB":function(e,t,i){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},"6B0Y":function(e,t,i){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,i){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wd/R"))},"6F8h":function(e){e.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"}}')},"6lN/":function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ"),s=r.getNAF,a=r.getJSF,o=r.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.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 i=this.n&&this.p.div(this.n);!i||i.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){o(e.precomputed);var i=e._getDoubles(),n=s(t,1,this._bitLength),r=(1<=c;t--)l=(l<<1)+n[t];a.push(l)}for(var d=this.jpoint(null,null,null),u=this.jpoint(null,null,null),h=r;h>0;h--){for(c=0;c=0;l--){for(t=0;l>=0&&0===a[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var d=a[l];o(0!==d),c="affine"===e.type?c.mixedAdd(d>0?r[d-1>>1]:r[-d-1>>1].neg()):c.add(d>0?r[d-1>>1]:r[-d-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,i,n,r){for(var o=this._wnafT1,c=this._wnafT2,l=this._wnafT3,d=0,u=0;u=1;u-=2){var f=u-1,p=u;if(1===o[f]&&1===o[p]){var m=[t[f],null,null,t[p]];0===t[f].y.cmp(t[p].y)?(m[1]=t[f].add(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg())):0===t[f].y.cmp(t[p].y.redNeg())?(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].add(t[p].neg())):(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],b=a(i[f],i[p]);d=Math.max(b[0].length,d),l[f]=new Array(d),l[p]=new Array(d);for(var g=0;g=0;u--){for(var w=0;u>=0;){var C=!0;for(g=0;g=0&&w++,y=y.dblp(w),u<0)break;for(g=0;g0?S=c[g][k-1>>1]:k<0&&(S=c[g][-k-1>>1].neg()),y="affine"===S.type?y.mixedAdd(S):y.add(S))}}for(u=0;u=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],n=this,r=0;r11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i("wd/R"))},"7ckf":function(e,t,i){"use strict";var n=i("w8CP"),r=i("2j6C");function s(){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}t.BlockHash=s,s.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending=this.pending?this.pending.concat(e):e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var i=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-i,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-i,this.endian);for(var r=0;r>>24&255,n[r++]=e>>>16&255,n[r++]=e>>>8&255,n[r++]=255&e}else for(n[r++]=255&e,n[r++]=e>>>8&255,n[r++]=e>>>16&255,n[r++]=e>>>24&255,n[r++]=0,n[r++]=0,n[r++]=0,n[r++]=0,s=8;sthis._complete.call(this._context);o.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(i){if(this.unsubscribe(),o.a.useDeprecatedSynchronousErrorHandling)throw i;Object(c.a)(i)}}__tryOrSetError(e,t,i){if(!o.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(n){return o.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(Object(c.a)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"7uVY":function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},"7zrB":function(e,t,i){var n=i("f3pb"),r=i("P7XM");function s(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new s(e,t)},s.prototype._createNamed=function(e){var t;try{t=i("BwZh").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(n){t=function(e){this._initNamed(e)}}return r(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},s.prototype._getDecoder=function(e){return this.decoders.hasOwnProperty(e=e||"der")||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},s.prototype.decode=function(e,t,i){return this._getDecoder(t).decode(e,i)},s.prototype._getEncoder=function(e){return this.encoders.hasOwnProperty(e=e||"der")||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},s.prototype.encode=function(e,t,i){return this._getEncoder(t).encode(e,i)}},"8/+R":function(e,t,i){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i("wd/R"))},"86MQ":function(e,t,i){"use strict";var n=t,r=i("OZ/i"),s=i("2j6C"),a=i("dlgc");n.assert=s,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(e,t,i){var n=new Array(Math.max(e.bitLength(),i)+1);n.fill(0);for(var r=1<(r>>1)-1?(r>>1)-c:c):o=0,n[a]=o,s.iushrn(1)}return n},n.getJSF=function(e,t){var i=[[],[]];e=e.clone(),t=t.clone();for(var n=0,r=0;e.cmpn(-n)>0||t.cmpn(-r)>0;){var s,a,o,c=e.andln(3)+n&3,l=t.andln(3)+r&3;3===c&&(c=-1),3===l&&(l=-1),s=0==(1&c)?0:3!=(o=e.andln(7)+n&7)&&5!==o||2!==l?c:-c,i[0].push(s),a=0==(1&l)?0:3!=(o=t.andln(7)+r&7)&&5!==o||2!==c?l:-l,i[1].push(a),2*n===s+1&&(n=1-n),2*r===a+1&&(r=1-r),e.iushrn(1),t.iushrn(1)}return i},n.cachedProperty=function(e,t,i){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=i.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new r(e,"hex","le")}},"8mBD":function(e,t,i){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},"8oxB":function(e,t){var i,n,r=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c,l=[],d=!1,u=-1;function h(){d&&c&&(d=!1,c.length?l=c.concat(l):u=-1,l.length&&f())}function f(){if(!d){var e=o(h);d=!0;for(var t=l.length;t;){for(c=l,l=[];++u1)for(var i=1;i>>32-t}function l(e,t,i,n,r,s,a){return c(e+(t&i|~t&n)+r+s|0,a)+t|0}function d(e,t,i,n,r,s,a){return c(e+(t&n|i&~n)+r+s|0,a)+t|0}function u(e,t,i,n,r,s,a){return c(e+(t^i^n)+r+s|0,a)+t|0}function h(e,t,i,n,r,s,a){return c(e+(i^(t|~n))+r+s|0,a)+t|0}n(o,r),o.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,n=this._b,r=this._c,s=this._d;i=l(i,n,r,s,e[0],3614090360,7),s=l(s,i,n,r,e[1],3905402710,12),r=l(r,s,i,n,e[2],606105819,17),n=l(n,r,s,i,e[3],3250441966,22),i=l(i,n,r,s,e[4],4118548399,7),s=l(s,i,n,r,e[5],1200080426,12),r=l(r,s,i,n,e[6],2821735955,17),n=l(n,r,s,i,e[7],4249261313,22),i=l(i,n,r,s,e[8],1770035416,7),s=l(s,i,n,r,e[9],2336552879,12),r=l(r,s,i,n,e[10],4294925233,17),n=l(n,r,s,i,e[11],2304563134,22),i=l(i,n,r,s,e[12],1804603682,7),s=l(s,i,n,r,e[13],4254626195,12),r=l(r,s,i,n,e[14],2792965006,17),i=d(i,n=l(n,r,s,i,e[15],1236535329,22),r,s,e[1],4129170786,5),s=d(s,i,n,r,e[6],3225465664,9),r=d(r,s,i,n,e[11],643717713,14),n=d(n,r,s,i,e[0],3921069994,20),i=d(i,n,r,s,e[5],3593408605,5),s=d(s,i,n,r,e[10],38016083,9),r=d(r,s,i,n,e[15],3634488961,14),n=d(n,r,s,i,e[4],3889429448,20),i=d(i,n,r,s,e[9],568446438,5),s=d(s,i,n,r,e[14],3275163606,9),r=d(r,s,i,n,e[3],4107603335,14),n=d(n,r,s,i,e[8],1163531501,20),i=d(i,n,r,s,e[13],2850285829,5),s=d(s,i,n,r,e[2],4243563512,9),r=d(r,s,i,n,e[7],1735328473,14),i=u(i,n=d(n,r,s,i,e[12],2368359562,20),r,s,e[5],4294588738,4),s=u(s,i,n,r,e[8],2272392833,11),r=u(r,s,i,n,e[11],1839030562,16),n=u(n,r,s,i,e[14],4259657740,23),i=u(i,n,r,s,e[1],2763975236,4),s=u(s,i,n,r,e[4],1272893353,11),r=u(r,s,i,n,e[7],4139469664,16),n=u(n,r,s,i,e[10],3200236656,23),i=u(i,n,r,s,e[13],681279174,4),s=u(s,i,n,r,e[0],3936430074,11),r=u(r,s,i,n,e[3],3572445317,16),n=u(n,r,s,i,e[6],76029189,23),i=u(i,n,r,s,e[9],3654602809,4),s=u(s,i,n,r,e[12],3873151461,11),r=u(r,s,i,n,e[15],530742520,16),i=h(i,n=u(n,r,s,i,e[2],3299628645,23),r,s,e[0],4096336452,6),s=h(s,i,n,r,e[7],1126891415,10),r=h(r,s,i,n,e[14],2878612391,15),n=h(n,r,s,i,e[5],4237533241,21),i=h(i,n,r,s,e[12],1700485571,6),s=h(s,i,n,r,e[3],2399980690,10),r=h(r,s,i,n,e[10],4293915773,15),n=h(n,r,s,i,e[1],2240044497,21),i=h(i,n,r,s,e[8],1873313359,6),s=h(s,i,n,r,e[15],4264355552,10),r=h(r,s,i,n,e[6],2734768916,15),n=h(n,r,s,i,e[13],1309151649,21),i=h(i,n,r,s,e[4],4149444226,6),s=h(s,i,n,r,e[11],3174756917,10),r=h(r,s,i,n,e[2],718787259,15),n=h(n,r,s,i,e[9],3951481745,21),this._a=this._a+i|0,this._b=this._b+n|0,this._c=this._c+r|0,this._d=this._d+s|0},o.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 e=s.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=o},"9ppp":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9rRi":function(e,t,i){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","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\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 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\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wd/R"))},"A+xa":function(e,t,i){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i("wd/R"))},ALsQ:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,i,n){var r=this._iv;if(r){var s=r.slice(0);this._iv=void 0}else s=this._prevBlock;n.encryptBlock(s,0);for(var a=0;a0;n--)t+=this._buffer(e,t),i+=this._flushBuffer(r,i);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,i;return e&&(t=this.update(e)),i="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(i):i},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i("wd/R"))},"B/J0":function(e,t,i){"use strict";var n=i("w8CP"),r=i("bu2F");function s(){if(!(this instanceof s))return new s;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(s,r),e.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},B55N:function(e,t,i){!function(e){"use strict";e.defineLocale("ja",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,i){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()>>2}function d(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,r=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,u=0;u<16;++u)i[u]=e.readInt32BE(4*u);for(;u<80;++u)i[u]=i[u-3]^i[u-8]^i[u-14]^i[u-16];for(var h=0;h<80;++h){var f=~~(h/20),p=0|((t=n)<<5|t>>>27)+d(f,r,s,o)+c+i[h]+a[f];c=o,o=s,s=l(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},CWBI:function(e,t,i){e.exports=i("sZro")},CfXC:function(e,t,i){var n=i("OfWw"),r=i("hwdV").Buffer,s=i("ZDAU");function a(e,t,i,a){s.call(this),this._cipher=new n.AES(t),this._prev=r.from(i),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=a,this._mode=e}i("P7XM")(a,s),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},Cfvw:function(e,t,i){"use strict";var n=i("HDdC"),r=i("SeVD"),s=i("quSY"),a=i("kJWO"),o=i("jZKg"),c=i("Lhse"),l=i("c2HN"),d=i("I55L");function u(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new n.a(i=>{const n=new s.a;return n.add(t.schedule(()=>{const r=e[a.a]();n.add(r.subscribe({next(e){n.add(t.schedule(()=>i.next(e)))},error(e){n.add(t.schedule(()=>i.error(e)))},complete(){n.add(t.schedule(()=>i.complete()))}}))})),n})}(e,t);if(Object(l.a)(e))return function(e,t){return new n.a(i=>{const n=new s.a;return n.add(t.schedule(()=>e.then(e=>{n.add(t.schedule(()=>{i.next(e),n.add(t.schedule(()=>i.complete()))}))},e=>{n.add(t.schedule(()=>i.error(e)))}))),n})}(e,t);if(Object(d.a)(e))return Object(o.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.a(i=>{const n=new s.a;let r;return n.add(()=>{r&&"function"==typeof r.return&&r.return()}),n.add(t.schedule(()=>{r=e[c.a](),n.add(t.schedule((function(){if(i.closed)return;let e,t;try{const i=r.next();e=i.value,t=i.done}catch(n){return void i.error(n)}t?i.complete():(i.next(e),this.schedule())})))})),n})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof n.a?e:new n.a(Object(r.a)(e))}i.d(t,"a",(function(){return u}))},CjzT:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},CoRJ:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(i("wd/R"))},"D/JM":function(e,t,i){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},DH7j:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},"DKr+":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[i][0]:r[i][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(i("wd/R"))},DLvh:function(e,t,i){"use strict";var n,r=t,s=i("fZJM"),a=i("QTa/"),o=i("86MQ").assert;function c(e){this.curve="short"===e.type?new a.short(e):"edwards"===e.type?new a.edwards(e):new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var i=new c(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=c,l("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:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("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:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("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:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("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:s.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"]}),l("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:s.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"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),l("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:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=i("QJsb")}catch(d){n=void 0}l("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:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},DaRl:function(e,t,i){"use strict";var n=i("2j6C"),r=i("P7XM"),s={};function a(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t=100?100:null])}},week:{dow:1,doy:7}})}(i("wd/R"))},DxQv:function(e,t,i){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},DyzK:function(e,t,i){var n=i("Ku4m"),r=i("9GDS"),s=i("g9U9"),a=i("OZ/i"),o=i("qVij"),c=i("mObS"),l=i("UpF+"),d=i("ZYru").Buffer;e.exports=function(e,t,i){var u;u=e.padding?e.padding:i?1:4;var h,f=n(e),p=f.modulus.byteLength();if(t.length>p||new a(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=i?l(new a(t),f):o(t,f);var m=d.alloc(p-h.length);if(h=d.concat([m,h],p),4===u)return function(e,t){var i=e.modulus.byteLength(),n=c("sha1").update(d.alloc(0)).digest(),a=n.length;if(0!==t[0])throw new Error("decryption error");var o=t.slice(1,a+1),l=t.slice(a+1),u=s(o,r(l,a)),h=s(l,r(u,i-a-1));if(function(e,t){e=d.from(e),t=d.from(t);var i=0,n=e.length;e.length!==t.length&&(i++,n=Math.min(e.length,t.length));for(var r=-1;++r=t.length){s++;break}var a=t.slice(2,r-1);if(("0002"!==n.toString("hex")&&!i||"0001"!==n.toString("hex")&&i)&&s++,a.length<8&&s++,s)throw new Error("decryption error");return t.slice(r)}(0,h,i);if(3===u)return h;throw new Error("unknown padding")}},Dzi0:function(e,t,i){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("wd/R"))},"E+IA":function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=i("qlaj"),a=n.rotl32,o=n.sum32,c=n.sum32_5,l=s.ft_1,d=r.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,d),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var i=this.W,n=0;n<16;n++)i[n]=e[t+n];for(;n=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var r=t.words[n];return 1===n.length?i?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".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:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},E4JC:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.StreamCipher,i=[],r=[],s=[],a=e.algo.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,i=0;i<4;i++)e[i]=16711935&(e[i]<<8|e[i]>>>24)|4278255360&(e[i]<<24|e[i]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,i=0;i<4;i++)o.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var s=t.words,a=s[0],c=s[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=l>>>16|4294901760&d,h=d<<16|65535&l;for(r[0]^=l,r[1]^=u,r[2]^=d,r[3]^=h,r[4]^=l,r[5]^=u,r[6]^=d,r[7]^=h,i=0;i<4;i++)o.call(this)}},_doProcessBlock:function(e,t){var n=this._X;o.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function o(){for(var e=this._X,t=this._C,i=0;i<8;i++)r[i]=t[i];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,i=0;i<8;i++){var n=e[i]+t[i],a=65535&n,o=n>>>16;s[i]=((a*a>>>17)+a*o>>>15)+o*o^((4294901760&n)*n|0)+((65535&n)*n|0)}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),n.Rabbit)},ELBg:function(e,t,i){"use strict";var n={single_source_shortest_paths:function(e,t,i){var r={},s={};s[t]=0;var a,o,c,l,d,u,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(c in l=(a=h.pop()).cost,d=e[o=a.value]||{})d.hasOwnProperty(c)&&(u=l+d[c],(void 0===s[c]||s[c]>u)&&(s[c]=u,h.push(c,u),r[c]=o));if(void 0!==i&&void 0===s[i]){var f=["Could not find a path from ",t," to ",i,"."].join("");throw new Error(f)}return r},extract_shortest_path_from_predecessor_list:function(e,t){for(var i=[],n=t;n;)i.push(n),n=e[n];return i.reverse(),i},find_path:function(e,t,i){var r=n.single_source_shortest_paths(e,t,i);return n.extract_shortest_path_from_predecessor_list(r,i)},PriorityQueue:{make:function(e){var t,i=n.PriorityQueue,r={};for(t in e=e||{},i)i.hasOwnProperty(t)&&(r[t]=i[t]);return r.queue=[],r.sorter=e.sorter||i.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},ELcG:function(e,t,i){var n;e.exports=(n=i("Ib8C"),function(e){var t=n,i=t.lib,r=i.WordArray,s=i.Hasher,a=t.algo,o=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=a.RIPEMD160=s.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var i=0;i<16;i++){var n=t+i,r=e[n];e[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s,a,f,v,w,C,S,k,x,M,D,L=this._hash.words,T=u.words,E=h.words,A=o.words,O=c.words,P=l.words,I=d.words;for(C=s=L[0],S=a=L[1],k=f=L[2],x=v=L[3],M=w=L[4],i=0;i<80;i+=1)D=s+e[t+A[i]]|0,D+=i<16?p(a,f,v)+T[0]:i<32?m(a,f,v)+T[1]:i<48?_(a,f,v)+T[2]:i<64?b(a,f,v)+T[3]:g(a,f,v)+T[4],D=(D=y(D|=0,P[i]))+w|0,s=w,w=v,v=y(f,10),f=a,a=D,D=C+e[t+O[i]]|0,D+=i<16?g(S,k,x)+E[0]:i<32?b(S,k,x)+E[1]:i<48?_(S,k,x)+E[2]:i<64?m(S,k,x)+E[3]:p(S,k,x)+E[4],D=(D=y(D|=0,I[i]))+M|0,C=M,M=x,x=y(k,10),k=S,S=D;D=L[1]+f+x|0,L[1]=L[2]+v+M|0,L[2]=L[3]+w+C|0,L[3]=L[4]+s+S|0,L[4]=L[0]+a+k|0,L[0]=D},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,s=r.words,a=0;a<5;a++){var o=s[a];s[a]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}return r},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,i){return e^t^i}function m(e,t,i){return e&t|~e&i}function _(e,t,i){return(e|~t)^i}function b(e,t,i){return e&i|t&~i}function g(e,t,i){return e^(t|~i)}function y(e,t){return e<>>32-t}t.RIPEMD160=s._createHelper(f),t.HmacRIPEMD160=s._createHmacHelper(f)}(Math),n.RIPEMD160)},EOgW:function(e,t,i){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,i){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i("wd/R"))},ETIr:function(e,t,i){var n,r;e.exports=(r=i("Ib8C"),n=r.lib.WordArray,r.enc.Base64={stringify:function(e){var t=e.words,i=e.sigBytes,n=this._map;e.clamp();for(var r=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,o=0;o<4&&s+.75*o>>6*(3-o)&63));var c=n.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,i=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s>>6-a%4*2;r[s>>>2]|=(o|c)<<24-s%4*8,s++}return n.create(r,s)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64)},EW2V:function(e,t,i){e.exports=i("tOiH")},Edxu:function(e,t,i){"use strict";(function(t,n){var r=i("hwdV").Buffer,s=t.crypto||t.msCrypto;e.exports=s&&s.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var i=r.allocUnsafe(e);if(e>0)if(e>65536)for(var a=0;a>>2]|=e[r]<<24-r%4*8;t.call(this,n,i)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},FUXG:function(e,t,i){"use strict";t.utils=i("Xudb"),t.Cipher=i("AYSA"),t.DES=i("Titl"),t.CBC=i("DaRl"),t.EDE=i("H+yo")},Fzww:function(e,t,i){window,e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,(function(t){return e[t]}).bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this._disposables=[],this._socket=e,this._socket.binaryType="arraybuffer",this._bidirectional=!t||!1!==t.bidirectional}return e.prototype.activate=function(e){var t=this;this._disposables.push(r(this._socket,"message",(function(t){var i=t.data;e.write("string"==typeof i?i:new Uint8Array(i))}))),this._bidirectional&&(this._disposables.push(e.onData((function(e){return t._sendData(e)}))),this._disposables.push(e.onBinary((function(e){return t._sendBinary(e)})))),this._disposables.push(r(this._socket,"close",(function(){return t.dispose()}))),this._disposables.push(r(this._socket,"error",(function(){return t.dispose()})))},e.prototype.dispose=function(){this._disposables.forEach((function(e){return e.dispose()}))},e.prototype._sendData=function(e){1===this._socket.readyState&&this._socket.send(e)},e.prototype._sendBinary=function(e){if(1===this._socket.readyState){for(var t=new Uint8Array(e.length),i=0;ii?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length0?a-4:a;for(i=0;i>16&255,c[d++]=t>>8&255,c[d++]=255&t;return 2===o&&(t=r[e.charCodeAt(i)]<<2|r[e.charCodeAt(i+1)]>>4,c[d++]=255&t),1===o&&(t=r[e.charCodeAt(i)]<<10|r[e.charCodeAt(i+1)]<<4|r[e.charCodeAt(i+2)]>>2,c[d++]=t>>8&255,c[d++]=255&t),c},t.fromByteArray=function(e){for(var t,i=e.length,r=i%3,s=[],a=0,o=i-r;ao?o:a+16383));return 1===r?s.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===r&&s.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),s.join("")};for(var n=[],r=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function d(e,t,i){for(var r,s=[],a=t;a>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},H8ED:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,r;return"m"===i?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(n=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},HDdC:function(e,t,i){"use strict";var n=i("7o/Q"),r=i("2QA8"),s=i("gRHU"),a=i("kJWO"),o=i("mCNh"),c=i("2fFW");i.d(t,"a",(function(){return l}));let l=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(e,t,i){const{operator:a}=this,o=function(e,t,i){if(e){if(e instanceof n.a)return e;if(e[r.a])return e[r.a]()}return e||t||i?new n.a(e,t,i):new n.a(s.a)}(e,t,i);if(o.add(a?a.call(o,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),c.a.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:i,isStopped:r}=e;if(t||r)return!1;e=i&&i instanceof n.a?i:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=d(t))((t,i)=>{let n;n=this.subscribe(t=>{try{e(t)}catch(r){i(r),n&&n.unsubscribe()}},i,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[a.a](){return this}pipe(...e){return 0===e.length?this:Object(o.b)(e)(this)}toPromise(e){return new(e=d(e))((e,t)=>{let i;this.subscribe(e=>i=e,e=>t(e),()=>e(i))})}}return e.create=t=>new e(t),e})();function d(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HEbw:function(e,t,i){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=i("Edxu"),t.createHash=t.Hash=i("mObS"),t.createHmac=t.Hmac=i("Giow");var n=i("EW2V"),r=Object.keys(n),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);t.getHashes=function(){return s};var a=i("oJl4");t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var o=i("lWpZ");t.Cipher=o.Cipher,t.createCipher=o.createCipher,t.Cipheriv=o.Cipheriv,t.createCipheriv=o.createCipheriv,t.Decipher=o.Decipher,t.createDecipher=o.createDecipher,t.Decipheriv=o.Decipheriv,t.createDecipheriv=o.createDecipheriv,t.getCiphers=o.getCiphers,t.listCiphers=o.listCiphers;var c=i("ANxK");t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var l=i("tpL1");t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=i("4dMO");var d=i("ZEK9");t.publicEncrypt=d.publicEncrypt,t.privateEncrypt=d.privateEncrypt,t.publicDecrypt=d.publicDecrypt,t.privateDecrypt=d.privateDecrypt;var u=i("dcwN");t.randomFill=u.randomFill,t.randomFillSync=u.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.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}},HP3h:function(e,t,i){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,s,a){var o=i(t),c=n[e][i(t)];return 2===o&&(c=c[r?0:1]),c.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wd/R"))},Hjy1:function(e,t,i){var n=i("ZDAU"),r=i("FUXG"),s=i("P7XM"),a=i("StGT").Buffer,o={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function c(e){n.call(this);var t,i=e.mode.toLowerCase(),r=o[i];t=e.decrypt?"decrypt":"encrypt";var s=e.key;a.isBuffer(s)||(s=a.from(s)),"des-ede"!==i&&"des-ede-cbc"!==i||(s=a.concat([s,s.slice(0,8)]));var c=e.iv;a.isBuffer(c)||(c=a.from(c)),this._des=r.create({key:s,iv:c,type:t})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],e.exports=c,s(c,n),c.prototype._update=function(e){return a.from(this._des.update(e))},c.prototype._final=function(){return a.from(this._des.final())}},I55L:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IBtZ:function(e,t,i){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(i("wd/R"))},IG1u:function(e,t,i){(function(t,n){var r,s=i("fSpj"),a=i("n53Y"),o=i("4Hv8"),c=i("hwdV").Buffer,l=t.crypto&&t.crypto.subtle,d={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"},u=[];function h(e,t,i,n,r){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:i,hash:{name:r}},e,n<<3)})).then((function(e){return c.from(e)}))}e.exports=function(e,i,f,p,m,_){"function"==typeof m&&(_=m,m=void 0);var b=d[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof t.Promise)return n.nextTick((function(){var t;try{t=o(e,i,f,p,m)}catch(n){return _(n)}_(null,t)}));if(s(e,i,f,p),"function"!=typeof _)throw new Error("No callback provided to pbkdf2");c.isBuffer(e)||(e=c.from(e,a)),c.isBuffer(i)||(i=c.from(i,a)),function(e,t){e.then((function(e){n.nextTick((function(){t(null,e)}))}),(function(e){n.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==u[e])return u[e];var i=h(r=r||c.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return u[e]=i,i}(b).then((function(t){return t?h(e,i,f,p,b):o(e,i,f,p,m)})),_)}}).call(this,i("aWmh"),i("8oxB"))},IPZY:function(e,t,i){var n=t;n.der=i("z71Z"),n.pem=i("jfd1")},ITfd:function(e,t,i){"use strict";var n=i("w8CP"),r=i("2j6C");function s(e,t,i){if(!(this instanceof s))return new s(e,t,i);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,i))}e.exports=s,s.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t>>2]|=(i[s>>>2]>>>24-s%4*8&255)<<24-(n+s)%4*8;else for(s=0;s>>2]=i[s>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,i=this.sigBytes;t[i>>>2]&=4294967295<<32-i%4*8,t.length=e.ceil(i/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var i,n=[],r=function(t){t=t;var i=987654321,n=4294967295;return function(){var r=((i=36969*(65535&i)+(i>>16)&n)<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},s=0;s>>2]>>>24-r%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(i,t/2)}},l=o.Latin1={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r>>2]>>>24-r%4*8&255));return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(i,t)}},d=o.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},u=r.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var i=this._data,n=i.words,r=i.sigBytes,s=this.blockSize,o=r/(4*s),c=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*s,l=e.min(4*c,r);if(c){for(var d=0;d31&&(e=31);var i=[];return i.push("$2a$"),e<10&&i.push("0"),i.push(e.toString()),i.push("$"),i.push(h(a(m),m)),i.join("")},t.genSalt=function(e,i,n){if("function"==typeof i&&(n=i,i=void 0),"function"==typeof e&&(n=e,e=void 0),void 0===e)e=_;else if("number"!=typeof e)throw Error("illegal arguments: "+typeof e);function r(i){c((function(){try{i(null,t.genSaltSync(e))}catch(n){i(n)}}))}if(!n)return new Promise((function(e,t){r((function(i,n){i?t(i):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);r(n)},t.hashSync=function(e,i){if(void 0===i&&(i=_),"number"==typeof i&&(i=t.genSaltSync(i)),"string"!=typeof e||"string"!=typeof i)throw Error("Illegal arguments: "+typeof e+", "+typeof i);return k(e,i)},t.hash=function(e,i,n,r){function s(n){"string"==typeof e&&"number"==typeof i?t.genSalt(i,(function(t,i){k(e,i,n,r)})):"string"==typeof e&&"string"==typeof i?k(e,i,n,r):c(n.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof i)))}if(!n)return new Promise((function(e,t){s((function(i,n){i?t(i):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);s(n)},t.compareSync=function(e,i){if("string"!=typeof e||"string"!=typeof i)throw Error("Illegal arguments: "+typeof e+", "+typeof i);return 60===i.length&&o(t.hashSync(e,i.substr(0,i.length-31)),i)},t.compare=function(e,i,n,r){function s(n){"string"==typeof e&&"string"==typeof i?60===i.length?t.hash(e,i.substr(0,29),(function(e,t){e?n(e):n(null,o(t,i))}),r):c(n.bind(this,null,!1)):c(n.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof i)))}if(!n)return new Promise((function(e,t){s((function(i,n){i?t(i):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);s(n)},t.getRounds=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);return parseInt(e.split("$")[2],10)},t.getSalt=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);if(60!==e.length)throw Error("Illegal hash length: "+e.length+" != 60");return e.substring(0,29)};var c=void 0!==n&&n&&"function"==typeof n.nextTick?"function"==typeof r?r:n.nextTick:setTimeout,l="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,54,55,56,57,58,59,60,61,62,63,-1,-1,-1,-1,-1,-1,-1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,-1,-1,-1,-1,-1,-1,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,-1,-1,-1,-1,-1],u=String.fromCharCode;function h(e,t){var i,n,r=0,s=[];if(t<=0||t>e.length)throw Error("Illegal len: "+t);for(;r>2&63]),i=(3&i)<<4,r>=t){s.push(l[63&i]);break}if(n=255&e[r++],s.push(l[63&(i|=n>>4&15)]),i=(15&n)<<2,r>=t){s.push(l[63&i]);break}n=255&e[r++],s.push(l[63&(i|=n>>6&3)]),s.push(l[63&n])}return s.join("")}function f(e,t){var i,n,r,s,a,o=0,c=e.length,l=0,h=[];if(t<=0)throw Error("Illegal len: "+t);for(;o>>0,h.push(u(s|=(48&n)>>4)),!(++l>=t||o>=c))&&-1!=(r=(a=e.charCodeAt(o++))>>0,h.push(u(s|=(60&r)>>2)),!(++l>=t||o>=c));)a=e.charCodeAt(o++),s=(3&r)<<6>>>0,h.push(u(s|=a>6&31|192),t(63&i|128)):i<65536?(t(i>>12&15|224),t(i>>6&63|128),t(63&i|128)):(t(i>>18&7|240),t(i>>12&63|128),t(i>>6&63|128),t(63&i|128)),i=null},decodeUTF8:function(e,t){for(var i,n,r,s,a=function(e){e=e.slice(0,e.indexOf(null));var t=Error(e.toString());throw t.name="TruncatedError",t.bytes=e,t};null!==(i=e());)if(0==(128&i))t(i);else if(192==(224&i))null===(n=e())&&a([i,n]),t((31&i)<<6|63&n);else if(224==(240&i))(null===(n=e())||null===(r=e()))&&a([i,n,r]),t((15&i)<<12|(63&n)<<6|63&r);else{if(240!=(248&i))throw RangeError("Illegal starting byte: "+i);(null===(n=e())||null===(r=e())||null===(s=e()))&&a([i,n,r,s]),t((7&i)<<18|(63&n)<<12|(63&r)<<6|63&s)}},UTF16toUTF8:function(e,t){for(var i,n=null;null!==(i=null!==n?n:e());)i>=55296&&i<=57343&&null!==(n=e())&&n>=56320&&n<=57343?(t(1024*(i-55296)+n-56320+65536),n=null):t(i);null!==n&&t(n)},UTF8toUTF16:function(e,t){var i=null;for("number"==typeof e&&(i=e,e=function(){return null});null!==i||null!==(i=e());)i<=65535?t(i):(t(55296+((i-=65536)>>10)),t(i%1024+56320)),i=null},encodeUTF16toUTF8:function(t,i){e.UTF16toUTF8(t,(function(t){e.encodeUTF8(t,i)}))},decodeUTF8toUTF16:function(t,i){e.decodeUTF8(t,(function(t){e.UTF8toUTF16(t,i)}))},calculateCodePoint:function(e){return e<128?1:e<2048?2:e<65536?3:4},calculateUTF8:function(t){for(var i,n=0;null!==(i=t());)n+=e.calculateCodePoint(i);return n},calculateUTF16asUTF8:function(t){var i=0,n=0;return e.UTF16toUTF8(t,(function(t){++i,n+=e.calculateCodePoint(t)})),[i,n]}};return e}();Date.now=Date.now||function(){return+new Date};var m=16,_=10,b=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],g=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],y=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892];function v(e,t,i,n){var r,s=e[t],a=e[t+1];return r=n[(s^=i[0])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[1])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[2])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[3])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[4])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[5])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[6])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[7])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[8])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[9])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[10])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[11])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[12])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[13])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],r=n[(s^=(r+=n[768|255&a])^i[14])>>>24],r+=n[256|s>>16&255],r^=n[512|s>>8&255],r=n[(a^=(r+=n[768|255&s])^i[15])>>>24],r+=n[256|a>>16&255],r^=n[512|a>>8&255],s^=(r+=n[768|255&a])^i[16],e[t]=a^i[17],e[t+1]=s,e}function w(e,t){for(var i=0,n=0;i<4;++i)n=n<<8|255&e[t],t=(t+1)%e.length;return{key:n,offp:t}}function C(e,t,i){for(var n,r=0,s=[0,0],a=t.length,o=i.length,c=0;c31){if(s=Error("Illegal number of rounds (4-31): "+i),n)return void c(n.bind(this,s));throw s}if(t.length!==m){if(s=Error("Illegal salt length: "+t.length+" != "+m),n)return void c(n.bind(this,s));throw s}i=1<>>0;var l,d,u,h=0;function f(){if(r&&r(h/i),!(h>1;u++)v(a,u<<1,l,d);var s=[];for(h=0;h>24&255)>>>0),s.push((a[h]>>16&255)>>>0),s.push((a[h]>>8&255)>>>0),s.push((255&a[h])>>>0);return n?void n(null,s):s}for(var p=Date.now();h100)););n&&c(f)}if(Int32Array?(l=new Int32Array(b),d=new Int32Array(g)):(l=b.slice(),d=g.slice()),function(e,t,i,n){for(var r,s=0,a=[0,0],o=i.length,c=n.length,l=0;l"$"){if(r=Error("Missing salt rounds"),i)return void c(i.bind(this,r));throw r}var o,l,d,u=10*parseInt(t.substring(a,a+1),10)+parseInt(t.substring(a+1,a+2),10),_=t.substring(a+3,a+25),b=(o=e+=s>="a"?"\0":"",l=[],d=0,p.encodeUTF16toUTF8((function(){return d>=o.length?null:o.charCodeAt(d++)}),(function(e){l.push(e)})),l),g=f(_,m);function v(e){var t=[];return t.push("$2"),s>="a"&&t.push(s),t.push("$"),u<10&&t.push("0"),t.push(u.toString()),t.push("$"),t.push(h(g,g.length)),t.push(h(e,4*y.length-1)),t.join("")}if(void 0===i)return v(S(b,g,u));S(b,g,u,(function(e,t){e?i(e,null):i(null,v(t))}),n)}return t.encodeBase64=h,t.decodeBase64=f,t})?s.apply(t,[]):s)||(e.exports=a)}).call(this,i("2pl3")(e),i("8oxB"),i("URgk").setImmediate)},J6Nv:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},J78i:function(e,t,i){"use strict";e.exports=a;var n=i("sZro"),r=i("Onz0");function s(e){this.afterTransform=function(t,i){return function(e,t,i){var n=e._transformState;n.transforming=!1;var r=n.writecb;if(!r)return e.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=i&&e.push(i),r(t);var s=e._readableState;s.reading=!1,(s.needReadable||s.length10&&e<20}function r(e){return t[e].split("_")}function s(e,t,s,a){var o=e+" ";return 1===e?o+i(0,t,s[0],a):t?o+(n(e)?r(s)[1]:r(s)[0]):a?o+r(s)[1]:o+(n(e)?r(s)[1]:r(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_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\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".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:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,i,n){return t?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:s,m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(i("wd/R"))},JzKC:function(e,t,i){var n=i("Wogr"),r=i("aZ40");t.mul=function(e,t){var i=new n(e.length+t.length-1);i.fill(0);for(var s=0;s=0;){for(var s=i[0],a=0;a=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},K3mO:function(e,t,i){var n,r,s,a,o,c,l;e.exports=(l=i("Ib8C"),i("3y9D"),i("WYAk"),a=(r=(n=l).lib).WordArray,c=(o=n.algo).EvpKDF=(s=r.Base).extend({cfg:s.extend({keySize:4,hasher:o.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var i=this.cfg,n=i.hasher.create(),r=a.create(),s=r.words,o=i.keySize,c=i.iterations;s.length=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var r=t.words[n];return 1===n.length?i?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},KmYQ:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.pad.ZeroPadding={pad:function(e,t){var i=4*t;e.clamp(),e.sigBytes+=i-(e.sigBytes%i||i)},unpad:function(e){for(var t=e.words,i=e.sigBytes-1;!(t[i>>>2]>>>24-i%4*8&255);)i--;e.sigBytes=i+1}},n.pad.ZeroPadding)},KqfI:function(e,t,i){"use strict";function n(){}i.d(t,"a",(function(){return n}))},Ku4m:function(e,t,i){var n=i("QRH4"),r=i("1w4i"),s=i("TdD3"),a=i("/ab2"),o=i("oJl4"),c=i("hwdV").Buffer;function l(e){var t;"object"!=typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=c.from(e));var i,l,d=s(e,t),u=d.tag,h=d.data;switch(u){case"CERTIFICATE":l=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=n.PublicKey.decode(h,"der")),i=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=n.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var i=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),s=r[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,d=e.subjectPrivateKey,u=parseInt(s.split("-")[1],10)/8,h=o.pbkdf2Sync(t,i,n,u,"sha1"),f=a.createDecipheriv(s,h,l),p=[];return p.push(f.update(d)),p.push(f.final()),c.concat(p)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(i=(l=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:n.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=n.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+u)}}e.exports=l,l.signature=n.signature},LGOv:function(e,t,i){e.exports=i("3BRs")},Lhse:function(e,t,i){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}i.d(t,"a",(function(){return r}));const r=n()},Loxo:function(e,t,i){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".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:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(i("wd/R"))},Lzq4:function(e,t,i){var n=i("u/Db"),r=i("e/Dd");function s(e){this.mode=n.KANJI,this.data=e}s.getBitsLength=function(e){return 13*e},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t=33088&&i<=40956)i-=33088;else{if(!(i>=57408&&i<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");i-=49472}e.put(i=192*(i>>>8&255)+(255&i),13)}},e.exports=s},"MO+k":function(e,t,i){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=function(e,i){return function(e){var i={};for(var n in t)t.hasOwnProperty(n)&&(i[t[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in r)if(r.hasOwnProperty(s)){if(!("channels"in r[s]))throw new Error("missing channels property: "+s);if(!("labels"in r[s]))throw new Error("missing channel labels property: "+s);if(r[s].labels.length!==r[s].channels)throw new Error("channel and label counts mismatch: "+s);var a=r[s].channels,o=r[s].labels;delete r[s].channels,delete r[s].labels,Object.defineProperty(r[s],"channels",{value:a}),Object.defineProperty(r[s],"labels",{value:o})}r.rgb.hsl=function(e){var t,i,n=e[0]/255,r=e[1]/255,s=e[2]/255,a=Math.min(n,r,s),o=Math.max(n,r,s),c=o-a;return o===a?t=0:n===o?t=(r-s)/c:r===o?t=2+(s-n)/c:s===o&&(t=4+(n-r)/c),(t=Math.min(60*t,360))<0&&(t+=360),i=(a+o)/2,[t,100*(o===a?0:i<=.5?c/(o+a):c/(2-o-a)),100*i]},r.rgb.hsv=function(e){var t,i,n,r,s,a=e[0]/255,o=e[1]/255,c=e[2]/255,l=Math.max(a,o,c),d=l-Math.min(a,o,c),u=function(e){return(l-e)/6/d+.5};return 0===d?r=s=0:(s=d/l,t=u(a),i=u(o),n=u(c),a===l?r=n-i:o===l?r=1/3+t-n:c===l&&(r=2/3+i-t),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},r.rgb.hwb=function(e){var t=e[0],i=e[1],n=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(i,n))*100,100*(n=1-1/255*Math.max(t,Math.max(i,n)))]},r.rgb.cmyk=function(e){var t,i=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*((1-i-(t=Math.min(1-i,1-n,1-r)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=i[e];if(n)return n;var r,s,a,o=1/0;for(var c in t)if(t.hasOwnProperty(c)){var l=(s=e,a=t[c],Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)+Math.pow(s[2]-a[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*i+.0722*n),100*(.0193*t+.1192*i+.9505*n)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),i=t[0],n=t[1],s=t[2];return n/=100,s/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(s=s>.008856?Math.pow(s,1/3):7.787*s+16/116))]},r.hsl.rgb=function(e){var t,i,n,r,s,a=e[0]/360,o=e[1]/100,c=e[2]/100;if(0===o)return[s=255*c,s,s];t=2*c-(i=c<.5?c*(1+o):c+o-c*o),r=[0,0,0];for(var l=0;l<3;l++)(n=a+1/3*-(l-1))<0&&n++,n>1&&n--,r[l]=255*(s=6*n<1?t+6*(i-t)*n:2*n<1?i:3*n<2?t+(i-t)*(2/3-n)*6:t);return r},r.hsl.hsv=function(e){var t=e[0],i=e[1]/100,n=e[2]/100,r=i,s=Math.max(n,.01);return i*=(n*=2)<=1?n:2-n,r*=s<=1?s:2-s,[t,100*(0===n?2*r/(s+r):2*i/(n+i)),(n+i)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,i=e[1]/100,n=e[2]/100,r=Math.floor(t)%6,s=t-Math.floor(t),a=255*n*(1-i),o=255*n*(1-i*s),c=255*n*(1-i*(1-s));switch(n*=255,r){case 0:return[n,c,a];case 1:return[o,n,a];case 2:return[a,n,c];case 3:return[a,o,n];case 4:return[c,a,n];case 5:return[n,a,o]}},r.hsv.hsl=function(e){var t,i,n,r=e[0],s=e[1]/100,a=e[2]/100,o=Math.max(a,.01);return n=(2-s)*a,i=s*o,[r,100*(i=(i/=(t=(2-s)*o)<=1?t:2-t)||0),100*(n/=2)]},r.hwb.rgb=function(e){var t,i,n,r,s,a,o,c=e[0]/360,l=e[1]/100,d=e[2]/100,u=l+d;switch(u>1&&(l/=u,d/=u),n=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(n=1-n),r=l+n*((i=1-d)-l),t){default:case 6:case 0:s=i,a=r,o=l;break;case 1:s=r,a=i,o=l;break;case 2:s=l,a=i,o=r;break;case 3:s=l,a=r,o=i;break;case 4:s=r,a=l,o=i;break;case 5:s=i,a=l,o=r}return[255*s,255*a,255*o]},r.cmyk.rgb=function(e){var t=e[1]/100,i=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-n)+n)),255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n))]},r.xyz.rgb=function(e){var t,i,n,r=e[0]/100,s=e[1]/100,a=e[2]/100;return i=-.9689*r+1.8758*s+.0415*a,n=.0557*r+-.204*s+1.057*a,t=(t=3.2406*r+-1.5372*s+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]},r.xyz.lab=function(e){var t=e[0],i=e[1],n=e[2];return i/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(t-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},r.lab.xyz=function(e){var t,i,n;t=e[1]/500+(i=(e[0]+16)/116),n=i-e[2]/200;var r=Math.pow(i,3),s=Math.pow(t,3),a=Math.pow(n,3);return i=r>.008856?r:(i-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,[t*=95.047,i*=100,n*=108.883]},r.lab.lch=function(e){var t,i=e[0],n=e[1],r=e[2];return(t=360*Math.atan2(r,n)/2/Math.PI)<0&&(t+=360),[i,Math.sqrt(n*n+r*r),t]},r.lch.lab=function(e){var t,i=e[1];return t=e[2]/360*2*Math.PI,[e[0],i*Math.cos(t),i*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],i=e[1],n=e[2],s=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(s=Math.round(s/50)))return 30;var a=30+(Math.round(n/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],i=e[1],n=e[2];return t===i&&i===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var i=.5*(1+~~(e>50));return[(1&t)*i*255,(t>>1&1)*i*255,(t>>2&1)*i*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var i;return e-=16,[Math.floor(e/36)/5*255,Math.floor((i=e%36)/6)/5*255,i%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var i=t[0];3===t[0].length&&(i=i.split("").map((function(e){return e+e})).join(""));var n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},r.rgb.hcg=function(e){var t,i=e[0]/255,n=e[1]/255,r=e[2]/255,s=Math.max(Math.max(i,n),r),a=Math.min(Math.min(i,n),r),o=s-a;return t=o<=0?0:s===i?(n-r)/o%6:s===n?2+(r-i)/o:4+(i-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?a/(1-o):0)]},r.hsl.hcg=function(e){var t,i=e[1]/100,n=e[2]/100,r=0;return(t=n<.5?2*i*n:2*i*(1-n))<1&&(r=(n-.5*t)/(1-t)),[e[0],100*t,100*r]},r.hsv.hcg=function(e){var t=e[2]/100,i=e[1]/100*t,n=0;return i<1&&(n=(t-i)/(1-i)),[e[0],100*i,100*n]},r.hcg.rgb=function(e){var t=e[1]/100,i=e[2]/100;if(0===t)return[255*i,255*i,255*i];var n,r=[0,0,0],s=e[0]/360%1*6,a=s%1,o=1-a;switch(Math.floor(s)){case 0:r[0]=1,r[1]=a,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=a;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=a,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return[255*(t*r[0]+(n=(1-t)*i)),255*(t*r[1]+n),255*(t*r[2]+n)]},r.hcg.hsv=function(e){var t=e[1]/100,i=t+e[2]/100*(1-t),n=0;return i>0&&(n=t/i),[e[0],100*n,100*i]},r.hcg.hsl=function(e){var t=e[1]/100,i=e[2]/100*(1-t)+.5*t,n=0;return i>0&&i<.5?n=t/(2*i):i>=.5&&i<1&&(n=t/(2*(1-i))),[e[0],100*n,100*i]},r.hcg.hwb=function(e){var t=e[1]/100,i=t+e[2]/100*(1-t);return[e[0],100*(i-t),100*(1-i)]},r.hwb.hcg=function(e){var t=1-e[2]/100,i=t-e[1]/100,n=0;return i<1&&(n=(t-i)/(1-i)),[e[0],100*i,100*n]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(i={exports:{}}),i.exports}();function n(e,t){return function(i){return t(e(i))}}function r(e,t){for(var r=[t[e].parent,e],s=i[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),s=n(i[t[a].parent][a],s),a=t[a].parent;return s.conversion=r,s}var s={};Object.keys(i).forEach((function(e){s[e]={},Object.defineProperty(s[e],"channels",{value:i[e].channels}),Object.defineProperty(s[e],"labels",{value:i[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(i),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var i=e(t);if("object"==typeof i)for(var n=i.length,r=0;r1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var a=s,o={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c={getRgba:l,getHsla:d,getRgb:function(e){var t=l(e);return t&&t.slice(0,3)},getHsl:function(e){var t=d(e);return t&&t.slice(0,3)},getHwb:u,getAlpha:function(e){var t=l(e);return t?t[3]:(t=d(e))?t[3]:(t=u(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+_(e[0])+_(e[1])+_(e[2])+(t>=0&&t<1?_(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:h,percentString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:f,hslString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:p,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return b[e.slice(0,3)]}};function l(e){if(e){var t=[0,0,0],i=1,n=e.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(n){r=(n=n[1])[3];for(var s=0;si?(t+.05)/(i+.05):(i+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,i=(t[0]+e)%360;return t[0]=i<0?360+i:i,this.setValues("hsl",t),this},mix:function(e,t){var i=e,n=void 0===t?.5:t,r=2*n-1,s=this.alpha()-i.alpha(),a=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,o=1-a;return this.rgb(a*this.red()+o*i.red(),a*this.green()+o*i.green(),a*this.blue()+o*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var e,t,i=new y,n=this.values,r=i.values;for(var s in n)n.hasOwnProperty(s)&&("[object Array]"===(t={}.toString.call(e=n[s]))?r[s]=e.slice(0):"[object Number]"===t?r[s]=e:console.error("unexpected color value:",e));return i}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(e){for(var t=this.values,i={},n=0;n=0;r--)t.call(i,e[r],r);else for(r=0;r=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:1===e?1:(i||(i=.3),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i))},easeOutElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:1===e?1:(i||(i=.3),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},easeInOutElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:2==(e/=.5)?1:(i||(i=.45),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),e<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-x.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*x.easeInBounce(2*e):.5*x.easeOutBounce(2*e-1)+.5}},M={effects:x};k.easingEffects=x;var D=Math.PI,L=D/180,T=2*D,E=D/2,A=D/4,O=2*D/3,P={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,i,n,r,s){if(s){var a=Math.min(s,r/2,n/2),o=t+a,c=i+a,l=t+n-a,d=i+r-a;e.moveTo(t,c),ot.left-1e-6&&e.xt.top-1e-6&&e.y0&&this.requestAnimationFrame()},advance:function(){for(var e,t,i,n,r=this.animations,s=0;s=i?(H.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(s,1)):++s}},G=H.options.resolve,Z=["push","pop","shift","splice","unshift"];function X(e,t){var i=e._chartjs;if(i){var n=i.listeners,r=n.indexOf(t);-1!==r&&n.splice(r,1),n.length>0||(Z.forEach((function(t){delete e[t]})),delete e._chartjs)}}var Q=function(e,t){this.initialize(e,t)};H.extend(Q.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var i=this;i.chart=e,i.index=t,i.linkScales(),i.addElements(),i._type=i.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,i=t.scales,n=this.getDataset(),r=t.options.scales;null!==e.xAxisID&&e.xAxisID in i&&!n.xAxisID||(e.xAxisID=n.xAxisID||r.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in i&&!n.yAxisID||(e.yAxisID=n.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&X(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,i=this.getMeta(),n=this.getDataset().data||[],r=i.data;for(e=0,t=n.length;ei&&this.insertElements(i,n-i)},insertElements:function(e,t){for(var i=0;ir?e.arc(a,o,t.innerRadius-r,n+(s=r/t.innerRadius),i-s,!0):e.arc(a,o,r,n+Math.PI/2,i-Math.PI/2),e.closePath(),e.clip()}j._set("global",{elements:{arc:{backgroundColor:j.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ne=q.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)o;)r-=te;for(;r=a&&r<=o&&s>=i.innerRadius&&s<=i.outerRadius}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,i=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*i,y:e.y+Math.sin(t)*i}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,i=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*i,y:e.y+Math.sin(t)*i}},draw:function(){var e,t=this._chart.ctx,i=this._view,n="inner"===i.borderAlign?.33:0,r={x:i.x,y:i.y,innerRadius:i.innerRadius,outerRadius:Math.max(i.outerRadius-n,0),pixelMargin:n,startAngle:i.startAngle,endAngle:i.endAngle,fullCircles:Math.floor(i.circumference/te)};if(t.save(),t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+te,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e=s.left&&t<=s.right)&&(r||i>=s.top&&i<=s.bottom)}j._set("global",{elements:{rectangle:{backgroundColor:ue,borderColor:ue,borderSkipped:"bottom",borderWidth:0}}});var _e=q.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,i=function(e){var t=fe(e),i=t.right-t.left,n=t.bottom-t.top,r=function(e,t,i){var n,r,s,a,o=e.borderWidth,c=function(e){var t=e.borderSkipped,i={};return t?(e.horizontal?e.base>e.x&&(t=pe(t,"left","right")):e.basei?i:n,r:c.right||r<0?0:r>t?t:r,b:c.bottom||s<0?0:s>i?i:s,l:c.left||a<0?0:a>t?t:a}}(e,i/2,n/2);return{outer:{x:t.left,y:t.top,w:i,h:n},inner:{x:t.left+r.l,y:t.top+r.t,w:i-r.l-r.r,h:n-r.t-r.b}}}(t),n=i.outer,r=i.inner;e.fillStyle=t.backgroundColor,e.fillRect(n.x,n.y,n.w,n.h),n.w===r.w&&n.h===r.h||(e.save(),e.beginPath(),e.rect(n.x,n.y,n.w,n.h),e.clip(),e.fillStyle=t.borderColor,e.rect(r.x,r.y,r.w,r.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return me(this._view,e,t)},inLabelRange:function(e,t){var i=this._view;return he(i)?me(i,e,null):me(i,null,t)},inXRange:function(e){return me(this._view,e,null)},inYRange:function(e){return me(this._view,null,e)},getCenterPoint:function(){var e,t,i=this._view;return he(i)?(e=i.x,t=(i.y+i.base)/2):(e=(i.x+i.base)/2,t=i.y),{x:e,y:t}},getArea:function(){var e=this._view;return he(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),be={},ge=ae,ye=de,ve=_e;be.Arc=ne,be.Line=ge,be.Point=ye,be.Rectangle=ve;var we=H._deprecated,Ce=H.valueOrDefault;j._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),j._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Se=ee.extend({dataElementType:be.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,i=this;ee.prototype.initialize.apply(i,arguments),(e=i.getMeta()).stack=i.getDataset().stack,e.bar=!0,t=i._getIndexScale().options,we("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),we("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),we("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),we("bar chart",i._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),we("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,i=n.length;t=0&&m.min>=0?m.min:m.max,v=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,w=p.length;if(b||void 0===b&&void 0!==g)for(n=0;n=0&&l.max>=0?l.max:l.min,(m.min<0&&s<0||m.max>=0&&s>0)&&(y+=s));return a=u.getPixelForValue(y),c=(o=u.getPixelForValue(y+v))-a,void 0!==_&&Math.abs(c)<_&&(c=_,o=v>=0&&!h||v<0&&h?a-_:a+_),{size:c,base:a,head:o,center:o+c/2}},calculateBarIndexPixels:function(e,t,i,n){var r="flex"===n.barThickness?function(e,t,i){var n,r=t.pixels,s=r[e],a=e>0?r[e-1]:null,o=e0?Math.min(a,Math.abs(n-i)):a,i=n;return a}(t.scale,t.pixels):-1;return H.isNullOrUndef(s)?(n=c*i.categoryPercentage,r=i.barPercentage):(n=s*a,r=1),{chunk:n/a,ratio:r,start:o-n/2}}(t,i,n),s=this.getStackIndex(e,this.getMeta().stack),a=r.start+r.chunk*s+r.chunk/2,o=Math.min(Ce(n.maxBarThickness,1/0),r.chunk*r.ratio);return{base:a-o/2,head:a+o/2,center:a,size:o}},draw:function(){var e=this.chart,t=this._getValueScale(),i=this.getMeta().data,n=this.getDataset(),r=i.length,s=0;for(H.canvas.clipArea(e.ctx,e.chartArea);s=Le?-Te:_<-Le?Te:0)+p,g=Math.cos(_),y=Math.sin(_),v=Math.cos(b),w=Math.sin(b),C=_<=0&&b>=0||b>=Te,S=_<=Ee&&b>=Ee||b>=Te+Ee,k=_<=-Ee&&b>=-Ee||b>=Le+Ee,x=_===-Le||b>=Le?-1:Math.min(g,g*f,v,v*f),M=k?-1:Math.min(y,y*f,w,w*f),D=C?1:Math.max(g,g*f,v,v*f),L=S?1:Math.max(y,y*f,w,w*f);o=(D-x)/2,c=(L-M)/2,l=-(D+x)/2,d=-(L+M)/2}for(t=0,i=h.length;t0&&!isNaN(e)?Te*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,i,n,r,s,a,o,c,l=0,d=this.chart;if(!e)for(t=0,i=d.data.datasets.length;t(l=(o=a.borderWidth)>l?o:l)?c:l);return l},setHoverStyle:function(e){var t=e._model,i=e._options,n=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=De(i.hoverBackgroundColor,n(i.backgroundColor)),t.borderColor=De(i.hoverBorderColor,n(i.borderColor)),t.borderWidth=De(i.hoverBorderWidth,i.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,i=0;i0&&Re(c[e-1]._model,o)&&(i.controlPointPreviousX=l(i.controlPointPreviousX,o.left,o.right),i.controlPointPreviousY=l(i.controlPointPreviousY,o.top,o.bottom)),e0&&(s=e.getDatasetMeta(s[0]._datasetIndex).data),s},"x-axis":function(e,t){return Ze(e,t,{intersect:!1})},point:function(e,t){return Je(e,qe(t,e))},nearest:function(e,t,i){var n=qe(t,e);i.axis=i.axis||"xy";var r=Ge(i.axis);return Ke(e,n,i.intersect,r)},x:function(e,t,i){var n=qe(t,e),r=[],s=!1;return $e(e,(function(e){e.inXRange(n.x)&&r.push(e),e.inRange(n.x,n.y)&&(s=!0)})),i.intersect&&!s&&(r=[]),r},y:function(e,t,i){var n=qe(t,e),r=[],s=!1;return $e(e,(function(e){e.inYRange(n.y)&&r.push(e),e.inRange(n.x,n.y)&&(s=!0)})),i.intersect&&!s&&(r=[]),r}}},Qe=H.extend;function et(e,t){return H.where(e,(function(e){return e.pos===t}))}function tt(e,t){return e.sort((function(e,i){var n=t?i:e,r=t?e:i;return n.weight===r.weight?n.index-r.index:n.weight-r.weight}))}function it(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function nt(e,t,i){var n,r,s=i.box,a=e.maxPadding;if(i.size&&(e[i.pos]-=i.size),i.size=i.horizontal?s.height:s.width,e[i.pos]+=i.size,s.getPadding){var o=s.getPadding();a.top=Math.max(a.top,o.top),a.left=Math.max(a.left,o.left),a.bottom=Math.max(a.bottom,o.bottom),a.right=Math.max(a.right,o.right)}if(n=t.outerWidth-it(a,e,"left","right"),r=t.outerHeight-it(a,e,"top","bottom"),n!==e.w||r!==e.h){e.w=n,e.h=r;var c=i.horizontal?[n,e.w]:[r,e.h];return!(c[0]===c[1]||isNaN(c[0])&&isNaN(c[1]))}}function rt(e,t){var i,n=t.maxPadding;return i={left:0,top:0,right:0,bottom:0},(e?["left","right"]:["top","bottom"]).forEach((function(e){i[e]=Math.max(t[e],n[e])})),i}function st(e,t,i){var n,r,s,a,o,c,l=[];for(n=0,r=e.length;n div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&ot.default||ot,dt=["animationstart","webkitAnimationStart"],ut={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ht(e,t){var i=H.getStyle(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var ft=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(i){}return e}()&&{passive:!0};function pt(e,t,i){e.addEventListener(t,i,ft)}function mt(e,t,i){e.removeEventListener(t,i,ft)}function _t(e,t,i,n,r){return{type:e,chart:t,native:r||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function bt(e){var t=document.createElement("div");return t.className=e||"",t}var gt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var i=e.$chartjs||(e.$chartjs={});if(!i.containsStyles){i.containsStyles=!0,t="/* Chart.js */\n"+t;var n=document.createElement("style");n.setAttribute("type","text/css"),n.appendChild(document.createTextNode(t)),e.appendChild(n)}}(t.host?t:document.head,lt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(this._ensureLoaded(e),function(e,t){var i=e.style,n=e.getAttribute("height"),r=e.getAttribute("width");if(e.$chartjs={initial:{height:n,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===r||""===r){var s=ht(e,"width");void 0!==s&&(e.width=s)}if(null===n||""===n)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=ht(e,"height");void 0!==s&&(e.height=a)}}(e,t),i):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var i=t.$chartjs.initial;["height","width"].forEach((function(e){var n=i[e];H.isNullOrUndef(n)?t.removeAttribute(e):t.setAttribute(e,n)})),H.each(i.style||{},(function(e,i){t.style[i]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,i){var n=e.canvas;if("resize"!==t){var r=i.$chartjs||(i.$chartjs={});pt(n,t,(r.proxies||(r.proxies={}))[e.id+"_"+t]=function(t){i(function(e,t){var i=ut[e.type]||e.type,n=H.getRelativePosition(e,t);return _t(i,t,n.x,n.y,e)}(t,e))})}else!function(e,t,i){var n,r,s,a,o=e.$chartjs||(e.$chartjs={}),c=o.resizer=function(e){var t=bt("chartjs-size-monitor"),i=bt("chartjs-size-monitor-expand"),n=bt("chartjs-size-monitor-shrink");i.appendChild(bt()),n.appendChild(bt()),t.appendChild(i),t.appendChild(n),t._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,n.scrollLeft=1e6,n.scrollTop=1e6};var r=function(){t._reset(),e()};return pt(i,"scroll",r.bind(i,"expand")),pt(n,"scroll",r.bind(n,"shrink")),t}((n=function(){if(o.resizer){var n=i.options.maintainAspectRatio&&e.parentNode,r=n?n.clientWidth:0;t(_t("resize",i)),n&&n.clientWidth0){var s=e[0];s.label?i=s.label:s.xLabel?i=s.xLabel:r>0&&s.index-1?e.split("\n"):e}function Dt(e){var t=j.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Ct(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Ct(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Ct(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Ct(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Ct(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Ct(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Ct(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Ct(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Ct(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Lt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Tt(e){return xt([],Mt(e))}var Et=q.extend({initialize:function(){this._model=Dt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,i=t.callbacks,n=i.beforeTitle.apply(e,arguments),r=i.title.apply(e,arguments),s=i.afterTitle.apply(e,arguments),a=[];return a=xt(a,Mt(n)),a=xt(a,Mt(r)),xt(a,Mt(s))},getBeforeBody:function(){return Tt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var i=this,n=i._options.callbacks,r=[];return H.each(e,(function(e){var s={before:[],lines:[],after:[]};xt(s.before,Mt(n.beforeLabel.call(i,e,t))),xt(s.lines,n.label.call(i,e,t)),xt(s.after,Mt(n.afterLabel.call(i,e,t))),r.push(s)})),r},getAfterBody:function(){return Tt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,i=t.beforeFooter.apply(e,arguments),n=t.footer.apply(e,arguments),r=t.afterFooter.apply(e,arguments),s=[];return s=xt(s,Mt(i)),s=xt(s,Mt(n)),xt(s,Mt(r))},update:function(e){var t,i,n,r,s,a,o,c,l,d,u=this,h=u._options,f=u._model,p=u._model=Dt(h),m=u._active,_=u._data,b={xAlign:f.xAlign,yAlign:f.yAlign},g={x:f.x,y:f.y},y={width:f.width,height:f.height},v={x:f.caretX,y:f.caretY};if(m.length){p.opacity=1;var w=[],C=[];v=kt[h.position].call(u,m,u._eventPosition);var S=[];for(t=0,i=m.length;tn.width&&(r=n.width-t.width),r<0&&(r=0)),"top"===c?s+=l:s-="bottom"===c?t.height+l:t.height/2,"center"===c?"left"===o?r+=l:"right"===o&&(r-=l):"left"===o?r-=d:"right"===o&&(r+=d),{x:r,y:s}}(p,y,b=function(e,t){var i,n,r,s,a,o=e._model,c=e._chart,l=e._chart.chartArea,d="center",u="center";o.yc.height-t.height&&(u="bottom");var h=(l.left+l.right)/2,f=(l.top+l.bottom)/2;"center"===u?(i=function(e){return e<=h},n=function(e){return e>h}):(i=function(e){return e<=t.width/2},n=function(e){return e>=c.width-t.width/2}),r=function(e){return e+t.width+o.caretSize+o.caretPadding>c.width},s=function(e){return e-t.width-o.caretSize-o.caretPadding<0},a=function(e){return e<=f?"top":"bottom"},i(o.x)?(d="left",r(o.x)&&(d="center",u=a(o.y))):n(o.x)&&(d="right",s(o.x)&&(d="center",u=a(o.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:d,yAlign:p.yAlign?p.yAlign:u}}(this,y),u._chart)}else p.opacity=0;return p.xAlign=b.xAlign,p.yAlign=b.yAlign,p.x=g.x,p.y=g.y,p.width=y.width,p.height=y.height,p.caretX=v.x,p.caretY=v.y,u._model=p,e&&h.custom&&h.custom.call(u,p),u},drawCaret:function(e,t){var i=this._chart.ctx,n=this.getCaretPosition(e,t,this._view);i.lineTo(n.x1,n.y1),i.lineTo(n.x2,n.y2),i.lineTo(n.x3,n.y3)},getCaretPosition:function(e,t,i){var n,r,s,a,o,c,l=i.caretSize,d=i.cornerRadius,u=i.xAlign,h=i.yAlign,f=e.x,p=e.y,m=t.width,_=t.height;if("center"===h)o=p+_/2,"left"===u?(r=(n=f)-l,s=n,a=o+l,c=o-l):(r=(n=f+m)+l,s=n,a=o-l,c=o+l);else if("left"===u?(n=(r=f+d+l)-l,s=r+l):"right"===u?(n=(r=f+m-d-l)-l,s=r+l):(n=(r=i.caretX)-l,s=r+l),"top"===h)o=(a=p)-l,c=a;else{o=(a=p+_)+l,c=a;var b=s;s=n,n=b}return{x1:n,x2:r,x3:s,y1:a,y2:o,y3:c}},drawTitle:function(e,t,i){var n,r,s,a=t.title,o=a.length;if(o){var c=St(t.rtl,t.x,t.width);for(e.x=Lt(t,t._titleAlign),i.textAlign=c.textAlign(t._titleAlign),i.textBaseline="middle",n=t.titleFontSize,r=t.titleSpacing,i.fillStyle=t.titleFontColor,i.font=H.fontString(n,t._titleFontStyle,t._titleFontFamily),s=0;s0&&i.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var i={width:t.width,height:t.height},n={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=r,this.drawBackground(n,t,e,i),n.y+=t.yPadding,H.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),H.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===e.type?i._active=[]:(i._active=i._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&i._active.reverse()),(t=!H.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:e.x,y:e.y},i.update(!0),i.pivot())),t}});Et.positioners=kt;var At=H.valueOrDefault;function Ot(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,i,n){if("xAxes"===e||"yAxes"===e){var r,s,a,o=i[e].length;for(t[e]||(t[e]=[]),r=0;r=t[e].length&&t[e].push({}),H.merge(t[e][r],!t[e][r].type||a.type&&a.type!==t[e][r].type?[wt.getScaleDefaults(s),a]:a)}else H._merger(e,t,i,n)}})}function Pt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,i,n){var r=t[e]||Object.create(null),s=i[e];"scales"===e?t[e]=Ot(r,s):"scale"===e?t[e]=H.merge(r,[wt.getScaleDefaults(s.type),s]):H._merger(e,t,i,n)}})}function It(e){var t=e.options;H.each(e.scales,(function(t){ct.removeBox(e,t)})),t=Pt(j.global,j[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Rt(e,t,i){var n,r=function(e){return e.id===n};do{n=t+i++}while(H.findIndex(e,r)>=0);return n}function jt(e){return"top"===e||"bottom"===e}function Yt(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}j._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Vt=function(e,t){return this.construct(e,t),this};H.extend(Vt.prototype,{construct:function(e,t){var i=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Pt(j.global,j[e.type],e.options||{}),e}(t);var n=yt.acquireContext(e,t),r=n&&n.canvas,s=r&&r.height,a=r&&r.width;i.id=H.uid(),i.ctx=n,i.canvas=r,i.config=t,i.width=a,i.height=s,i.aspectRatio=s?a/s:null,i.options=t.options,i._bufferedRender=!1,i._layers=[],i.chart=i,i.controller=i,Vt.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(e){i.config.data=e}}),n&&r?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return vt.notify(e,"beforeInit"),H.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),vt.notify(e,"afterInit"),e},clear:function(){return H.canvas.clear(this),this},stop:function(){return K.cancelAnimation(this),this},resize:function(e){var t=this,i=t.options,n=t.canvas,r=i.maintainAspectRatio&&t.aspectRatio||null,s=Math.max(0,Math.floor(H.getMaximumWidth(n))),a=Math.max(0,Math.floor(r?s/r:H.getMaximumHeight(n)));if((t.width!==s||t.height!==a)&&(n.width=t.width=s,n.height=t.height=a,n.style.width=s+"px",n.style.height=a+"px",H.retinaScale(t,i.devicePixelRatio),!e)){var o={width:s,height:a};vt.notify(t,"resize",[o]),i.onResize&&i.onResize(t,o),t.stop(),t.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},i=e.scale;H.each(t.xAxes,(function(e,i){e.id||(e.id=Rt(t.xAxes,"x-axis-",i))})),H.each(t.yAxes,(function(e,i){e.id||(e.id=Rt(t.yAxes,"y-axis-",i))})),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,i=e.scales||{},n=[],r=Object.keys(i).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(n=n.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&n.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(n,(function(t){var n=t.options,s=n.id,a=At(n.type,t.dtype);jt(n.position)!==jt(t.dposition)&&(n.position=t.dposition),r[s]=!0;var o=null;if(s in i&&i[s].type===a)(o=i[s]).options=n,o.ctx=e.ctx,o.chart=e;else{var c=wt.getScaleConstructor(a);if(!c)return;o=new c({id:s,type:a,options:n,ctx:e.ctx,chart:e}),i[o.id]=o}o.mergeTicksOptions(),t.isDefault&&(e.scale=o)})),H.each(r,(function(e,t){e||delete i[t]})),e.scales=i,wt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,i=this,n=[],r=i.data.datasets;for(e=0,t=r.length;e=0;--i)this.drawDataset(t[i],e);vt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var i={meta:e,index:e.index,easingValue:t};!1!==vt.notify(this,"beforeDatasetDraw",[i])&&(e.controller.draw(t),vt.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this.tooltip,i={tooltip:t,easingValue:e};!1!==vt.notify(this,"beforeTooltipDraw",[i])&&(t.draw(),vt.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(e){return Xe.modes.single(this,e)},getElementsAtEvent:function(e){return Xe.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Xe.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,i){var n=Xe.modes[t];return"function"==typeof n?n(this,e,i):[]},getDatasetAtEvent:function(e){return Xe.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var i=t._meta[this.id];return i||(i=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),i},getVisibleDatasetCount:function(){for(var e=0,t=0,i=this.data.datasets.length;t3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&e!==Math.floor(e)&&(n=e-Math.floor(e));var r=H.log10(Math.abs(n)),s="";if(0!==e)if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var a=H.log10(Math.abs(e)),o=Math.floor(a)-Math.floor(r);o=Math.max(Math.min(o,20),0),s=e.toExponential(o)}else{var c=-1*Math.floor(r);c=Math.max(Math.min(c,20),0),s=e.toFixed(c)}else s="0";return s},logarithmic:function(e,t,i){var n=e/Math.pow(10,Math.floor(H.log10(e)));return 0===e?"0":1===n||2===n||5===n||0===t||t===i.length-1?e.toExponential():""}}},Nt=H.isArray,Ut=H.isNullOrUndef,qt=H.valueOrDefault,$t=H.valueAtIndexOrDefault;function Jt(e,t,i){var n,r=e.getTicks().length,s=Math.min(t,r-1),a=e.getPixelForTick(s),o=e._startPixel,c=e._endPixel;if(!(i&&(n=1===r?Math.max(a-o,c-a):0===t?(e.getPixelForTick(1)-a)/2:(a-e.getPixelForTick(s-1))/2,(a+=sc+1e-6)))return a}function Kt(e){return e.drawTicks?e.tickMarkLength:0}function Gt(e){var t,i;return e.display?(t=H.options._parseFont(e),i=H.options.toPadding(e.padding),t.lineHeight+i.height):0}function Zt(e,t){return H.extend(H.options._parseFont({fontFamily:qt(t.fontFamily,e.fontFamily),fontSize:qt(t.fontSize,e.fontSize),fontStyle:qt(t.fontStyle,e.fontStyle),lineHeight:qt(t.lineHeight,e.lineHeight)}),{color:H.options.resolve([t.fontColor,e.fontColor,j.global.defaultFontColor])})}function Xt(e){var t=Zt(e,e.minor);return{minor:t,major:e.major.enabled?Zt(e,e.major):t}}function Qt(e){var t,i,n,r=[];for(i=0,n=e.length;i=h||d<=1||!o.isHorizontal()?o.labelRotation=u:(t=(e=o._getLabelSizes()).widest.width,i=e.highest.height-e.highest.offset,n=Math.min(o.maxWidth,o.chart.width-t),t+6>(r=c.offset?o.maxWidth/d:n/(d-1))&&(r=n/(d-(c.offset?.5:1)),s=o.maxHeight-Kt(c.gridLines)-l.padding-Gt(c.scaleLabel),a=Math.sqrt(t*t+i*i),f=H.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/r,1)),Math.asin(Math.min(s/a,1))-Math.asin(i/a))),f=Math.max(u,Math.min(h,f))),o.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},i=e.chart,n=e.options,r=n.ticks,s=n.scaleLabel,a=n.gridLines,o=e._isVisible(),c="bottom"===n.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:o&&(t.width=Kt(a)+Gt(s)),l?o&&(t.height=Kt(a)+Gt(s)):t.height=e.maxHeight,r.display&&o){var d=Xt(r),u=e._getLabelSizes(),h=u.first,f=u.last,p=u.widest,m=u.highest,_=.4*d.minor.lineHeight,b=r.padding;if(l){var g=0!==e.labelRotation,y=H.toRadians(e.labelRotation),v=Math.cos(y),w=Math.sin(y);t.height=Math.min(e.maxHeight,t.height+(w*p.width+v*(m.height-(g?m.offset:0))+(g?0:_))+b);var C,S,k=e.getPixelForTick(0)-e.left,x=e.right-e.getPixelForTick(e.getTicks().length-1);g?(C=c?v*h.width+w*h.offset:w*(h.height-h.offset),S=c?w*(f.height-f.offset):v*f.width+w*f.offset):(C=h.width/2,S=f.width/2),e.paddingLeft=Math.max((C-k)*e.width/(e.width-k),0)+3,e.paddingRight=Math.max((S-x)*e.width/(e.width-x),0)+3}else t.width=Math.min(e.maxWidth,t.width+(r.mirror?0:p.width+b+_)),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}e.handleMargins(),l?(e.width=e._length=i.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=i.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Ut(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,i,n,r=this;for(r.ticks=e.map((function(e){return e.value})),r.beforeTickToLabelConversion(),t=r.convertTicksToLabels(e)||r.ticks,r.afterTickToLabelConversion(),i=0,n=e.length;it){for(i=0;ii-1?null:this.getPixelForDecimal(e*n+(t?n/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,i,n,r,s=this.options.ticks,a=s.maxTicksLimit||this._length/this._tickSize()+1,o=s.major.enabled?function(e){var t,i,n=[];for(t=0,i=e.length;ta)return function(e,t,i){var n,r,s=0,a=t[0];for(i=Math.ceil(i),n=0;nl)return s;return Math.max(l,1)}(o,e,0,a),c>0){for(t=0,i=c-1;t1?(d-l)/(c-1):null)?0:l-r,l),ei(e,n,d,H.isNullOrUndef(r)?e.length:d+r),Qt(e)}return ei(e,n),Qt(e)},_tickSize:function(){var e=this.options.ticks,t=H.toRadians(this.labelRotation),i=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),r=this._getLabelSizes(),s=e.autoSkipPadding||0,a=r?r.widest.width+s:0,o=r?r.highest.height+s:0;return this.isHorizontal()?o*i>a*n?a/i:o/n:o*n=0&&(a=e),void 0!==s&&(e=i.indexOf(s))>=0&&(o=e),t.minIndex=a,t.maxIndex=o,t.min=i[a],t.max=i[o]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,i=this.maxIndex;this.ticks=0===t&&i===e.length-1?e:e.slice(t,i+1)},getLabelForIndex:function(e,t){var i=this.chart;return i.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(i.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,i=e.ticks;ii.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),i&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(i.length-(t?0:1),1))},getPixelForValue:function(e,t,i){var n,r,s,a=this;return ni(t)||ni(i)||(e=a.chart.data.datasets[i].data[t]),ni(e)||(n=a.isHorizontal()?e.x:e.y),(void 0!==n||void 0!==e&&isNaN(t))&&(r=a._getLabels(),e=H.valueOrDefault(n,e),t=-1!==(s=r.indexOf(e))?s:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});ri._defaults={position:"bottom"};var si=H.isNullOrUndef,ai=ii.extend({getRightValue:function(e){return"string"==typeof e?+e:ii.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var i=H.sign(e.min),n=H.sign(e.max);i<0&&n<0?e.max=0:i>0&&n>0&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,s=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(e.min=null===e.min?t.suggestedMin:Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(e.max=null===e.max?t.suggestedMax:Math.max(e.max,t.suggestedMax)),r!==s&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,i=t.stepSize,n=t.maxTicksLimit;return i?e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(e=this._computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:H.noop,buildTicks:function(){var e=this,t=e.options.ticks,i=e.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:t.min,max:t.max,precision:t.precision,stepSize:H.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var i,n,r,s,a=[],o=e.stepSize,c=o||1,l=e.maxTicks-1,d=e.min,u=e.max,h=e.precision,f=t.min,p=t.max,m=H.niceNum((p-f)/l/c)*c;if(m<1e-14&&si(d)&&si(u))return[f,p];(s=Math.ceil(p/m)-Math.floor(f/m))>l&&(m=H.niceNum(s*m/l/c)*c),o||si(h)?i=Math.pow(10,H._decimalPlaces(m)):(i=Math.pow(10,h),m=Math.ceil(m*i)/i),n=Math.floor(f/m)*m,r=Math.ceil(p/m)*m,o&&(!si(d)&&H.almostWhole(d/m,m/1e3)&&(n=d),!si(u)&&H.almostWhole(u/m,m/1e3)&&(r=u)),s=H.almostEquals(s=(r-n)/m,Math.round(s),m/1e3)?Math.round(s):Math.ceil(s),n=Math.round(n*i)/i,r=Math.round(r*i)/i,a.push(si(d)?n:d);for(var _=1;_t.length-1?null:this.getPixelForValue(t[e])}});di._defaults=oi;var ui=H.valueOrDefault,hi=H.math.log10,fi={position:"left",ticks:{callback:zt.formatters.logarithmic}};function pi(e,t){return H.isFinite(e)&&e>=0?e:t}var mi=ii.extend({determineDataLimits:function(){var e,t,i,n,r,s,a=this,o=a.options,c=a.chart,l=c.data.datasets,d=a.isHorizontal();function u(e){return d?e.xAxisID===a.id:e.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=o.stacked;if(void 0===h)for(e=0;e0){var t=H.min(e),i=H.max(e);a.min=Math.min(a.min,t),a.max=Math.max(a.max,i)}}))}else for(e=0;e0?e.min:e.max<1?Math.pow(10,Math.floor(hi(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,i=!e.isHorizontal(),n={min:pi(t.min),max:pi(t.max)},r=e.ticks=function(e,t){var i,n,r=[],s=ui(e.min,Math.pow(10,Math.floor(hi(t.min)))),a=Math.floor(hi(t.max)),o=Math.ceil(t.max/Math.pow(10,a));0===s?(i=Math.floor(hi(t.minNotZero)),n=Math.floor(t.minNotZero/Math.pow(10,i)),r.push(s),s=n*Math.pow(10,i)):(i=Math.floor(hi(s)),n=Math.floor(s/Math.pow(10,i)));var c=i<0?Math.pow(10,Math.abs(i)):1;do{r.push(s),10==++n&&(n=1,c=++i>=0?1:c),s=Math.round(n*Math.pow(10,i)*c)/c}while(it.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(hi(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,i=0;ii.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),i=ui(e.options.ticks.fontSize,j.global.defaultFontSize)/e._length),e._startValue=hi(t),e._valueOffset=i,e._valueRange=(hi(e.max)-hi(t))/(1-i)},getPixelForValue:function(e){var t=this,i=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(i=(hi(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(i)},getValueForPixel:function(e){var t=this,i=t.getDecimalForPixel(e);return 0===i&&0===t.min?0:Math.pow(10,t._startValue+(i-t._valueOffset)*t._valueRange)}});mi._defaults=fi;var _i=H.valueOrDefault,bi=H.valueAtIndexOrDefault,gi=H.options.resolve,yi={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:zt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function vi(e){var t=e.ticks;return t.display&&e.display?_i(t.fontSize,j.global.defaultFontSize)+2*t.backdropPaddingY:0}function wi(e,t,i,n,r){return e===n||e===r?{start:t-i/2,end:t+i/2}:er?{start:t-i,end:t}:{start:t,end:t+i}}function Ci(e){return 0===e||180===e?"center":e<180?"left":"right"}function Si(e,t,i,n){var r,s,a=i.y+n/2;if(H.isArray(t))for(r=0,s=t.length;r270||e<90)&&(i.y-=t.h)}function xi(e){return H.isNumber(e)?e:0}var Mi=ai.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=vi(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;H.each(t.data.datasets,(function(r,s){if(t.isDatasetVisible(s)){var a=t.getDatasetMeta(s);H.each(r.data,(function(t,r){var s=+e.getRightValue(t);isNaN(s)||a.data[r].hidden||(i=Math.min(s,i),n=Math.max(s,n))}))}})),e.min=i===Number.POSITIVE_INFINITY?0:i,e.max=n===Number.NEGATIVE_INFINITY?0:n,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/vi(this.options))},convertTicksToLabels:function(){var e=this;ai.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=H.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,i,n,r=H.options._parseFont(e.options.pointLabels),s={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=r.string,e._pointLabelSizes=[];var o,c,l,d=e.chart.data.labels.length;for(t=0;ts.r&&(s.r=f.end,a.r=u),p.starts.b&&(s.b=p.end,a.b=u)}e.setReductions(e.drawingArea,s,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,i){var n=this,r=t.l/Math.sin(i.l),s=Math.max(t.r-n.width,0)/Math.sin(i.r),a=-t.t/Math.cos(i.t),o=-Math.max(t.b-(n.height-n.paddingTop),0)/Math.cos(i.b);r=xi(r),s=xi(s),a=xi(a),o=xi(o),n.drawingArea=Math.min(Math.floor(e-(r+s)/2),Math.floor(e-(a+o)/2)),n.setCenterPoint(r,s,a,o)},setCenterPoint:function(e,t,i,n){var r=this,s=i+r.drawingArea,a=r.height-r.paddingTop-n-r.drawingArea;r.xCenter=Math.floor((e+r.drawingArea+(r.width-t-r.drawingArea))/2+r.left),r.yCenter=Math.floor((s+a)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,i=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(i<0?i+360:i)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(H.isNullOrUndef(e))return NaN;var i=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*i:(e-t.min)*i},getPointPosition:function(e,t){var i=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(i)*t+this.xCenter,y:Math.sin(i)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,i=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&i<0?i:t>0&&i>0?t:0)},_drawGrid:function(){var e,t,i,n=this,r=n.ctx,s=n.options,a=s.gridLines,o=s.angleLines,c=_i(o.lineWidth,a.lineWidth),l=_i(o.color,a.color);if(s.pointLabels.display&&function(e){var t=e.ctx,i=e.options,n=i.pointLabels,r=vi(i),s=e.getDistanceFromCenterForValue(i.ticks.reverse?e.min:e.max),a=H.options._parseFont(n);t.save(),t.font=a.string,t.textBaseline="middle";for(var o=e.chart.data.labels.length-1;o>=0;o--){var c=e.getPointPosition(o,s+(0===o?r/2:0)+5),l=bi(n.fontColor,o,j.global.defaultFontColor);t.fillStyle=l;var d=e.getIndexAngle(o),u=H.toDegrees(d);t.textAlign=Ci(u),ki(u,e._pointLabelSizes[o],c),Si(t,e.pointLabels[o],c,a.lineHeight)}t.restore()}(n),a.display&&H.each(n.ticks,(function(e,i){0!==i&&(t=n.getDistanceFromCenterForValue(n.ticksAsNumbers[i]),function(e,t,i,n){var r,s=e.ctx,a=t.circular,o=e.chart.data.labels.length,c=bi(t.color,n-1),l=bi(t.lineWidth,n-1);if((a||o)&&c&&l){if(s.save(),s.strokeStyle=c,s.lineWidth=l,s.setLineDash&&(s.setLineDash(t.borderDash||[]),s.lineDashOffset=t.borderDashOffset||0),s.beginPath(),a)s.arc(e.xCenter,e.yCenter,i,0,2*Math.PI);else{r=e.getPointPosition(0,i),s.moveTo(r.x,r.y);for(var d=1;d=0;e--)t=n.getDistanceFromCenterForValue(s.ticks.reverse?n.min:n.max),i=n.getPointPosition(e,t),r.beginPath(),r.moveTo(n.xCenter,n.yCenter),r.lineTo(i.x,i.y),r.stroke();r.restore()}},_drawLabels:function(){var e=this,t=e.ctx,i=e.options.ticks;if(i.display){var n,r,s=e.getIndexAngle(0),a=H.options._parseFont(i),o=_i(i.fontColor,j.global.defaultFontColor);t.save(),t.font=a.string,t.translate(e.xCenter,e.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",H.each(e.ticks,(function(s,c){(0!==c||i.reverse)&&(n=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),i.showLabelBackdrop&&(r=t.measureText(s).width,t.fillStyle=i.backdropColor,t.fillRect(-r/2-i.backdropPaddingX,-n-a.size/2-i.backdropPaddingY,r+2*i.backdropPaddingX,a.size+2*i.backdropPaddingY)),t.fillStyle=o,t.fillText(s,0,-n))})),t.restore()}},_drawTitle:H.noop});Mi._defaults=yi;var Di=H._deprecated,Li=H.options.resolve,Ti=H.valueOrDefault,Ei=Number.MIN_SAFE_INTEGER||-9007199254740991,Ai=Number.MAX_SAFE_INTEGER||9007199254740991,Oi={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Pi=Object.keys(Oi);function Ii(e,t){return e-t}function Ri(e){return H.valueOrDefault(e.time.min,e.ticks.min)}function ji(e){return H.valueOrDefault(e.time.max,e.ticks.max)}function Yi(e,t,i,n){var r=function(e,t,i){for(var n,r,s,a=0,o=e.length-1;a>=0&&a<=o;){if(s=e[n=a+o>>1],!(r=e[n-1]||null))return{lo:null,hi:s};if(s[t]i))return{lo:r,hi:s};o=n-1}}return{lo:s,hi:null}}(e,t,i),s=r.lo?r.hi?r.lo:e[e.length-2]:e[0],a=r.lo?r.hi?r.hi:e[e.length-1]:e[1],o=a[t]-s[t];return s[n]+(a[n]-s[n])*(o?(i-s[t])/o:0)}function Vi(e,t){var i=e._adapter,n=e.options.time,r=n.parser,s=r||n.format,a=t;return"function"==typeof r&&(a=r(a)),H.isFinite(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null!==a?+a:(r||"function"!=typeof s||(a=s(t),H.isFinite(a)||(a=i.parse(a))),a)}function Wi(e,t){if(H.isNullOrUndef(t))return null;var i=e.options.time,n=Vi(e,e.getRightValue(t));return null===n?n:(i.round&&(n=+e._adapter.startOf(n,i.round)),n)}function Fi(e,t,i,n){var r,s,a=Pi.length;for(r=Pi.indexOf(e);r=0&&(t[s].major=!0);return t}(e,s,a,i):s}var Bi=ii.extend({initialize:function(){this.mergeTicksOptions(),ii.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,i=t.time||(t.time={}),n=e._adapter=new Bt._date(t.adapters.date);return Di("time scale",i.format,"time.format","time.parser"),Di("time scale",i.min,"time.min","ticks.min"),Di("time scale",i.max,"time.max","ticks.max"),H.mergeIf(i.displayFormats,n.formats()),ii.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),ii.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,i,n,r,s,a,o=this,c=o.chart,l=o._adapter,d=o.options,u=d.time.unit||"day",h=Ai,f=Ei,p=[],m=[],_=[],b=o._getLabels();for(e=0,i=b.length;e1?function(e){var t,i,n,r={},s=[];for(t=0,i=e.length;t1e5*l)throw t+" and "+i+" are too far apart with stepSize of "+l+" "+c;for(r=u;r=r&&i<=s&&d.push(i);return n.min=r,n.max=s,n._unit=c.unit||(o.autoSkip?Fi(c.minUnit,n.min,n.max,u):function(e,t,i,n,r){var s,a;for(s=Pi.length-1;s>=Pi.indexOf(i);s--)if(Oi[a=Pi[s]].common&&e._adapter.diff(r,n,a)>=t-1)return a;return Pi[i?Pi.indexOf(i):0]}(n,d.length,c.minUnit,n.min,n.max)),n._majorUnit=o.major.enabled&&"year"!==n._unit?function(e){for(var t=Pi.indexOf(e)+1,i=Pi.length;tt&&o=0&&e0?o:1}});Bi._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var zi={category:ri,linear:di,logarithmic:mi,radialLinear:Mi,time:Bi},Ni={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Bt._date.override("function"==typeof e?{_id:"moment",formats:function(){return Ni},parse:function(t,i){return"string"==typeof t&&"string"==typeof i?t=e(t,i):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,i){return e(t).format(i)},add:function(t,i,n){return e(t).add(i,n).valueOf()},diff:function(t,i,n){return e(t).diff(e(i),n)},startOf:function(t,i,n){return t=e(t),"isoWeek"===i?t.isoWeekday(n).valueOf():t.startOf(i).valueOf()},endOf:function(t,i){return e(t).endOf(i).valueOf()},_create:function(t){return e(t)}}:{}),j._set("global",{plugins:{filler:{propagate:!0}}});var Ui={dataset:function(e){var t=e.fill,i=e.chart,n=i.getDatasetMeta(t),r=n&&i.isDatasetVisible(t)&&n.dataset._children||[],s=r.length||0;return s?function(e,t){return t=i)&&n;switch(s){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return s;default:return!1}}function $i(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,i,n,r,s,a=e.el._scale,o=a.options,c=a.chart.data.labels.length,l=e.fill,d=[];if(!c)return null;for(i=o.ticks.reverse?a.min:a.max,n=a.getPointPositionForValue(0,t=o.ticks.reverse?a.max:a.min),r=0;r0;--s)H.canvas.lineTo(e,i[s],i[s-1],!0);else for(a=i[0].cx,o=i[0].cy,c=Math.sqrt(Math.pow(i[0].x-a,2)+Math.pow(i[0].y-o,2)),s=r-1;s>0;--s)e.arc(a,o,c,i[s].angle,i[s-1].angle,!0)}}function Xi(e,t,i,n,r,s){var a,o,c,l,d,u,h,f,p=t.length,m=n.spanGaps,_=[],b=[],g=0,y=0;for(e.beginPath(),a=0,o=p;a=0;--i)(t=c[i].$filler)&&t.visible&&(s=(n=t.el)._children||[],o=(r=n._view).backgroundColor||j.global.defaultColor,(a=t.mapper)&&o&&s.length&&(H.canvas.clipArea(l,e.chartArea),Xi(l,s,a,r,o,n._loop),H.canvas.unclipArea(l)))}},en=H.rtl.getRtlAdapter,tn=H.noop,nn=H.valueOrDefault;function rn(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}j._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var i=t.datasetIndex,n=this.chart,r=n.getDatasetMeta(i);r.hidden=null===r.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,i=e.options.legend||{},n=i.labels&&i.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(i){var r=i.controller.getStyle(n?0:void 0);return{text:t[i.index].label,fillStyle:r.backgroundColor,hidden:!e.isDatasetVisible(i.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:i.index}}),this)}}},legendCallback:function(e){var t,i,n,r=document.createElement("ul"),s=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,i=s.length;tc.width)&&(u+=a+i.padding,d[d.length-(t>0?0:1)]=0),o[t]={left:0,top:0,width:n,height:a},d[d.length-1]+=n+i.padding})),c.height+=u}else{var h=i.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=i.padding,_=0,b=0;H.each(e.legendItems,(function(e,t){var n=rn(i,a)+a/2+r.measureText(e.text).width;t>0&&b+a+2*h>c.height&&(m+=_+i.padding,f.push(_),p.push(b),_=0,b=0),_=Math.max(_,n),b+=a+h,o[t]={left:0,top:0,width:n,height:a}})),m+=_,f.push(_),p.push(b),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:tn,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,i=t.labels,n=j.global,r=n.defaultColor,s=n.elements.line,a=e.height,o=e.columnHeights,c=e.width,l=e.lineWidths;if(t.display){var d,u=en(t.rtl,e.left,e.minSize.width),h=e.ctx,f=nn(i.fontColor,n.defaultFontColor),p=H.options._parseFont(i),m=p.size;h.textAlign=u.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var _=rn(i,m),b=e.legendHitBoxes,g=function(e,n){switch(t.align){case"start":return i.padding;case"end":return e-n;default:return(e-n+i.padding)/2}},y=e.isHorizontal();d=y?{x:e.left+g(c,l[0]),y:e.top+i.padding,line:0}:{x:e.left+i.padding,y:e.top+g(a,o[0]),line:0},H.rtl.overrideTextDirection(e.ctx,t.textDirection);var v=m+i.padding;H.each(e.legendItems,(function(t,n){var f=h.measureText(t.text).width,p=_+m/2+f,w=d.x,C=d.y;u.setWidth(e.minSize.width),y?n>0&&w+p+i.padding>e.left+e.minSize.width&&(C=d.y+=v,d.line++,w=d.x=e.left+g(c,l[d.line])):n>0&&C+v>e.top+e.minSize.height&&(w=d.x=w+e.columnWidths[d.line]+i.padding,d.line++,C=d.y=e.top+g(a,o[d.line]));var S=u.x(w);!function(e,t,n){if(!(isNaN(_)||_<=0)){h.save();var a=nn(n.lineWidth,s.borderWidth);if(h.fillStyle=nn(n.fillStyle,r),h.lineCap=nn(n.lineCap,s.borderCapStyle),h.lineDashOffset=nn(n.lineDashOffset,s.borderDashOffset),h.lineJoin=nn(n.lineJoin,s.borderJoinStyle),h.lineWidth=a,h.strokeStyle=nn(n.strokeStyle,r),h.setLineDash&&h.setLineDash(nn(n.lineDash,s.borderDash)),i&&i.usePointStyle){var o=_*Math.SQRT2/2,c=u.xPlus(e,_/2);H.canvas.drawPoint(h,n.pointStyle,o,c,t+m/2,n.rotation)}else h.fillRect(u.leftForLtr(e,_),t,_,m),0!==a&&h.strokeRect(u.leftForLtr(e,_),t,_,m);h.restore()}}(S,C,t),b[n].left=u.leftForLtr(S,b[n].width),b[n].top=C,function(e,t,i,n){var r=m/2,s=u.xPlus(e,_+r),a=t+r;h.fillText(i.text,s,a),i.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(s,a),h.lineTo(u.xPlus(s,n),a),h.stroke())}(S,C,t,f),y?d.x+=p+i.padding:d.y+=v})),H.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var i,n,r,s=this;if(e>=s.left&&e<=s.right&&t>=s.top&&t<=s.bottom)for(r=s.legendHitBoxes,i=0;i=(n=r[i]).left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height)return s.legendItems[i];return null},handleEvent:function(e){var t,i=this,n=i.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else{if("click"!==r)return;if(!n.onClick)return}t=i._getLegendItemAt(e.x,e.y),"click"===r?t&&n.onClick&&n.onClick.call(i,e.native,t):(n.onLeave&&t!==i._hoveredItem&&(i._hoveredItem&&n.onLeave.call(i,e.native,i._hoveredItem),i._hoveredItem=t),n.onHover&&t&&n.onHover.call(i,e.native,t))}});function an(e,t){var i=new sn({ctx:e.ctx,options:t,chart:e});ct.configure(e,i,t),ct.addBox(e,i),e.legend=i}var on={id:"legend",_element:sn,beforeInit:function(e){var t=e.options.legend;t&&an(e,t)},beforeUpdate:function(e){var t=e.options.legend,i=e.legend;t?(H.mergeIf(t,j.global.legend),i?(ct.configure(e,i,t),i.options=t):an(e,t)):i&&(ct.removeBox(e,i),delete e.legend)},afterEvent:function(e,t){var i=e.legend;i&&i.handleEvent(t)}},cn=H.noop;j._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ln=q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:cn,update:function(e,t,i){var n=this;return n.beforeUpdate(),n.maxWidth=e,n.maxHeight=t,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:cn,beforeSetDimensions:cn,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:cn,beforeBuildLabels:cn,buildLabels:cn,afterBuildLabels:cn,beforeFit:cn,fit:function(){var e,t=this,i=t.options,n=t.minSize={},r=t.isHorizontal();i.display?(e=(H.isArray(i.text)?i.text.length:1)*H.options._parseFont(i).lineHeight+2*i.padding,t.width=n.width=r?t.maxWidth:e,t.height=n.height=r?e:t.maxHeight):t.width=n.width=t.height=n.height=0},afterFit:cn,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,i=e.options;if(i.display){var n,r,s,a=H.options._parseFont(i),o=a.lineHeight,c=o/2+i.padding,l=0,d=e.top,u=e.left,h=e.bottom,f=e.right;t.fillStyle=H.valueOrDefault(i.fontColor,j.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(r=u+(f-u)/2,s=d+c,n=f-u):(r="left"===i.position?u+c:f-c,s=d+(h-d)/2,n=h-d,l=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(r,s),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var p=i.text;if(H.isArray(p))for(var m=0,_=0;_=0;n--){var r=e[n];if(t(r))return r}},H.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},H.almostEquals=function(e,t,i){return Math.abs(e-t)=e},H.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},H.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},H.toRadians=function(e){return e*(Math.PI/180)},H.toDegrees=function(e){return e*(180/Math.PI)},H._decimalPlaces=function(e){if(H.isFinite(e)){for(var t=1,i=0;Math.round(e*t)/t!==e;)t*=10,i++;return i}},H.getAngleFromPoint=function(e,t){var i=t.x-e.x,n=t.y-e.y,r=Math.sqrt(i*i+n*n),s=Math.atan2(n,i);return s<-.5*Math.PI&&(s+=2*Math.PI),{angle:s,distance:r}},H.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},H.aliasPixel=function(e){return e%2==0?0:.5},H._alignPixel=function(e,t,i){var n=e.currentDevicePixelRatio,r=i/2;return Math.round((t-r)*n)/n+r},H.splineCurve=function(e,t,i,n){var r=e.skip?t:e,s=t,a=i.skip?t:i,o=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),c=Math.sqrt(Math.pow(a.x-s.x,2)+Math.pow(a.y-s.y,2)),l=o/(o+c),d=c/(o+c),u=n*(l=isNaN(l)?0:l),h=n*(d=isNaN(d)?0:d);return{previous:{x:s.x-u*(a.x-r.x),y:s.y-u*(a.y-r.y)},next:{x:s.x+h*(a.x-r.x),y:s.y+h*(a.y-r.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(e){var t,i,n,r,s,a,o,c,l,d=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),u=d.length;for(t=0;t0?d[t-1]:null,(r=t0?d[t-1]:null)&&!i.model.skip&&(n.model.controlPointPreviousX=n.model.x-(l=(n.model.x-i.model.x)/3),n.model.controlPointPreviousY=n.model.y-l*n.mK),r&&!r.model.skip&&(n.model.controlPointNextX=n.model.x+(l=(r.model.x-n.model.x)/3),n.model.controlPointNextY=n.model.y+l*n.mK))},H.nextItem=function(e,t,i){return i?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},H.previousItem=function(e,t,i){return i?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},H.niceNum=function(e,t){var i=Math.floor(H.log10(e)),n=e/Math.pow(10,i);return(t?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},H.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},H.getRelativePosition=function(e,t){var i,n,r=e.originalEvent||e,s=e.target||e.srcElement,a=s.getBoundingClientRect(),o=r.touches;o&&o.length>0?(i=o[0].clientX,n=o[0].clientY):(i=r.clientX,n=r.clientY);var c=parseFloat(H.getStyle(s,"padding-left")),l=parseFloat(H.getStyle(s,"padding-top")),d=parseFloat(H.getStyle(s,"padding-right")),u=parseFloat(H.getStyle(s,"padding-bottom")),h=a.bottom-a.top-l-u;return{x:i=Math.round((i-a.left-c)/(a.right-a.left-c-d)*s.width/t.currentDevicePixelRatio),y:n=Math.round((n-a.top-l)/h*s.height/t.currentDevicePixelRatio)}},H.getConstraintWidth=function(e){return i(e,"max-width","clientWidth")},H.getConstraintHeight=function(e){return i(e,"max-height","clientHeight")},H._calculatePadding=function(e,t,i){return(t=H.getStyle(e,t)).indexOf("%")>-1?i*parseInt(t,10)/100:parseInt(t,10)},H._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},H.getMaximumWidth=function(e){var t=H._getParentNode(e);if(!t)return e.clientWidth;var i=t.clientWidth,n=i-H._calculatePadding(t,"padding-left",i)-H._calculatePadding(t,"padding-right",i),r=H.getConstraintWidth(e);return isNaN(r)?n:Math.min(n,r)},H.getMaximumHeight=function(e){var t=H._getParentNode(e);if(!t)return e.clientHeight;var i=t.clientHeight,n=i-H._calculatePadding(t,"padding-top",i)-H._calculatePadding(t,"padding-bottom",i),r=H.getConstraintHeight(e);return isNaN(r)?n:Math.min(n,r)},H.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},H.retinaScale=function(e,t){var i=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=e.canvas,r=e.height,s=e.width;n.height=r*i,n.width=s*i,e.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=r+"px",n.style.width=s+"px")}},H.fontString=function(e,t,i){return t+" "+e+"px "+i},H.longestText=function(e,t,i,n){var r=(n=n||{}).data=n.data||{},s=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(r=n.data={},s=n.garbageCollect=[],n.font=t),e.font=t;var a,o,c,l,d,u=0,h=i.length;for(a=0;ai.length){for(a=0;an&&(n=s),n},H.numberOfLabelLines=function(e){var t=1;return H.each(e,(function(e){H.isArray(e)&&e.length>t&&(t=e.length)})),t},H.color=v?function(e){return e instanceof CanvasGradient&&(e=j.global.defaultColor),v(e)}:function(e){return console.error("Color.js not found!"),e},H.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:H.color(e).saturate(.5).darken(.1).rgbString()}}(),Wt._adapters=Bt,Wt.Animation=J,Wt.animationService=K,Wt.controllers=Ue,Wt.DatasetController=ee,Wt.defaults=j,Wt.Element=q,Wt.elements=be,Wt.Interaction=Xe,Wt.layouts=ct,Wt.platform=yt,Wt.plugins=vt,Wt.Scale=ii,Wt.scaleService=wt,Wt.Ticks=zt,Wt.Tooltip=Et,Wt.helpers.each(zi,(function(e,t){Wt.scaleService.registerScaleType(t,e,e._defaults)})),un)un.hasOwnProperty(mn)&&Wt.plugins.register(un[mn]);Wt.platform.initialize();var _n=Wt;return"undefined"!=typeof window&&(window.Chart=Wt),Wt.Chart=Wt,Wt.Legend=un.legend._element,Wt.Title=un.title._element,Wt.pluginService=Wt.plugins,Wt.PluginBase=Wt.Element.extend({}),Wt.canvasHelpers=Wt.helpers.canvas,Wt.layoutService=Wt.layouts,Wt.LinearScaleBase=ai,Wt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Wt[e]=function(t,i){return new Wt(t,Wt.helpers.merge(i||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),_n}(function(){try{return i("wd/R")}catch(e){}}())},MlIO:function(e,t,i){var n,r,s,a,o;e.exports=(o=i("Ib8C"),r=(n=o.lib).Base,s=n.WordArray,(a=o.x64={}).Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,i=[],n=0;n=0&&(a=t,o=i),n.negative&&(n=n.neg(),s=s.neg()),a.negative&&(a=a.neg(),o=o.neg()),[{a:n,b:s},{a,b:o}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],n=t[1],r=n.b.mul(e).divRound(this.n),s=i.b.neg().mul(e).divRound(this.n),a=r.mul(i.a),o=s.mul(n.a),c=r.mul(i.b),l=s.mul(n.b);return{k1:e.sub(a).sub(o),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=i.redSqrt();if(0!==n.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var s=n.fromRed().isOdd();return(t&&!s||!t&&s)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,n=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===i.redSqr().redISub(r).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,i){for(var n=this._endoWnafT1,r=this._endoWnafT2,s=0;s":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var i=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,n)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,i=this.x.redSqr(),n=e.redInvm(),r=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(n),s=r.redSqr().redISub(this.x.redAdd(this.x)),a=r.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,a)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new r(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,i){var n=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,r):this.curve._wnafMulAdd(1,n,r,2)},l.prototype.jmulAdd=function(e,t,i){var n=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,r,!0):this.curve._wnafMulAdd(1,n,r,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var i=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(n)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(n)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(d,a.BasePoint),c.prototype.jpoint=function(e,t,i){return new d(this,e,t,i)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(i,n)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),n=this.x.redMul(t),r=e.x.redMul(i),s=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(i.redMul(this.z)),o=n.redSub(r),c=s.redSub(a);if(0===o.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=o.redSqr(),d=l.redMul(o),u=n.redMul(l),h=c.redSqr().redIAdd(d).redISub(u).redISub(u),f=c.redMul(u.redISub(h)).redISub(s.redMul(d)),p=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(h,f,p)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,n=e.x.redMul(t),r=this.y,s=e.y.redMul(t).redMul(this.z),a=i.redSub(n),o=r.redSub(s);if(0===a.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),l=c.redMul(a),d=i.redMul(c),u=o.redSqr().redIAdd(l).redISub(d).redISub(d),h=o.redMul(d.redISub(u)).redISub(r.redMul(l)),f=this.z.redMul(a);return this.curve.jpoint(u,h,f)},d.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,i=0;i=0)return!1;if(i.redIAdd(r),0===this.x.cmp(i))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},MzeL:function(e,t,i){"use strict";var n=t;n.version=i("KAEN").version,n.utils=i("86MQ"),n.rand=i("/ayr"),n.curve=i("QTa/"),n.curves=i("DLvh"),n.ec=i("uagp"),n.eddsa=i("lF1L")},N2jm:function(e,t,i){var n=i("P7XM"),r=i("tjlA").Buffer,s=i("f3pb"),a=s.base,o=s.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){a.Node.call(this,"der",e)}function d(e){return e<10?"0"+e:e}e.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(l,a.Node),l.prototype._encodeComposite=function(e,t,i,n){var s,a=function(e,t,i,n){var r;if("seqof"===e?e="seq":"setof"===e&&(e="set"),o.tagByName.hasOwnProperty(e))r=o.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);r=e}return r>=31?n.error("Multi-octet tag encoding unsupported"):(t||(r|=32),r|o.tagClassByName[i||"universal"]<<6)}(e,t,i,this.reporter);if(n.length<128)return(s=new r(2))[0]=a,s[1]=n.length,this._createEncoderBuffer([s,n]);for(var c=1,l=n.length;l>=256;l>>=8)c++;(s=new r(2+c))[0]=a,s[1]=128|c,l=1+c;for(var d=n.length;d>0;l--,d>>=8)s[l]=255&d;return this._createEncoderBuffer([s,n])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var i=new r(2*e.length),n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var s=0;for(n=0;n=128;a>>=7)s++}var o=new r(s),c=o.length-1;for(n=e.length-1;n>=0;n--)for(o[c--]=127&(a=e[n]);(a>>=7)>0;)o[c--]=128|127&a;return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(e,t){var i,n=new Date(e);return"gentime"===t?i=[d(n.getFullYear()),d(n.getUTCMonth()+1),d(n.getUTCDate()),d(n.getUTCHours()),d(n.getUTCMinutes()),d(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?i=[d(n.getFullYear()%100),d(n.getUTCMonth()+1),d(n.getUTCDate()),d(n.getUTCHours()),d(n.getUTCMinutes()),d(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(i,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!r.isBuffer(e)){var i=e.toArray();!e.sign&&128&i[0]&&i.unshift(0),e=new r(i)}if(r.isBuffer(e)){var n=e.length;0===e.length&&n++;var s=new r(n);return e.copy(s),0===e.length&&(s[0]=0),this._createEncoderBuffer(s)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var a=e;a>=256;a>>=8)n++;for(a=(s=new Array(n)).length-1;a>=0;a--)s[a]=255&e,e>>=8;return 128&s[0]&&s.unshift(0),this._createEncoderBuffer(new r(s))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,i){var n,r=this._baseState;if(null===r.default)return!1;var s=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,i).join()),s.length!==r.defaultBuffer.length)return!1;for(n=0;n{throw e},0)}i.d(t,"a",(function(){return n}))},NPxG:function(e,t,i){var n=i("ekOh"),r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],s=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return r[4*(e-1)+0];case n.M:return r[4*(e-1)+1];case n.Q:return r[4*(e-1)+2];case n.H:return r[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return s[4*(e-1)+0];case n.M:return s[4*(e-1)+1];case n.Q:return s[4*(e-1)+2];case n.H:return s[4*(e-1)+3];default:return}}},NQVK:function(e,t,i){var n=i("hwdV").Buffer,r=i("jIre");function s(e,t,i){var s=t.length,a=r(t,e._cache);return e._cache=e._cache.slice(s),e._prev=n.concat([e._prev,i?t:a]),a}t.encrypt=function(e,t,i){for(var r,a=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){a=n.concat([a,s(e,t,i)]);break}a=n.concat([a,s(e,t.slice(0,r=e._cache.length),i)]),t=t.slice(r)}return a}},"OA+I":function(e,t,i){"use strict";var n=i("86MQ"),r=n.assert,s=n.parseBytes,a=n.cachedProperty;function o(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}o.fromPublic=function(e,t){return t instanceof o?t:new o(e,{pub:t})},o.fromSecret=function(e,t){return t instanceof o?t:new o(e,{secret:t})},o.prototype.secret=function(){return this._secret},a(o,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(o,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(o,"privBytes",(function(){var e=this.eddsa,t=this.hash(),i=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[i]&=127,n[i]|=64,n})),a(o,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(o,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(o,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),o.prototype.sign=function(e){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},o.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},o.prototype.getSecret=function(e){return r(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},o.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=o},OIYi:function(e,t,i){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wd/R"))},OLod:function(e,t,i){var n,r,s,a,o,c,l,d,u,h,f,p,m,_,b,g,y,v,w;e.exports=(n=i("Ib8C"),i("K3mO"),void(n.lib.Cipher||(r=n,s=r.lib,a=s.Base,o=s.WordArray,c=s.BufferedBlockAlgorithm,l=r.enc,d=l.Base64,u=r.algo.EvpKDF,h=s.Cipher=c.extend({cfg:a.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,i){this.cfg=this.cfg.extend(i),this._xformMode=e,this._key=t,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?w:y}return function(t){return{encrypt:function(i,n,r){return e(n).encrypt(t,i,n,r)},decrypt:function(i,n,r){return e(n).decrypt(t,i,n,r)}}}}()}),s.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),f=r.mode={},p=s.BlockCipherMode=a.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),m=f.CBC=function(){var e=p.extend();function t(e,t,i){var n=this._iv;if(n){var r=n;this._iv=void 0}else r=this._prevBlock;for(var s=0;s>>2]}},s.BlockCipher=h.extend({cfg:h.cfg.extend({mode:m,padding:_}),reset:function(){h.reset.call(this);var e=this.cfg,t=e.iv,i=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=i.createEncryptor;else n=i.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==n?this._mode.init(this,t&&t.words):(this._mode=n.call(i,this,t&&t.words),this._mode.__creator=n)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),b=s.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,i=e.salt;if(i)var n=o.create([1398893684,1701076831]).concat(i).concat(t);else n=t;return n.toString(d)},parse:function(e){var t=d.parse(e),i=t.words;if(1398893684==i[0]&&1701076831==i[1]){var n=o.create(i.slice(2,4));i.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:n})}},y=s.SerializableCipher=a.extend({cfg:a.extend({format:g}),encrypt:function(e,t,i,n){n=this.cfg.extend(n);var r=e.createEncryptor(i,n),s=r.finalize(t),a=r.cfg;return b.create({ciphertext:s,key:i,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,i,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(i,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(r.kdf={}).OpenSSL={execute:function(e,t,i,n){n||(n=o.random(8));var r=u.create({keySize:t+i}).compute(e,n),s=o.create(r.words.slice(t),4*i);return r.sigBytes=4*t,b.create({key:r,iv:s,salt:n})}},w=s.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:v}),encrypt:function(e,t,i,n){var r=(n=this.cfg.extend(n)).kdf.execute(i,e.keySize,e.ivSize);n.iv=r.iv;var s=y.encrypt.call(this,e,t,r.key,n);return s.mixIn(r),s},decrypt:function(e,t,i,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var r=n.kdf.execute(i,e.keySize,e.ivSize,t.salt);return n.iv=r.iv,y.decrypt.call(this,e,t,r.key,n)}}))))},"OZ/i":function(e,t,i){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function s(e,t,i){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(i=t,t=10),this._init(e||0,t||10,i||"be"))}var a;"object"==typeof e?e.exports=s:t.BN=s,s.BN=s,s.wordSize=26;try{a=i(2).Buffer}catch(k){}function o(e,t,i){for(var n=0,r=Math.min(e.length,i),s=t;s=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function c(e,t,i,n){for(var r=0,s=Math.min(e.length,i),a=t;a=49?o-49+10:o>=17?o-17+10:o}return r}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&r++,16===t?this._parseHex(e,r):this._parseBase(e,t,r),"-"===e[0]&&(this.negative=1),this.strip(),"le"===i&&this._initArray(this.toArray(),t,i)},s.prototype._initNumber=function(e,t,i){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),t,i)},s.prototype._initArray=function(e,t,i){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r=0;r-=3)this.words[s]|=(a=e[r]|e[r-1]<<8|e[r-2]<<16)<>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);else if("le"===i)for(r=0,s=0;r>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var i=0;i=t;i-=6)r=o(e,i,i+6),this.words[n]|=r<>>26-s&4194303,(s+=24)>=26&&(s-=26,n++);i+6!==t&&(r=o(e,t,i+6),this.words[n]|=r<>>26-s&4194303),this.strip()},s.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=67108863;r*=t)n++;n--,r=r/t|0;for(var s=e.length-i,a=s%n,o=Math.min(s,s-a)+i,l=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};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],u=[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];function h(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],s=0|t.words[0],a=r*s,o=a/67108864|0;i.words[0]=67108863&a;for(var c=1;c>>26,d=67108863&o,u=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=u;h++)l+=(a=(r=0|e.words[c-h|0])*(s=0|t.words[h])+d)/67108864|0,d=67108863&a;i.words[c]=0|d,o=0|l}return 0!==o?i.words[c]=0|o:i.length--,i.strip()}s.prototype.toString=function(e,t){var i;if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var r=0,s=0,a=0;a>>24-r&16777215)||a!==this.length-1?l[6-c.length]+c+i:c+i,(r+=2)>=26&&(r-=26,a--)}for(0!==s&&(i=s.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var h=d[e],f=u[e];i="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);i=(p=p.idivn(f)).isZero()?m+i:l[h-m.length]+m+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,i){var r=this.byteLength(),s=i||Math.max(1,r);n(r<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var a,o,c="le"===t,l=new e(s),d=this.clone();if(c){for(o=0;!d.isZero();o++)a=d.andln(255),d.iushrn(8),l[o]=a;for(;o=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return 0==(8191&t)&&(i+=13,t>>>=13),0==(127&t)&&(i+=7,t>>>=7),0==(15&t)&&(i+=4,t>>>=4),0==(3&t)&&(i+=2,t>>>=2),0==(1&t)&&i++,i},s.prototype.bitLength=function(){var e=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+e},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,i;this.length>e.length?(t=this,i=e):(t=e,i=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),this.words[i]=t?this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var r=0,s=0;s>>26;for(;0!==r&&s>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;se.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var i,n,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(i=this,n=e):(i=e,n=this);for(var s=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==s&&a>26,this.words[a]=67108863&t;if(0===s&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,_=0|a[2],b=8191&_,g=_>>>13,y=0|a[3],v=8191&y,w=y>>>13,C=0|a[4],S=8191&C,k=C>>>13,x=0|a[5],M=8191&x,D=x>>>13,L=0|a[6],T=8191&L,E=L>>>13,A=0|a[7],O=8191&A,P=A>>>13,I=0|a[8],R=8191&I,j=I>>>13,Y=0|a[9],V=8191&Y,W=Y>>>13,F=0|o[0],H=8191&F,B=F>>>13,z=0|o[1],N=8191&z,U=z>>>13,q=0|o[2],$=8191&q,J=q>>>13,K=0|o[3],G=8191&K,Z=K>>>13,X=0|o[4],Q=8191&X,ee=X>>>13,te=0|o[5],ie=8191&te,ne=te>>>13,re=0|o[6],se=8191&re,ae=re>>>13,oe=0|o[7],ce=8191&oe,le=oe>>>13,de=0|o[8],ue=8191&de,he=de>>>13,fe=0|o[9],pe=8191&fe,me=fe>>>13;i.negative=e.negative^t.negative,i.length=19;var _e=(l+(n=Math.imul(u,H))|0)+((8191&(r=(r=Math.imul(u,B))+Math.imul(h,H)|0))<<13)|0;l=((s=Math.imul(h,B))+(r>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(p,H),r=(r=Math.imul(p,B))+Math.imul(m,H)|0,s=Math.imul(m,B);var be=(l+(n=n+Math.imul(u,N)|0)|0)+((8191&(r=(r=r+Math.imul(u,U)|0)+Math.imul(h,N)|0))<<13)|0;l=((s=s+Math.imul(h,U)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,H),r=(r=Math.imul(b,B))+Math.imul(g,H)|0,s=Math.imul(g,B),n=n+Math.imul(p,N)|0,r=(r=r+Math.imul(p,U)|0)+Math.imul(m,N)|0,s=s+Math.imul(m,U)|0;var ge=(l+(n=n+Math.imul(u,$)|0)|0)+((8191&(r=(r=r+Math.imul(u,J)|0)+Math.imul(h,$)|0))<<13)|0;l=((s=s+Math.imul(h,J)|0)+(r>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(v,H),r=(r=Math.imul(v,B))+Math.imul(w,H)|0,s=Math.imul(w,B),n=n+Math.imul(b,N)|0,r=(r=r+Math.imul(b,U)|0)+Math.imul(g,N)|0,s=s+Math.imul(g,U)|0,n=n+Math.imul(p,$)|0,r=(r=r+Math.imul(p,J)|0)+Math.imul(m,$)|0,s=s+Math.imul(m,J)|0;var ye=(l+(n=n+Math.imul(u,G)|0)|0)+((8191&(r=(r=r+Math.imul(u,Z)|0)+Math.imul(h,G)|0))<<13)|0;l=((s=s+Math.imul(h,Z)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(S,H),r=(r=Math.imul(S,B))+Math.imul(k,H)|0,s=Math.imul(k,B),n=n+Math.imul(v,N)|0,r=(r=r+Math.imul(v,U)|0)+Math.imul(w,N)|0,s=s+Math.imul(w,U)|0,n=n+Math.imul(b,$)|0,r=(r=r+Math.imul(b,J)|0)+Math.imul(g,$)|0,s=s+Math.imul(g,J)|0,n=n+Math.imul(p,G)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,G)|0,s=s+Math.imul(m,Z)|0;var ve=(l+(n=n+Math.imul(u,Q)|0)|0)+((8191&(r=(r=r+Math.imul(u,ee)|0)+Math.imul(h,Q)|0))<<13)|0;l=((s=s+Math.imul(h,ee)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(M,H),r=(r=Math.imul(M,B))+Math.imul(D,H)|0,s=Math.imul(D,B),n=n+Math.imul(S,N)|0,r=(r=r+Math.imul(S,U)|0)+Math.imul(k,N)|0,s=s+Math.imul(k,U)|0,n=n+Math.imul(v,$)|0,r=(r=r+Math.imul(v,J)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,J)|0,n=n+Math.imul(b,G)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(g,G)|0,s=s+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0;var we=(l+(n=n+Math.imul(u,ie)|0)|0)+((8191&(r=(r=r+Math.imul(u,ne)|0)+Math.imul(h,ie)|0))<<13)|0;l=((s=s+Math.imul(h,ne)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,H),r=(r=Math.imul(T,B))+Math.imul(E,H)|0,s=Math.imul(E,B),n=n+Math.imul(M,N)|0,r=(r=r+Math.imul(M,U)|0)+Math.imul(D,N)|0,s=s+Math.imul(D,U)|0,n=n+Math.imul(S,$)|0,r=(r=r+Math.imul(S,J)|0)+Math.imul(k,$)|0,s=s+Math.imul(k,J)|0,n=n+Math.imul(v,G)|0,r=(r=r+Math.imul(v,Z)|0)+Math.imul(w,G)|0,s=s+Math.imul(w,Z)|0,n=n+Math.imul(b,Q)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(g,Q)|0,s=s+Math.imul(g,ee)|0,n=n+Math.imul(p,ie)|0,r=(r=r+Math.imul(p,ne)|0)+Math.imul(m,ie)|0,s=s+Math.imul(m,ne)|0;var Ce=(l+(n=n+Math.imul(u,se)|0)|0)+((8191&(r=(r=r+Math.imul(u,ae)|0)+Math.imul(h,se)|0))<<13)|0;l=((s=s+Math.imul(h,ae)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(O,H),r=(r=Math.imul(O,B))+Math.imul(P,H)|0,s=Math.imul(P,B),n=n+Math.imul(T,N)|0,r=(r=r+Math.imul(T,U)|0)+Math.imul(E,N)|0,s=s+Math.imul(E,U)|0,n=n+Math.imul(M,$)|0,r=(r=r+Math.imul(M,J)|0)+Math.imul(D,$)|0,s=s+Math.imul(D,J)|0,n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,Z)|0)+Math.imul(k,G)|0,s=s+Math.imul(k,Z)|0,n=n+Math.imul(v,Q)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(w,Q)|0,s=s+Math.imul(w,ee)|0,n=n+Math.imul(b,ie)|0,r=(r=r+Math.imul(b,ne)|0)+Math.imul(g,ie)|0,s=s+Math.imul(g,ne)|0,n=n+Math.imul(p,se)|0,r=(r=r+Math.imul(p,ae)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,ae)|0;var Se=(l+(n=n+Math.imul(u,ce)|0)|0)+((8191&(r=(r=r+Math.imul(u,le)|0)+Math.imul(h,ce)|0))<<13)|0;l=((s=s+Math.imul(h,le)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(R,H),r=(r=Math.imul(R,B))+Math.imul(j,H)|0,s=Math.imul(j,B),n=n+Math.imul(O,N)|0,r=(r=r+Math.imul(O,U)|0)+Math.imul(P,N)|0,s=s+Math.imul(P,U)|0,n=n+Math.imul(T,$)|0,r=(r=r+Math.imul(T,J)|0)+Math.imul(E,$)|0,s=s+Math.imul(E,J)|0,n=n+Math.imul(M,G)|0,r=(r=r+Math.imul(M,Z)|0)+Math.imul(D,G)|0,s=s+Math.imul(D,Z)|0,n=n+Math.imul(S,Q)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(k,Q)|0,s=s+Math.imul(k,ee)|0,n=n+Math.imul(v,ie)|0,r=(r=r+Math.imul(v,ne)|0)+Math.imul(w,ie)|0,s=s+Math.imul(w,ne)|0,n=n+Math.imul(b,se)|0,r=(r=r+Math.imul(b,ae)|0)+Math.imul(g,se)|0,s=s+Math.imul(g,ae)|0,n=n+Math.imul(p,ce)|0,r=(r=r+Math.imul(p,le)|0)+Math.imul(m,ce)|0,s=s+Math.imul(m,le)|0;var ke=(l+(n=n+Math.imul(u,ue)|0)|0)+((8191&(r=(r=r+Math.imul(u,he)|0)+Math.imul(h,ue)|0))<<13)|0;l=((s=s+Math.imul(h,he)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(V,H),r=(r=Math.imul(V,B))+Math.imul(W,H)|0,s=Math.imul(W,B),n=n+Math.imul(R,N)|0,r=(r=r+Math.imul(R,U)|0)+Math.imul(j,N)|0,s=s+Math.imul(j,U)|0,n=n+Math.imul(O,$)|0,r=(r=r+Math.imul(O,J)|0)+Math.imul(P,$)|0,s=s+Math.imul(P,J)|0,n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,Z)|0)+Math.imul(E,G)|0,s=s+Math.imul(E,Z)|0,n=n+Math.imul(M,Q)|0,r=(r=r+Math.imul(M,ee)|0)+Math.imul(D,Q)|0,s=s+Math.imul(D,ee)|0,n=n+Math.imul(S,ie)|0,r=(r=r+Math.imul(S,ne)|0)+Math.imul(k,ie)|0,s=s+Math.imul(k,ne)|0,n=n+Math.imul(v,se)|0,r=(r=r+Math.imul(v,ae)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,ae)|0,n=n+Math.imul(b,ce)|0,r=(r=r+Math.imul(b,le)|0)+Math.imul(g,ce)|0,s=s+Math.imul(g,le)|0,n=n+Math.imul(p,ue)|0,r=(r=r+Math.imul(p,he)|0)+Math.imul(m,ue)|0,s=s+Math.imul(m,he)|0;var xe=(l+(n=n+Math.imul(u,pe)|0)|0)+((8191&(r=(r=r+Math.imul(u,me)|0)+Math.imul(h,pe)|0))<<13)|0;l=((s=s+Math.imul(h,me)|0)+(r>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(V,N),r=(r=Math.imul(V,U))+Math.imul(W,N)|0,s=Math.imul(W,U),n=n+Math.imul(R,$)|0,r=(r=r+Math.imul(R,J)|0)+Math.imul(j,$)|0,s=s+Math.imul(j,J)|0,n=n+Math.imul(O,G)|0,r=(r=r+Math.imul(O,Z)|0)+Math.imul(P,G)|0,s=s+Math.imul(P,Z)|0,n=n+Math.imul(T,Q)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(E,Q)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(M,ie)|0,r=(r=r+Math.imul(M,ne)|0)+Math.imul(D,ie)|0,s=s+Math.imul(D,ne)|0,n=n+Math.imul(S,se)|0,r=(r=r+Math.imul(S,ae)|0)+Math.imul(k,se)|0,s=s+Math.imul(k,ae)|0,n=n+Math.imul(v,ce)|0,r=(r=r+Math.imul(v,le)|0)+Math.imul(w,ce)|0,s=s+Math.imul(w,le)|0,n=n+Math.imul(b,ue)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(g,ue)|0,s=s+Math.imul(g,he)|0;var Me=(l+(n=n+Math.imul(p,pe)|0)|0)+((8191&(r=(r=r+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(V,$),r=(r=Math.imul(V,J))+Math.imul(W,$)|0,s=Math.imul(W,J),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,Z)|0)+Math.imul(j,G)|0,s=s+Math.imul(j,Z)|0,n=n+Math.imul(O,Q)|0,r=(r=r+Math.imul(O,ee)|0)+Math.imul(P,Q)|0,s=s+Math.imul(P,ee)|0,n=n+Math.imul(T,ie)|0,r=(r=r+Math.imul(T,ne)|0)+Math.imul(E,ie)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(M,se)|0,r=(r=r+Math.imul(M,ae)|0)+Math.imul(D,se)|0,s=s+Math.imul(D,ae)|0,n=n+Math.imul(S,ce)|0,r=(r=r+Math.imul(S,le)|0)+Math.imul(k,ce)|0,s=s+Math.imul(k,le)|0,n=n+Math.imul(v,ue)|0,r=(r=r+Math.imul(v,he)|0)+Math.imul(w,ue)|0,s=s+Math.imul(w,he)|0;var De=(l+(n=n+Math.imul(b,pe)|0)|0)+((8191&(r=(r=r+Math.imul(b,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((s=s+Math.imul(g,me)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(V,G),r=(r=Math.imul(V,Z))+Math.imul(W,G)|0,s=Math.imul(W,Z),n=n+Math.imul(R,Q)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,Q)|0,s=s+Math.imul(j,ee)|0,n=n+Math.imul(O,ie)|0,r=(r=r+Math.imul(O,ne)|0)+Math.imul(P,ie)|0,s=s+Math.imul(P,ne)|0,n=n+Math.imul(T,se)|0,r=(r=r+Math.imul(T,ae)|0)+Math.imul(E,se)|0,s=s+Math.imul(E,ae)|0,n=n+Math.imul(M,ce)|0,r=(r=r+Math.imul(M,le)|0)+Math.imul(D,ce)|0,s=s+Math.imul(D,le)|0,n=n+Math.imul(S,ue)|0,r=(r=r+Math.imul(S,he)|0)+Math.imul(k,ue)|0,s=s+Math.imul(k,he)|0;var Le=(l+(n=n+Math.imul(v,pe)|0)|0)+((8191&(r=(r=r+Math.imul(v,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((s=s+Math.imul(w,me)|0)+(r>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(V,Q),r=(r=Math.imul(V,ee))+Math.imul(W,Q)|0,s=Math.imul(W,ee),n=n+Math.imul(R,ie)|0,r=(r=r+Math.imul(R,ne)|0)+Math.imul(j,ie)|0,s=s+Math.imul(j,ne)|0,n=n+Math.imul(O,se)|0,r=(r=r+Math.imul(O,ae)|0)+Math.imul(P,se)|0,s=s+Math.imul(P,ae)|0,n=n+Math.imul(T,ce)|0,r=(r=r+Math.imul(T,le)|0)+Math.imul(E,ce)|0,s=s+Math.imul(E,le)|0,n=n+Math.imul(M,ue)|0,r=(r=r+Math.imul(M,he)|0)+Math.imul(D,ue)|0,s=s+Math.imul(D,he)|0;var Te=(l+(n=n+Math.imul(S,pe)|0)|0)+((8191&(r=(r=r+Math.imul(S,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((s=s+Math.imul(k,me)|0)+(r>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(V,ie),r=(r=Math.imul(V,ne))+Math.imul(W,ie)|0,s=Math.imul(W,ne),n=n+Math.imul(R,se)|0,r=(r=r+Math.imul(R,ae)|0)+Math.imul(j,se)|0,s=s+Math.imul(j,ae)|0,n=n+Math.imul(O,ce)|0,r=(r=r+Math.imul(O,le)|0)+Math.imul(P,ce)|0,s=s+Math.imul(P,le)|0,n=n+Math.imul(T,ue)|0,r=(r=r+Math.imul(T,he)|0)+Math.imul(E,ue)|0,s=s+Math.imul(E,he)|0;var Ee=(l+(n=n+Math.imul(M,pe)|0)|0)+((8191&(r=(r=r+Math.imul(M,me)|0)+Math.imul(D,pe)|0))<<13)|0;l=((s=s+Math.imul(D,me)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(V,se),r=(r=Math.imul(V,ae))+Math.imul(W,se)|0,s=Math.imul(W,ae),n=n+Math.imul(R,ce)|0,r=(r=r+Math.imul(R,le)|0)+Math.imul(j,ce)|0,s=s+Math.imul(j,le)|0,n=n+Math.imul(O,ue)|0,r=(r=r+Math.imul(O,he)|0)+Math.imul(P,ue)|0,s=s+Math.imul(P,he)|0;var Ae=(l+(n=n+Math.imul(T,pe)|0)|0)+((8191&(r=(r=r+Math.imul(T,me)|0)+Math.imul(E,pe)|0))<<13)|0;l=((s=s+Math.imul(E,me)|0)+(r>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(V,ce),r=(r=Math.imul(V,le))+Math.imul(W,ce)|0,s=Math.imul(W,le),n=n+Math.imul(R,ue)|0,r=(r=r+Math.imul(R,he)|0)+Math.imul(j,ue)|0,s=s+Math.imul(j,he)|0;var Oe=(l+(n=n+Math.imul(O,pe)|0)|0)+((8191&(r=(r=r+Math.imul(O,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((s=s+Math.imul(P,me)|0)+(r>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(V,ue),r=(r=Math.imul(V,he))+Math.imul(W,ue)|0,s=Math.imul(W,he);var Pe=(l+(n=n+Math.imul(R,pe)|0)|0)+((8191&(r=(r=r+Math.imul(R,me)|0)+Math.imul(j,pe)|0))<<13)|0;l=((s=s+Math.imul(j,me)|0)+(r>>>13)|0)+(Pe>>>26)|0,Pe&=67108863;var Ie=(l+(n=Math.imul(V,pe))|0)+((8191&(r=(r=Math.imul(V,me))+Math.imul(W,pe)|0))<<13)|0;return l=((s=Math.imul(W,me))+(r>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,c[0]=_e,c[1]=be,c[2]=ge,c[3]=ye,c[4]=ve,c[5]=we,c[6]=Ce,c[7]=Se,c[8]=ke,c[9]=xe,c[10]=Me,c[11]=De,c[12]=Le,c[13]=Te,c[14]=Ee,c[15]=Ae,c[16]=Oe,c[17]=Pe,c[18]=Ie,0!==l&&(c[19]=l,i.length++),i};function p(e,t,i){return(new m).mulp(e,t,i)}function m(e,t){this.x=e,this.y=t}Math.imul||(f=h),s.prototype.mulTo=function(e,t){var i=this.length+e.length;return 10===this.length&&10===e.length?f(this,e,t):i<63?h(this,e,t):i<1024?function(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,s=0;s>>26)|0)>>>26,a&=67108863}i.words[s]=o,n=a,a=r}return 0!==n?i.words[s]=n:i.length--,i.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),i=s.prototype._countBits(e)-1,n=0;n>=1;return n},m.prototype.permute=function(e,t,i,n,r,s){for(var a=0;a>>=1)r++;return 1<>>=13),s>>>=13;for(a=2*t;a>=26,t+=r/67108864|0,t+=s>>>26,this.words[i]=67108863&s}return 0!==t&&(this.words[i]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),i=0;i>>n}return t}(e);if(0===t.length)return new s(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,s=67108863>>>26-i<<26-i;if(0!==i){var a=0;for(t=0;t>>26-i}a&&(this.words[t]=a,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var s=e%26,a=Math.min((e-s)/26,this.length),o=67108863^67108863>>>s<a)for(this.length-=a,l=0;l=0&&(0!==d||l>=r);l--){var u=0|this.words[l];this.words[l]=d<<26-s|u>>>s,d=u&o}return c&&0!==d&&(c.words[c.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26;return!(this.length<=i||!(this.words[i]&1<=0);var t=e%26,i=(e-t)/26;return n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i?this:(0!==t&&i++,this.length=Math.min(i,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(o/67108864|0),this.words[r+i]=67108863&s}for(;r>26,this.words[r+i]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,r=0;r>26,this.words[r]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var i,n=this.clone(),r=e,a=0|r.words[r.length-1];0!=(i=26-this._countBits(a))&&(r=r.ushln(i),n.iushln(i),a=0|r.words[r.length-1]);var o,c=n.length-r.length;if("mod"!==t){(o=new s(null)).length=c+1,o.words=new Array(o.length);for(var l=0;l=0;u--){var h=67108864*(0|n.words[r.length+u])+(0|n.words[r.length+u-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(r,h,u);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(r,1,u),n.isZero()||(n.negative^=1);o&&(o.words[u]=h)}return o&&o.strip(),n.strip(),"div"!==t&&0!==i&&n.iushrn(i),{div:o||null,mod:n}},s.prototype.divmod=function(e,t,i){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(a=o.mod.neg(),i&&0!==a.negative&&a.iadd(e)),{div:r,mod:a}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):0!=(this.negative&e.negative)?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(a=o.mod.neg(),i&&0!==a.negative&&a.isub(e)),{div:o.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var r,a,o},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),s=i.cmp(n);return s<0||1===r&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*t;this.words[i]=r/e|0,t=r%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new s(1),a=new s(0),o=new s(0),c=new s(1),l=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++l;for(var d=i.clone(),u=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||a.isOdd())&&(r.iadd(d),a.isub(u)),r.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(i.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(i.iushrn(p);p-- >0;)(o.isOdd()||c.isOdd())&&(o.iadd(d),c.isub(u)),o.iushrn(1),c.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),a.isub(c)):(i.isub(t),o.isub(r),c.isub(a))}return{a:o,b:c,gcd:i.iushln(l)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,a=new s(1),o=new s(0),c=i.clone();t.cmpn(1)>0&&i.cmpn(1)>0;){for(var l=0,d=1;0==(t.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var u=0,h=1;0==(i.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(i.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);t.cmp(i)>=0?(t.isub(i),a.isub(o)):(i.isub(t),o.isub(a))}return(r=0===t.cmpn(1)?a:o).cmpn(0)<0&&r.iadd(e),r},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var s=t;t=i,i=s}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,this.words[a]=o&=67108863}return 0!==s&&(this.words[a]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new C(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}b.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,i=e;do{this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?i.isub(this.p):i.strip(),i},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},r(g,b),g.prototype.split=function(e,t){for(var i=Math.min(e.length,9),n=0;n>>22,r=s}e.words[n-10]=r>>>=22,e.length-=0===r&&e.length>10?10:9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new y;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return _[e]=t,t},C.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},C.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return i.cmpn(0)<0&&i.iadd(this.m),i},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new s(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),a=0;!r.isZero()&&0===r.andln(1);)a++,r.iushrn(1);n(!r.isZero());var o=new s(1).toRed(this),c=o.redNeg(),l=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new s(2*d*d).toRed(this);0!==this.pow(d,l).cmp(c);)d.redIAdd(c);for(var u=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=a;0!==f.cmp(o);){for(var m=f,_=0;0!==m.cmp(o);_++)m=m.redSqr();n(_=0;n--){for(var l=t.words[n],d=c-1;d>=0;d--){var u=l>>d&1;r!==i[0]&&(r=this.sqr(r)),0!==u||0!==a?(a<<=1,a|=u,(4==++o||0===n&&0===d)&&(r=this.mul(r,i[a]),o=0,a=0)):o=0}c=26}return r},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new S(e)},r(S,C),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):r.cmpn(0)<0&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,i("2pl3")(e))},Oaa7:function(e,t,i){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},Ob0Z:function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(e,t,i,n){var r="";if(t)switch(i){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i("wd/R"))},OfWw:function(e,t,i){var n=i("hwdV").Buffer;function r(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,i=new Array(t),r=0;r>>24]^d[p>>>16&255]^u[m>>>8&255]^h[255&_]^t[b++],a=l[p>>>24]^d[m>>>16&255]^u[_>>>8&255]^h[255&f]^t[b++],o=l[m>>>24]^d[_>>>16&255]^u[f>>>8&255]^h[255&p]^t[b++],c=l[_>>>24]^d[f>>>16&255]^u[p>>>8&255]^h[255&m]^t[b++],f=s,p=a,m=o,_=c;return s=(n[f>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&_])^t[b++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[_>>>8&255]<<8|n[255&f])^t[b++],o=(n[m>>>24]<<24|n[_>>>16&255]<<16|n[f>>>8&255]<<8|n[255&p])^t[b++],c=(n[_>>>24]<<24|n[f>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^t[b++],[s>>>=0,a>>>=0,o>>>=0,c>>>=0]}var o=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var i=[],n=[],r=[[],[],[],[]],s=[[],[],[],[]],a=0,o=0,c=0;c<256;++c){var l=o^o<<1^o<<2^o<<3^o<<4;i[a]=l=l>>>8^255&l^99,n[l]=a;var d=e[a],u=e[d],h=e[u],f=257*e[l]^16843008*l;r[0][a]=f<<24|f>>>8,r[1][a]=f<<16|f>>>16,r[2][a]=f<<8|f>>>24,r[3][a]=f,s[0][l]=(f=16843009*h^65537*u^257*d^16843008*a)<<24|f>>>8,s[1][l]=f<<16|f>>>16,s[2][l]=f<<8|f>>>24,s[3][l]=f,0===a?a=o=1:(a=d^e[e[e[h^d]]],o^=e[e[o]])}return{SBOX:i,INV_SBOX:n,SUB_MIX:r,INV_SUB_MIX:s}}();function l(e){this._key=r(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,i=t+6,n=4*(i+1),r=[],s=0;s>>24)>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=o[s/t|0]<<24):t>6&&s%t==4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),r[s]=r[s-t]^a}for(var l=[],d=0;d>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=i,this._keySchedule=r,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return a(e=r(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),i=n.allocUnsafe(16);return i.writeUInt32BE(t[0],0),i.writeUInt32BE(t[1],4),i.writeUInt32BE(t[2],8),i.writeUInt32BE(t[3],12),i},l.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var i=a(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),s=n.allocUnsafe(16);return s.writeUInt32BE(i[0],0),s.writeUInt32BE(i[3],4),s.writeUInt32BE(i[2],8),s.writeUInt32BE(i[1],12),s},l.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},e.exports.AES=l},OjkT:function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,i){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i("wd/R"))},Onz0:function(e,t,i){(function(e){function i(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===i(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===i(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===i(e)},t.isError=function(e){return"[object Error]"===i(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,i("tjlA").Buffer)},Oxv6:function(e,t,i){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},P2KE:function(e,t,i){var n=i("hwdV").Buffer,r=n.alloc(16,0);function s(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,i&&(n[0]=n[0]^225<<24)}this.state=s(r)},a.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,r],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=a},P7XM:function(e,t){e.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}},PA2r:function(e,t,i){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?r+(s(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?r+(s(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?r+(s(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?r+(s(e)?"dny":"dn\xed"):r+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?r+(s(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?r+(s(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_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\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},PVpz:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.StreamCipher,i=[],r=[],s=[],a=e.algo.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)o.call(this);for(r=0;r<8;r++)n[r]^=i[r+4&7];if(t){var s=t.words,a=s[0],c=s[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=l>>>16|4294901760&d,h=d<<16|65535&l;for(n[0]^=l,n[1]^=u,n[2]^=d,n[3]^=h,n[4]^=l,n[5]^=u,n[6]^=d,n[7]^=h,r=0;r<4;r++)o.call(this)}},_doProcessBlock:function(e,t){var n=this._X;o.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function o(){for(var e=this._X,t=this._C,i=0;i<8;i++)r[i]=t[i];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,i=0;i<8;i++){var n=e[i]+t[i],a=65535&n,o=n>>>16;s[i]=((a*a>>>17)+a*o>>>15)+o*o^((4294901760&n)*n|0)+((65535&n)*n|0)}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(a)}(),n.RabbitLegacy)},"Pa+m":function(e,t,i){"use strict";var n=i("86MQ"),r=i("OZ/i"),s=i("P7XM"),a=i("6lN/"),o=n.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new r(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,i,n,s){a.BasePoint.call(this,e,"projective"),null===t&&null===i&&null===n?(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 r(t,16),this.y=new r(i,16),this.z=n?new r(n,16):this.curve.one,this.t=s&&new r(s,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()))))}s(c,a),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,i,n){return this.point(e,t,i,n)},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr(),n=this.c2.redSub(this.a.redMul(i)),s=this.one.redSub(this.c2.redMul(this.d).redMul(i)),a=n.redMul(s.redInvm()),o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=o.fromRed().isOdd();return(t&&!c||!t&&c)&&(o=o.redNeg()),this.point(e,o)},c.prototype.pointFromY=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr(),n=i.redSub(this.c2),s=i.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(s.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return o.fromRed().isOdd()!==t&&(o=o.redNeg()),this.point(o,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),i=e.y.redSqr(),n=t.redMul(this.a).redAdd(i),r=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(i)));return 0===n.cmp(r)},s(l,a.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,i,n){return new l(this,e,t,i,n)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),i=this.z.redSqr();i=i.redIAdd(i);var n=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=n.redAdd(t),a=s.redSub(i),o=n.redSub(t),c=r.redMul(a),l=s.redMul(o),d=r.redMul(o),u=a.redMul(s);return this.curve.point(c,l,u,d)},l.prototype._projDbl=function(){var e,t,i,n=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var a=(l=this.curve._mulA(r)).redAdd(s);if(this.zOne)e=n.redSub(r).redSub(s).redMul(a.redSub(this.curve.two)),t=a.redMul(l.redSub(s)),i=a.redSqr().redSub(a).redSub(a);else{var o=this.z.redSqr(),c=a.redSub(o).redISub(o);e=n.redSub(r).redISub(s).redMul(c),t=a.redMul(l.redSub(s)),i=a.redMul(c)}}else{var l=r.redAdd(s);o=this.curve._mulC(this.z).redSqr(),c=l.redSub(o).redSub(o),e=this.curve._mulC(n.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(r.redISub(s)),i=l.redMul(c)}return this.curve.point(e,t,i)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),i=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),s=i.redSub(t),a=r.redSub(n),o=r.redAdd(n),c=i.redAdd(t),l=s.redMul(a),d=o.redMul(c),u=s.redMul(c),h=a.redMul(o);return this.curve.point(l,d,h,u)},l.prototype._projAdd=function(e){var t,i,n=this.z.redMul(e.z),r=n.redSqr(),s=this.x.redMul(e.x),a=this.y.redMul(e.y),o=this.curve.d.redMul(s).redMul(a),c=r.redSub(o),l=r.redAdd(o),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(a),u=n.redMul(c).redMul(d);return this.curve.twisted?(t=n.redMul(l).redMul(a.redSub(this.curve._mulA(s))),i=c.redMul(l)):(t=n.redMul(l).redMul(a.redSub(s)),i=this.curve._mulC(c).redMul(l)),this.curve.point(u,t,i)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!1)},l.prototype.jmulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var i=e.clone(),n=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},PeUW:function(e,t,i){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".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:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,i){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t?e:"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(i("wd/R"))},PpIw:function(e,t,i){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i("wd/R"))},QAZZ:function(e,t,i){var n=i("Rb7d");function r(e,t){var i=e.a/255,n=t+'="'+e.hex+'"';return i<1?n+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':n}function s(e,t,i){var n=e+t;return void 0!==i&&(n+=" "+i),n}t.render=function(e,t,i){var a=n.getOptions(t),o=e.modules.size,c=e.modules.data,l=o+2*a.margin,d=a.color.light.a?"':"",u="0&&l>0&&e[c-1]||(n+=a?s("M",l+i,.5+d+i):s("m",r,0),r=0,a=!1),l+1',h=''+d+u+"\n";return"function"==typeof i&&i(null,h),h}},QJsb:function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},QRH4:function(e,t,i){"use strict";var n=i("f3pb");t.certificate=i("VrUr");var r=n.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())}));t.RSAPrivateKey=r;var s=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=s;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var o=n.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())})),c=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var l=n.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())}));t.EncryptedPrivateKey=l;var d=n.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())}));t.DSAPrivateKey=d,t.DSAparam=n.define("DSAparam",(function(){this.int()}));var u=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=u;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"QTa/":function(e,t,i){"use strict";var n=t;n.base=i("6lN/"),n.short=i("MwBp"),n.mont=i("Z2+3"),n.edwards=i("Pa+m")},QUaw:function(e,t,i){var n=i("Rb7d");t.render=function(e,t,i){var r=i,s=t;void 0!==r||t&&t.getContext||(r=t,t=void 0),t||(s=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),r=n.getOptions(r);var a=n.getImageWidth(e.modules.size,r),o=s.getContext("2d"),c=o.createImageData(a,a);return n.qrToImageData(c.data,e,r),function(e,t,i){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=i,t.width=i,t.style.height=i+"px",t.style.width=i+"px"}(o,s,a),o.putImageData(c,0,0),s},t.renderToDataURL=function(e,i,n){var r=n;return void 0!==r||i&&i.getContext||(r=i,i=void 0),r||(r={}),t.render(e,i,r).toDataURL(r.type||"image/png",(r.rendererOpts||{}).quality)}},"Qd/k":function(e,t,i){var n=t;n.Reporter=i("0cit").Reporter,n.DecoderBuffer=i("YoN+").DecoderBuffer,n.EncoderBuffer=i("YoN+").EncoderBuffer,n.Node=i("g2Dh")},QihY:function(e,t,i){var n=i("gvAe"),r=i("hwdV").Buffer,s=i("usKN"),a=i("CfXC"),o=i("ZDAU"),c=i("OfWw"),l=i("roQf");function d(e,t,i){o.call(this),this._cache=new u,this._last=void 0,this._cipher=new c.AES(t),this._prev=r.from(i),this._mode=e,this._autopadding=!0}function u(){this.cache=r.allocUnsafe(0)}function h(e,t,i){var o=s[e.toLowerCase()];if(!o)throw new TypeError("invalid suite type");if("string"==typeof i&&(i=r.from(i)),"GCM"!==o.mode&&i.length!==o.iv)throw new TypeError("invalid iv length "+i.length);if("string"==typeof t&&(t=r.from(t)),t.length!==o.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===o.type?new a(o.module,t,i,!0):"auth"===o.type?new n(o.module,t,i,!0):new d(o.module,t,i)}i("P7XM")(d,o),d.prototype._update=function(e){var t,i;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)i=this._mode.decrypt(this,t),n.push(i);return r.concat(n)},d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var i=-1;++i16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var i=s[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");var n=l(t,!1,i.key,i.iv);return h(e,n.key,n.iv)},t.createDecipheriv=h},Qj4J:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(i("wd/R"))},QpuX:function(e,t,i){e.exports=i("+qE3").EventEmitter},R0Ic:function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"d",(function(){return b})),i.d(t,"e",(function(){return o})),i.d(t,"f",(function(){return p})),i.d(t,"g",(function(){return c})),i.d(t,"h",(function(){return h})),i.d(t,"i",(function(){return m})),i.d(t,"j",(function(){return l})),i.d(t,"k",(function(){return u})),i.d(t,"l",(function(){return d})),i.d(t,"m",(function(){return f})),i.d(t,"n",(function(){return a})),i.d(t,"o",(function(){return g})),i.d(t,"p",(function(){return y}));class n{}class r{}const s="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function o(e,t=null){return{type:4,styles:t,timings:e}}function c(e,t=null){return{type:3,steps:e,options:t}}function l(e,t=null){return{type:2,steps:e,options:t}}function d(e){return{type:6,styles:e,offset:null}}function u(e,t,i){return{type:0,name:e,styles:t,options:i}}function h(e){return{type:5,steps:e}}function f(e,t,i=null){return{type:1,expr:e,animation:t,options:i}}function p(e=null){return{type:9,options:e}}function m(e,t,i=null){return{type:11,selector:e,animation:t,options:i}}function _(e){Promise.resolve(null).then(e)}class b{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){_(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class g{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,n=0;const r=this.players.length;0==r?_(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++i==r&&this._onDestroy()}),e.onStart(()=>{++n==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const i=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(i)})}getPosition(){let e=0;return this.players.forEach(t=>{const i=t.getPosition();e=Math.min(i,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const y="!"},RAwQ:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[i][0]:r[i][1]}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_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\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_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\xebschter 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(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},RKMU:function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ"),s=r.assert,a=r.cachedProperty,o=r.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=o(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},Rb7d:function(e,t){function i(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var i=parseInt(t.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:255&i,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=e.width&&e.width>=21?e.width:void 0;return{width:t,scale:t?4:e.scale||4,margin:null==e.margin||e.margin<0?4:e.margin,color:{dark:i(e.color.dark||"#000000ff"),light:i(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,i){var n=t.getScale(e,i);return Math.floor((e+2*i.margin)*n)},t.qrToImageData=function(e,i,n){for(var r=i.modules.size,s=i.modules.data,a=t.getScale(r,n),o=Math.floor((r+2*n.margin)*a),c=n.margin*a,l=[n.color.light,n.color.dark],d=0;d=c&&u>=c&&d=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},SatO:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wd/R"))},SeVD:function(e,t,i){"use strict";var n=i("ngJS"),r=i("NJ4a"),s=i("Lhse"),a=i("kJWO"),o=i("I55L"),c=i("c2HN"),l=i("XoHu");i.d(t,"a",(function(){return d}));const d=e=>{if(e&&"function"==typeof e[a.a])return d=e,e=>{const t=d[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(o.a)(e))return Object(n.a)(e);if(Object(c.a)(e))return i=e,e=>(i.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[s.a])return t=e,e=>{const i=t[s.a]();for(;;){const t=i.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof i.return&&e.add(()=>{i.return&&i.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}var t,i,d}},SpAZ:function(e,t,i){"use strict";function n(e){return e}i.d(t,"a",(function(){return n}))},StGT:function(e,t,i){var n=i("tjlA"),r=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function a(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),a.prototype=Object.create(r.prototype),s(r,a),a.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},T9HO:function(e,t,i){var n=i("P7XM"),r=i("tnIz"),s=i("hwdV").Buffer,a=[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],o=new Array(160);function c(){this.init(),this._w=o,r.call(this,128,112)}function l(e,t,i){return i^e&(t^i)}function d(e,t,i){return e&t|i&(e|t)}function u(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function _(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return e>>>0>>0?1:0}n(c,r),c.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},c.prototype._update=function(e){for(var t=this._w,i=0|this._ah,n=0|this._bh,r=0|this._ch,s=0|this._dh,o=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,v=0|this._al,w=0|this._bl,C=0|this._cl,S=0|this._dl,k=0|this._el,x=0|this._fl,M=0|this._gl,D=0|this._hl,L=0;L<32;L+=2)t[L]=e.readInt32BE(4*L),t[L+1]=e.readInt32BE(4*L+4);for(;L<160;L+=2){var T=t[L-30],E=t[L-30+1],A=f(T,E),O=p(E,T),P=m(T=t[L-4],E=t[L-4+1]),I=_(E,T),R=t[L-32],j=t[L-32+1],Y=O+t[L-14+1]|0,V=A+t[L-14]+b(Y,O)|0;V=(V=V+P+b(Y=Y+I|0,I)|0)+R+b(Y=Y+j|0,j)|0,t[L]=V,t[L+1]=Y}for(var W=0;W<160;W+=2){V=t[W],Y=t[W+1];var F=d(i,n,r),H=d(v,w,C),B=u(i,v),z=u(v,i),N=h(o,k),U=h(k,o),q=a[W],$=a[W+1],J=l(o,c,g),K=l(k,x,M),G=D+U|0,Z=y+N+b(G,D)|0;Z=(Z=(Z=Z+J+b(G=G+K|0,K)|0)+q+b(G=G+$|0,$)|0)+V+b(G=G+Y|0,Y)|0;var X=z+H|0,Q=B+F+b(X,z)|0;y=g,D=M,g=c,M=x,c=o,x=k,o=s+Z+b(k=S+G|0,S)|0,s=r,S=C,r=n,C=w,n=i,w=v,i=Z+Q+b(v=G+X|0,G)|0}this._al=this._al+v|0,this._bl=this._bl+w|0,this._cl=this._cl+C|0,this._dl=this._dl+S|0,this._el=this._el+k|0,this._fl=this._fl+x|0,this._gl=this._gl+M|0,this._hl=this._hl+D|0,this._ah=this._ah+i+b(this._al,v)|0,this._bh=this._bh+n+b(this._bl,w)|0,this._ch=this._ch+r+b(this._cl,C)|0,this._dh=this._dh+s+b(this._dl,S)|0,this._eh=this._eh+o+b(this._el,k)|0,this._fh=this._fh+c+b(this._fl,x)|0,this._gh=this._gh+g+b(this._gl,M)|0,this._hh=this._hh+y+b(this._hl,D)|0},c.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},TdD3:function(e,t,i){var n=/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,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,s=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,a=i("roQf"),o=i("/ab2"),c=i("hwdV").Buffer;e.exports=function(e,t){var i,l=e.toString(),d=l.match(n);if(d){var u="aes"+d[1],h=c.from(d[2],"hex"),f=c.from(d[3].replace(/[\r\n]/g,""),"base64"),p=a(t,h.slice(0,8),parseInt(d[1],10)).key,m=[],_=o.createDecipheriv(u,p,h);m.push(_.update(f)),m.push(_.final()),i=c.concat(m)}else{var b=l.match(s);i=new c(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(r)[1],data:i}}},Titl:function(e,t,i){"use strict";var n=i("2j6C"),r=i("P7XM"),s=i("Xudb"),a=i("AYSA");function o(){this.tmp=new Array(2),this.keys=null}function c(e){a.call(this,e);var t=new o;this._desState=t,this.deriveKeys(t,e.key)}r(c,a),e.exports=c,c.create=function(e){return new c(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var i=s.readUInt32BE(t,0),r=s.readUInt32BE(t,4);s.pc1(i,r,e.tmp,0),i=e.tmp[0],r=e.tmp[1];for(var a=0;a>>1];i=s.r28shl(i,o),r=s.r28shl(r,o),s.pc2(i,r,e.keys,a)}},c.prototype._update=function(e,t,i,n){var r=this._desState,a=s.readUInt32BE(e,t),o=s.readUInt32BE(e,t+4);s.ip(a,o,r.tmp,0),a=r.tmp[0],o=r.tmp[1],"encrypt"===this.type?this._encrypt(r,a,o,r.tmp,0):this._decrypt(r,a,o,r.tmp,0),o=r.tmp[1],s.writeUInt32BE(i,a=r.tmp[0],n),s.writeUInt32BE(i,o,n+4)},c.prototype._pad=function(e,t){for(var i=e.length-t,n=t;n>>0,a=h}s.rip(o,a,n,r)},c.prototype._decrypt=function(e,t,i,n,r){for(var a=i,o=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],d=e.keys[c+1];s.expand(a,e.tmp,0);var u=s.substitute(l^=e.tmp[0],d^=e.tmp[1]),h=a;a=(o^s.permute(u))>>>0,o=h}s.rip(a,o,n,r)}},UDhR:function(e,t,i){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},URgk:function(e,t,i){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(r.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new s(r.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},i("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,i("aWmh"))},USCx:function(e,t,i){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wd/R"))},UWVS:function(e,t,i){(function(e){var n=i("jIre");function r(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,i){for(;t._cache.length>a%8,e._prev=s(e._prev,i?n:r);return o}function s(e,t){var i=e.length,r=-1,s=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++r>7;return s}t.encrypt=function(e,t,i){for(var s=t.length,a=n.allocUnsafe(s),o=-1;++o=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i("wd/R"))},V2x9:function(e,t,i){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},V35J:function(e,t,i){var n=i("Wogr");function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}r.prototype.set=function(e,t,i,n){var r=e*this.size+t;this.data[r]=i,n&&(this.reservedBit[r]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=r},VRyK:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("HDdC"),r=i("z+Ro"),s=i("bHdf"),a=i("yCtX");function o(...e){let t=Number.POSITIVE_INFINITY,i=null,o=e[e.length-1];return Object(r.a)(o)?(i=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof o&&(t=e.pop()),null===i&&1===e.length&&e[0]instanceof n.a?e[0]:Object(s.a)(t)(Object(a.a)(e,i))}},Vclq:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i("wd/R"))},Vh22:function(e,t,i){(function(t){var n=i("OZ/i"),r=new(i("ehAg")),s=new n(24),a=new n(11),o=new n(10),c=new n(3),l=new n(7),d=i("WKKt"),u=i("Edxu");function h(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this._pub=new n(e),this}function f(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this._priv=new n(e),this}e.exports=m;var p={};function m(e,t,i){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,i?(this.setPublicKey=h,this.setPrivateKey=f):this._primeCode=8}function _(e,i){var n=new t(e.toArray());return i?n.toString(i):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var i=t.toString("hex"),n=[i,e.toString(16)].join("_");if(n in p)return p[n];var u,h=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!r.test(e))return h+=1,p[n]=h+="02"===i||"05"===i?8:4,h;switch(r.test(e.shrn(1))||(h+=2),i){case"02":e.mod(s).cmp(a)&&(h+=8);break;case"05":(u=e.mod(o)).cmp(c)&&u.cmp(l)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(u(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var i=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new t(i.toArray()),s=this.getPrime();if(r.lengthe;)i.ishrn(1);if(i.isEven()&&i.iadd(o),i.testn(1)||i.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;i.mod(d).cmp(u);)i.iadd(f)}else for(;i.mod(s).cmp(h);)i.iadd(f);if(_(p=i.shrn(1))&&_(i)&&b(p)&&b(i)&&a.test(p)&&a.test(i))return i}}},WRkp:function(e,t,i){"use strict";t.sha1=i("E+IA"),t.sha224=i("B/J0"),t.sha256=i("bu2F"),t.sha384=i("i5UE"),t.sha512=i("tSWc")},WYAk:function(e,t,i){var n,r;e.exports=(n=i("Ib8C"),r=n.enc.Utf8,void(n.algo.HMAC=n.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var i=e.blockSize,n=4*i;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),a=this._iKey=t.clone(),o=s.words,c=a.words,l=0;l=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function o(e,t){var i;return s.TYPED_ARRAY_SUPPORT?(i=new Uint8Array(t)).__proto__=s.prototype:(null===(i=e)&&(i=new s(t)),i.length=t),i}function c(e,t){var i=o(e,t<0?0:0|a(t));if(!s.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&s.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&s.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;s.push(i)}else if(i<2048){if((t-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}function u(e){return s.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:d(e).length)}s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),s.prototype.write=function(e,t,i){void 0===t?(i=this.length,t=0):void 0===i&&"string"==typeof t?(i=this.length,t=0):isFinite(t)&&(t|=0,isFinite(i)?i|=0:i=void 0);var n=this.length-t;if((void 0===i||i>n)&&(i=n),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,i,n){return function(e,t,i,n){for(var r=0;r=t.length||r>=e.length);++r)t[r+i]=e[r];return r}(d(t,e.length-i),e,i,n)}(this,e,t,i)},s.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--r)e[r+t]=this[r+i];else if(a<1e3||!s.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(r=t;r=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i("wd/R"))},XLvN:function(e,t,i){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".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:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i("wd/R"))},XNiG:function(e,t,i){"use strict";i.d(t,"b",(function(){return l})),i.d(t,"a",(function(){return d}));var n=i("HDdC"),r=i("7o/Q"),s=i("quSY"),a=i("9ppp"),o=i("Ylt2"),c=i("2QA8");class l extends r.a{constructor(e){super(e),this.destination=e}}let d=(()=>{class e extends n.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new u(this,this);return t.operator=e,t}next(e){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:t}=this,i=t.length,n=t.slice();for(let r=0;rnew u(e,t),e})();class u extends d{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):s.a.EMPTY}}},Xhqo:function(e,t,i){"use strict";var n=i("hwdV").Buffer;e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,i=""+t.data;t=t.next;)i+=e+t.data;return i},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t=n.allocUnsafe(e>>>0),i=this.head,r=0;i;)i.data.copy(t,r),r+=i.data.length,i=i.next;return t},e}()},XoHu:function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e}i.d(t,"a",(function(){return n}))},Xudb:function(e,t,i){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,i){e[0+i]=t>>>24,e[1+i]=t>>>16&255,e[2+i]=t>>>8&255,e[3+i]=255&t},t.ip=function(e,t,i,n){for(var r=0,s=0,a=6;a>=0;a-=2){for(var o=0;o<=24;o+=8)r<<=1,r|=t>>>o+a&1;for(o=0;o<=24;o+=8)r<<=1,r|=e>>>o+a&1}for(a=6;a>=0;a-=2){for(o=1;o<=25;o+=8)s<<=1,s|=t>>>o+a&1;for(o=1;o<=25;o+=8)s<<=1,s|=e>>>o+a&1}i[n+0]=r>>>0,i[n+1]=s>>>0},t.rip=function(e,t,i,n){for(var r=0,s=0,a=0;a<4;a++)for(var o=24;o>=0;o-=8)r<<=1,r|=t>>>o+a&1,r<<=1,r|=e>>>o+a&1;for(a=4;a<8;a++)for(o=24;o>=0;o-=8)s<<=1,s|=t>>>o+a&1,s<<=1,s|=e>>>o+a&1;i[n+0]=r>>>0,i[n+1]=s>>>0},t.pc1=function(e,t,i,n){for(var r=0,s=0,a=7;a>=5;a--){for(var o=0;o<=24;o+=8)r<<=1,r|=t>>o+a&1;for(o=0;o<=24;o+=8)r<<=1,r|=e>>o+a&1}for(o=0;o<=24;o+=8)r<<=1,r|=t>>o+a&1;for(a=1;a<=3;a++){for(o=0;o<=24;o+=8)s<<=1,s|=t>>o+a&1;for(o=0;o<=24;o+=8)s<<=1,s|=e>>o+a&1}for(o=0;o<=24;o+=8)s<<=1,s|=e>>o+a&1;i[n+0]=r>>>0,i[n+1]=s>>>0},t.r28shl=function(e,t){return e<>>28-t};var n=[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];t.pc2=function(e,t,i,r){for(var s=0,a=0,o=n.length>>>1,c=0;c>>n[c]&1;for(c=o;c>>n[c]&1;i[r+0]=s>>>0,i[r+1]=a>>>0},t.expand=function(e,t,i){var n=0,r=0;n=(1&e)<<5|e>>>27;for(var s=23;s>=15;s-=4)n<<=6,n|=e>>>s&63;for(s=11;s>=3;s-=4)r|=e>>>s&63,r<<=6;r|=(31&e)<<1|e>>>31,t[i+0]=n>>>0,t[i+1]=r>>>0};var r=[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];t.substitute=function(e,t){for(var i=0,n=0;n<4;n++)i<<=4,i|=r[64*n+(e>>>18-6*n&63)];for(n=0;n<4;n++)i<<=4,i|=r[256+64*n+(t>>>18-6*n&63)];return i>>>0};var s=[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];t.permute=function(e){for(var t=0,i=0;i>>s[i]&1;return t>>>0},t.padSplit=function(e,t,i){for(var n=e.toString(2);n.length=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i("wd/R"))},Ylt2:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("quSY");class r extends n.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}},"YoN+":function(e,t,i){var n=i("P7XM"),r=i("Qd/k").Reporter,s=i("tjlA").Buffer;function a(e,t){r.call(this,t),s.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function o(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof o||(e=new o(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=s.byteLength(e);else{if(!s.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(a,r),t.DecoderBuffer=a,a.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var i=new a(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+e,this.offset+=e,i},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=o,o.prototype.join=function(e,t){return e||(e=new s(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach((function(i){i.join(e,t),t+=i.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):s.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},YskG:function(e,t,i){var n=i("hwdV").Buffer;function r(e,t,i){var r=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([i?t:r])]),r}t.encrypt=function(e,t,i){for(var s=t.length,a=n.allocUnsafe(s),o=-1;++o":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),i=e.redSub(t),n=e.redMul(t),r=i.redMul(t.redAdd(this.curve.a24.redMul(i)));return this.curve.point(n,r)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var i=this.x.redAdd(this.z),n=this.x.redSub(this.z),r=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(i),a=r.redMul(n),o=t.z.redMul(s.redAdd(a).redSqr()),c=t.x.redMul(s.redISub(a).redSqr());return this.curve.point(o,c)},c.prototype.mul=function(e){for(var t=e.clone(),i=this,n=this.curve.point(null,null),r=[];0!==t.cmpn(0);t.iushrn(1))r.push(t.andln(1));for(var s=r.length-1;s>=0;s--)0===r[s]?(i=i.diffAdd(n,this),n=n.dbl()):(n=i.diffAdd(n,this),i=i.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},Z4QM:function(e,t,i){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i("wd/R"))},Z92M:function(e,t){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},ZAMP:function(e,t,i){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},ZDAU:function(e,t,i){var n=i("hwdV").Buffer,r=i("1IWx").Transform,s=i("fXKp").StringDecoder;function a(e){r.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}i("P7XM")(a,r),a.prototype.update=function(e,t,i){"string"==typeof e&&(e=n.from(e,t));var r=this._update(e);return this.hashMode?this:(i&&(r=this._toString(r,i)),r)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,i){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(r){n=r}finally{i(n)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(i){t=i}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,i){if(this._decoder||(this._decoder=new s(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return i&&(n+=this._decoder.end()),n},e.exports=a},ZEK9:function(e,t,i){t.publicEncrypt=i("rSVQ"),t.privateDecrypt=i("DyzK"),t.privateEncrypt=function(e,i){return t.publicEncrypt(e,i,!0)},t.publicDecrypt=function(e,i){return t.privateDecrypt(e,i,!0)}},ZUHj:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("51Dv"),r=i("SeVD"),s=i("HDdC");function a(e,t,i,a,o=new n.a(e,i,a)){if(!o.closed)return t instanceof s.a?t.subscribe(o):Object(r.a)(t)(o)}},ZYru:function(e,t,i){var n=i("tjlA"),r=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function a(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),a.prototype=Object.create(r.prototype),s(r,a),a.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},Zduo:function(e,t,i){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,i){return e>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i("wd/R"))},aIdf:function(e,t,i){!function(e){"use strict";function t(e,t,i){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},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\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(i("wd/R"))},aIsn:function(e,t,i){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},aQkU:function(e,t,i){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".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:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wd/R"))},aWmh:function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"==typeof window&&(i=window)}e.exports=i},aZ40:function(e,t,i){var n,r,s=i("Wogr");s.alloc?(n=s.alloc(512),r=s.alloc(256)):(n=new s(512),r=new s(256)),function(){for(var e=1,t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)n[t]=n[t-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},afKu:function(e,t,i){(t=e.exports=function(e){e=e.toLowerCase();var i=t[e];if(!i)throw new Error(e+" is not supported (we accept pull requests)");return new i}).sha=i("CH9F"),t.sha1=i("fnjI"),t.sha224=i("cqoG"),t.sha256=i("olUY"),t.sha384=i("uDfV"),t.sha512=i("T9HO")},"aqI/":function(e,t,i){"use strict";var n=i("fZJM"),r=i("dlgc"),s=i("2j6C");function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=r.toArray(e.entropy,e.entropyEnc||"hex"),i=r.toArray(e.nonce,e.nonceEnc||"hex"),n=r.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,i,n)}e.exports=a,a.prototype._init=function(e,t,i){var n=e.concat(t).concat(i);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1},a.prototype.generate=function(e,t,i,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=i,i=t,t=null),i&&(i=r.toArray(i,n||"hex"),this._update(i));for(var s=[];s.length0&&i.ishrn(n),i}function u(e,i,r){var s,a;do{for(s=new t(0);8*s.length=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},bYM6:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i("wd/R"))},bpih:function(e,t,i){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},bu2F:function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=i("qlaj"),a=i("2j6C"),o=n.sum32,c=n.sum32_4,l=n.sum32_5,d=s.ch32,u=s.maj32,h=s.s0_256,f=s.s1_256,p=s.g0_256,m=s.g1_256,_=r.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;_.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}n.inherits(g,_),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var i=this.W,n=0;n<16;n++)i[n]=e[t+n];for(;n=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},cqoG:function(e,t,i){var n=i("P7XM"),r=i("olUY"),s=i("tnIz"),a=i("hwdV").Buffer,o=new Array(64);function c(){this.init(),this._w=o,s.call(this,64,56)}n(c,r),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},crnd:function(e,t){function i(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}i.keys=function(){return[]},i.resolve=i,e.exports=i,i.id="crnd"},cv67:function(e,t,i){var n;e.exports=(n=i("Ib8C"),function(e){var t=n,i=t.lib,r=i.WordArray,s=i.Hasher,a=t.algo,o=[];!function(){for(var t=0;t<64;t++)o[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=s.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var i=0;i<16;i++){var n=t+i,r=e[n];e[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s=this._hash.words,a=e[t+0],c=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],_=e[t+5],b=e[t+6],g=e[t+7],y=e[t+8],v=e[t+9],w=e[t+10],C=e[t+11],S=e[t+12],k=e[t+13],x=e[t+14],M=e[t+15],D=s[0],L=s[1],T=s[2],E=s[3];D=l(D,L,T,E,a,7,o[0]),E=l(E,D,L,T,c,12,o[1]),T=l(T,E,D,L,f,17,o[2]),L=l(L,T,E,D,p,22,o[3]),D=l(D,L,T,E,m,7,o[4]),E=l(E,D,L,T,_,12,o[5]),T=l(T,E,D,L,b,17,o[6]),L=l(L,T,E,D,g,22,o[7]),D=l(D,L,T,E,y,7,o[8]),E=l(E,D,L,T,v,12,o[9]),T=l(T,E,D,L,w,17,o[10]),L=l(L,T,E,D,C,22,o[11]),D=l(D,L,T,E,S,7,o[12]),E=l(E,D,L,T,k,12,o[13]),T=l(T,E,D,L,x,17,o[14]),D=d(D,L=l(L,T,E,D,M,22,o[15]),T,E,c,5,o[16]),E=d(E,D,L,T,b,9,o[17]),T=d(T,E,D,L,C,14,o[18]),L=d(L,T,E,D,a,20,o[19]),D=d(D,L,T,E,_,5,o[20]),E=d(E,D,L,T,w,9,o[21]),T=d(T,E,D,L,M,14,o[22]),L=d(L,T,E,D,m,20,o[23]),D=d(D,L,T,E,v,5,o[24]),E=d(E,D,L,T,x,9,o[25]),T=d(T,E,D,L,p,14,o[26]),L=d(L,T,E,D,y,20,o[27]),D=d(D,L,T,E,k,5,o[28]),E=d(E,D,L,T,f,9,o[29]),T=d(T,E,D,L,g,14,o[30]),D=u(D,L=d(L,T,E,D,S,20,o[31]),T,E,_,4,o[32]),E=u(E,D,L,T,y,11,o[33]),T=u(T,E,D,L,C,16,o[34]),L=u(L,T,E,D,x,23,o[35]),D=u(D,L,T,E,c,4,o[36]),E=u(E,D,L,T,m,11,o[37]),T=u(T,E,D,L,g,16,o[38]),L=u(L,T,E,D,w,23,o[39]),D=u(D,L,T,E,k,4,o[40]),E=u(E,D,L,T,a,11,o[41]),T=u(T,E,D,L,p,16,o[42]),L=u(L,T,E,D,b,23,o[43]),D=u(D,L,T,E,v,4,o[44]),E=u(E,D,L,T,S,11,o[45]),T=u(T,E,D,L,M,16,o[46]),D=h(D,L=u(L,T,E,D,f,23,o[47]),T,E,a,6,o[48]),E=h(E,D,L,T,g,10,o[49]),T=h(T,E,D,L,x,15,o[50]),L=h(L,T,E,D,_,21,o[51]),D=h(D,L,T,E,S,6,o[52]),E=h(E,D,L,T,p,10,o[53]),T=h(T,E,D,L,w,15,o[54]),L=h(L,T,E,D,c,21,o[55]),D=h(D,L,T,E,y,6,o[56]),E=h(E,D,L,T,M,10,o[57]),T=h(T,E,D,L,b,15,o[58]),L=h(L,T,E,D,k,21,o[59]),D=h(D,L,T,E,m,6,o[60]),E=h(E,D,L,T,C,10,o[61]),T=h(T,E,D,L,f,15,o[62]),L=h(L,T,E,D,v,21,o[63]),s[0]=s[0]+D|0,s[1]=s[1]+L|0,s[2]=s[2]+T|0,s[3]=s[3]+E|0},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;i[r>>>5]|=128<<24-r%32;var s=e.floor(n/4294967296),a=n;i[15+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),i[14+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(i.length+1),this._process();for(var o=this._hash,c=o.words,l=0;l<4;l++){var d=c[l];c[l]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return o},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,i,n,r,s,a){var o=e+(t&i|~t&n)+r+a;return(o<>>32-s)+t}function d(e,t,i,n,r,s,a){var o=e+(t&n|i&~n)+r+a;return(o<>>32-s)+t}function u(e,t,i,n,r,s,a){var o=e+(t^i^n)+r+a;return(o<>>32-s)+t}function h(e,t,i,n,r,s,a){var o=e+(i^(t|~n))+r+a;return(o<>>32-s)+t}t.MD5=s._createHelper(c),t.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5)},czMo:function(e,t,i){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wd/R"))},dNwA:function(e,t,i){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i("wd/R"))},dcwN:function(e,t,i){"use strict";(function(e,n){function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=i("hwdV"),a=i("Edxu"),o=s.Buffer,c=s.kMaxLength,l=e.crypto||e.msCrypto,d=Math.pow(2,32)-1;function u(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>d||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function h(e,t,i){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>d||e<0)throw new TypeError("size must be a uint32");if(e+t>i||e>c)throw new RangeError("buffer too small")}function f(e,t,i,r){if(n.browser){var s=new Uint8Array(e.buffer,t,i);return l.getRandomValues(s),r?void n.nextTick((function(){r(null,e)})):e}if(!r)return a(i).copy(e,t),e;a(i,(function(i,n){if(i)return r(i);n.copy(e,t),r(null,e)}))}l&&l.getRandomValues||!n.browser?(t.randomFill=function(t,i,n,r){if(!(o.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof i)r=i,i=0,n=t.length;else if("function"==typeof n)r=n,n=t.length-i;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return u(i,t.length),h(n,i,t.length),f(t,i,n,r)},t.randomFillSync=function(t,i,n){if(void 0===i&&(i=0),!(o.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return u(i,t.length),void 0===n&&(n=t.length-i),h(n,i,t.length),f(t,i,n)}):(t.randomFill=r,t.randomFillSync=r)}).call(this,i("aWmh"),i("8oxB"))},dlgc:function(e,t,i){"use strict";var n=t;function r(e){return 1===e.length?"0"+e:e}function s(e){for(var t="",i=0;i>8,a=255&r;s?i.push(s,a):i.push(a)}return i},n.zero2=r,n.toHex=s,n.encode=function(e,t){return"hex"===t?s(e):e}},"e+ae":function(e,t,i){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function r(e,t,i,r){var s=e+" ";switch(i){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?s+(n(e)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?s+(n(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(n(e)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?s+(n(e)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(n(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(n(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:i,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_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\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"e/Dd":function(e,t){var i,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');i=e},t.isKanjiModeEnabled=function(){return void 0!==i},t.toSJIS=function(e){return i(e)}},e6BP:function(e,t){function i(){this.buffer=[],this.length=0}i.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var i=0;i>>t-i-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=i},e7zE:function(e,t,i){var n,r,s,a,o,c,l,d;e.exports=(d=i("Ib8C"),i("3y9D"),i("WYAk"),a=(r=(n=d).lib).WordArray,c=(o=n.algo).HMAC,l=o.PBKDF2=(s=r.Base).extend({cfg:s.extend({keySize:4,hasher:o.SHA1,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var i=this.cfg,n=c.create(i.hasher,e),r=a.create(),s=a.create([1]),o=r.words,l=s.words,d=i.keySize,u=i.iterations;o.length=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,i=0,n=0,r=0,s=null,a=null,o=0;o=5&&(i+=n-5+3),s=l,n=1),(l=e.get(c,o))===a?r++:(r>=5&&(i+=r-5+3),a=l,r=1)}n>=5&&(i+=n-5+3),r>=5&&(i+=r-5+3)}return i},t.getPenaltyN2=function(e){for(var t=e.size,i=0,n=0;n=10&&(1488===n||93===n)&&i++,r=r<<1&2047|e.get(a,s),a>=10&&(1488===r||93===r)&&i++}return 40*i},t.getPenaltyN4=function(e){for(var t=0,i=e.data.length,n=0;n=0);return r},s.prototype._randrange=function(e,t){var i=t.sub(e);return e.add(this._randbelow(i))},s.prototype.test=function(e,t,i){var r=e.bitLength(),s=n.mont(e),a=new n(1).toRed(s);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),c=0;!o.testn(c);c++);for(var l=e.shrn(c),d=o.toRed(s);t>0;t--){var u=this._randrange(new n(2),o);i&&i(u);var h=u.toRed(s).redPow(l);if(0!==h.cmp(a)&&0!==h.cmp(d)){for(var f=1;f0;t--){var d=this._randrange(new n(2),a),u=e.gcd(d);if(0!==u.cmpn(1))return u;var h=d.toRed(r).redPow(c);if(0!==h.cmp(s)&&0!==h.cmp(l)){for(var f=1;f=0&&e.bit<4},t.from=function(e,i){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(n){return i}}},f3pb:function(e,t,i){var n=t;n.bignum=i("OZ/i"),n.define=i("7zrB").define,n.base=i("Qd/k"),n.constants=i("AhHn"),n.decoders=i("IPZY"),n.encoders=i("ND7S")},fSpj:function(e,t,i){(function(t){var i=Math.pow(2,30)-1;function n(e,i){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(i+" must be a buffer or string")}e.exports=function(e,t,r,s){if(n(e,"Password"),n(t,"Salt"),"number"!=typeof r)throw new TypeError("Iterations not a number");if(r<0)throw new TypeError("Bad iterations");if("number"!=typeof s)throw new TypeError("Key length not a number");if(s<0||s>i||s!=s)throw new TypeError("Bad key length")}}).call(this,i("tjlA").Buffer)},fXKp:function(e,t,i){"use strict";var n=i("hwdV").Buffer,r=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=d,this.end=u,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function o(e){var t=this.lastTotal-this.lastNeed,i=function(e,t,i){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd".repeat(i);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd".repeat(i+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd".repeat(i+2)}}(this,e,t);return void 0!==i?i:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var i=e.toString("utf16le",t);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):t}function d(e,t){var i=(e.length-t)%3;return 0===i?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-i))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,i;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0?(r>0&&(e.lastNeed=r-1),r):--n=0?(r>0&&(e.lastNeed=r-2),r):--n=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var n=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},fXoL:function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return Ds})),i.d(t,"b",(function(){return Tl})),i.d(t,"c",(function(){return kl})),i.d(t,"d",(function(){return Cl})),i.d(t,"e",(function(){return Sl})),i.d(t,"f",(function(){return Sd})),i.d(t,"g",(function(){return ud})),i.d(t,"h",(function(){return ds})),i.d(t,"i",(function(){return Fl})),i.d(t,"j",(function(){return Co})),i.d(t,"k",(function(){return Ol})),i.d(t,"l",(function(){return So})),i.d(t,"m",(function(){return yd})),i.d(t,"n",(function(){return li})),i.d(t,"o",(function(){return Qc})),i.d(t,"p",(function(){return N})),i.d(t,"q",(function(){return l})),i.d(t,"r",(function(){return z})),i.d(t,"s",(function(){return Ms})),i.d(t,"t",(function(){return Bo})),i.d(t,"u",(function(){return zo})),i.d(t,"v",(function(){return Al})),i.d(t,"w",(function(){return se})),i.d(t,"x",(function(){return fd})),i.d(t,"y",(function(){return re})),i.d(t,"z",(function(){return ad})),i.d(t,"A",(function(){return Nl})),i.d(t,"B",(function(){return d})),i.d(t,"C",(function(){return Ll})),i.d(t,"D",(function(){return Dl})),i.d(t,"E",(function(){return tl})),i.d(t,"F",(function(){return Do})),i.d(t,"G",(function(){return xo})),i.d(t,"H",(function(){return Mo})),i.d(t,"I",(function(){return To})),i.d(t,"J",(function(){return Zi})),i.d(t,"K",(function(){return h})),i.d(t,"L",(function(){return _d})),i.d(t,"M",(function(){return $o})),i.d(t,"N",(function(){return Xl})),i.d(t,"O",(function(){return Eo})),i.d(t,"P",(function(){return Ko})),i.d(t,"Q",(function(){return me})),i.d(t,"R",(function(){return Rs})),i.d(t,"S",(function(){return od})),i.d(t,"T",(function(){return Di})),i.d(t,"U",(function(){return T})),i.d(t,"V",(function(){return ee})),i.d(t,"W",(function(){return Mi})),i.d(t,"X",(function(){return wd})),i.d(t,"Y",(function(){return td})),i.d(t,"Z",(function(){return El})),i.d(t,"ab",(function(){return hs})),i.d(t,"bb",(function(){return uc})),i.d(t,"cb",(function(){return Ki})),i.d(t,"db",(function(){return en})),i.d(t,"eb",(function(){return Ai})),i.d(t,"fb",(function(){return bi})),i.d(t,"gb",(function(){return yi})),i.d(t,"hb",(function(){return Si})),i.d(t,"ib",(function(){return wi})),i.d(t,"jb",(function(){return vi})),i.d(t,"kb",(function(){return Ci})),i.d(t,"lb",(function(){return oc})),i.d(t,"mb",(function(){return vd})),i.d(t,"nb",(function(){return cc})),i.d(t,"ob",(function(){return lc})),i.d(t,"pb",(function(){return gi})),i.d(t,"qb",(function(){return R})),i.d(t,"rb",(function(){return js})),i.d(t,"sb",(function(){return oa})),i.d(t,"tb",(function(){return aa})),i.d(t,"ub",(function(){return Is})),i.d(t,"vb",(function(){return ac})),i.d(t,"wb",(function(){return xt})),i.d(t,"xb",(function(){return M})),i.d(t,"yb",(function(){return _i})),i.d(t,"zb",(function(){return to})),i.d(t,"Ab",(function(){return oo})),i.d(t,"Bb",(function(){return yo})),i.d(t,"Cb",(function(){return Tn})),i.d(t,"Db",(function(){return zs})),i.d(t,"Eb",(function(){return Aa})),i.d(t,"Fb",(function(){return Za})),i.d(t,"Gb",(function(){return Ea})),i.d(t,"Hb",(function(){return la})),i.d(t,"Ib",(function(){return pl})),i.d(t,"Jb",(function(){return ve})),i.d(t,"Kb",(function(){return De})),i.d(t,"Lb",(function(){return _})),i.d(t,"Mb",(function(){return b})),i.d(t,"Nb",(function(){return ke})),i.d(t,"Ob",(function(){return Le})),i.d(t,"Pb",(function(){return Js})),i.d(t,"Qb",(function(){return Be})),i.d(t,"Rb",(function(){return ta})),i.d(t,"Sb",(function(){return ra})),i.d(t,"Tb",(function(){return na})),i.d(t,"Ub",(function(){return ia})),i.d(t,"Vb",(function(){return ea})),i.d(t,"Wb",(function(){return Qs})),i.d(t,"Xb",(function(){return He})),i.d(t,"Yb",(function(){return sa})),i.d(t,"Zb",(function(){return si})),i.d(t,"ac",(function(){return Xa})),i.d(t,"bc",(function(){return Ac})),i.d(t,"cc",(function(){return jc})),i.d(t,"dc",(function(){return Oc})),i.d(t,"ec",(function(){return Rc})),i.d(t,"fc",(function(){return Q})),i.d(t,"gc",(function(){return Ks})),i.d(t,"hc",(function(){return wl})),i.d(t,"ic",(function(){return Gs})),i.d(t,"jc",(function(){return ca})),i.d(t,"kc",(function(){return bl})),i.d(t,"lc",(function(){return _t})),i.d(t,"mc",(function(){return mt})),i.d(t,"nc",(function(){return fa})),i.d(t,"oc",(function(){return Zc})),i.d(t,"pc",(function(){return Xc})),i.d(t,"qc",(function(){return ga})),i.d(t,"rc",(function(){return ma})),i.d(t,"sc",(function(){return Zs})),i.d(t,"tc",(function(){return ya})),i.d(t,"uc",(function(){return va})),i.d(t,"vc",(function(){return wa})),i.d(t,"wc",(function(){return $c})),i.d(t,"xc",(function(){return Jc})),i.d(t,"yc",(function(){return Kc})),i.d(t,"zc",(function(){return dl})),i.d(t,"Ac",(function(){return $s})),i.d(t,"Bc",(function(){return Ht})),i.d(t,"Cc",(function(){return Ue})),i.d(t,"Dc",(function(){return tn})),i.d(t,"Ec",(function(){return xe})),i.d(t,"Fc",(function(){return ml})),i.d(t,"Gc",(function(){return ul})),i.d(t,"Hc",(function(){return Ta})),i.d(t,"Ic",(function(){return qs})),i.d(t,"Jc",(function(){return za})),i.d(t,"Kc",(function(){return Na})),i.d(t,"Lc",(function(){return Ua})),i.d(t,"Mc",(function(){return qa})),i.d(t,"Nc",(function(){return $a})),i.d(t,"Oc",(function(){return Ja})),i.d(t,"Pc",(function(){return Ka})),i.d(t,"Qc",(function(){return Ga})),i.d(t,"Rc",(function(){return Qa})),i.d(t,"Sc",(function(){return hl}));var n=i("XNiG"),r=i("quSY"),s=i("HDdC"),a=i("VRyK"),o=i("w1tV");function c(e,t,i){const n=function(e){return function(...t){if(e){const i=e(...t);for(const e in i)this[e]=i[e]}}}(t);function r(...e){if(this instanceof r)return n.apply(this,e),this;const t=new r(...e);return i.annotation=t,i;function i(e,i,n){const r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(t),e}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}const l=c("Inject",e=>({token:e})),d=c("Optional"),u=c("Self"),h=c("SkipSelf");var f=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function p(e){for(let t in e)if(e[t]===p)return t;throw Error("Could not find renamed property on target object.")}function m(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function b(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function g(e){return y(e,e[w])||y(e,e[k])}function y(e,t){return t&&t.token===e?t:null}function v(e){return e&&(e.hasOwnProperty(C)||e.hasOwnProperty(x))?e[C]:null}const w=p({"\u0275prov":p}),C=p({"\u0275inj":p}),S=p({"\u0275provFallback":p}),k=p({ngInjectableDef:p}),x=p({ngInjectorDef:p});function M(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(M).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function D(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const L=p({__forward_ref__:p});function T(e){return e.__forward_ref__=T,e.toString=function(){return M(this())},e}function E(e){return A(e)?e():e}function A(e){return"function"==typeof e&&e.hasOwnProperty(L)&&e.__forward_ref__===T}const O="undefined"!=typeof globalThis&&globalThis,P="undefined"!=typeof window&&window,I="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R=O||void 0!==e&&e||P||I,j=p({"\u0275cmp":p}),Y=p({"\u0275dir":p}),V=p({"\u0275pipe":p}),W=p({"\u0275mod":p}),F=p({"\u0275loc":p}),H=p({"\u0275fac":p}),B=p({__NG_ELEMENT_ID__:p});class z{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=_({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const N=new z("INJECTOR",-1),U={},q=/\n/gm,$=p({provide:String,useValue:p});let J,K=void 0;function G(e){const t=K;return K=e,t}function Z(e){const t=J;return J=e,t}function X(e,t=f.Default){if(void 0===K)throw new Error("inject() must be called from an injection context");return null===K?te(e,void 0,t):K.get(e,t&f.Optional?null:void 0,t)}function Q(e,t=f.Default){return(J||X)(E(e),t)}const ee=Q;function te(e,t,i){const n=g(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&f.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${M(e)}]`)}function ie(e){const t=[];for(let i=0;iArray.isArray(e)?oe(e,t):t(e))}function ce(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function le(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function de(e,t){const i=[];for(let n=0;n=0?e[1|n]=i:(n=~n,function(e,t,i,n){let r=e.length;if(r==t)e.push(i,n);else if(1===r)e.push(n,e[0]),e[0]=i;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=i,e[t+1]=n}}(e,n,t,i)),n}function he(e,t){const i=fe(e,t);if(i>=0)return e[1|i]}function fe(e,t){return function(e,t,i){let n=0,r=e.length>>1;for(;r!==n;){const i=n+(r-n>>1),s=e[i<<1];if(t===s)return i<<1;s>t?r=i:n=i+1}return~(r<<1)}(e,t)}const pe=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),me=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}();function _e(e){return""+{toString:e}}const be={},ge=[];let ye=0;function ve(e){const t=e.type,i=t.prototype,n={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:i.ngOnInit||null,doCheck:i.ngDoCheck||null,afterContentInit:i.ngAfterContentInit||null,afterContentChecked:i.ngAfterContentChecked||null,afterViewInit:i.ngAfterViewInit||null,afterViewChecked:i.ngAfterViewChecked||null,onDestroy:i.ngOnDestroy||null,onPush:e.changeDetection===pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||me.Emulated,id:"c",styles:e.styles||ge,_:null,setInput:null,schemas:e.schemas||null,tView:null};return r._=_e(()=>{const t=e.directives,i=e.features,s=e.pipes;r.id+=ye++,r.inputs=Me(e.inputs,n),r.outputs=Me(e.outputs),i&&i.forEach(e=>e(r)),r.directiveDefs=t?()=>("function"==typeof t?t():t).map(we):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ce):null}),r}function we(e){return Te(e)||function(e){return e[Y]||null}(e)}function Ce(e){return function(e){return e[V]||null}(e)}const Se={};function ke(e){const t={type:e.type,bootstrap:e.bootstrap||ge,declarations:e.declarations||ge,imports:e.imports||ge,exports:e.exports||ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&_e(()=>{Se[e.id]=e.type}),t}function xe(e,t){return _e(()=>{const i=Ae(e,!0);i.declarations=t.declarations||ge,i.imports=t.imports||ge,i.exports=t.exports||ge})}function Me(e,t){if(null==e)return be;const i={};for(const n in e)if(e.hasOwnProperty(n)){let r=e[n],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),i[r]=n,t&&(t[r]=s)}return i}const De=ve;function Le(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Te(e){return e[j]||null}function Ee(e,t){return e.hasOwnProperty(H)?e[H]:null}function Ae(e,t){const i=e[W]||null;if(!i&&!0===t)throw new Error(`Type ${M(e)} does not have '\u0275mod' property.`);return i}function Oe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Pe(e){return Array.isArray(e)&&!0===e[1]}function Ie(e){return 0!=(8&e.flags)}function Re(e){return 2==(2&e.flags)}function je(e){return 1==(1&e.flags)}function Ye(e){return null!==e.template}function Ve(e){return 0!=(512&e[2])}const We={lFrame:lt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Fe(){return We.bindingsEnabled}function He(){We.bindingsEnabled=!0}function Be(){We.bindingsEnabled=!1}function ze(){return We.lFrame.lView}function Ne(){return We.lFrame.tView}function Ue(e){We.lFrame.contextLView=e}function qe(){return We.lFrame.previousOrParentTNode}function $e(e,t){We.lFrame.previousOrParentTNode=e,We.lFrame.isParent=t}function Je(){return We.lFrame.isParent}function Ke(){We.lFrame.isParent=!1}function Ge(){return We.checkNoChangesMode}function Ze(e){We.checkNoChangesMode=e}function Xe(){const e=We.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qe(){return We.lFrame.bindingIndex}function et(e){return We.lFrame.bindingIndex=e}function tt(){return We.lFrame.bindingIndex++}function it(e){const t=We.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function nt(e,t){const i=We.lFrame;i.bindingIndex=i.bindingRootIndex=e,i.currentDirectiveIndex=t}function rt(){return We.lFrame.currentQueryIndex}function st(e){We.lFrame.currentQueryIndex=e}function at(e,t){const i=ct();We.lFrame=i,i.previousOrParentTNode=t,i.lView=e}function ot(e,t){const i=ct(),n=e[1];We.lFrame=i,i.previousOrParentTNode=t,i.lView=e,i.tView=n,i.contextLView=e,i.bindingIndex=n.bindingStartIndex}function ct(){const e=We.lFrame,t=null===e?null:e.child;return null===t?lt(e):t}function lt(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function dt(){const e=We.lFrame;return We.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const ut=dt;function ht(){const e=dt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ft(){return We.lFrame.selectedIndex}function pt(e){We.lFrame.selectedIndex=e}function mt(){We.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function _t(){We.lFrame.currentNamespace=null}function bt(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i=n)break}else t[a]<0&&(e[18]+=65536),(s>10>16&&(3&e[2])===t&&(e[2]+=1024,s.call(a)):s.call(a)}class St{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}let kt=void 0;function xt(e){kt=e}function Mt(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function Dt(e){return!!e.listen}const Lt={createRenderer:(e,t)=>Mt()};function Tt(e,t,i){const n=Dt(e);let r=0;for(;rt){a=s-1;break}}}for(;s>16}function Yt(e,t){let i=jt(e),n=t;for(;i>0;)n=n[15],i--;return n}function Vt(e){return"string"==typeof e?e:null==e?"":""+e}function Wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Vt(e)}const Ft=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(R))();function Ht(e){return{name:"body",target:e.ownerDocument.body}}function Bt(e){return e instanceof Function?e():e}let zt=!0;function Nt(e){const t=zt;return zt=e,t}let Ut=0;function qt(e,t){const i=Jt(e,t);if(-1!==i)return i;const n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,$t(n.data,e),$t(t,null),$t(n.blueprint,null));const r=Kt(e,t),s=e.injectorIndex;if(It(r)){const e=Rt(r),i=Yt(r,t),n=i[1].data;for(let r=0;r<8;r++)t[s+r]=i[e+r]|n[e+r]}return t[s+8]=r,s}function $t(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Jt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Kt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=t[6],n=1;for(;i&&-1===i.injectorIndex;)i=(t=t[15])?t[6]:null,n++;return i?i.injectorIndex|n<<16:-1}function Gt(e,t,i){!function(e,t,i){let n="string"!=typeof i?i[B]:i.charCodeAt(0)||0;null==n&&(n=i[B]=Ut++);const r=255&n,s=1<0?255&t:t}(i);if("function"==typeof r){at(t,e);try{const e=r();if(null!=e||n&f.Optional)return e;throw new Error(`No provider for ${Wt(i)}!`)}finally{ut()}}else if("number"==typeof r){if(-1===r)return new ri(e,t);let s=null,a=Jt(e,t),o=-1,c=n&f.Host?t[16][6]:null;for((-1===a||n&f.SkipSelf)&&(o=-1===a?Kt(e,t):t[a+8],ni(n,!1)?(s=t[1],a=Rt(o),t=Yt(o,t)):a=-1);-1!==a;){o=t[a+8];const e=t[1];if(ii(r,a,e.data)){const e=Qt(a,t,i,s,n,c);if(e!==Xt)return e}ni(n,t[1].data[a+8]===c)&&ii(r,a,t)?(s=e,a=Rt(o),t=Yt(o,t)):a=-1}}}if(n&f.Optional&&void 0===r&&(r=null),0==(n&(f.Self|f.Host))){const e=t[9],s=Z(void 0);try{return e?e.get(i,r,n&f.Optional):te(i,r,n&f.Optional)}finally{Z(s)}}if(n&f.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Wt(i)}]`)}const Xt={};function Qt(e,t,i,n,r,s){const a=t[1],o=a.data[e+8],c=ei(o,a,i,null==n?Re(o)&&zt:n!=a&&3===o.type,r&f.Host&&s===o);return null!==c?ti(t,a,c,o):Xt}function ei(e,t,i,n,r){const s=e.providerIndexes,a=t.data,o=65535&s,c=e.directiveStart,l=s>>16,d=r?o+l:e.directiveEnd;for(let u=n?o:o+l;u=c&&e.type===i)return u}if(r){const e=a[c];if(e&&Ye(e)&&e.type===i)return c}return null}function ti(e,t,i,n){let r=e[i];const s=t.data;if(r instanceof St){const a=r;if(a.resolving)throw new Error(`Circular dep for ${Wt(s[i])}`);const o=Nt(a.canSeeViewProviders);let c;a.resolving=!0,a.injectImpl&&(c=Z(a.injectImpl)),at(e,n);try{r=e[i]=a.factory(void 0,s,e,n),t.firstCreatePass&&i>=n.directiveStart&&function(e,t,i){const{onChanges:n,onInit:r,doCheck:s}=t;n&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,n)),r&&(i.preOrderHooks||(i.preOrderHooks=[])).push(-e,r),s&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,s),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,s))}(i,s[i],t)}finally{a.injectImpl&&Z(c),Nt(o),a.resolving=!1,ut()}}return r}function ii(e,t,i){const n=64&e,r=32&e;let s;return s=128&e?n?r?i[t+7]:i[t+6]:r?i[t+5]:i[t+4]:n?r?i[t+3]:i[t+2]:r?i[t+1]:i[t],!!(s&1<{const t=e(E(i));return t?t():null};let n=Ee(i);if(null===n){const e=v(i);n=e&&e.factory}return n||null}(t);return null!==i?i:e=>new e}function ai(e){return e.ngDebugContext}function oi(e){return e.ngOriginalError}function ci(e,...t){e.error(...t)}class li{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=this._findContext(e),n=function(e){return e.ngErrorLogger||ci}(e);n(this._console,"ERROR",e),t&&n(this._console,"ORIGINAL ERROR",t),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(e){return e?ai(e)?ai(e):this._findContext(oi(e)):null}_findOriginalError(e){let t=oi(e);for(;t&&oi(t);)t=oi(t);return t}}class di{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class ui extends di{getTypeName(){return"HTML"}}class hi extends di{getTypeName(){return"Style"}}class fi extends di{getTypeName(){return"Script"}}class pi extends di{getTypeName(){return"URL"}}class mi extends di{getTypeName(){return"ResourceURL"}}function _i(e){return e instanceof di?e.changingThisBreaksApplicationSecurity:e}function bi(e,t){const i=gi(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see http://g.co/ng/security#xss)`)}return i===t}function gi(e){return e instanceof di&&e.getTypeName()||null}function yi(e){return new ui(e)}function vi(e){return new hi(e)}function wi(e){return new fi(e)}function Ci(e){return new pi(e)}function Si(e){return new mi(e)}let ki=!0,xi=!1;function Mi(){return xi=!0,ki}function Di(){if(xi)throw new Error("Cannot enable prod mode after platform setup.");ki=!1}class Li{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let t=this.inertDocument.body;if(null==t){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),t=this.inertDocument.createElement("body"),e.appendChild(t)}t.innerHTML='',!t.querySelector||t.querySelector("svg")?(t.innerHTML='

',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e=""+e+"";try{e=encodeURI(e)}catch(n){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const i=t.response.body;return i.removeChild(i.firstChild),i}getInertBodyElement_DOMParser(e){e=""+e+"";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const i=this.inertDocument.createElement("body");return i.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0Ai(e.trim())).join(", ")}function Pi(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Ii(...e){const t={};for(const i of e)for(const e in i)i.hasOwnProperty(e)&&(t[e]=!0);return t}const Ri=Pi("area,br,col,hr,img,wbr"),ji=Pi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yi=Pi("rp,rt"),Vi=Ii(Yi,ji),Wi=Ii(Ri,Ii(ji,Pi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ii(Yi,Pi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Vi),Fi=Pi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hi=Pi("srcset"),Bi=Ii(Fi,Hi,Pi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Pi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),zi=Pi("script,style,template");class Ni{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Wi.hasOwnProperty(t))return this.sanitizedSomething=!0,!zi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=e.attributes;for(let n=0;n"),!0}endElement(e){const t=e.nodeName.toLowerCase();Wi.hasOwnProperty(t)&&!Ri.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push($i(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Ui=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qi=/([^\#-~ |!])/g;function $i(e){return e.replace(/&/g,"&").replace(Ui,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(qi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let Ji;function Ki(e,t){let i=null;try{Ji=Ji||new Li(e);let n=t?String(t):"";i=Ji.getInertBodyElement(n);let r=5,s=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=s,s=i.innerHTML,i=Ji.getInertBodyElement(n)}while(n!==s);const a=new Ni,o=a.sanitizeChildren(Gi(i)||i);return Mi()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),o}finally{if(i){const e=Gi(i)||i;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Gi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Zi=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Xi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Qi=/^url\(([^)]+)\)$/;function en(e){if(!(e=String(e).trim()))return"";const t=e.match(Qi);return t&&Ai(t[1])===t[1]||e.match(Xi)&&function(e){let t=!0,i=!0;for(let n=0;ns?"":r[d+1].toLowerCase();const t=8&n?e:null;if(t&&-1!==bn(t,l,0)||2&n&&l!==e){if(wn(n))return!1;a=!0}}}}else{if(!a&&!wn(n)&&!wn(c))return!1;if(a&&wn(c))continue;a=!1,n=c|1&n}}return wn(n)||a}function wn(e){return 0==(1&e)}function Cn(e,t,i,n){if(null===t)return-1;let r=0;if(n||!i){let i=!1;for(;r-1)for(i++;i0?'="'+t+'"':"")+"]"}else 8&n?r+="."+a:4&n&&(r+=" "+a);else""===r||wn(a)||(t+=xn(s,r),r=""),n=a,s=s||!wn(n);i++}return""!==r&&(t+=xn(s,r)),t}const Dn={};function Ln(e){const t=e[3];return Pe(t)?t[3]:t}function Tn(e){En(Ne(),ze(),ft()+e,Ge())}function En(e,t,i,n){if(!n)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&>(t,n,i)}else{const n=e.preOrderHooks;null!==n&&yt(t,n,0,i)}pt(i)}const An={marker:"element"},On={marker:"comment"};function Pn(e,t){return e<<17|t<<2}function In(e){return e>>17&32767}function Rn(e){return 2|e}function jn(e){return(131068&e)>>2}function Yn(e,t){return-131069&e|t<<2}function Vn(e){return 1|e}function Wn(e,t){const i=e.contentQueries;if(null!==i)for(let n=0;n>1==-1){for(let e=9;e19&&En(e,t,0,Ge()),i(n,r)}finally{pt(s)}}function $n(e,t,i){if(Ie(t)){const n=t.directiveEnd;for(let r=t.directiveStart;rPromise.resolve(null))();function kr(e){return e[7]||(e[7]=[])}function xr(e){return e.cleanup||(e.cleanup=[])}function Mr(e,t){return function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(t[e.index])[11]}function Dr(e,t){const i=e[9],n=i?i.get(li,null):null;n&&n.handleError(t)}function Lr(e,t,i,n,r){for(let s=0;s0&&(e[i-1][4]=n[4]);const s=le(e,9+t);Ir(n[1],n,!1,null);const a=s[5];null!==a&&a.detachView(s[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}function Yr(e,t){if(!(256&t[2])){const i=t[11];Dt(i)&&i.destroyNode&&Gr(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return Wr(e[1],e);for(;t;){let i=null;if(Oe(t))i=t[13];else{const e=t[9];e&&(i=e)}if(!i){for(;t&&!t[4]&&t!==e;)Oe(t)&&Wr(t[1],t),t=Vr(t,e);null===t&&(t=e),Oe(t)&&Wr(t[1],t),i=t&&t[4]}t=i}}(t)}}function Vr(e,t){let i;return Oe(e)&&(i=e[6])&&2===i.type?Er(i,e):e[3]===t?null:e[3]}function Wr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let n=0;n=0?e[o]():e[-o].unsubscribe(),n+=2}else i[n].call(e[i[n+1]]);t[7]=null}}(e,t);const i=t[6];i&&3===i.type&&Dt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Pe(t[3])){n!==t[3]&&Rr(n,t);const i=t[5];null!==i&&i.detachView(e)}}}function Fr(e,t,i){let n=t.parent;for(;null!=n&&(4===n.type||5===n.type);)n=(t=n).parent;if(null==n){const e=i[6];return 2===e.type?Ar(e,i):i[0]}if(t&&5===t.type&&4&t.flags)return sn(t,i).parentNode;if(2&n.flags){const t=e.data,i=t[t[n.index].directiveStart].encapsulation;if(i!==me.ShadowDom&&i!==me.Native)return null}return sn(n,i)}function Hr(e,t,i,n){Dt(e)?e.insertBefore(t,i,n):t.insertBefore(i,n,!0)}function Br(e,t,i){Dt(e)?e.appendChild(t,i):t.appendChild(i)}function zr(e,t,i,n){null!==n?Hr(e,t,i,n):Br(e,t,i)}function Nr(e,t){return Dt(e)?e.parentNode(t):t.parentNode}function Ur(e,t){if(2===e.type){const i=Er(e,t);return null===i?null:$r(i.indexOf(t,9)-9,i)}return 4===e.type||5===e.type?sn(e,t):null}function qr(e,t,i,n){const r=Fr(e,n,t);if(null!=r){const e=t[11],s=Ur(n.parent||t[6],t);if(Array.isArray(i))for(let t=0;t-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}onDestroy(e){var t,i,n;t=this._lView[1],n=e,kr(i=this._lView).push(n),t.firstCreatePass&&xr(t).push(i[7].length-1,null)}markForCheck(){yr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){vr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){Ze(!0);try{vr(e,t,i)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,Gr(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class is extends ts{constructor(e){super(e),this._view=e}detectChanges(){wr(this._view)}checkNoChanges(){!function(e){Ze(!0);try{wr(e)}finally{Ze(!1)}}(this._view)}get context(){return null}}let ns,rs,ss;function as(e,t,i){return ns||(ns=class extends e{}),new ns(sn(t,i))}function os(e,t,i,n){return rs||(rs=class extends e{constructor(e,t,i){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=Hn(this._declarationView,t,e,16,null,t.node);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[5];null!==n&&(i[5]=n.createEmbeddedView(t)),zn(t,i,e);const r=new ts(i);return r._tViewNode=i[6],r}}),0===i.type?new rs(n,i,as(t,i,n)):null}function cs(e,t,i,n){let r;ss||(ss=class extends e{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostView=i}get element(){return as(t,this._hostTNode,this._hostView)}get injector(){return new ri(this._hostTNode,this._hostView)}get parentInjector(){const e=Kt(this._hostTNode,this._hostView),t=Yt(e,this._hostView),i=function(e,t,i){if(i.parent&&-1!==i.parent.injectorIndex){const e=i.parent.injectorIndex;let t=i.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let n=jt(e),r=t,s=t[6];for(;n>1;)r=r[15],s=r[6],n--;return s}(e,this._hostView,this._hostTNode);return It(e)&&null!=i?new ri(i,t):new ri(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-9}createEmbeddedView(e,t,i){const n=e.createEmbeddedView(t||{});return this.insert(n,i),n}createComponent(e,t,i,n,r){const s=i||this.parentInjector;if(!r&&null==e.ngModule&&s){const e=s.get(re,null);e&&(r=e)}const a=e.create(s,n,void 0,r);return this.insert(a.hostView,t),a}insert(e,t){const i=e._lView,n=i[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Pe(i[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=i[3],n=new ss(t,t[6],t[3]);n.detach(n.indexOf(e))}}const r=this._adjustIndex(t);return function(e,t,i,n){const r=9+n,s=i.length;n>0&&(i[r-1][4]=t),n{class e{}return e.__NG_ELEMENT_ID__=()=>us(),e})();const us=ls,hs=new z("Set Injector scope."),fs={},ps={},ms=[];let _s=void 0;function bs(){return void 0===_s&&(_s=new ne),_s}function gs(e,t=null,i=null,n){return t=t||bs(),new ys(e,i,t,n)}class ys{constructor(e,t,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];t&&oe(t,i=>this.processProvider(i,e,t)),oe([e],e=>this.processInjectorType(e,[],r)),this.records.set(N,Cs(void 0,this));const s=this.records.get(hs);this.scope=null!=s?s.value:null,this.injectorDefTypes.forEach(e=>this.get(e)),this.source=n||("object"==typeof e?null:M(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=U,i=f.Default){this.assertNotDestroyed();const n=G(this);try{if(!(i&f.SkipSelf)){let t=this.records.get(e);if(void 0===t){const i=("function"==typeof(r=e)||"object"==typeof r&&r instanceof z)&&g(e);t=i&&this.injectableDefInScope(i)?Cs(vs(e),fs):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(i&f.Self?bs():this.parent).get(e,t=i&f.Optional&&t===U?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(M(e)),n)throw s;return function(e,t,i,n){const r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,i,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=M(t);if(Array.isArray(t))r=t.map(M).join(" -> ");else if("object"==typeof t){let e=[];for(let i in t)if(t.hasOwnProperty(i)){let n=t[i];e.push(i+":"+("string"==typeof n?JSON.stringify(n):M(n)))}r=`{${e.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${e.replace(q,"\n ")}`}("\n"+e.message,r,i,n),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{G(n)}var r}toString(){const e=[];return this.records.forEach((t,i)=>e.push(M(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,i){if(!(e=E(e)))return!1;let n=v(e);const r=null==n&&e.ngModule||void 0,s=void 0===r?e:r,a=-1!==i.indexOf(s);if(void 0!==r&&(n=v(r)),null==n)return!1;if(null!=n.imports&&!a){let e;i.push(s);try{oe(n.imports,n=>{this.processInjectorType(n,t,i)&&(void 0===e&&(e=[]),e.push(n))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,i,n||ms))}}this.injectorDefTypes.add(s),this.records.set(s,Cs(n.factory,fs));const o=n.providers;if(null!=o&&!a){const t=e;oe(o,e=>this.processProvider(e,t,o))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,i){let n=ks(e=E(e))?e:E(e&&e.provide);const r=function(e,t,i){return Ss(e)?Cs(void 0,e.useValue):Cs(ws(e,t,i),fs)}(e,t,i);if(ks(e)||!0!==e.multi){const e=this.records.get(n);e&&void 0!==e.multi&&_n()}else{let t=this.records.get(n);t?void 0===t.multi&&_n():(t=Cs(void 0,fs,!0),t.factory=()=>ie(t.multi),this.records.set(n,t)),n=e,t.multi.push(e)}this.records.set(n,r)}hydrate(e,t){var i;return t.value===ps?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(M(e)):t.value===fs&&(t.value=ps,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(i=t.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function vs(e){const t=g(e),i=null!==t?t.factory:Ee(e);if(null!==i)return i;const n=v(e);if(null!==n)return n.factory;if(e instanceof z)throw new Error(`Token ${M(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const i=de(t,"?");throw new Error(`Can't resolve all parameters for ${M(e)}: (${i.join(", ")}).`)}const i=function(e){const t=e&&(e[w]||e[k]||e[S]&&e[S]());if(t){const i=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function ws(e,t,i){let n=void 0;if(ks(e)){const t=E(e);return Ee(t)||vs(t)}if(Ss(e))n=()=>E(e.useValue);else if((r=e)&&r.useFactory)n=()=>e.useFactory(...ie(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))n=()=>Q(E(e.useExisting));else{const r=E(e&&(e.useClass||e.provide));if(r||function(e,t,i){let n="";throw e&&t&&(n=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==i?"?"+i+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${M(e)}'`+n)}(t,i,e),!function(e){return!!e.deps}(e))return Ee(r)||vs(r);n=()=>new r(...ie(e.deps))}var r;return n}function Cs(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Ss(e){return null!==e&&"object"==typeof e&&$ in e}function ks(e){return"function"==typeof e}const xs=function(e,t,i){return gs({name:i},t,e,i)};let Ms=(()=>{class e{static create(e,t){return Array.isArray(e)?xs(e,t,""):xs(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=U,e.NULL=new ne,e.\u0275prov=_({token:e,providedIn:"any",factory:()=>Q(N)}),e.__NG_ELEMENT_ID__=-1,e})();const Ds=new z("AnalyzeForEntryComponents");let Ls=new Map;const Ts=new Set;function Es(e){return"string"==typeof e?e:e.text()}function As(e,t){let i=e.styles,n=e.classes,r=0;for(let s=0;so(nn(e[n.index])).target:n.index;if(Dt(i)){let a=null;if(!o&&c&&(a=function(e,t,i,n){const r=e.cleanup;if(null!=r)for(let s=0;si?e[i]:null}"string"==typeof e&&(s+=2)}return null}(e,t,r,n.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,u=!1;else{s=ha(n,t,s,!1);const e=i.listen(f.name||p,r,s);d.push(s,e),l&&l.push(r,_,m,m+1)}}else s=ha(n,t,s,!0),p.addEventListener(r,s,a),d.push(s),l&&l.push(r,_,m,a)}const h=n.outputs;let f;if(u&&null!==h&&(f=h[r])){const e=f.length;if(e)for(let i=0;i0;)t=t[15],e--;return t}(e,We.lFrame.contextLView))[8]}(e)}function pa(e,t){let i=null;const n=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r=0}const xa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ma(e){return e.substring(xa.key,xa.keyEnd)}function Da(e,t){const i=xa.textEnd;return i===t?-1:(t=xa.keyEnd=function(e,t,i){for(;t32;)t++;return t}(e,xa.key=t,i),La(e,t,i))}function La(e,t,i){for(;t=0;i=Da(t,i))ue(e,Ma(t),!0)}function Pa(e,t,i,n){const r=ze(),s=Ne(),a=it(2);if(s.firstUpdatePass&&ja(s,e,a,n),t!==Dn&&Fs(r,a,t)){let o;null==i&&(o=function(){const e=We.lFrame;return null===e?null:e.currentSanitizer}())&&(i=o),Wa(s,s.data[ft()+19],r,r[11],e,r[a+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=M(_i(e)))),e}(t,i),n,a)}}function Ia(e,t,i,n){const r=Ne(),s=it(2);r.firstUpdatePass&&ja(r,null,s,n);const a=ze();if(i!==Dn&&Fs(a,s,i)){const o=r.data[ft()+19];if(Ba(o,n)&&!Ra(r,s)){let e=n?o.classes:o.styles;null!==e&&(i=D(e,i||"")),Xs(r,o,a,i,n)}else!function(e,t,i,n,r,s,a,o){r===Dn&&(r=Ca);let c=0,l=0,d=0=e.expandoStartIndex}function ja(e,t,i,n){const r=e.data;if(null===r[i+1]){const s=r[ft()+19],a=Ra(e,i);Ba(s,n)&&null===t&&!a&&(t=!1),t=function(e,t,i,n){const r=function(e){const t=We.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(i=Va(i=Ya(null,e,t,i,n),t.attrs,n),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(i=Ya(r,e,t,i,n),null===s){let i=function(e,t,i){const n=i?t.classBindings:t.styleBindings;if(0!==jn(n))return e[In(n)]}(e,t,n);void 0!==i&&Array.isArray(i)&&(i=Ya(null,e,t,i[1],n),i=Va(i,t.attrs,n),function(e,t,i,n){e[In(i?t.classBindings:t.styleBindings)]=n}(e,t,n,i))}else s=function(e,t,i){let n=void 0;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(d=!0)}else l=i;if(r)if(0!==c){const t=In(e[o+1]);e[n+1]=Pn(t,o),0!==t&&(e[t+1]=Yn(e[t+1],n)),e[o+1]=131071&e[o+1]|n<<17}else e[n+1]=Pn(o,0),0!==o&&(e[o+1]=Yn(e[o+1],n)),o=n;else e[n+1]=Pn(c,0),0===o?o=n:e[c+1]=Yn(e[c+1],n),c=n;d&&(e[n+1]=Rn(e[n+1])),Sa(e,l,n,!0),Sa(e,l,n,!1),function(e,t,i,n,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&fe(s,t)>=0&&(i[n+1]=Vn(i[n+1]))}(t,l,e,n,s),a=Pn(o,c),s?t.classBindings=a:t.styleBindings=a}(r,s,t,i,a,n)}}function Ya(e,t,i,n,r){let s=null;const a=i.directiveEnd;let o=i.directiveStylingLast;for(-1===o?o=i.directiveStart:o++;o0;){const t=e[r],s=Array.isArray(t),c=s?t[1]:t,l=null===c;let d=i[r+1];d===Dn&&(d=l?Ca:void 0);let u=l?he(d,n):c===n?d:void 0;if(s&&!Ha(u)&&(u=he(t,n)),Ha(u)&&(o=u,a))return o;const h=e[r+1];r=a?In(h):jn(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(o=he(e,n))}return o}function Ha(e){return void 0!==e}function Ba(e,t){return 0!=(e.flags&(t?16:32))}function za(e,t=""){const i=ze(),n=Ne(),r=e+19,s=n.firstCreatePass?Bn(n,i[6],e,3,null,null):n.data[r],a=i[r]=Pr(t,i[11]);qr(n,i,a,s),$e(s,!1)}function Na(e){return Ua("",e,""),Na}function Ua(e,t,i){const n=ze(),r=Ns(n,e,t,i);return r!==Dn&&Tr(n,ft(),r),Ua}function qa(e,t,i,n,r){const s=ze(),a=Us(s,e,t,i,n,r);return a!==Dn&&Tr(s,ft(),a),qa}function $a(e,t,i,n,r,s,a){const o=ze(),c=function(e,t,i,n,r,s,a,o){const c=function(e,t,i,n,r){const s=Hs(e,t,i,n);return Fs(e,t+2,r)||s}(e,Qe(),i,r,a);return it(3),c?t+Vt(i)+n+Vt(r)+s+Vt(a)+o:Dn}(o,e,t,i,n,r,s,a);return c!==Dn&&Tr(o,ft(),c),$a}function Ja(e,t,i,n,r,s,a,o,c){const l=ze(),d=function(e,t,i,n,r,s,a,o,c,l){const d=Bs(e,Qe(),i,r,a,c);return it(4),d?t+Vt(i)+n+Vt(r)+s+Vt(a)+o+Vt(c)+l:Dn}(l,e,t,i,n,r,s,a,o,c);return d!==Dn&&Tr(l,ft(),d),Ja}function Ka(e,t,i,n,r,s,a,o,c,l,d,u,h,f,p,m,_){const b=ze(),g=function(e,t,i,n,r,s,a,o,c,l,d,u,h,f,p,m,_,b){const g=Qe();let y=Bs(e,g,i,r,a,c);return y=Bs(e,g+4,d,h,p,_)||y,it(8),y?t+Vt(i)+n+Vt(r)+s+Vt(a)+o+Vt(c)+l+Vt(d)+u+Vt(h)+f+Vt(p)+m+Vt(_)+b:Dn}(b,e,t,i,n,r,s,a,o,c,l,d,u,h,f,p,m,_);return g!==Dn&&Tr(b,ft(),g),Ka}function Ga(e){const t=ze(),i=function(e,t){let i=!1,n=Qe();for(let s=1;s=0;n--){const r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Ot(r.hostAttrs,i=Ot(i,r.hostAttrs))}}(n)}function io(e){return e===be?{}:e===ge?[]:e}function no(e,t){const i=e.viewQuery;e.viewQuery=i?(e,n)=>{t(e,n),i(e,n)}:t}function ro(e,t){const i=e.contentQueries;e.contentQueries=i?(e,n,r)=>{t(e,n,r),i(e,n,r)}:t}function so(e,t){const i=e.hostBindings;e.hostBindings=i?(e,n)=>{t(e,n),i(e,n)}:t}class ao{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function oo(){return co.ngInherit=!0,co}function co(e){e.type.prototype.ngOnChanges&&(e.setInput=lo,e.onChanges=function(){const e=uo(this),t=e&&e.current;if(t){const i=e.previous;if(i===be)e.previous=t;else for(let e in t)i[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function lo(e,t,i,n){const r=uo(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:be,current:null}),s=r.current||(r.current={}),a=r.previous,o=this.declaredInputs[i],c=a[o];s[o]=new ao(c&&c.currentValue,t,a===be),e[n]=t}function uo(e){return e.__ngSimpleChanges__||null}function ho(e,t,i,n,r){if(e=E(e),Array.isArray(e))for(let s=0;s>16;if(ks(e)||!e.multi){const n=new St(c,r,Js),f=mo(o,t,r?d:d+h,u);-1===f?(Gt(qt(l,a),s,o),fo(s,e,t.length),t.push(o),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),i.push(n),a.push(n)):(i[f]=n,a[f]=n)}else{const f=mo(o,t,d+h,u),p=mo(o,t,d,d+h),m=f>=0&&i[f],_=p>=0&&i[p];if(r&&!_||!r&&!m){Gt(qt(l,a),s,o);const d=function(e,t,i,n,r){const s=new St(e,i,Js);return s.multi=[],s.index=t,s.componentProviders=0,po(s,r,n&&!i),s}(r?bo:_o,i.length,r,n,c);!r&&_&&(i[p].providerFactory=d),fo(s,e,t.length),t.push(o),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),i.push(d),a.push(d)}else fo(s,e,f>-1?f:p),po(i[r?p:f],c,!r&&n);!r&&n&&_&&i[p].componentProviders++}}}function fo(e,t,i){if(ks(t)||t.useClass){const n=(t.useClass||t).prototype.ngOnDestroy;n&&(e.destroyHooks||(e.destroyHooks=[])).push(i,n)}}function po(e,t,i){e.multi.push(t),i&&e.componentProviders++}function mo(e,t,i,n){for(let r=i;r{i.providersResolver=(i,n)=>function(e,t,i){const n=Ne();if(n.firstCreatePass){const r=Ye(e);ho(i,n.data,n.blueprint,r,!0),ho(t,n.data,n.blueprint,r,!1)}}(i,n?n(e):e,t)}}class vo{}class wo{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${M(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Co=(()=>{class e{}return e.NULL=new wo,e})(),So=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>ko(e),e})();const ko=function(e){return as(e,qe(),ze())};class xo{}const Mo=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Do=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Lo(),e})();const Lo=function(){const e=ze(),t=cn(qe().index,e);return function(e){const t=e[11];if(Dt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Oe(t)?t:e)};let To=(()=>{class e{}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null}),e})();class Eo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Ao=new Eo("9.0.4");class Oo{constructor(){}supports(e){return js(e)}create(e){return new Io(e)}}const Po=(e,t)=>t;class Io{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Po}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,n=0,r=null;for(;t||i;){const s=!i||t&&t.currentIndex{n=this._trackByFn(t,e),null!==r&&Is(r.trackById,n)?(s&&(r=this._verifyReinsertion(r,e,n,t)),Is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,n,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,i,n){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,n)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,n)):e=this._addAfter(new Ro(t,i),r,n),e}_verifyReinsertion(e,t,i,n){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?e=this._reinsertAfter(r,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const n=e._prevRemoved,r=e._nextRemoved;return null===n?this._removalsHead=r:n._nextRemoved=r,null===r?this._removalsTail=n:r._prevRemoved=n,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const n=null===t?this._itHead:t._next;return e._next=n,e._prev=t,null===n?this._itTail=e:n._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Yo),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Ro{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class jo{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Is(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class Yo{constructor(){this.map=new Map}put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new jo,this.map.set(t,i)),i.add(e)}get(e,t){const i=this.map.get(e);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Vo(e,t,i){const n=e.previousIndex;if(null===n)return n;let r=0;return i&&n{if(t&&t.key===i)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const n=this._getOrCreateRecordForKey(i,e);t=this._insertBeforeOrAppend(t,n)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,t);const n=i._prev,r=i._next;return n&&(n._next=r),r&&(r._prev=n),i._next=null,i._prev=null,i}const i=new Ho(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(i=>t(e[i],i))}}class Ho{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Bo=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(null!=i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,i)},deps:[[e,new h,new d]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${i=e,i.name||typeof i}'`);var i}}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e([new Oo])}),e})(),zo=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,i)},deps:[[e,new h,new d]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e([new Wo])}),e})();const No=[new Wo],Uo=new Bo([new Oo]),qo=new zo(No);let $o=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Jo(e,So),e})();const Jo=function(e,t){return os(e,t,qe(),ze())};let Ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Go(e,So),e})();const Go=function(e,t){return cs(e,t,qe(),ze())},Zo={};class Xo extends Co{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Te(e);return new tc(t,this.ngModule)}}function Qo(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const ec=new z("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ft});class tc extends vo{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Mn).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Qo(this.componentDef.inputs)}get outputs(){return Qo(this.componentDef.outputs)}create(e,t,i,n){const r=(n=n||this.ngModule)?function(e,t){return{get:(i,n,r)=>{const s=e.get(i,Zo,r);return s!==Zo||n===Zo?s:t.get(i,n,r)}}}(e,n.injector):e,s=r.get(xo,Lt),a=r.get(To,null),o=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=i?function(e,t,i){if(Dt(e))return e.selectRootElement(t,i===me.ShadowDom);let n="string"==typeof t?e.querySelector(t):t;return n.textContent="",n}(o,i,this.componentDef.encapsulation):Fn(c,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),d=this.componentDef.onPush?576:528,u="string"==typeof i&&/^#root-ng-internal-isolated-\d+/.test(i),h={components:[],scheduler:Ft,clean:Sr,playerHandler:null,flags:0},f=Zn(0,-1,null,1,0,null,null,null,null,null),p=Hn(null,f,h,d,null,null,s,o,a,r);let m,_;ot(p,null);try{const e=function(e,t,i,n,r,s){const a=i[1];i[19]=e;const o=Bn(a,null,0,3,null,null),c=o.mergedAttrs=t.hostAttrs;null!==c&&(As(o,c),null!==e&&(Tt(r,e,c),null!==o.classes&&es(r,e,o.classes),null!==o.styles&&Qr(r,e,o.styles)));const l=n.createRenderer(e,t),d=Hn(i,Gn(t),null,t.onPush?64:16,i[19],o,n,l,void 0);return a.firstCreatePass&&(Gt(qt(o,i),a,t.type),ar(a,o),cr(o,i.length,1)),gr(i,d),i[19]=d}(l,this.componentDef,p,s,o);if(l)if(i)Tt(o,l,["ng-version",Ao.full]);else{const{attrs:e,classes:t}=function(e){const t=[],i=[];let n=1,r=2;for(;n0&&es(o,l,t.join(" "))}_=an(p[1],0),t&&(_.projection=t.map(e=>Array.from(e))),m=function(e,t,i,n,r){const s=i[1],a=function(e,t,i){const n=qe();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),sr(e,n,1),lr(e,t,i));const r=ti(t,e,t.length-1,n);pn(r,t);const s=sn(n,t);return s&&pn(s,t),r}(s,i,t);n.components.push(a),e[8]=a,r&&r.forEach(e=>e(a,t)),t.contentQueries&&t.contentQueries(1,a,i.length-1);const o=qe();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){pt(o.index-19);const e=i[1];ir(e,t),nr(e,i,t.hostVars),rr(t,a)}return a}(e,this.componentDef,p,h,[eo]),zn(f,p,null)}finally{ht()}const b=new ic(this.componentType,m,as(So,_,p),p,_);return i&&!u||(b.hostView._tViewNode.child=_),b}}class ic extends class{}{constructor(e,t,i,n,r){super(),this.location=i,this._rootLView=n,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new is(n),this.hostView._tViewNode=function(e,t,i,n){let r=e.node;return null==r&&(e.node=r=Xn(0,null,2,-1,null,null)),n[6]=r}(n[1],0,0,n),this.componentType=e}get injector(){return new ri(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const nc=void 0;var rc=["en",[["a","p"],["AM","PM"],nc],[["AM","PM"],nc,nc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],nc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],nc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nc,"{1} 'at' {0}",nc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let sc={};function ac(e,t,i){"string"!=typeof t&&(i=t,t=e[uc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),sc[t]=e,i&&(sc[t][uc.ExtraData]=i)}function oc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=dc(t);if(i)return i;const n=t.split("-")[0];if(i=dc(n),i)return i;if("en"===n)return rc;throw new Error(`Missing locale data for the locale "${e}".`)}function cc(e){return oc(e)[uc.CurrencyCode]||null}function lc(e){return oc(e)[uc.PluralCase]}function dc(e){return e in sc||(sc[e]=R.ng&&R.ng.common&&R.ng.common.locales&&R.ng.common.locales[e]),sc[e]}const uc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),hc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,pc=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,mc=/\ufffd(\d+):?\d*\ufffd/gi,_c=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi;function bc(e){if(!e)return[];let t=0;const i=[],n=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const r=s.index;if("}"==s[0]){if(i.pop(),0==i.length){const i=e.substring(t,r);hc.test(i)?n.push(gc(i)):n.push(i),t=r+1}}else{if(0==i.length){const i=e.substring(t,r);n.push(i),t=r+1}i.push("{")}}const a=e.substring(t);return n.push(a),n}function gc(e){const t=[],i=[];let n=1,r=0;const s=bc(e=e.replace(hc,(function(e,t,i){return n="select"===i?0:1,r=parseInt(t.substr(1),10),""})));for(let a=0;ai.length&&i.push(r)}return{type:n,mainBinding:r,cases:t,values:i}}function yc(e){let t,i,n="",r=0,s=!1;for(;null!==(t=fc.exec(e));)s?t[0]===`\ufffd/*${i}\ufffd`&&(r=t.index,s=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],s=!0);return n+=e.substr(r),n}function vc(e,t,i,n=null){const r=[null,null],s=e.split(mc);let a=0;for(let o=0;o>>17;let d;d=r===e?n[6]:an(i,r),a=Dc(i,s,d,a,n);break;case 0:const u=l>=0,h=(u?l:~l)>>>3;o.push(h),a=s,s=an(i,h),s&&$e(s,u);break;case 5:a=s=an(i,l>>>3),$e(s,!1);break;case 4:ur(l>>>3,t[++c],t[++c],i,n);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case On:const e=t[++c],d=t[++c],u=r.createComment(e);a=s,s=Lc(i,n,d,5,u,null),o.push(d),pn(u,n),s.activeCaseIndex=null,Ke();break;case An:const h=t[++c],f=t[++c];a=s,s=Lc(i,n,f,3,r.createElement(h),h),o.push(f);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}}return Ke(),o}function Ec(e,t,i,n){const r=an(e,i),s=rn(i,t);s&&Jr(t[11],s);const a=on(t,i);if(Pe(a)){const e=a;0!==r.type&&Jr(t[11],e[7])}n&&(r.flags|=64)}function Ac(e,t,i){(function(e,t,i){const n=Ne();Cc[++Sc]=e,ba(!0),n.firstCreatePass&&null===n.data[e+19]&&function(e,t,i,n,r){const s=t.blueprint.length-19;Mc=0;const a=qe(),o=Je()?a:a&&a.parent;let c=o&&o!==e[6]?o.index-19:i,l=0;xc[l]=c;const d=[];if(i>0&&a!==o){let e=a.index-19;Je()||(e=~e),d.push(e<<3|0)}const u=[],h=[],f=(p=function(e,t){if("number"!=typeof t)return yc(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,n=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return yc(e.substring(i,n))}}(n,r),p.replace(Hc," ")).split(pc);var p;for(let m=0;m0&&function(e,t,i){if(i>0&&e.firstCreatePass){for(let n=0;n>1),a++}}(Ne(),e),ba(!1)}()}function Oc(e,t){!function(e,t,i,n){const r=qe().index-19,s=[];for(let a=0;a>>2;let h,f,p;switch(3&l){case 1:er(s,a,u,t[++d],o,t[++d]);break;case 0:Tr(a,u,o);break;case 2:if(h=t[++d],f=i[h],p=an(s,u),null!==p.activeCaseIndex){const e=f.remove[p.activeCaseIndex];for(let t=0;t>>3,!1);break;case 6:const r=an(s,e[t+1]>>>3).activeCaseIndex;null!==r&&ae(i[n>>>3].remove[r],e)}}}const l=Yc(f,o);p.activeCaseIndex=-1!==l?l:null,l>-1&&(Tc(-1,f.create[l],s,a),c=!0);break;case 3:h=t[++d],f=i[h],p=an(s,u),null!==p.activeCaseIndex&&e(f.update[p.activeCaseIndex],i,n,r,s,a,c)}}}}l+=u}}(n,r,s,Pc,t,a),Pc=0,Ic=0}}function Yc(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const n=function(e,t){switch(lc(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,Bc);i=e.cases.indexOf(n),-1===i&&"other"!==n&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return i}function Vc(e,t,i,n){const r=[],s=[],a=[],o=[],c=[];for(let l=0;l null != ${t} <=Actual]`)}(i,t),"string"==typeof e&&(Bc=e.toLowerCase().replace(/_/g,"-"))}const Nc=new Map;class Uc extends re{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Xo(this);const i=Ae(e),n=e[F]||null;n&&zc(n),this._bootstrapComponents=Bt(i.bootstrap),this._r3Injector=gs(e,t,[{provide:re,useValue:this},{provide:Co,useValue:this.componentFactoryResolver}],M(e)),this.instance=this.get(e)}get(e,t=Ms.THROW_IF_NOT_FOUND,i=f.Default){return e===Ms||e===re||e===N?this:this._r3Injector.get(e,t,i)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class qc extends se{constructor(e){super(),this.moduleType=e,null!==Ae(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${M(t)} vs ${M(t.name)}`)})(e,Nc.get(e),t),Nc.set(e,t)}let i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(t=>e(t))}(e)}create(e){return new Uc(this.moduleType,e)}}function $c(e,t,i){const n=Xe()+e,r=ze();return r[n]===Dn?Vs(r,n,i?t.call(i):t()):Ws(r,n)}function Jc(e,t,i,n){return Gc(ze(),Xe(),e,t,i,n)}function Kc(e,t,i,n,r){return function(e,t,i,n,r,s,a){const o=t+i;return Hs(e,o,r,s)?Vs(e,o+2,a?n.call(a,r,s):n(r,s)):Ws(e,o+2)}(ze(),Xe(),e,t,i,n,r)}function Gc(e,t,i,n,r,s){const a=t+i;return Fs(e,a,r)?Vs(e,a+1,s?n.call(s,r):n(r)):Ws(e,a+1)}function Zc(e,t){const i=Ne();let n;const r=e+19;i.firstCreatePass?(n=function(e,t){if(t)for(let i=t.length-1;i>=0;i--){const n=t[i];if(e===n.name)return n}throw new Error(`The pipe '${e}' could not be found!`)}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];const s=n.factory||(n.factory=Ee(n.type)),a=Z(Js),o=s();return Z(a),function(e,t,i,n){const r=i+19;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}(i,ze(),e,o),o}function Xc(e,t,i){const n=ze(),r=on(n,e);return function(e,t){return Rs.isWrapped(t)&&(t=Rs.unwrap(t),e[Qe()]=Dn),t}(n,function(e,t){return e[1].data[t+19].pure}(n,e)?Gc(n,Xe(),t,r.transform,i,r):r.transform(i))}class Qc extends n.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let n,s=e=>null,a=()=>null;e&&"object"==typeof e?(n=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(a=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(n=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),i&&(a=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const o=super.subscribe(n,s,a);return e instanceof r.a&&e.add(o),o}}function el(){return this._results[Ps()]()}class tl{constructor(){this.dirty=!0,this._results=[],this.changes=new Qc,this.length=0;const e=Ps(),t=tl.prototype;t[e]||(t[e]=el)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,i){void 0===i&&(i=t);for(let n=0;n0)r.push(o[t/2]);else{const s=a[t+1],o=i[-n];for(let t=9;t{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Q(Cl,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const kl=new z("AppId"),xl={provide:kl,useFactory:function(){return`${Ml()}${Ml()}${Ml()}`},deps:[]};function Ml(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Dl=new z("Platform Initializer"),Ll=new z("Platform ID"),Tl=new z("appBootstrapListener");let El=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Al=new z("LocaleId"),Ol=new z("DefaultCurrencyCode");class Pl{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Il=function(e){return new qc(e)},Rl=Il,jl=function(e){return Promise.resolve(Il(e))},Yl=function(e){const t=Il(e),i=Bt(Ae(e).declarations).reduce((e,t)=>{const i=Te(t);return i&&e.push(new tc(i)),e},[]);return new Pl(t,i)},Vl=Yl,Wl=function(e){return Promise.resolve(Yl(e))};let Fl=(()=>{class e{constructor(){this.compileModuleSync=Rl,this.compileModuleAsync=jl,this.compileModuleAndAllComponentsSync=Vl,this.compileModuleAndAllComponentsAsync=Wl}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Hl=new z("compilerOptions"),Bl=(()=>Promise.resolve(0))();function zl(e){"undefined"==typeof Zone?Bl.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Nl{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Qc(!1),this.onMicrotaskEmpty=new Qc(!1),this.onStable=new Qc(!1),this.onError=new Qc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=R.requestAnimationFrame,t=R.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(R,()=>{e.lastRequestAnimationFrameId=-1,Jl(e),$l(e)}),Jl(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(i,n,r,s,a,o)=>{try{return Kl(e),i.invokeTask(r,s,a,o)}finally{t&&"eventTask"===s.type&&t(),Gl(e)}},onInvoke:(t,i,n,r,s,a,o)=>{try{return Kl(e),t.invoke(n,r,s,a,o)}finally{Gl(e)}},onHasTask:(t,i,n,r)=>{t.hasTask(n,r),i===n&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Jl(e),$l(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,i,n,r)=>(t.handleError(n,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Nl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Nl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,n){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+n,e,ql,Ul,Ul);try{return r.runTask(s,t,i)}finally{r.cancelTask(s)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}function Ul(){}const ql={};function $l(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Jl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Kl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gl(e){e._nesting--,$l(e)}class Zl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qc,this.onMicrotaskEmpty=new Qc,this.onStable=new Qc,this.onError=new Qc}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}}let Xl=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Nl.assertNotInAngularZone(),zl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zl(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,i){let n=-1;t&&t>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==n),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:n,updateCb:i})}whenStable(e,t,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(Q(Nl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})(),Ql=(()=>{class e{constructor(){this._applications=new Map,nd.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return nd.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();class ed{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}function td(e){nd=e}let id,nd=new ed,rd=function(e,t,i){const n=new qc(i);if(0===Ls.size)return Promise.resolve(n);const r=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(e.get(Hl,[]).concat(t).map(e=>e.providers));if(0===r.length)return Promise.resolve(n);const s=function(){const e=R.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),a=Ms.create({providers:r}).get(s.ResourceLoader);return function(e){const t=[],i=new Map;function n(e){let t=i.get(e);if(!t){const n=(e=>Promise.resolve(a.get(e)))(e);i.set(e,t=n.then(Es))}return t}return Ls.forEach((e,i)=>{const r=[];e.templateUrl&&r.push(n(e.templateUrl).then(t=>{e.template=t}));const s=e.styleUrls,a=e.styles||(e.styles=[]),o=e.styles.length;s&&s.forEach((t,i)=>{a.push(""),r.push(n(t).then(n=>{a[o+i]=n,s.splice(s.indexOf(t),1),0==s.length&&(e.styleUrls=void 0)}))});const c=Promise.all(r).then(()=>function(e){Ts.delete(e)}(i));t.push(c)}),Ls=new Map,Promise.all(t).then(()=>{})}().then(()=>n)};const sd=new z("AllowMultipleToken");class ad{constructor(e,t){this.name=e,this.token=t}}function od(e,t,i=[]){const n=`Platform: ${t}`,r=new z(n);return(t=[])=>{let s=cd();if(!s||s.injector.get(sd,!1))if(e)e(i.concat(t).concat({provide:r,useValue:!0}));else{const e=i.concat(t).concat({provide:r,useValue:!0},{provide:hs,useValue:"platform"});!function(e){if(id&&!id.destroyed&&!id.injector.get(sd,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");id=e.get(ld);const t=e.get(Dl,null);t&&t.forEach(e=>e())}(Ms.create({providers:e,name:n}))}return function(e){const t=cd();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function cd(){return id&&!id.destroyed?id:null}let ld=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const i=function(e,t){let i;return i="noop"===e?new Zl:("zone.js"===e?void 0:e)||new Nl({enableLongStackTrace:Mi(),shouldCoalesceEventChangeDetection:t}),i}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),n=[{provide:Nl,useValue:i}];return i.run(()=>{const t=Ms.create({providers:n,parent:this.injector,name:e.moduleType.name}),r=e.create(t),s=r.injector.get(li,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>hd(this._modules,r)),i.runOutsideAngular(()=>i.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,i){try{const n=i();return aa(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(s,i,()=>{const e=r.injector.get(Sl);return e.runInitializers(),e.donePromise.then(()=>(zc(r.injector.get(Al,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const i=dd({},t);return rd(this.injector,i,e).then(e=>this.bootstrapModuleFactory(e,i))}_moduleDoBootstrap(e){const t=e.injector.get(ud);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${M(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Q(Ms))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function dd(e,t){return Array.isArray(t)?t.reduce(dd,e):Object.assign(Object.assign({},e),t)}let ud=(()=>{class e{constructor(e,t,i,n,r,c){this._zone=e,this._console=t,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Mi(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),d=new s.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Nl.assertNotInAngularZone(),zl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{Nl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),i.unsubscribe()}});this.isStable=Object(a.a)(l,d.pipe(Object(o.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=e instanceof vo?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(re),r=i.create(Ms.NULL,[],t||i.selector,n);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(Xl,null);return s&&r.injector.get(Ql).registerApplication(r.location.nativeElement,s),this._loadComponent(r),Mi()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;hd(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Tl,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),hd(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Q(Nl),Q(El),Q(Ms),Q(li),Q(Co),Q(Sl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function hd(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class fd{}class pd{}const md={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let _d=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||md}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,n]=e.split("#");return void 0===n&&(n="default"),i("crnd")(t).then(e=>e[n]).then(e=>bd(e,t,n)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,n]=e.split("#"),r="NgFactory";return void 0===n&&(n="default",r=""),i("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[n+r]).then(e=>bd(e,t,n))}}return e.\u0275fac=function(t){return new(t||e)(Q(Fl),Q(pd,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function bd(e,t,i){if(!e)throw new Error(`Cannot find '${i}' in '${t}'`);return e}class gd extends ds{}class yd extends gd{}const vd=function(e){return null},wd=od(null,"core",[{provide:Ll,useValue:"unknown"},{provide:ld,deps:[Ms]},{provide:Ql,deps:[]},{provide:El,deps:[]}]),Cd=[{provide:ud,useClass:ud,deps:[Nl,El,Ms,li,Co,Sl]},{provide:ec,deps:[Nl],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Sl,useClass:Sl,deps:[[new d,Cl]]},{provide:Fl,useClass:Fl,deps:[]},xl,{provide:Bo,useFactory:function(){return Uo},deps:[]},{provide:zo,useFactory:function(){return qo},deps:[]},{provide:Al,useFactory:function(e){return zc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new l(Al),new d,new h]]},{provide:Ol,useValue:"USD"}];let Sd=(()=>{class e{constructor(e){}}return e.\u0275mod=ke({type:e}),e.\u0275inj=b({factory:function(t){return new(t||e)(Q(ud))},providers:Cd}),e})()}).call(this,i("aWmh"))},fZJM:function(e,t,i){var n=t;n.utils=i("w8CP"),n.common=i("7ckf"),n.sha=i("WRkp"),n.ripemd=i("u0Sq"),n.hmac=i("ITfd"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},fnjI:function(e,t,i){var n=i("P7XM"),r=i("tnIz"),s=i("hwdV").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function c(){this.init(),this._w=o,r.call(this,64,56)}function l(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function u(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,r=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,h=0;h<16;++h)i[h]=e.readInt32BE(4*h);for(;h<80;++h)i[h]=(t=i[h-3]^i[h-8]^i[h-14]^i[h-16])<<1|t>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=l(n)+u(p,r,s,o)+c+i[f]+a[p]|0;c=o,o=s,s=d(r),r=n,n=m}this._a=n+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},fzPg:function(e,t,i){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(i("wd/R"))},g2Dh:function(e,t,i){var n=i("Qd/k").Reporter,r=i("Qd/k").EncoderBuffer,s=i("Qd/k").DecoderBuffer,a=i("2j6C"),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function l(e,t){var i={};this._baseState=i,i.enc=e,i.parent=t||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}e.exports=l;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var e=this._baseState,t={};d.forEach((function(i){t[i]=e[i]}));var i=new this.constructor(t.parent);return i._baseState=t,i},l.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var i=new this.constructor(this);return e.children.push(i),i[t].apply(i,arguments)}}),this)},l.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){var t=this._baseState,i=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==i.length&&(a(null===t.children),t.children=i,i.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(i){i==(0|i)&&(i|=0),t[e[i]]=i})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){throw new Error(e+" not implemented for encoding: "+this._baseState.enc)}})),o.forEach((function(e){l.prototype[e]=function(){var t=this._baseState,i=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(i),this}})),l.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){var i=this._baseState;if(null===i.parent)return e.wrapResult(i.children[0]._decode(e,t));var n,r=i.default,a=!0,o=null;if(null!==i.key&&(o=e.enterKey(i.key)),i.optional){var c=null;if(null!==i.explicit?c=i.explicit:null!==i.implicit?c=i.implicit:null!==i.tag&&(c=i.tag),null!==c||i.any){if(a=this._peekTag(e,c,i.any),e.isError(a))return a}else{var l=e.save();try{null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),a=!0}catch(p){a=!1}e.restore(l)}}if(i.obj&&a&&(n=e.enterObject()),a){if(null!==i.explicit){var d=this._decodeTag(e,i.explicit);if(e.isError(d))return d;e=d}var u=e.offset;if(null===i.use&&null===i.choice){i.any&&(l=e.save());var h=this._decodeTag(e,null!==i.implicit?i.implicit:i.tag,i.any);if(e.isError(h))return h;i.any?r=e.raw(l):e=h}if(t&&t.track&&null!==i.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==i.tag&&t.track(e.path(),e.offset,e.length,"content"),r=i.any?r:null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),e.isError(r))return r;if(i.any||null!==i.choice||null===i.children||i.children.forEach((function(i){i._decode(e,t)})),i.contains&&("octstr"===i.tag||"bitstr"===i.tag)){var f=new s(r);r=this._getUse(i.contains,e._reporterState.obj)._decode(f,t)}}return i.obj&&a&&(r=e.leaveObject(n)),null===i.key||null===r&&!0!==a?null!==o&&e.exitKey(o):e.leaveKey(o,i.key,r),r},l.prototype._decodeGeneric=function(e,t,i){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],i):/str$/.test(e)?this._decodeStr(t,e,i):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],i):"objid"===e?this._decodeObjid(t,null,null,i):"gentime"===e||"utctime"===e?this._decodeTime(t,e,i):"null_"===e?this._decodeNull(t,i):"bool"===e?this._decodeBool(t,i):"objDesc"===e?this._decodeStr(t,e,i):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],i):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,i):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){var i=this._baseState;return i.useDecoder=this._use(e,t),a(null===i.useDecoder._baseState.parent),i.useDecoder=i.useDecoder._baseState.children[0],i.implicit!==i.useDecoder._baseState.implicit&&(i.useDecoder=i.useDecoder.clone(),i.useDecoder._baseState.implicit=i.implicit),i.useDecoder},l.prototype._decodeChoice=function(e,t){var i=this._baseState,n=null,r=!1;return Object.keys(i.choice).some((function(s){var a=e.save(),o=i.choice[s];try{var c=o._decode(e,t);if(e.isError(c))return!1;n={type:s,value:c},r=!0}catch(l){return e.restore(a),!1}return!0}),this),r?n:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},l.prototype._encode=function(e,t,i){var n=this._baseState;if(null===n.default||n.default!==e){var r=this._encodeValue(e,t,i);if(void 0!==r&&!this._skipDefault(r,t,i))return r}},l.prototype._encodeValue=function(e,t,i){var r=this._baseState;if(null===r.parent)return r.children[0]._encode(e,t||new n);var s=null;if(this.reporter=t,r.optional&&void 0===e){if(null===r.default)return;e=r.default}var a=null,o=!1;if(r.any)s=this._createEncoderBuffer(e);else if(r.choice)s=this._encodeChoice(e,t);else if(r.contains)a=this._getUse(r.contains,i)._encode(e,t),o=!0;else if(r.children)a=r.children.map((function(i){if("null_"===i._baseState.tag)return i._encode(null,t,e);if(null===i._baseState.key)return t.error("Child should have a key");var n=t.enterKey(i._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var r=i._encode(e[i._baseState.key],t,e);return t.leaveKey(n),r}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(i){return this._getUse(this._baseState.args[0],e)._encode(i,t)}),c))}else null!==r.use?s=this._getUse(r.use,i)._encode(e,t):(a=this._encodePrimitive(r.tag,e),o=!0);if(!r.any&&null===r.choice){var l=null!==r.implicit?r.implicit:r.tag,d=null===r.implicit?"universal":"context";null===l?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(s=this._encodeComposite(l,o,d,a))}return null!==r.explicit&&(s=this._encodeComposite(r.explicit,!1,"context",s)),s},l.prototype._encodeChoice=function(e,t){var i=this._baseState,n=i.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(i.choice))),n._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){var i=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&i.args)return this._encodeObjid(t,i.reverseArgs[0],i.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,i.args&&i.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},g9U9:function(e,t){e.exports=function(e,t){for(var i=e.length,n=-1;++n10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wd/R"))},hbMA:function(e,t,i){var n=i("P7XM"),r=i("N2jm");function s(e){r.call(this,e),this.enc="pem"}n(s,r),e.exports=s,s.prototype.encode=function(e,t){for(var i=r.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],s=0;s15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=s.allocUnsafe(e),i=-1;++i0){var o=new n(this.degree);return o.fill(0),s.copy(o,a),o}return s},e.exports=s},jUeY:function(e,t,i){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,i){return e>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/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:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var i,n=this._calendarEl[e],r=t&&t.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(t)),n.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i("wd/R"))},jVdC:function(e,t,i){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,i){var r=e+" ";switch(i){case"ss":return r+(n(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(n(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(n(e)?"godziny":"godzin");case"MM":return r+(n(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(n(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?""===n?"("+i[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(n)?i[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_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\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},jZKg:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("HDdC"),r=i("quSY");function s(e,t){return new n.a(i=>{const n=new r.a;let s=0;return n.add(t.schedule((function(){s!==e.length?(i.next(e[s++]),i.closed||n.add(this.schedule())):i.complete()}))),n})}},jfSC:function(e,t,i){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".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:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,i){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i("wd/R"))},jfd1:function(e,t,i){var n=i("P7XM"),r=i("tjlA").Buffer,s=i("z71Z");function a(e){s.call(this,e),this.enc="pem"}n(a,s),e.exports=a,a.prototype.decode=function(e,t){for(var i=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,o=-1,c=-1,l=0;l=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(e){return function(t,i,s,a){var o=n(t),c=r[e][n(t)];return 2===o&&(c=c[i?0:1]),c.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wd/R"))},"k+aG":function(e,t,i){"use strict";var n=i("hwdV").Buffer,r=i("1IWx").Transform;function s(e){r.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i("P7XM")(s,r),s.prototype._transform=function(e,t,i){var n=null;try{this.update(e,t)}catch(r){n=r}i(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(i){t=i}e(t)},s.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer")}(e),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var i=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var s=this._blockOffset;s0;++a)this._length[a]+=o,(o=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*o);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=s},kEOa:function(e,t,i){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i("wd/R"))},kJWO:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kOpN:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wd/R"))},"kVK+":function(e,t){t.read=function(e,t,i,n,r){var s,a,o=8*r-n-1,c=(1<>1,d=-7,u=i?r-1:0,h=i?-1:1,f=e[t+u];for(u+=h,s=f&(1<<-d)-1,f>>=-d,d+=o;d>0;s=256*s+e[t+u],u+=h,d-=8);for(a=s&(1<<-d)-1,s>>=-d,d+=n;d>0;a=256*a+e[t+u],u+=h,d-=8);if(0===s)s=1-l;else{if(s===c)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),s-=l}return(f?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,i,n,r,s){var a,o,c,l=8*s-r-1,d=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:s-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+u>=1?h/c:h*Math.pow(2,1-u))*c>=2&&(a++,c/=2),a+u>=d?(o=0,a=d):a+u>=1?(o=(t*c-1)*Math.pow(2,r),a+=u):(o=t*Math.pow(2,u-1)*Math.pow(2,r),a=0));r>=8;e[i+f]=255&o,f+=p,o/=256,r-=8);for(a=a<0;e[i+f]=255&a,f+=p,a/=256,l-=8);e[i+f-p]|=128*m}},"kk9/":function(e,t,i){var n=i("e/Dd").getSymbolSize;t.getPositions=function(e){var t=n(e);return[[0,0],[t-7,0],[0,t-7]]}},l5ep:function(e,t,i){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(i("wd/R"))},l7GE:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("7o/Q");class r extends n.a{notifyNext(e,t,i,n,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lF1L:function(e,t,i){"use strict";var n=i("fZJM"),r=i("DLvh"),s=i("86MQ"),a=s.assert,o=s.parseBytes,c=i("OA+I"),l=i("RKMU");function d(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof d))return new d(e);this.curve=e=r[e].curve,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=d,d.prototype.sign=function(e,t){e=o(e);var i=this.keyFromSecret(t),n=this.hashInt(i.messagePrefix(),e),r=this.g.mul(n),s=this.encodePoint(r),a=this.hashInt(s,i.pubBytes(),e).mul(i.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:r,S:c,Rencoded:s})},d.prototype.verify=function(e,t,i){e=o(e),t=this.makeSignature(t);var n=this.keyFromPublic(i),r=this.hashInt(t.Rencoded(),n.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(n.pub().mul(r)).eq(s)},d.prototype.hashInt=function(){for(var e=this.hash(),t=0;t>>7)^(p<<14|p>>>18)^p>>>3)+l[f-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+l[f-16]}var _=n&r^n&s^r&s,b=h+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&d^~o&u)+c[f]+l[f];h=u,u=d,d=o,o=a+b|0,a=s,s=r,r=n,n=b+(((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+_)|0}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+s|0,i[3]=i[3]+a|0,i[4]=i[4]+o|0,i[5]=i[5]+d|0,i[6]=i[6]+u|0,i[7]=i[7]+h|0},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return i[r>>>5]|=128<<24-r%32,i[14+(r+64>>>9<<4)]=e.floor(n/4294967296),i[15+(r+64>>>9<<4)]=n,t.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(d),t.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256)},lWpZ:function(e,t,i){var n=i("Hjy1"),r=i("/ab2"),s=i("usKN"),a=i("C+gy"),o=i("roQf");function c(e,t,i){if(e=e.toLowerCase(),s[e])return r.createCipheriv(e,t,i);if(a[e])return new n({key:t,iv:i,mode:e});throw new TypeError("invalid suite type")}function l(e,t,i){if(e=e.toLowerCase(),s[e])return r.createDecipheriv(e,t,i);if(a[e])return new n({key:t,iv:i,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var i,n;if(e=e.toLowerCase(),s[e])i=s[e].key,n=s[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");i=8*a[e].key,n=a[e].iv}var r=o(t,!1,i,n);return c(e,r.key,r.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var i,n;if(e=e.toLowerCase(),s[e])i=s[e].key,n=s[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");i=8*a[e].key,n=a[e].iv}var r=o(t,!1,i,n);return l(e,r.key,r.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(a).concat(r.getCiphers())}},lXzo:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,r;return"m"===i?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(n=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2])}var i=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(i("wd/R"))},lYJp:function(e,t,i){var n=i("e/Dd"),r=n.getBCHDigit(1335);t.getEncodedBits=function(e,t){for(var i=e.bit<<3|t,s=i<<10;n.getBCHDigit(s)-r>=0;)s^=1335<=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},lm0R:function(e,t,i){"use strict";(function(t){e.exports=!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?function(e,i,n,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var s,a,o=arguments.length;switch(o){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,i)}));case 3:return t.nextTick((function(){e.call(null,i,n)}));case 4:return t.nextTick((function(){e.call(null,i,n,r)}));default:for(s=new Array(o-1),a=0;a=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".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\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(i("wd/R"))},mAz1:function(e,t,i){(function(t){var n=i("OZ/i"),r=i("MzeL").ec,s=i("Ku4m"),a=i("zZGF");function o(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,i,c,l,d){var u=s(c);if("ec"===u.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,i){var n=a[i.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+i.data.algorithm.curve.join("."));return new r(n).verify(t,e,i.data.subjectPrivateKey.data)}(e,i,u)}if("dsa"===u.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,i){var r=i.data.p,a=i.data.q,c=i.data.g,l=i.data.pub_key,d=s.signature.decode(e,"der"),u=d.s,h=d.r;o(u,a),o(h,a);var f=n.mont(r),p=u.invm(a);return 0===c.toRed(f).redPow(new n(t).mul(p).mod(a)).fromRed().mul(l.toRed(f).redPow(h.mul(p).mod(a)).fromRed()).mod(r).mod(a).cmp(h)}(e,i,u)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");i=t.concat([d,i]);for(var h=u.modulus.byteLength(),f=[1],p=0;i.length+f.length+2t(e),t)}:n.a}},mObS:function(e,t,i){"use strict";var n=i("P7XM"),r=i("9XZ3"),s=i("tcrS"),a=i("afKu"),o=i("ZDAU");function c(e){o.call(this,"digest"),this._hash=e}n(c,o),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new r:"rmd160"===e||"ripemd160"===e?new s:new c(a(e))}},n53Y:function(e,t,i){(function(t){var i;i=t.browser?"utf-8":parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary",e.exports=i}).call(this,i("8oxB"))},n6bG:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,"a",(function(){return n}))},nZSm:function(e,t,i){var n=i("u/Db"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function s(e){this.mode=n.ALPHANUMERIC,this.data=e}s.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var i=45*r.indexOf(this.data[t]);i+=r.indexOf(this.data[t+1]),e.put(i,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},e.exports=s},ngJS:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=e=>t=>{for(let i=0,n=e.length;i>>2]}},n.pad.Iso10126)},olUY:function(e,t,i){var n=i("P7XM"),r=i("tnIz"),s=i("hwdV").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64);function c(){this.init(),this._w=o,r.call(this,64,56)}function l(e,t,i){return i^e&(t^i)}function d(e,t,i){return e&t|i&(e|t)}function u(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,r),c.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},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,r=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,_=0|this._h,b=0;b<16;++b)i[b]=e.readInt32BE(4*b);for(;b<64;++b)i[b]=0|(((t=i[b-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+i[b-7]+f(i[b-15])+i[b-16];for(var g=0;g<64;++g){var y=_+h(c)+l(c,p,m)+a[g]+i[g]|0,v=u(n)+d(n,r,s)|0;_=m,m=p,p=c,c=o+y|0,o=s,s=r,r=n,n=y+v|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=_+this._h|0},c.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},"p/rL":function(e,t,i){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i("wd/R"))},pA7S:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib,i=t.WordArray,r=t.BlockCipher,s=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=s.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],i=0;i<56;i++){var n=a[i]-1;t[i]=e[n>>>5]>>>31-n%32&1}for(var r=this._subKeys=[],s=0;s<16;s++){var l=r[s]=[],d=c[s];for(i=0;i<24;i++)l[i/6|0]|=t[(o[i]-1+d)%28]<<31-i%6,l[4+(i/6|0)]|=t[28+(o[i+24]-1+d)%28]<<31-i%6;for(l[0]=l[0]<<1|l[0]>>>31,i=1;i<7;i++)l[i]=l[i]>>>4*(i-1)+3;l[7]=l[7]<<5|l[7]>>>27}var u=this._invSubKeys=[];for(i=0;i<16;i++)u[i]=r[15-i]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,i){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var r=i[n],s=this._lBlock,a=this._rBlock,o=0,c=0;c<8;c++)o|=l[c][((a^r[c])&d[c])>>>0];this._lBlock=a,this._rBlock=s^o}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var i=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=i,this._lBlock^=i<>>e^this._lBlock)&t;this._lBlock^=i,this._rBlock^=i<>>2]|=r<<24-s%4*8,e.sigBytes+=r},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},n.pad.Ansix923)},qM6L:function(e,t,i){var n;e.exports=(n=i("Ib8C"),function(){var e=n.lib.WordArray,t=n.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r>>2]>>>16-r%4*8&65535));return n.join("")},parse:function(t){for(var i=t.length,n=[],r=0;r>>1]|=t.charCodeAt(r)<<16-r%2*16;return e.create(n,2*i)}},t.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s>>2]>>>16-s%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(t){for(var n=t.length,r=[],s=0;s>>1]|=i(t.charCodeAt(s)<<16-s%2*16);return e.create(r,2*n)}}}(),n.enc.Utf16)},qVij:function(e,t,i){(function(t){var n=i("OZ/i"),r=i("Edxu");function s(e,i){var r=function(e){var t=a(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(i),s=i.modulus.byteLength(),o=(n.mont(i.modulus),new n(e).mul(r.blinder).umod(i.modulus)),c=o.toRed(n.mont(i.prime1)),l=o.toRed(n.mont(i.prime2)),d=i.coefficient,u=i.prime1,h=i.prime2,f=c.redPow(i.exponent1),p=l.redPow(i.exponent2);f=f.fromRed(),p=p.fromRed();var m=f.isub(p).imul(d).umod(u);return m.imul(h),p.iadd(m),new t(p.imul(r.unblinder).umod(i.modulus).toArray(!1,s))}function a(e){for(var t=e.modulus.byteLength(),i=new n(r(t));i.cmp(e.modulus)>=0||!i.umod(e.prime1)||!i.umod(e.prime2);)i=new n(r(t));return i}e.exports=s,s.getr=a}).call(this,i("tjlA").Buffer)},qlaj:function(e,t,i){"use strict";var n=i("w8CP").rotr32;function r(e,t,i){return e&t^~e&i}function s(e,t,i){return e&t^e&i^t&i}function a(e,t,i){return e^t^i}t.ft_1=function(e,t,i,n){return 0===e?r(t,i,n):1===e||3===e?a(t,i,n):2===e?s(t,i,n):void 0},t.ch32=r,t.maj32=s,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},qmMu:function(e,t,i){var n=i("Wogr"),r=i("e/Dd"),s=i("ekOh"),a=i("e6BP"),o=i("V35J"),c=i("1sBl"),l=i("kk9/"),d=i("eQOe"),u=i("NPxG"),h=i("jSPq"),f=i("yKow"),p=i("lYJp"),m=i("u/Db"),_=i("vvrf"),b=i("7uVY");function g(e,t,i){var n,r,s=e.size,a=p.getEncodedBits(t,i);for(n=0;n<15;n++)e.set(n<6?n:n<8?n+1:s-15+n,8,r=1==(a>>n&1),!0),e.set(8,n<8?s-n-1:n<9?15-n-1+1:15-n-1,r,!0);e.set(s-8,8,1,!0)}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var i,p,y=s.M;return void 0!==t&&(y=s.from(t.errorCorrectionLevel,s.M),i=f.from(t.version),p=d.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,i,s){var p;if(b(e))p=_.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var y=t;if(!y){var v=_.rawSplit(e);y=f.getBestVersionForData(v,i)}p=_.fromString(e,y||40)}var w=f.getBestVersionForData(p,i);if(!w)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t=0&&o<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===o||6===o)||o>=2&&o<=4&&c>=2&&c<=4,!0)}(k,t),function(e){for(var t=e.size,i=8;i=7&&function(e,t){for(var i,n,r,s=e.size,a=f.getEncodedBits(t),o=0;o<18;o++)i=Math.floor(o/3),e.set(i,n=o%3+s-8-3,r=1==(a>>o&1),!0),e.set(n,i,r,!0)}(k,t),function(e,t){for(var i=e.size,n=-1,r=i-1,s=7,a=0,o=i-1;o>0;o-=2)for(6===o&&o--;;){for(var c=0;c<2;c++)if(!e.isReserved(r,o-c)){var l=!1;a>>s&1)),e.set(r,o-c,l),-1==--s&&(a++,s=7)}if((r+=n)<0||i<=r){r-=n,n=-n;break}}}(k,C),isNaN(s)&&(s=d.getBestMask(k,g.bind(null,k,i))),d.applyMask(s,k),g(k,i,s),{modules:k,version:t,errorCorrectionLevel:i,maskPattern:s,segments:p}}(e,i,y,p)}},qu8F:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,i=e>>8&255,n=255&e;255===t?(t=0,255===i?(i=0,255===n?n=0:++n):++i):++t,e=0,e+=t<<16,e+=i<<8,e+=n}else e+=1<<24;return e}var i=e.Encryptor=e.extend({processBlock:function(e,i){var n=this._cipher,r=n.blockSize,s=this._iv,a=this._counter;s&&(a=this._counter=s.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(a);var o=a.slice(0);n.encryptBlock(o,0);for(var c=0;c{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();i.d(t,"a",(function(){return o}));let o=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:o,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof e)i.remove(this);else if(null!==i)for(let e=0;ee.concat(t instanceof a?t.errors:t),[])}},rSVQ:function(e,t,i){var n=i("Ku4m"),r=i("Edxu"),s=i("mObS"),a=i("9GDS"),o=i("g9U9"),c=i("OZ/i"),l=i("UpF+"),d=i("qVij"),u=i("ZYru").Buffer;e.exports=function(e,t,i){var h;h=e.padding?e.padding:i?1:4;var f,p=n(e);if(4===h)f=function(e,t){var i=e.modulus.byteLength(),n=t.length,l=s("sha1").update(u.alloc(0)).digest(),d=l.length,h=2*d;if(n>i-h-2)throw new Error("message too long");var f=u.alloc(i-n-h-2),p=i-d-1,m=r(d),_=o(u.concat([l,f,u.alloc(1,1),t],p),a(m,p)),b=o(m,a(_,d));return new c(u.concat([u.alloc(1),b,_],i))}(p,t);else if(1===h)f=function(e,t,i){var n,s=t.length,a=e.modulus.byteLength();if(s>a-11)throw new Error("message too long");return n=i?u.alloc(a-s-3,255):function(e){for(var t,i=u.allocUnsafe(e),n=0,s=r(2*e),a=0;n=0)throw new Error("data too long for modulus")}return i?d(f,p):l(f,p)}},"rVI/":function(e,t,i){var n=i("tjlA"),r=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function a(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),a.prototype=Object.create(r.prototype),s(r,a),a.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},rXFu:function(e,t,i){"use strict";(function(t,n){var r=i("lm0R");e.exports=y;var s,a=i("49sm");y.ReadableState=g,i("+qE3");var o=function(e,t){return e.listeners(t).length},c=i("QpuX"),l=i("hwdV").Buffer,d=t.Uint8Array||function(){},u=i("Onz0");u.inherits=i("P7XM");var h=i(1),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=i("Xhqo"),_=i("RoFp");u.inherits(y,c);var b=["error","close","destroy","pause","resume"];function g(e,t){s=s||i("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof s&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=i("fXKp").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function y(e){if(s=s||i("sZro"),!(this instanceof y))return new y(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function v(e,t,i,n,r){var s,a=e._readableState;return null===t?(a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var i=t.decoder.end();i&&i.length&&(t.buffer.push(i),t.length+=t.objectMode?1:i.length)}t.ended=!0,S(e)}}(e,a)):(r||(s=function(e,t){var i,n;return l.isBuffer(n=t)||n instanceof d||"string"==typeof t||void 0===t||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i}(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!i?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):x(e,a)):w(e,a,t,!1))):n||(a.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r(k,e):k(e))}function k(e){f("emit readable"),e.emit("readable"),T(e)}function x(e,t){t.readingMore||(t.readingMore=!0,r(M,e,t))}function M(e,t){for(var i=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(i=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):i=function(e,t,i){var n;return es.length?s.length:e;if(r+=a===s.length?s:s.slice(0,e),0==(e-=a)){a===s.length?(++n,t.head=i.next?i.next:t.tail=null):(t.head=i,i.data=s.slice(a));break}++n}return t.length-=n,r}(e,t):function(e,t){var i=l.allocUnsafe(e),n=t.head,r=1;for(n.data.copy(i),e-=n.data.length;n=n.next;){var s=n.data,a=e>s.length?s.length:e;if(s.copy(i,i.length-e,0,a),0==(e-=a)){a===s.length?(++r,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=s.slice(a));break}++r}return t.length-=r,i}(e,t),n}(e,t.buffer,t.decoder),i);var i}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,r(O,t,e))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function P(e,t){for(var i=0,n=e.length;i=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?A(this):S(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&A(this),null;var n,r=t.needReadable;return f("need readable",r),(0===t.length||t.length-e0?E(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),i!==e&&t.ended&&A(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var i=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,f("pipe count=%d opts=%j",s.pipesCount,t);var c=t&&!1===t.end||e===n.stdout||e===n.stderr?g:l;function l(){f("onend"),e.end()}s.endEmitted?r(c):i.once("end",c),e.on("unpipe",(function t(n,r){f("onunpipe"),n===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",_),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",m),e.removeListener("unpipe",t),i.removeListener("end",l),i.removeListener("end",g),i.removeListener("data",p),u=!0,!s.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}));var d=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,T(e))}}(i);e.on("drain",d);var u=!1,h=!1;function p(t){f("ondata"),h=!1,!1!==e.write(t)||h||((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==P(s.pipes,e))&&!u&&(f("false write response, pause",i._readableState.awaitDrain),i._readableState.awaitDrain++,h=!0),i.pause())}function m(t){f("onerror",t),g(),e.removeListener("error",m),0===o(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",b),g()}function b(){f("onfinish"),e.removeListener("close",_),g()}function g(){f("unpipe"),i.unpipe(e)}return i.on("data",p),function(e,t,i){if("function"==typeof e.prependListener)return e.prependListener("error",i);e._events&&e._events.error?a(e._events.error)?e._events.error.unshift(i):e._events.error=[i,e._events.error]:e.on("error",i)}(e,0,m),e.once("close",_),e.once("finish",b),e.emit("pipe",i),s.flowing||(f("pipe resume"),i.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,i={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,i),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2])}function i(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var i={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):e?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:i.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},roQf:function(e,t,i){var n=i("hwdV").Buffer,r=i("9XZ3");e.exports=function(e,t,i,s){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=i/8,o=n.alloc(a),c=n.alloc(s||0),l=n.alloc(0);a>0||s>0;){var d=new r;d.update(l),d.update(e),t&&d.update(t),l=d.digest();var u=0;if(a>0){var h=o.length-a;u=Math.min(a,l.length),l.copy(o,h,0,u),a-=u}if(u0){var f=c.length-s,p=Math.min(s,l.length-u);l.copy(c,f,u,u+p),s-=p}}return l.fill(0),{key:o,iv:c}}},"s+uk":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},sZro:function(e,t,i){"use strict";var n=i("lm0R"),r=Object.keys||function(e){var t=[];for(var i in e)t.push(i);return t};e.exports=u;var s=i("Onz0");s.inherits=i("P7XM");var a=i("rXFu"),o=i("3BRs");s.inherits(u,a);for(var c=r(o.prototype),l=0;l{const i=e.offset,r=i==l,u=r&&d||{};Object.keys(e).forEach(i=>{let r=i,c=e[i];if("offset"!==i)switch(r=t.normalizePropertyName(r,o),c){case n.p:c=s[i];break;case n.a:c=a[i];break;default:c=t.normalizeStyleValue(i,r,c,o)}u[r]=c}),r||c.push(u),d=u,l=i}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return c}function c(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&l(i,"start",e)));break;case"done":e.onDone(()=>n(i&&l(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&l(i,"destroy",e)))}}function l(e,t,i){const n=i.totalTime,r=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,!!i.disabled),s=e._data;return null!=s&&(r._data=s),r}function d(e,t,i,n,r="",s=0,a){return{element:e,triggerName:t,fromState:i,toState:n,phaseName:r,totalTime:s,disabled:!!a}}function u(e,t,i){let n;return e instanceof Map?(n=e.get(t),n||e.set(t,n=i)):(n=e[t],n||(n=e[t]=i)),n}function h(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let f=(e,t)=>!1,p=(e,t)=>!1,m=(e,t,i)=>[];const _=s();(_||"undefined"!=typeof Element)&&(f=(e,t)=>e.contains(t),p=(()=>{if(_||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,i)=>t.apply(e,[i]):p}})(),m=(e,t,i)=>{let n=[];if(i)n.push(...e.querySelectorAll(t));else{const i=e.querySelector(t);i&&n.push(i)}return n});let b=null,g=!1;function y(e){b||(b=("undefined"!=typeof document?document.body:null)||{},g=!!b.style&&"WebkitAppearance"in b.style);let t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in b.style,!t&&g)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}const v=p,w=f,C=m;function S(e){const t={};return Object.keys(e).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");t[n]=e[i]}),t}let k=(()=>{class e{validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return w(e,t)}query(e,t,i){return C(e,t,i)}computeStyle(e,t,i){return i||""}animate(e,t,i,r,s,a=[],o){return new n.d(i,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Lb({token:e,factory:e.\u0275fac}),e})(),x=(()=>{class e{}return e.NOOP=new k,e})();function M(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:D(parseFloat(t[1]),t[2])}function D(e,t){switch(t){case"s":return 1e3*e;default:return e}}function L(e,t,i){return e.hasOwnProperty("duration")?e:function(e,t,i){let n,r=0,s="";if("string"==typeof e){const i=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};n=D(parseFloat(i[1]),i[2]);const a=i[3];null!=a&&(r=D(parseFloat(a),i[4]));const o=i[5];o&&(s=o)}else n=e;if(!i){let i=!1,s=t.length;n<0&&(t.push("Duration values below 0 are not allowed for this animation step."),i=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:n,delay:r,easing:s}}(e,t,i)}function T(e,t={}){return Object.keys(e).forEach(i=>{t[i]=e[i]}),t}function E(e,t,i={}){if(t)for(let n in e)i[n]=e[n];else T(e,i);return i}function A(e,t,i){return i?t+":"+i+";":""}function O(e){let t="";for(let i=0;i{const r=H(n);i&&!i.hasOwnProperty(n)&&(i[n]=e.style[r]),e.style[r]=t[n]}),s()&&O(e))}function I(e,t){e.style&&(Object.keys(t).forEach(t=>{const i=H(t);e.style[i]=""}),s()&&O(e))}function R(e){return Array.isArray(e)?1==e.length?e[0]:Object(n.j)(e):e}const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function Y(e){let t=[];if("string"==typeof e){let i;for(;i=j.exec(e);)t.push(i[1]);j.lastIndex=0}return t}function V(e,t,i){const n=e.toString(),r=n.replace(j,(e,n)=>{let r=t[n];return t.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),r=""),r.toString()});return r==n?e:r}function W(e){const t=[];let i=e.next();for(;!i.done;)t.push(i.value),i=e.next();return t}const F=/-+([a-z0-9])/g;function H(e){return e.replace(F,(...e)=>e[1].toUpperCase())}function B(e,t){return 0===e||0===t}function z(e,t,i){const n=Object.keys(i);if(n.length&&t.length){let s=t[0],a=[];if(n.forEach(e=>{s.hasOwnProperty(e)||a.push(e),s[e]=i[e]}),a.length)for(var r=1;rfunction(e,t,i){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,i);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${e}" is not supported`),t;const r=n[1],s=n[2],a=n[3];t.push(K(r,a)),"<"!=s[0]||"*"==r&&"*"==a||t.push(K(a,r))}(e,i,t)):i.push(e),i}const $=new Set(["true","1"]),J=new Set(["false","0"]);function K(e,t){const i=$.has(e)||J.has(e),n=$.has(t)||J.has(t);return(r,s)=>{let a="*"==e||e==r,o="*"==t||t==s;return!a&&i&&"boolean"==typeof r&&(a=r?$.has(e):J.has(e)),!o&&n&&"boolean"==typeof s&&(o=s?$.has(t):J.has(t)),a&&o}}const G=new RegExp("s*:selfs*,?","g");function Z(e,t,i){return new X(e).build(t,i)}class X{constructor(e){this._driver=e}build(e,t){const i=new Q(t);return this._resetContextStyleTimingState(i),N(this,R(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,n=t.depCount=0;const r=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const i=e,n=i.name;n.toString().split(/\s*,\s*/).forEach(e=>{i.name=e,r.push(this.visitState(i,t))}),i.name=n}else if(1==e.type){const r=this.visitTransition(e,t);i+=r.queryCount,n+=r.depCount,s.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:s,queryCount:i,depCount:n,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=n||{};if(i.styles.forEach(e=>{if(ee(e)){const t=e;Object.keys(t).forEach(e=>{Y(t[e]).forEach(e=>{s.hasOwnProperty(e)||r.add(e)})})}}),r.size){const i=W(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=N(this,R(e.animation),t);return{type:1,matchers:q(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:te(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>N(this,e,t)),options:te(e.options)}}visitGroup(e,t){const i=t.currentTime;let n=0;const r=e.steps.map(e=>{t.currentTime=i;const r=N(this,e,t);return n=Math.max(n,t.currentTime),r});return t.currentTime=n,{type:3,steps:r,options:te(e.options)}}visitAnimate(e,t){const i=function(e,t){let i=null;if(e.hasOwnProperty("duration"))i=e;else if("number"==typeof e)return ie(L(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=ie(0,0,"");return e.dynamic=!0,e.strValue=n,e}return i=i||L(n,t),ie(i.duration,i.delay,i.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=i;let s=e.styles?e.styles:Object(n.l)({});if(5==s.type)r=this.visitKeyframes(s,t);else{let s=e.styles,a=!1;if(!s){a=!0;const e={};i.easing&&(e.easing=i.easing),s=Object(n.l)(e)}t.currentTime+=i.duration+i.delay;const o=this.visitStyle(s,t);o.isEmptyStep=a,r=o}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==n.a?i.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):i.push(e)}):i.push(e.styles);let r=!1,s=null;return i.forEach(e=>{if(ee(e)){const t=e,i=t.easing;if(i&&(s=i,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let n=t.currentTime,r=t.currentTime;i&&r>0&&(r-=i.duration+i.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void t.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],a=s[i];let o=!0;a&&(r!=n&&r>=a.startTime&&n<=a.endTime&&(t.errors.push(`The CSS property "${i}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${n}ms"`),o=!1),r=a.startTime),o&&(s[i]={startTime:r,endTime:n}),t.options&&function(e,t,i){const n=t.params||{},r=Y(e);r.length&&r.forEach(e=>{n.hasOwnProperty(e)||i.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[i],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const r=[];let s=!1,a=!1,o=0;const c=e.steps.map(e=>{const i=this._makeStyleAst(e,t);let c=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ee(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}});else if(ee(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}return t}(i.styles),l=0;return null!=c&&(n++,l=i.offset=c),a=a||l<0||l>1,s=s||l0&&n{const s=d>0?n==u?1:d*n:r[n],a=s*p;t.currentTime=h+f.delay+a,f.duration=a,this._validateStyleAst(e,t),e.offset=s,i.styles.push(e)}),i}visitReference(e,t){return{type:8,animation:N(this,R(e.animation),t),options:te(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:te(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:te(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[r,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(G,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=i.length?i+" "+r:r,u(t.collectedStyles,t.currentQuerySelector,{});const a=N(this,R(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:te(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:L(e.timings,t.errors,!0);return{type:12,animation:N(this,R(e.animation),t),timings:i,options:null}}}class Q{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ee(e){return!Array.isArray(e)&&"object"==typeof e}function te(e){var t;return e?(e=T(e)).params&&(e.params=(t=e.params)?T(t):null):e={},e}function ie(e,t,i){return{duration:e,delay:t,easing:i}}function ne(e,t,i,n,r,s,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:i,postStyleProps:n,duration:r,delay:s,totalTime:r+s,easing:a,subTimeline:o}}class re{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const se=new RegExp(":enter","g"),ae=new RegExp(":leave","g");function oe(e,t,i,n,r,s={},a={},o,c,l=[]){return(new ce).buildKeyframes(e,t,i,n,r,s,a,o,c,l)}class ce{buildKeyframes(e,t,i,n,r,s,a,o,c,l=[]){c=c||new re;const d=new de(e,t,c,n,r,l,[]);d.options=o,d.currentTimeline.setStyles([s],null,d.errors,o),N(this,i,d);const u=d.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(a).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([a],null,d.errors,o)}return u.length?u.map(e=>e.buildKeyframes()):[ne(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.consume(t.element);if(i){const n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,n,n.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,i){let n=t.currentTimeline.currentTime;const r=null!=i.duration?M(i.duration):null,s=null!=i.delay?M(i.delay):null;return 0!==r&&e.forEach(e=>{const i=t.appendInstructionToTimeline(e,r,s);n=Math.max(n,i.duration+i.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),N(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let n=t;const r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),null!=r.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=le);const e=M(r.delay);n.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>N(this,e,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let n=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?M(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);r&&a.delayNextStep(r),N(this,s,a),n=Math.max(n,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return L(t.params?V(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(i.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const r=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(r):i.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,n=t.currentTimeline.duration,r=i.duration,s=t.createSubContext().currentTimeline;s.easing=i.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*r),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?M(n.delay):0;r&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=le);let s=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let o=null;a.forEach((i,n)=>{t.currentQueryIndex=n;const a=t.createSubContext(e.options,i);r&&a.delayNextStep(r),i===t.element&&(o=a.currentTimeline),N(this,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,n=t.currentTimeline,r=e.timings,s=Math.abs(r.duration),a=s*(t.currentQueryTotal-1);let o=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":o=a-o;break;case"full":o=i.currentStaggerTime}const c=t.currentTimeline;o&&c.delayNextStep(o);const l=c.currentTime;N(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-l+(n.startTime-i.currentTimeline.startTime)}}const le={};class de{constructor(e,t,i,n,r,s,a,o){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=le,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new ue(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let n=this.options;null!=i.duration&&(n.duration=M(i.duration)),null!=i.delay&&(n.delay=M(i.delay));const r=i.params;if(r){let e=n.params;e||(e=this.options.params={}),Object.keys(r).forEach(i=>{t&&e.hasOwnProperty(i)||(e[i]=V(r[i],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(e=>{i[e]=t[e]})}}return e}createSubContext(e=null,t,i){const n=t||this.element,r=new de(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=le,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},r=new he(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,n,r,s){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(se,"."+this._enterClassName)).replace(ae,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=i);0!==i&&(t=i<0?t.slice(t.length+i,t.length):t.slice(0,i)),a.push(...t)}return r||0!=a.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),a}}class ue{constructor(e,t,i,n){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new ue(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||n.a,this._currentKeyframe[e]=n.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},a=function(e,t){const i={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{i[e]=n.a})):E(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(a).forEach(e=>{const t=V(a[e],s,i);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:n.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const i=this._styleSummary[t],n=e._styleSummary[t];(!i||n.time>i.time)&&this._updateStyle(t,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,a)=>{const o=E(s,!0);Object.keys(o).forEach(i=>{const r=o[i];r==n.p?e.add(i):r==n.a&&t.add(i)}),i||(o.offset=a/this.duration),r.push(o)});const s=e.size?W(e.values()):[],a=t.size?W(t.values()):[];if(i){const e=r[0],t=T(e);e.offset=0,t.offset=1,r=[e,t]}return ne(this.element,r,s,a,this.duration,this.startTime,this.easing,!1)}}class he extends ue{constructor(e,t,i,n,r,s,a=!1){super(e,t,s.delay),this.element=t,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],s=i+t,a=t/s,o=E(e[0],!1);o.offset=0,r.push(o);const c=E(e[0],!1);c.offset=fe(a),r.push(c);const l=e.length-1;for(let n=1;n<=l;n++){let a=E(e[n],!1);a.offset=fe((t+a.offset*i)/s),r.push(a)}i=s,t=0,n="",e=r}return ne(this.element,e,this.preStyleProps,this.postStyleProps,i,t,n,!0)}}function fe(e,t=3){const i=Math.pow(10,t-1);return Math.round(e*i)/i}class pe{}class me extends pe{normalizePropertyName(e,t){return H(e)}normalizeStyleValue(e,t,i,n){let r="";const s=i.toString().trim();if(_e[t]&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const t=i.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&n.push(`Please provide a CSS unit value for ${e}:${i}`)}return s+r}}const _e=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function be(e,t,i,n,r,s,a,o,c,l,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:i,fromStyles:s,toState:n,toStyles:a,timelines:o,queriedElements:c,preStyleProps:l,postStyleProps:d,totalTime:u,errors:h}}const ge={};class ye{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,n){return function(e,t,i,n,r){return e.some(e=>e(t,i,n,r))}(this.ast.matchers,e,t,i,n)}buildStyles(e,t,i){const n=this._stateStyles["*"],r=this._stateStyles[e],s=n?n.buildStyles(t,i):{};return r?r.buildStyles(t,i):s}build(e,t,i,n,r,s,a,o,c,l){const d=[],h=this.ast.options&&this.ast.options.params||ge,f=this.buildStyles(i,a&&a.params||ge,d),p=o&&o.params||ge,m=this.buildStyles(n,p,d),_=new Set,b=new Map,g=new Map,y="void"===n,v={params:Object.assign(Object.assign({},h),p)},w=l?[]:oe(e,t,this.ast.animation,r,s,f,m,v,c,d);let C=0;if(w.forEach(e=>{C=Math.max(e.duration+e.delay,C)}),d.length)return be(t,this._triggerName,i,n,y,f,m,[],[],b,g,C,d);w.forEach(e=>{const i=e.element,n=u(b,i,{});e.preStyleProps.forEach(e=>n[e]=!0);const r=u(g,i,{});e.postStyleProps.forEach(e=>r[e]=!0),i!==t&&_.add(i)});const S=W(_.values());return be(t,this._triggerName,i,n,y,f,m,w,S,b,g,C)}}class ve{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const i={},n=T(this.defaultParams);return Object.keys(e).forEach(t=>{const i=e[t];null!=i&&(n[t]=i)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let s=r[e];s.length>1&&(s=V(s,n,t)),i[e]=s})}}),i}}class we{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new ve(e.style,e.options&&e.options.params||{})}),Ce(this.states,"true","1"),Ce(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new ye(e,t,this.states))}),this.fallbackTransition=new ye(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,n){return this.transitionFactories.find(r=>r.match(e,t,i,n))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function Ce(e,t,i){e.hasOwnProperty(t)?e.hasOwnProperty(i)||(e[i]=e[t]):e.hasOwnProperty(i)&&(e[t]=e[i])}const Se=new re;class ke{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(e,t){const i=[],n=Z(this._driver,t,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[e]=n}_buildPlayer(e,t,i){const n=e.element,r=o(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],s=this._animations[e];let o;const c=new Map;if(s?(o=oe(this._driver,t,s,"ng-enter","ng-leave",{},{},i,Se,r),o.forEach(e=>{const t=u(c,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);c.forEach((e,t)=>{Object.keys(e).forEach(i=>{e[i]=this._driver.computeStyle(t,i,n.a)})});const l=a(o.map(e=>{const t=c.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,i,n){const r=d(t,"","","");return c(this._getPlayer(e),i,r,n),()=>{}}command(e,t,i,n){if("register"==i)return void this.register(e,n[0]);if("create"==i)return void this.create(e,t,n[0]||{});const r=this._getPlayer(e);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const xe=[],Me={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},De={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Le{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=null!=(n=i?e.value:e)?n:null,i){const t=T(e);delete t.value,this.options=t}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(i=>{null==e[i]&&(e[i]=t[i])})}}}const Te=new Le("void");class Ee{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ye(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${t}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=i)&&"done"!=r)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${t}" is not supported!`);var r;const s=u(this._elementListeners,e,[]),a={name:t,phase:i,callback:n};s.push(a);const o=u(this._engine.statesByElement,e,{});return o.hasOwnProperty(t)||(Ye(e,"ng-trigger"),Ye(e,"ng-trigger-"+t),o[t]=Te),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(a);e>=0&&s.splice(e,1),this._triggers[t]||delete o[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,i,n=!0){const r=this._getTrigger(t),s=new Oe(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(Ye(e,"ng-trigger"),Ye(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));let o=a[t];const c=new Le(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&o&&c.absorbOptions(o.options),a[t]=c,o||(o=Te),"void"!==c.value&&o.value===c.value){if(!function(e,t){const i=Object.keys(e),n=Object.keys(t);if(i.length!=n.length)return!1;for(let r=0;r{I(e,i),P(e,n)})}return}const l=u(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=r.matchTransition(o.value,c.value,e,c.params),h=!1;if(!d){if(!n)return;d=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:o,toState:c,player:s,isFallbackTransition:h}),h||(Ye(e,"ng-animate-queued"),s.onStart(()=>{Ve(e,"ng-animate-queued")})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const i=this._engine.playersByElement.get(e);if(i){let e=i.indexOf(s);e>=0&&i.splice(e,1)}}),this.players.push(s),l.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,i)=>{delete t[e]}),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach(e=>{if(e.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(e);i.size?i.forEach(i=>i.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,i,n){const r=this._engine.statesByElement.get(e);if(r){const s=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const i=this.trigger(e,t,"void",n);i&&s.push(i)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),i&&a(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const i=new Set;t.forEach(t=>{const n=t.name;if(i.has(n))return;i.add(n);const r=this._triggers[n].fallbackTransition,s=this._engine.statesByElement.get(e)[n]||Te,a=new Le("void"),o=new Oe(this.id,n,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:r,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(i.totalAnimations){const t=i.players.length?i.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;)if(i.statesByElement.get(t)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)i.markElementAsRemoved(this.id,e,!1,t);else{const n=e.__ng_removed;n&&n!==Me||(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){Ye(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(t=>{if(t.name==i.triggerName){const n=d(r,i.triggerName,i.fromState.value,i.toState.value);n._data=e,c(i.player,t.phase,n,t.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(i)}),this._queue=[],t.sort((e,t)=>{const i=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Ae{constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const i=new Ee(e,t,this);return t.parentNode?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let r=i;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),n=!0;break}n||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(i);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i){const e=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.insertNode(t,i)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ye(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ve(e,"ng-animate-disabled"))}removeNode(e,t,i,n){if(Pe(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n),i){const i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,n)}}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,i,n){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(e,t,i,n,r){return Pe(t)?this._fetchNamespace(e).listen(t,i,n,r):()=>{}}_buildInstruction(e,t,i,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Me,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ie()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const i=new re,r=[],s=new Map,o=[],c=new Map,l=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let i=0;i{const i="ng-enter"+b++;_.set(t,i),e.forEach(e=>Ye(e,i))});const g=[],y=new Set,v=new Set;for(let n=0;ny.add(e)):v.add(e))}const w=new Map,C=je(p,Array.from(y));C.forEach((e,t)=>{const i="ng-leave"+b++;w.set(t,i),e.forEach(e=>Ye(e,i))}),e.push(()=>{m.forEach((e,t)=>{const i=_.get(t);e.forEach(e=>Ve(e,i))}),C.forEach((e,t)=>{const i=w.get(t);e.forEach(e=>Ve(e,i))}),g.forEach(e=>{this.processLeaveNode(e)})});const S=[],k=[];for(let n=this._namespaceList.length-1;n>=0;n--)this._namespaceList[n].drainQueuedTransitions(t).forEach(e=>{const t=e.player,n=e.element;if(S.push(t),this.collectedEnterElements.length){const e=n.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const s=!f||!this.driver.containsElement(f,n),a=w.get(n),h=_.get(n),p=this._buildInstruction(e,i,h,a,s);if(!p.errors||!p.errors.length)return s?(t.onStart(()=>I(n,p.fromStyles)),t.onDestroy(()=>P(n,p.toStyles)),void r.push(t)):e.isFallbackTransition?(t.onStart(()=>I(n,p.fromStyles)),t.onDestroy(()=>P(n,p.toStyles)),void r.push(t)):(p.timelines.forEach(e=>e.stretchStartingKeyframe=!0),i.append(n,p.timelines),o.push({instruction:p,player:t,element:n}),p.queriedElements.forEach(e=>u(c,e,[]).push(t)),p.preStyleProps.forEach((e,t)=>{const i=Object.keys(e);if(i.length){let e=l.get(t);e||l.set(t,e=new Set),i.forEach(t=>e.add(t))}}),void p.postStyleProps.forEach((e,t)=>{const i=Object.keys(e);let n=d.get(t);n||d.set(t,n=new Set),i.forEach(e=>n.add(e))}));k.push(p)});if(k.length){const e=[];k.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),S.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,M=new Map;o.forEach(e=>{const t=e.element;i.has(t)&&(M.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{u(x,t,[]).push(e),e.destroy()})});const D=g.filter(e=>Fe(e,l,d)),L=new Map;Re(L,this.driver,v,d,n.a).forEach(e=>{Fe(e,l,d)&&D.push(e)});const T=new Map;m.forEach((e,t)=>{Re(T,this.driver,new Set(e),l,n.p)}),D.forEach(e=>{const t=L.get(e),i=T.get(e);L.set(e,Object.assign(Object.assign({},t),i))});const E=[],A=[],O={};o.forEach(e=>{const{element:t,player:n,instruction:o}=e;if(i.has(t)){if(h.has(t))return n.onDestroy(()=>P(t,o.toStyles)),n.disabled=!0,n.overrideTotalTime(o.totalTime),void r.push(n);let e=O;if(M.size>1){let i=t;const n=[];for(;i=i.parentNode;){const t=M.get(i);if(t){e=t;break}n.push(i)}n.forEach(t=>M.set(t,e))}const i=this._buildAnimation(n.namespaceId,o,x,s,T,L);if(n.setRealPlayer(i),e===O)E.push(n);else{const t=this.playersByElement.get(e);t&&t.length&&(n.parentPlayer=a(t)),r.push(n)}}else I(t,o.fromStyles),n.onDestroy(()=>P(t,o.toStyles)),A.push(n),h.has(t)&&r.push(n)}),A.forEach(e=>{const t=s.get(e.element);if(t&&t.length){const i=a(t);e.setRealPlayer(i)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let n=0;n!e.destroyed);r.length?We(this,e,r):this.processLeaveNode(e)}return g.length=0,E.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),E}elementContainsData(e,t){let i=!1;const n=t.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,n,r){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||"void"==r;t.forEach(t=>{t.queued||(e||t.triggerName==n)&&s.push(t)})}}return(i||n)&&(s=s.filter(e=>!(i&&i!=e.namespaceId||n&&n!=e.triggerName))),s}_beforeAnimationBuild(e,t,i){const n=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const a of t.timelines){const e=a.element,o=e!==n,c=u(i,e,[]);this._getPreviousPlayers(e,o,r,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}I(n,t.fromStyles)}_buildAnimation(e,t,i,r,s,c){const l=t.triggerName,d=t.element,h=[],f=new Set,p=new Set,m=t.timelines.map(t=>{const a=t.element;f.add(a);const u=a.__ng_removed;if(u&&u.removedBeforeQueried)return new n.d(t.duration,t.delay);const m=a!==d,_=function(e){const t=[];return function e(t,i){for(let r=0;re.getRealPlayer())).filter(e=>!!e.element&&e.element===a),b=s.get(a),g=c.get(a),y=o(0,this._normalizer,0,t.keyframes,b,g),v=this._buildPlayer(t,y,_);if(t.subTimeline&&r&&p.add(a),m){const t=new Oe(e,l,a);t.setRealPlayer(v),h.push(t)}return v});h.forEach(e=>{u(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,i){let n;if(e instanceof Map){if(n=e.get(t),n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&e.delete(t)}}else if(n=e[t],n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&delete e[t]}return n}(this.playersByQueriedElement,e.element,e))}),f.forEach(e=>Ye(e,"ng-animating"));const _=a(m);return _.onDestroy(()=>{f.forEach(e=>Ve(e,"ng-animating")),P(d,t.toStyles)}),p.forEach(e=>{u(r,e,[]).push(_)}),_}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new n.d(e.duration,e.delay)}}class Oe{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new n.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(i=>c(e,t,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){u(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Pe(e){return e&&1===e.nodeType}function Ie(e,t){const i=e.style.display;return e.style.display=null!=t?t:"none",i}function Re(e,t,i,n,r){const s=[];i.forEach(e=>s.push(Ie(e)));const a=[];n.forEach((i,n)=>{const s={};i.forEach(e=>{const i=s[e]=t.computeStyle(n,e,r);i&&0!=i.length||(n.__ng_removed=De,a.push(n))}),e.set(n,s)});let o=0;return i.forEach(e=>Ie(e,s[o++])),a}function je(e,t){const i=new Map;if(e.forEach(e=>i.set(e,[])),0==t.length)return i;const n=new Set(t),r=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let s=r.get(t);if(s)return s;const a=t.parentNode;return s=i.has(a)?a:n.has(a)?1:e(a),r.set(t,s),s}(e);1!==t&&i.get(t).push(e)}),i}function Ye(e,t){if(e.classList)e.classList.add(t);else{let i=e.$$classes;i||(i=e.$$classes={}),i[t]=!0}}function Ve(e,t){if(e.classList)e.classList.remove(t);else{let i=e.$$classes;i&&delete i[t]}}function We(e,t,i){a(i).onDone(()=>e.processLeaveNode(t))}function Fe(e,t,i){const n=i.get(e);if(!n)return!1;let r=t.get(e);return r?n.forEach(e=>r.add(e)):t.set(e,n),i.delete(e),!0}class He{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ae(e,t,i),this._timelineEngine=new ke(e,t,i),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,i,n,r){const s=e+"-"+n;let a=this._triggerCache[s];if(!a){const e=[],t=Z(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);a=function(e,t){return new we(e,t)}(n,t),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i,n){this._transitionEngine.removeNode(e,t,n||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if("@"==i.charAt(0)){const[e,r]=h(i);this._timelineEngine.command(e,t,r,n)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,r){if("@"==i.charAt(0)){const[e,n]=h(i);return this._timelineEngine.listen(e,t,n,r)}return this._transitionEngine.listen(e,t,i,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Be(e,t){let i=null,n=null;return Array.isArray(t)&&t.length?(i=Ne(t[0]),t.length>1&&(n=Ne(t[t.length-1]))):t&&(i=Ne(t)),i||n?new ze(e,i,n):null}let ze=(()=>{class e{constructor(t,i,n){this._element=t,this._startStyles=i,this._endStyles=n,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&P(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(P(this._element,this._initialStyles),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(I(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),P(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Ne(e){let t=null;const i=Object.keys(e);for(let n=0;nthis._handleCallback(e)}apply(){!function(e,t){const i=Xe(e,"").trim();i.length&&(function(e,t){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ge(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const i=Xe(e,"").split(","),n=Ke(i,t);n>=0&&(i.splice(n,1),Ze(e,"",i.join(",")))}(this._element,this._name))}}function $e(e,t,i){Ze(e,"PlayState",i,Je(e,t))}function Je(e,t){const i=Xe(e,"");return i.indexOf(",")>0?Ke(i.split(","),t):Ke([i],t)}function Ke(e,t){for(let i=0;i=0)return i;return-1}function Ge(e,t,i){i?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Ze(e,t,i,n){const r="animation"+t;if(null!=n){const t=e.style[r];if(t.length){const e=t.split(",");e[n]=i,i=e.join(",")}}e.style[r]=i}function Xe(e,t){return e.style["animation"+t]}class Qe{constructor(e,t,i,n,r,s,a,o){this.element=e,this.keyframes=t,this.animationName=i,this._duration=n,this._delay=r,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=n+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(e[i]=t?this._finalStyles[i]:U(this.element,i))})}this.currentSnapshot=e}}class et extends n.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=S(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class tt{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return w(e,t)}query(e,t,i){return C(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,i){i=i.map(e=>S(e));let n=`@keyframes ${t} {\n`,r="";i.forEach(e=>{r=" ";const t=parseFloat(e.offset);n+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const i=e[t];switch(t){case"offset":return;case"easing":return void(i&&(n+=`${r}animation-timing-function: ${i};\n`));default:return void(n+=`${r}${t}: ${i};\n`)}}),n+=`${r}}\n`}),n+="}\n";const s=document.createElement("style");return s.innerHTML=n,s}animate(e,t,i,n,r,s=[],a){a&&this._notifyFaultyScrubber();const o=s.filter(e=>e instanceof Qe),c={};B(i,n)&&o.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const l=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(i=>{"offset"!=i&&"easing"!=i&&(t[i]=e[i])})}),t}(t=z(e,t,c));if(0==i)return new et(e,l);const d=`gen_css_kf_${this._count++}`,u=this.buildKeyframeElement(e,d,t);document.querySelector("head").appendChild(u);const h=Be(e,t),f=new Qe(e,t,d,i,n,r,l,h);return f.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class it{constructor(e,t,i,n){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,i){return e.animate(t,i)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:U(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class nt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(st().toString()),this._cssKeyframesDriver=new tt}validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return w(e,t)}query(e,t,i){return C(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,i,n,r,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,i,n,r,s);const o={duration:i,delay:n,fill:0==n?"both":"forwards"};r&&(o.easing=r);const c={},l=s.filter(e=>e instanceof it);B(i,n)&&l.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const d=Be(e,t=z(e,t=t.map(e=>E(e,!1)),c));return new it(e,t,o,d)}}function rt(){return"function"==typeof st()}function st(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,i("8oxB"))},tGlX:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},tOiH:function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},tSWc:function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=i("2j6C"),a=n.rotr64_hi,o=n.rotr64_lo,c=n.shr64_hi,l=n.shr64_lo,d=n.sum64,u=n.sum64_hi,h=n.sum64_lo,f=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,_=n.sum64_5_lo,b=r.BlockHash,g=[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 y(){if(!(this instanceof y))return new y;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function v(e,t,i,n,r){var s=e&i^~e&r;return s<0&&(s+=4294967296),s}function w(e,t,i,n,r,s){var a=t&n^~t&s;return a<0&&(a+=4294967296),a}function C(e,t,i,n,r){var s=e&i^e&r^i&r;return s<0&&(s+=4294967296),s}function S(e,t,i,n,r,s){var a=t&n^t&s^n&s;return a<0&&(a+=4294967296),a}function k(e,t){var i=a(e,t,28)^a(t,e,2)^a(t,e,7);return i<0&&(i+=4294967296),i}function x(e,t){var i=o(e,t,28)^o(t,e,2)^o(t,e,7);return i<0&&(i+=4294967296),i}function M(e,t){var i=o(e,t,14)^o(e,t,18)^o(t,e,9);return i<0&&(i+=4294967296),i}function D(e,t){var i=a(e,t,1)^a(e,t,8)^c(e,t,7);return i<0&&(i+=4294967296),i}function L(e,t){var i=o(e,t,1)^o(e,t,8)^l(e,t,7);return i<0&&(i+=4294967296),i}function T(e,t){var i=o(e,t,19)^o(t,e,29)^l(e,t,6);return i<0&&(i+=4294967296),i}n.inherits(y,b),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var i=this.W,n=0;n<32;n++)i[n]=e[t+n];for(;n=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i("wd/R"))},tcrS:function(e,t,i){"use strict";var n=i("tjlA").Buffer,r=i("P7XM"),s=i("k+aG"),a=new Array(16),o=[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],c=[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],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[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],u=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function m(e,t,i,n,r,s,a,o){return p(e+(t^i^n)+s+a|0,o)+r|0}function _(e,t,i,n,r,s,a,o){return p(e+(t&i|~t&n)+s+a|0,o)+r|0}function b(e,t,i,n,r,s,a,o){return p(e+((t|~i)^n)+s+a|0,o)+r|0}function g(e,t,i,n,r,s,a,o){return p(e+(t&n|i&~n)+s+a|0,o)+r|0}function y(e,t,i,n,r,s,a,o){return p(e+(t^(i|~n))+s+a|0,o)+r|0}r(f,s),f.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var i=0|this._a,n=0|this._b,r=0|this._c,s=0|this._d,f=0|this._e,v=0|this._a,w=0|this._b,C=0|this._c,S=0|this._d,k=0|this._e,x=0;x<80;x+=1){var M,D;x<16?(M=m(i,n,r,s,f,e[o[x]],u[0],l[x]),D=y(v,w,C,S,k,e[c[x]],h[0],d[x])):x<32?(M=_(i,n,r,s,f,e[o[x]],u[1],l[x]),D=g(v,w,C,S,k,e[c[x]],h[1],d[x])):x<48?(M=b(i,n,r,s,f,e[o[x]],u[2],l[x]),D=b(v,w,C,S,k,e[c[x]],h[2],d[x])):x<64?(M=g(i,n,r,s,f,e[o[x]],u[3],l[x]),D=_(v,w,C,S,k,e[c[x]],h[3],d[x])):(M=y(i,n,r,s,f,e[o[x]],u[4],l[x]),D=m(v,w,C,S,k,e[c[x]],h[4],d[x])),i=f,f=s,s=p(r,10),r=n,n=M,v=k,k=S,S=p(C,10),C=w,w=D}var L=this._b+r+S|0;this._b=this._c+s+k|0,this._c=this._d+f+v|0,this._d=this._e+i+w|0,this._e=this._a+n+C|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 e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=f},tjlA:function(e,t,i){"use strict";(function(e){var n=i("H7XF"),r=i("kVK+"),s=i("49sm");function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return F(e).length;default:if(n)return W(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,i);case"utf8":case"utf-8":return M(this,t,i);case"ascii":return D(this,t,i);case"latin1":case"binary":return L(this,t,i);case"base64":return x(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function _(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function b(e,t,i,n,r){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:g(e,t,i,n,r);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):g(e,[t],i,n,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,i,n,r){var s,a=1,o=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,c/=2,i/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var d=-1;for(s=i;so&&(i=o-c),s=i;s>=0;s--){for(var u=!0,h=0;hr&&(n=r):n=r;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a>8,r.push(i%256),r.push(n);return r}(t,e.length-i),e,i,n)}function x(e,t,i){return n.fromByteArray(0===t&&i===e.length?e:e.slice(t,i))}function M(e,t,i){i=Math.min(e.length,i);for(var n=[],r=t;r239?4:l>223?3:l>191?2:1;if(r+u<=i)switch(u){case 1:l<128&&(d=l);break;case 2:128==(192&(s=e[r+1]))&&(c=(31&l)<<6|63&s)>127&&(d=c);break;case 3:a=e[r+2],128==(192&(s=e[r+1]))&&128==(192&a)&&(c=(15&l)<<12|(63&s)<<6|63&a)>2047&&(c<55296||c>57343)&&(d=c);break;case 4:a=e[r+2],o=e[r+3],128==(192&(s=e[r+1]))&&128==(192&a)&&128==(192&o)&&(c=(15&l)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&c<1114112&&(d=c)}null===d?(d=65533,u=1):d>65535&&(n.push((d-=65536)>>>10&1023|55296),d=56320|1023&d),n.push(d),r+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var i="",n=0;nr)&&(i=r);for(var s="",a=t;ai)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,i,n,r,s){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function P(e,t,i,n){t<0&&(t=65535+t+1);for(var r=0,s=Math.min(e.length-i,2);r>>8*(n?r:1-r)}function I(e,t,i,n){t<0&&(t=4294967295+t+1);for(var r=0,s=Math.min(e.length-i,4);r>>8*(n?r:3-r)&255}function R(e,t,i,n,r,s){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function j(e,t,i,n,s){return s||R(e,0,i,4),r.write(e,t,i,n,23,4),i+4}function Y(e,t,i,n,s){return s||R(e,0,i,8),r.write(e,t,i,n,52,8),i+8}t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,i){return l(null,e,t,i)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,i){return function(e,t,i,n){return d(t),t<=0?o(null,t):void 0!==i?"string"==typeof n?o(null,t).fill(i,n):o(null,t).fill(i):o(null,t)}(0,e,t,i)},c.allocUnsafe=function(e){return u(null,e)},c.allocUnsafeSlow=function(e){return u(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,r=0,s=Math.min(i,n);r0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),""},c.prototype.compare=function(e,t,i,n,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return-1;if(t>=i)return 1;if(this===e)return 0;for(var s=(r>>>=0)-(n>>>=0),a=(i>>>=0)-(t>>>=0),o=Math.min(s,a),l=this.slice(n,r),d=e.slice(t,i),u=0;ur)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return y(this,e,t,i);case"utf8":case"utf-8":return v(this,e,t,i);case"ascii":return w(this,e,t,i);case"latin1":case"binary":return C(this,e,t,i);case"base64":return S(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,i);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(r*=256);)n+=this[e+--t]*r;return n},c.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=this[e],r=1,s=0;++s=(r*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=t,r=1,s=this[e+--n];n>0&&(r*=256);)s+=this[e+--n]*r;return s>=(r*=128)&&(s-=Math.pow(2,8*t)),s},c.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,i,n){e=+e,t|=0,i|=0,n||O(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+r]=e/s&255;return t+i},c.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);O(this,e,t,i,r-1,-r)}var s=0,a=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+i},c.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);O(this,e,t,i,r-1,-r)}var s=i-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+i},c.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,i){return j(this,e,t,!0,i)},c.prototype.writeFloatBE=function(e,t,i){return j(this,e,t,!1,i)},c.prototype.writeDoubleLE=function(e,t,i){return Y(this,e,t,!0,i)},c.prototype.writeDoubleBE=function(e,t,i){return Y(this,e,t,!1,i)},c.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--r)e[r+t]=this[r+i];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&s.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&s.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;s.push(i)}else if(i<2048){if((t-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}function F(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,i,n){for(var r=0;r=t.length||r>=e.length);++r)t[r+i]=e[r];return r}}).call(this,i("aWmh"))},tnIz:function(e,t,i){var n=i("hwdV").Buffer;function r(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(e=n.from(e,t=t||"utf8"));for(var i=this._block,r=this._blockSize,s=e.length,a=this._len,o=0;o=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=(4294967295&i)>>>0;this._block.writeUInt32BE((i-n)/4294967296,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var r=this._hash();return e?r.toString(e):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r},tpL1:function(e,t,i){(function(t){var n=i("mObS"),r=i("1IWx"),s=i("P7XM"),a=i("b+dc"),o=i("mAz1"),c=i("tOiH");function l(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){return new l(e)}function h(e){return new d(e)}Object.keys(c).forEach((function(e){c[e].id=new t(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),s(l,r.Writable),l.prototype._write=function(e,t,i){this._hash.update(e),i()},l.prototype.update=function(e,i){return"string"==typeof e&&(e=new t(e,i)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var i=this._hash.digest(),n=a(i,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},s(d,r.Writable),d.prototype._write=function(e,t,i){this._hash.update(e),i()},d.prototype.update=function(e,i){return"string"==typeof e&&(e=new t(e,i)),this._hash.update(e),this},d.prototype.verify=function(e,i,n){"string"==typeof i&&(i=new t(i,n)),this.end();var r=this._hash.digest();return o(i,r,e,this._signType,this._tag)},e.exports={Sign:u,Verify:h,createSign:u,createVerify:h}}).call(this,i("tjlA").Buffer)},"tz+M":function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ"),s=r.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),this.recoveryParam=void 0===e.recoveryParam?null:e.recoveryParam)}function o(){this.place=0}function c(e,t){var i=e[t.place++];if(!(128&i))return i;for(var n=15&i,r=0,s=0,a=t.place;s>>3);for(e.push(128|i);--i;)e.push(t>>>(i<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=r.toArray(e,t);var i=new o;if(48!==e[i.place++])return!1;if(c(e,i)+i.place!==e.length)return!1;if(2!==e[i.place++])return!1;var s=c(e,i),a=e.slice(i.place,s+i.place);if(i.place+=s,2!==e[i.place++])return!1;var l=c(e,i);if(e.length!==l+i.place)return!1;var d=e.slice(i.place,l+i.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===d[0]&&128&d[1]&&(d=d.slice(1)),this.r=new n(a),this.s=new n(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&i[0]&&(i=[0].concat(i)),t=l(t),i=l(i);!(i[0]||128&i[1]);)i=i.slice(1);var n=[2];d(n,t.length),(n=n.concat(t)).push(2),d(n,i.length);var s=n.concat(i),a=[48];return d(a,s.length),a=a.concat(s),r.encode(a,e)}},"u/Db":function(e,t,i){var n=i("J6Nv"),r=i("BCVQ");t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return r.testNumeric(e)?t.NUMERIC:r.testAlphanumeric(e)?t.ALPHANUMERIC:r.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,i){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(n){return i}}},u0Sq:function(e,t,i){"use strict";var n=i("w8CP"),r=i("7ckf"),s=n.rotl32,a=n.sum32,o=n.sum32_3,c=n.sum32_4,l=r.BlockHash;function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(e,t,i,n){return e<=15?t^i^n:e<=31?t&i|~t&n:e<=47?(t|~i)^n:e<=63?t&n|i&~n:t^(i|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(d,l),t.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(e,t){for(var i=this.h[0],n=this.h[1],r=this.h[2],l=this.h[3],d=this.h[4],g=i,y=n,v=r,w=l,C=d,S=0;S<80;S++){var k=a(s(c(i,u(S,n,r,l),e[p[S]+t],h(S)),_[S]),d);i=d,d=l,l=s(r,10),r=n,n=k,k=a(s(c(g,u(79-S,y,v,w),e[m[S]+t],f(S)),b[S]),C),g=C,C=w,w=s(v,10),v=y,y=k}k=o(this.h[1],r,w),this.h[1]=o(this.h[2],l,C),this.h[2]=o(this.h[3],d,g),this.h[3]=o(this.h[4],i,y),this.h[4]=o(this.h[0],n,v),this.h[0]=k},d.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[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],m=[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],_=[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],b=[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]},u3GI:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uDfV:function(e,t,i){var n=i("P7XM"),r=i("T9HO"),s=i("tnIz"),a=i("hwdV").Buffer,o=new Array(160);function c(){this.init(),this._w=o,s.call(this,128,112)}n(c,r),c.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},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},uEye:function(e,t,i){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),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\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] 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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uGsb:function(e,t,i){var n,r,s,a,o,c,l,d;e.exports=(d=i("Ib8C"),i("MlIO"),i("1uat"),s=(r=(n=d).x64).Word,a=r.WordArray,l=(o=n.algo).SHA384=(c=o.SHA512).extend({_doReset:function(){this._hash=new a.init([new s.init(3418070365,3238371032),new s.init(1654270250,914150663),new s.init(2438529370,812702999),new s.init(355462360,4144912697),new s.init(1731405415,4290775857),new s.init(2394180231,1750603025),new s.init(3675008525,1694076839),new s.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=c._createHelper(l),n.HmacSHA384=c._createHmacHelper(l),d.SHA384)},uGxW:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("OLod"),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},uXwI:function(e,t,i){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(e,t,i){return i?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,r){return e+" "+i(t[r],e,n)}function r(e,n,r){return i(t[r],e,n)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_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:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uagp:function(e,t,i){"use strict";var n=i("OZ/i"),r=i("aqI/"),s=i("86MQ"),a=i("DLvh"),o=i("/ayr"),c=s.assert,l=i("uzSA"),d=i("tz+M");function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(c(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=u,u.prototype.keyPair=function(e){return new l(this,e)},u.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),s=this.n.sub(new n(2));;){var a=new n(t.generate(i));if(!(a.cmp(s)>0))return a.iaddn(1),this.keyFromPrivate(a)}},u.prototype._truncateToN=function(e,t){var i=8*e.byteLength()-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.sign=function(e,t,i,s){"object"==typeof i&&(s=i,i=null),s||(s={}),t=this.keyFromPrivate(t,i),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),c=e.toArray("be",a),l=new r({hash:this.hash,entropy:o,nonce:c,pers:s.pers,persEnc:s.persEnc||"utf8"}),u=this.n.sub(new n(1)),h=0;;h++){var f=s.k?s.k(h):new n(l.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(u)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var m=p.getX(),_=m.umod(this.n);if(0!==_.cmpn(0)){var b=f.invm(this.n).mul(_.mul(t.getPrivate()).iadd(e));if(0!==(b=b.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(_)?2:0);return s.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),g^=1),new d({r:_,s:b,recoveryParam:g})}}}}}},u.prototype.verify=function(e,t,i,r){e=this._truncateToN(new n(e,16)),i=this.keyFromPublic(i,r);var s=(t=new d(t,"hex")).r,a=t.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var o,c=a.invm(this.n),l=c.mul(e).umod(this.n),u=c.mul(s).umod(this.n);return this.curve._maxwellTrick?!(o=this.g.jmulAdd(l,i.getPublic(),u)).isInfinity()&&o.eqXToP(s):!(o=this.g.mulAdd(l,i.getPublic(),u)).isInfinity()&&0===o.getX().umod(this.n).cmp(s)},u.prototype.recoverPubKey=function(e,t,i,r){c((3&i)===i,"The recovery param is more than two bits"),t=new d(t,r);var s=this.n,a=new n(e),o=t.r,l=t.s,u=1&i,h=i>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");o=this.curve.pointFromX(h?o.add(this.curve.n):o,u);var f=t.r.invm(s),p=s.sub(a).mul(f).umod(s),m=l.mul(f).umod(s);return this.g.mulAdd(p,o,m)},u.prototype.getKeyRecoveryParam=function(e,t,i,n){if(null!==(t=new d(t,n)).recoveryParam)return t.recoveryParam;for(var r=0;r<4;r++){var s;try{s=this.recoverPubKey(e,t,r)}catch(e){continue}if(s.eq(i))return r}throw new Error("Unable to find valid recovery factor")}},usKN:function(e,t,i){var n={ECB:i("AUX7"),CBC:i("wRn4"),CFB:i("NQVK"),CFB8:i("YskG"),CFB1:i("Ujlg"),OFB:i("UWVS"),CTR:i("at63"),GCM:i("at63")},r=i("6F8h");for(var s in r)r[s].module=n[r[s].mode];e.exports=r},uzSA:function(e,t,i){"use strict";var n=i("OZ/i"),r=i("86MQ").assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=s,s.fromPublic=function(e,t,i){return t instanceof s?t:new s(e,{pub:t,pubEnc:i})},s.fromPrivate=function(e,t,i){return t instanceof s?t:new s(e,{priv:t,privEnc:i})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.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"}},s.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.mul(this.priv).getX()},s.prototype.sign=function(e,t,i){return this.ec.sign(e,this,t,i)},s.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},s.prototype.inspect=function(){return""}},vZ2G:function(e,t){e.exports=function(e){for(var t,i=e.length;i--;){if(255!==(t=e.readUInt8(i))){t++,e.writeUInt8(t,i);break}e.writeUInt8(0,i)}}},vvrf:function(e,t,i){var n=i("u/Db"),r=i("3X7Y"),s=i("nZSm"),a=i("AZa5"),o=i("Lzq4"),c=i("BCVQ"),l=i("e/Dd"),d=i("ELBg");function u(e){return unescape(encodeURIComponent(e)).length}function h(e,t,i){for(var n,r=[];null!==(n=e.exec(i));)r.push({data:n[0],index:n.index,mode:t,length:n[0].length});return r}function f(e){var t,i,r=h(c.NUMERIC,n.NUMERIC,e),s=h(c.ALPHANUMERIC,n.ALPHANUMERIC,e);return l.isKanjiModeEnabled()?(t=h(c.BYTE,n.BYTE,e),i=h(c.KANJI,n.KANJI,e)):(t=h(c.BYTE_KANJI,n.BYTE,e),i=[]),r.concat(s,t,i).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function p(e,t){switch(t){case n.NUMERIC:return r.getBitsLength(e);case n.ALPHANUMERIC:return s.getBitsLength(e);case n.KANJI:return o.getBitsLength(e);case n.BYTE:return a.getBitsLength(e)}}function m(e,t){var i,c=n.getBestModeForData(e);if((i=n.from(t,c))!==n.BYTE&&i.bit=0?e[e.length-1]:null;return i&&i.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,l.isKanjiModeEnabled()))}},w1tV:function(e,t,i){"use strict";var n=i("XNiG"),r=i("HDdC"),s=i("7o/Q"),a=i("quSY");function o(){return function(e){return e.lift(new c(e))}}class c{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const n=new l(e,i),r=t.subscribe(n);return n.closed||(n.connection=i.connect()),r}}class l extends s.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:i}=this,n=e._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}class d extends r.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new a.a,e.add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.a.EMPTY)),e}refCount(){return o()(this)}}const u=(()=>{const e=d.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class h extends n.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function f(){return new n.a}function p(){return e=>{return o()((t=f,function(e){let i;i="function"==typeof t?t:function(){return t};const n=Object.create(e,u);return n.source=e,n.subjectFactory=i,n})(e));var t}}i.d(t,"a",(function(){return p}))},w7YG:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.StreamCipher,i=e.algo,r=i.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,i=e.sigBytes,n=this._S=[],r=0;r<256;r++)n[r]=r;r=0;for(var s=0;r<256;r++){var a=r%i,o=n[r];n[r]=n[s=(s+n[r]+(t[a>>>2]>>>24-a%4*8&255))%256],n[s]=o}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var e=this._S,t=this._i,i=this._j,n=0,r=0;r<4;r++){var s=e[t=(t+1)%256];e[t]=e[i=(i+e[t])%256],e[i]=s,n|=e[(e[t]+e[i])%256]<<24-8*r}return this._i=t,this._j=i,n}e.RC4=t._createHelper(r);var a=i.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)s.call(this)}});e.RC4Drop=t._createHelper(a)}(),n.RC4)},w8CP:function(e,t,i){"use strict";var n=i("2j6C"),r=i("P7XM");function s(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=r,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var i=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r>6|192,i[n++]=63&a|128):s(e,r)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++r)),i[n++]=a>>18|240,i[n++]=a>>12&63|128,i[n++]=a>>6&63|128,i[n++]=63&a|128):(i[n++]=a>>12|224,i[n++]=a>>6&63|128,i[n++]=63&a|128)}else for(r=0;r>>0;return a},t.split32=function(e,t){for(var i=new Array(4*e.length),n=0,r=0;n>>24,i[r+1]=s>>>16&255,i[r+2]=s>>>8&255,i[r+3]=255&s):(i[r+3]=s>>>24,i[r+2]=s>>>16&255,i[r+1]=s>>>8&255,i[r]=255&s)}return i},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,i){return e+t+i>>>0},t.sum32_4=function(e,t,i,n){return e+t+i+n>>>0},t.sum32_5=function(e,t,i,n,r){return e+t+i+n+r>>>0},t.sum64=function(e,t,i,n){var r=n+e[t+1]>>>0;e[t]=(r>>0,e[t+1]=r},t.sum64_hi=function(e,t,i,n){return(t+n>>>0>>0},t.sum64_lo=function(e,t,i,n){return t+n>>>0},t.sum64_4_hi=function(e,t,i,n,r,s,a,o){var c=0,l=t;return c+=(l=l+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,i,n,r,s,a,o){return t+n+s+o>>>0},t.sum64_5_hi=function(e,t,i,n,r,s,a,o,c,l){var d=0,u=t;return d+=(u=u+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,i,n,r,s,a,o,c,l){return t+n+s+o+l>>>0},t.rotr64_hi=function(e,t,i){return(t<<32-i|e>>>i)>>>0},t.rotr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0},t.shr64_hi=function(e,t,i){return e>>>i},t.shr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0}},wQk9:function(e,t,i){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".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:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(i("wd/R"))},wRn4:function(e,t,i){var n=i("jIre");t.encrypt=function(e,t){var i=n(t,e._prev);return e._prev=e._cipher.encryptBlock(i),e._prev},t.decrypt=function(e,t){var i=e._prev;e._prev=t;var r=e._cipher.decryptBlock(t);return n(r,i)}},wZgz:function(e,t,i){var n;e.exports=(n=i("Ib8C"),i("ETIr"),i("cv67"),i("K3mO"),i("OLod"),function(){var e=n,t=e.lib.BlockCipher,i=e.algo,r=[],s=[],a=[],o=[],c=[],l=[],d=[],u=[],h=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var i=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;r[i]=p=p>>>8^255&p^99,s[p]=i;var m,_=e[i],b=e[_],g=e[b];a[i]=(m=257*e[p]^16843008*p)<<24|m>>>8,o[i]=m<<16|m>>>16,c[i]=m<<8|m>>>24,l[i]=m,d[p]=(m=16843009*g^65537*b^257*_^16843008*i)<<24|m>>>8,u[p]=m<<16|m>>>16,h[p]=m<<8|m>>>24,f[p]=m,i?(i=_^e[e[e[g^_]]],n^=e[e[n]]):i=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],m=i.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,i=e.sigBytes/4,n=4*((this._nRounds=i+6)+1),s=this._keySchedule=[],a=0;a6&&a%i==4&&(o=r[o>>>24]<<24|r[o>>>16&255]<<16|r[o>>>8&255]<<8|r[255&o]):(o=r[(o=o<<8|o>>>24)>>>24]<<24|r[o>>>16&255]<<16|r[o>>>8&255]<<8|r[255&o],o^=p[a/i|0]<<24),s[a]=s[a-i]^o}for(var c=this._invKeySchedule=[],l=0;l>>24]]^u[r[o>>>16&255]]^h[r[o>>>8&255]]^f[r[255&o]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,o,c,l,r)},decryptBlock:function(e,t){var i=e[t+1];e[t+1]=e[t+3],e[t+3]=i,this._doCryptBlock(e,t,this._invKeySchedule,d,u,h,f,s),i=e[t+1],e[t+1]=e[t+3],e[t+3]=i},_doCryptBlock:function(e,t,i,n,r,s,a,o){for(var c=this._nRounds,l=e[t]^i[0],d=e[t+1]^i[1],u=e[t+2]^i[2],h=e[t+3]^i[3],f=4,p=1;p>>24]^r[d>>>16&255]^s[u>>>8&255]^a[255&h]^i[f++],_=n[d>>>24]^r[u>>>16&255]^s[h>>>8&255]^a[255&l]^i[f++],b=n[u>>>24]^r[h>>>16&255]^s[l>>>8&255]^a[255&d]^i[f++],g=n[h>>>24]^r[l>>>16&255]^s[d>>>8&255]^a[255&u]^i[f++];l=m,d=_,u=b,h=g}m=(o[l>>>24]<<24|o[d>>>16&255]<<16|o[u>>>8&255]<<8|o[255&h])^i[f++],_=(o[d>>>24]<<24|o[u>>>16&255]<<16|o[h>>>8&255]<<8|o[255&l])^i[f++],b=(o[u>>>24]<<24|o[h>>>16&255]<<16|o[l>>>8&255]<<8|o[255&d])^i[f++],g=(o[h>>>24]<<24|o[l>>>16&255]<<16|o[d>>>8&255]<<8|o[255&u])^i[f++],e[t]=m,e[t+1]=_,e[t+2]=b,e[t+3]=g},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},"wd/R":function(e,t,i){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function N(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(z[e]=r),t&&(z[t[0]]=function(){return W(r.apply(this,arguments),t[1],t[2])}),i&&(z[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),B[t]=B[t]||function(e){var t,i,n,r=e.match(F);for(t=0,i=r.length;t=0&&H.test(e);)e=e.replace(H,n),H.lastIndex=0,i-=1;return e}var $=/\d/,J=/\d\d/,K=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ie=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,se=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,oe=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function de(e,t,i){le[e]=E(t)?t:function(e,n){return e&&i?i:t}}function ue(e,t){return u(le,e)?le[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r}))))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var i,n=t;for("string"==typeof e&&(e=[e]),c(t)&&(n=function(e,i){i[t]=S(e)}),i=0;i68?1900:2e3)};var ye,ve=we("FullYear",!0);function we(e,t){return function(i){return null!=i?(Se(this,e,i),r.updateOffset(this,t),this):Ce(this,e)}}function Ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Se(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&ge(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),ke(i,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](i))}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=(t%12+12)%12;return e+=(t-i)/12,1===i?ge(e)?29:28:31-i%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(o=new Date(e+400,t,i,n,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,r,s,a),o}function Re(e){var t;if(e<100&&e>=0){var i=Array.prototype.slice.call(arguments);i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function je(e,t,i){var n=7+t-i;return-(7+Re(e,0,n).getUTCDay()-t)%7+n-1}function Ye(e,t,i,n,r){var s,a,o=1+7*(t-1)+(7+i-n)%7+je(e,n,r);return o<=0?a=be(s=e-1)+o:o>be(e)?(s=e+1,a=o-be(e)):(s=e,a=o),{year:s,dayOfYear:a}}function Ve(e,t,i){var n,r,s=je(e.year(),t,i),a=Math.floor((e.dayOfYear()-s-1)/7)+1;return a<1?n=a+We(r=e.year()-1,t,i):a>We(e.year(),t,i)?(n=a-We(e.year(),t,i),r=e.year()+1):(r=e.year(),n=a),{week:n,year:r}}function We(e,t,i){var n=je(e,t,i),r=je(e+1,t,i);return(be(e)-n+r)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),V("week",5),V("isoWeek",5),de("w",X),de("ww",X,J),de("W",X),de("WW",X,J),me(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=S(e)})),N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),de("d",X),de("e",X),de("E",X),de("dd",(function(e,t){return t.weekdaysMinRegex(e)})),de("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),de("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);null!=r?t.d=r:p(i).invalidWeekday=e})),me(["d","e","E"],(function(e,t,i,n){t[n]=S(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ne(e,t,i){var n,r,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,a))?r:-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:-1!==(r=ye.call(this._weekdaysParse,a))?r:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:-1!==(r=ye.call(this._weekdaysParse,a))?r:-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:null}var Ue=ce,qe=ce,$e=ce;function Je(){function e(e,t){return t.length-e.length}var t,i,n,r,s,a=[],o=[],c=[],l=[];for(t=0;t<7;t++)i=f([2e3,1]).day(t),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),s=this.weekdays(i,""),a.push(n),o.push(r),c.push(s),l.push(n),l.push(r),l.push(s);for(a.sort(e),o.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)o[t]=he(o[t]),c[t]=he(c[t]),l[t]=he(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Ge(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Ke),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+Ke.apply(this)+W(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Ke.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+W(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)})),Ge("a",!0),Ge("A",!1),I("hour","h"),V("hour",13),de("a",Ze),de("A",Ze),de("H",X),de("h",X),de("k",X),de("HH",X,J),de("hh",X,J),de("kk",X,J),de("hmm",Q),de("hmmss",ee),de("Hmm",Q),de("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,i){var n=S(e);t[3]=24===n?0:n})),pe(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),pe(["h","hh"],(function(e,t,i){t[3]=S(e),p(i).bigHour=!0})),pe("hmm",(function(e,t,i){var n=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n)),p(i).bigHour=!0})),pe("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n,2)),t[5]=S(e.substr(r)),p(i).bigHour=!0})),pe("Hmm",(function(e,t,i){var n=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n))})),pe("Hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[3]=S(e.substr(0,n)),t[4]=S(e.substr(n,2)),t[5]=S(e.substr(r))}));var Xe,Qe=we("Hours",!0),et={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:De,week:{dow:0,doy:6},weekdays:He,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},it={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{n=Xe._abbr,i("RnhZ")("./"+t),st(n)}catch(r){}return tt[t]}function st(e,t){var i;return e&&((i=o(t)?ot(e):at(e,t))?Xe=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function at(e,t){if(null!==t){var i,n=et;if(t.abbr=e,null!=tt[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])n=tt[t.parentLocale]._config;else{if(null==(i=rt(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;n=i._config}return tt[e]=new O(A(n,t)),it[e]&&it[e].forEach((function(e){at(e.name,e.config)})),st(e),tt[e]}return delete tt[e],null}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!s(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,i,n,r,s=0;s0;){if(n=rt(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&k(r,i,!0)>=t-1)break;t--}s++}return Xe}(e)}function ct(e){var t,i=e._a;return i&&-2===p(e).overflow&&(t=i[1]<0||i[1]>11?1:i[2]<1||i[2]>ke(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,i){return null!=e?e:null!=t?t:i}function dt(e){var t,i,n,s,a,o=[];if(!e._d){for(n=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,i,n,r,s,a,o,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)s=1,a=4,i=lt(t.GG,e._a[0],Ve(kt(),1,4).year),n=lt(t.W,1),((r=lt(t.E,1))<1||r>7)&&(c=!0);else{s=e._locale._week.dow,a=e._locale._week.doy;var l=Ve(kt(),s,a);i=lt(t.gg,e._a[0],l.year),n=lt(t.w,l.week),null!=t.d?((r=t.d)<0||r>6)&&(c=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(c=!0)):r=s}n<1||n>We(i,s,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(o=Ye(i,n,r,s,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=lt(e._a[0],n[0]),(e._dayOfYear>be(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),i=Re(a,0,e._dayOfYear),e._a[1]=i.getUTCMonth(),e._a[2]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Re:Ie).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(p(e).weekdayMismatch=!0)}}var ut=/^\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)?)?$/,ht=/^\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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/]],mt=[["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/]],_t=/^\/?Date\((\-?\d+)/i;function bt(e){var t,i,n,r,s,a,o=e._i,c=ut.exec(o)||ht.exec(o);if(c){for(p(e).iso=!0,t=0,i=pt.length;t0&&p(e).unusedInput.push(a),o=o.slice(o.indexOf(i)+i.length),l+=i.length),z[s]?(i?p(e).empty=!1:p(e).unusedTokens.push(s),_e(s,i,e)):e._strict&&!i&&p(e).unusedTokens.push(s);p(e).charsLeftOver=c-l,o.length>0&&p(e).unusedInput.push(o),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),dt(e),ct(e)}else vt(e);else bt(e)}function Ct(e){var t=e._i,i=e._f;return e._locale=e._locale||ot(e._l),null===t||void 0===i&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new v(ct(t)):(l(t)?e._d=t:s(i)?function(e){var t,i,n,r,s;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:_()}));function Dt(e,t){var i,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return kt();for(i=t[0],n=1;n=0?new Date(e+400,t,i)-126227808e5:new Date(e,t,i).valueOf()}function Qt(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-126227808e5:Date.UTC(e,t,i)}function ei(e,t){N(0,[e,e.length],0,t)}function ti(e,t,i,n,r){var s;return null==e?Ve(this,n,r).year:(t>(s=We(e,n,r))&&(t=s),ii.call(this,e,t,i,n,r))}function ii(e,t,i,n,r){var s=Ye(e,t,i,n,r),a=Re(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),de("G",se),de("g",se),de("GG",X,J),de("gg",X,J),de("GGGG",ie,G),de("gggg",ie,G),de("GGGGG",ne,Z),de("ggggg",ne,Z),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=S(e)})),me(["gg","GG"],(function(e,t,i,n){t[n]=r.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),I("quarter","Q"),V("quarter",7),de("Q",$),pe("Q",(function(e,t){t[1]=3*(S(e)-1)})),N("D",["DD",2],"Do","date"),I("date","D"),V("date",9),de("D",X),de("DD",X,J),de("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=S(e.match(X)[0])}));var ni=we("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),V("dayOfYear",4),de("DDD",te),de("DDDD",K),pe(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=S(e)})),N("m",["mm",2],0,"minute"),I("minute","m"),V("minute",14),de("m",X),de("mm",X,J),pe(["m","mm"],4);var ri=we("Minutes",!1);N("s",["ss",2],0,"second"),I("second","s"),V("second",15),de("s",X),de("ss",X,J),pe(["s","ss"],5);var si,ai=we("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),I("millisecond","ms"),V("millisecond",16),de("S",te,$),de("SS",te,J),de("SSS",te,K),si="SSSS";si.length<=9;si+="S")de(si,re);function oi(e,t){t[6]=S(1e3*("0."+e))}for(si="S";si.length<=9;si+="S")pe(si,oi);var ci=we("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var li=v.prototype;function di(e){return e}li.add=Ut,li.calendar=function(e,t){var i=e||kt(),n=Rt(i,this).startOf("day"),s=r.calendarFormat(this,n)||"sameElse",a=t&&(E(t[s])?t[s].call(this,i):t[s]);return this.format(a||this.localeData().calendar(s,this,kt(i)))},li.clone=function(){return new v(this)},li.diff=function(e,t,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=Rt(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=R(t)){case"year":s=$t(this,n)/12;break;case"month":s=$t(this,n);break;case"quarter":s=$t(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:C(s)},li.endOf=function(e){var t;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?Qt:Xt;switch(e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},li.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},li.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.fromNow=function(e){return this.from(kt(),e)},li.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.toNow=function(e){return this.to(kt(),e)},li.get=function(e){return E(this[e=R(e)])?this[e]():this},li.invalidAt=function(){return p(this).overflow},li.isAfter=function(e,t){var i=w(e)?e:kt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?U(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},li.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var i="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},li.toJSON=function(){return this.isValid()?this.toISOString():null},li.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},li.unix=function(){return Math.floor(this.valueOf()/1e3)},li.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},li.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},li.year=ve,li.isLeapYear=function(){return ge(this.year())},li.weekYear=function(e){return ti.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},li.isoWeekYear=function(e){return ti.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},li.quarter=li.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},li.month=Ee,li.daysInMonth=function(){return ke(this.year(),this.month())},li.week=li.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},li.isoWeek=li.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},li.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},li.isoWeeksInYear=function(){return We(this.year(),1,4)},li.date=ni,li.day=li.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},li.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},li.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},li.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},li.hour=li.hours=Qe,li.minute=li.minutes=ri,li.second=li.seconds=ai,li.millisecond=li.milliseconds=ci,li.utcOffset=function(e,t,i){var n,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(oe,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=jt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?Nt(this,Ft(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:jt(this)},li.utc=function(e){return this.utcOffset(0,e)},li.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},li.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},li.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},li.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},li.isLocal=function(){return!!this.isValid()&&!this._isUTC},li.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},li.isUtc=Yt,li.isUTC=Yt,li.zoneAbbr=function(){return this._isUTC?"UTC":""},li.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},li.dates=M("dates accessor is deprecated. Use date instead.",ni),li.months=M("months accessor is deprecated. Use month instead",Ee),li.years=M("years accessor is deprecated. Use year instead",ve),li.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),li.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=Ct(e))._a){var t=e._isUTC?f(e._a):kt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var ui=O.prototype;function hi(e,t,i,n){var r=ot(),s=f().set(n,t);return r[i](s,e)}function fi(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=hi(e,n,i,"month");return r}function pi(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var r,s=ot(),a=e?s._week.dow:0;if(null!=i)return hi(t,(i+a)%7,n,"day");var o=[];for(r=0;r<7;r++)o[r]=hi(t,(r+a)%7,n,"day");return o}ui.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return E(n)?n.call(t,i):n},ui.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},ui.invalidDate=function(){return this._invalidDate},ui.ordinal=function(e){return this._ordinal.replace("%d",e)},ui.preparse=di,ui.postformat=di,ui.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return E(r)?r(e,t,i,n):r.replace(/%d/i,e)},ui.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return E(i)?i(t):i.replace(/%s/i,t)},ui.set=function(e){var t,i;for(i in e)E(t=e[i])?this[i]=t:this["_"+i]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ui.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},ui.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ui.monthsParse=function(e,t,i){var n,r,s;if(this._monthsParseExact)return Le.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=f([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},ui.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ui.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ui.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},ui.firstDayOfYear=function(){return this._week.doy},ui.firstDayOfWeek=function(){return this._week.dow},ui.weekdays=function(e,t){var i=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(i,this._week.dow):e?i[e.day()]:i},ui.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},ui.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},ui.weekdaysParse=function(e,t,i){var n,r,s;if(this._weekdaysParseExact)return Ne.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=f([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},ui.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ui.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ui.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ui.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ui.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},st("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===S(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",st),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",ot);var mi=Math.abs;function _i(e,t,i,n){var r=Ft(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function bi(e){return e<0?Math.floor(e):Math.ceil(e)}function gi(e){return 4800*e/146097}function yi(e){return 146097*e/4800}function vi(e){return function(){return this.as(e)}}var wi=vi("ms"),Ci=vi("s"),Si=vi("m"),ki=vi("h"),xi=vi("d"),Mi=vi("w"),Di=vi("M"),Li=vi("Q"),Ti=vi("y");function Ei(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ai=Ei("milliseconds"),Oi=Ei("seconds"),Pi=Ei("minutes"),Ii=Ei("hours"),Ri=Ei("days"),ji=Ei("months"),Yi=Ei("years"),Vi=Math.round,Wi={ss:44,s:45,m:45,h:22,d:26,M:11};function Fi(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}var Hi=Math.abs;function Bi(e){return(e>0)-(e<0)||+e}function zi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i=Hi(this._milliseconds)/1e3,n=Hi(this._days),r=Hi(this._months);e=C(i/60),t=C(e/60),i%=60,e%=60;var s=C(r/12),a=r%=12,o=n,c=t,l=e,d=i?i.toFixed(3).replace(/\.?0+$/,""):"",u=this.asSeconds();if(!u)return"P0D";var h=u<0?"-":"",f=Bi(this._months)!==Bi(u)?"-":"",p=Bi(this._days)!==Bi(u)?"-":"",m=Bi(this._milliseconds)!==Bi(u)?"-":"";return h+"P"+(s?f+s+"Y":"")+(a?f+a+"M":"")+(o?p+o+"D":"")+(c||l||d?"T":"")+(c?m+c+"H":"")+(l?m+l+"M":"")+(d?m+d+"S":"")}var Ni=Tt.prototype;return Ni.isValid=function(){return this._isValid},Ni.abs=function(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this},Ni.add=function(e,t){return _i(this,e,t,1)},Ni.subtract=function(e,t){return _i(this,e,t,-1)},Ni.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(i=this._months+gi(t=this._days+n/864e5),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(yi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Ni.asMilliseconds=wi,Ni.asSeconds=Ci,Ni.asMinutes=Si,Ni.asHours=ki,Ni.asDays=xi,Ni.asWeeks=Mi,Ni.asMonths=Di,Ni.asQuarters=Li,Ni.asYears=Ti,Ni.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN},Ni._bubble=function(){var e,t,i,n,r,s=this._milliseconds,a=this._days,o=this._months,c=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*bi(yi(o)+a),a=0,o=0),c.milliseconds=s%1e3,e=C(s/1e3),c.seconds=e%60,t=C(e/60),c.minutes=t%60,i=C(t/60),c.hours=i%24,a+=C(i/24),o+=r=C(gi(a)),a-=bi(yi(r)),n=C(o/12),o%=12,c.days=a,c.months=o,c.years=n,this},Ni.clone=function(){return Ft(this)},Ni.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},Ni.milliseconds=Ai,Ni.seconds=Oi,Ni.minutes=Pi,Ni.hours=Ii,Ni.days=Ri,Ni.weeks=function(){return C(this.days()/7)},Ni.months=ji,Ni.years=Yi,Ni.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=function(e,t,i){var n=Ft(e).abs(),r=Vi(n.as("s")),s=Vi(n.as("m")),a=Vi(n.as("h")),o=Vi(n.as("d")),c=Vi(n.as("M")),l=Vi(n.as("y")),d=r<=Wi.ss&&["s",r]||r0,d[4]=i,Fi.apply(null,d)}(this,!e,t);return e&&(i=t.pastFuture(+this,i)),t.postformat(i)},Ni.toISOString=zi,Ni.toString=zi,Ni.toJSON=zi,Ni.locale=Jt,Ni.localeData=Gt,Ni.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zi),Ni.lang=Kt,N("X",0,0,"unix"),N("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,i){i._d=new Date(S(e))})),r.version="2.24.0",t=kt,r.fn=li,r.min=function(){var e=[].slice.call(arguments,0);return Dt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Dt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return kt(1e3*e)},r.months=function(e,t){return fi(e,t,"months")},r.isDate=l,r.locale=st,r.invalid=_,r.duration=Ft,r.isMoment=w,r.weekdays=function(e,t,i){return pi(e,t,i,"weekdays")},r.parseZone=function(){return kt.apply(null,arguments).parseZone()},r.localeData=ot,r.isDuration=Et,r.monthsShort=function(e,t){return fi(e,t,"monthsShort")},r.weekdaysMin=function(e,t,i){return pi(e,t,i,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var i,n,r=et;null!=(n=rt(e))&&(r=n._config),(i=new O(t=A(r,t))).parentLocale=tt[e],tt[e]=i,st(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return D(tt)},r.weekdaysShort=function(e,t,i){return pi(e,t,i,"weekdaysShort")},r.normalizeUnits=R,r.relativeTimeRounding=function(e){return void 0===e?Vi:"function"==typeof e&&(Vi=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Wi[e]&&(void 0===t?Wi[e]:(Wi[e]=t,"s"===e&&(Wi.ss=t-1),!0))},r.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},r.prototype=li,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,i("2pl3")(e))},wk3p:function(e){e.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"}}')},wq4j:function(e,t,i){e.exports=i("43KI").PassThrough},x6pH:function(e,t,i){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]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:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,i){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i("wd/R"))},yCtX:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("HDdC"),r=i("ngJS"),s=i("jZKg");function a(e,t){return t?Object(s.a)(e,t):new n.a(Object(r.a)(e))}},yKow:function(e,t,i){var n=i("e/Dd"),r=i("NPxG"),s=i("ekOh"),a=i("u/Db"),o=i("J6Nv"),c=i("7uVY"),l=n.getBCHDigit(7973);function d(e,t){return a.getCharCountIndicator(e,t)+4}function u(e,t){var i=0;return e.forEach((function(e){var n=d(e.mode,t);i+=n+e.getBitsLength()})),i}t.from=function(e,t){return o.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,i){if(!o.isValid(e))throw new Error("Invalid QR Code version");void 0===i&&(i=a.BYTE);var s=8*(n.getSymbolTotalCodewords(e)-r.getTotalCodewordsCount(e,t));if(i===a.MIXED)return s;var c=s-d(i,e);switch(i){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,i){var n,r=s.from(i,s.M);if(c(e)){if(e.length>1)return function(e,i){for(var n=1;n<=40;n++)if(u(e,n)<=t.getCapacity(n,i,a.MIXED))return n}(e,r);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,i,n){for(var r=1;r<=40;r++)if(i<=t.getCapacity(r,n,e))return r}(n.mode,n.getLength(),r)},t.getEncodedBits=function(e){if(!o.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-l>=0;)t^=7973<11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},z3Vd:function(e,t,i){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(e,i,n,r){var s=function(e){var i=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,s="";return i>0&&(s+=t[i]+"vatlh"),n>0&&(s+=(""!==s?" ":"")+t[n]+"maH"),r>0&&(s+=(""!==s?" ":"")+t[r]),""===s?"pagh":s}(e);switch(n){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".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\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},z71Z:function(e,t,i){var n=i("P7XM"),r=i("f3pb"),s=r.base,a=r.bignum,o=r.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){s.Node.call(this,"der",e)}function d(e,t){var i=e.readUInt8(t);if(e.isError(i))return i;var n=o.tagClass[i>>6],r=0==(32&i);if(31==(31&i)){var s=i;for(i=0;128==(128&s);){if(s=e.readUInt8(t),e.isError(s))return s;i<<=7,i|=127&s}}else i&=31;return{cls:n,primitive:r,tag:i,tagStr:o.tag[i]}}function u(e,t,i){var n=e.readUInt8(i);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var r=127&n;if(r>4)return e.error("length octect is too long");n=0;for(var s=0;s{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:c,token:e,providedIn:"platform"}),e})();function c(){return Object(n.fc)(d)}const l=new n.r("Location Initialized");let d=(()=>{class e extends o{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,i){u()?this._history.pushState(e,t,i):this.location.hash=i}replaceState(e,t,i){u()?this._history.replaceState(e,t,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:h,token:e,providedIn:"platform"}),e})();function u(){return!!window.history.pushState}function h(){return new d(Object(n.fc)(a))}function f(e,t){if(0==e.length)return t;if(0==t.length)return e;let i=0;return e.endsWith("/")&&i++,t.startsWith("/")&&i++,2==i?e+t.substring(1):1==i?e+t:e+"/"+t}function p(e){const t=e.match(/#|\?|$/),i=t&&t.index||e.length;return e.slice(0,i-("/"===e[i-1]?1:0))+e.slice(i)}function m(e){return e&&"?"!==e[0]?"?"+e:e}let _=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:b,token:e,providedIn:"root"}),e})();function b(e){const t=Object(n.fc)(a).location;return new y(Object(n.fc)(o),t&&t.origin||"")}const g=new n.r("appBaseHref");let y=(()=>{class e extends _{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return f(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+m(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,n){const r=this.prepareExternalUrl(i+m(n));this._platformLocation.pushState(e,t,r)}replaceState(e,t,i,n){const r=this.prepareExternalUrl(i+m(n));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(o),n.fc(g,8))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),v=(()=>{class e extends _{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=f(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,i,n){let r=this.prepareExternalUrl(i+m(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,i,n){let r=this.prepareExternalUrl(i+m(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(o),n.fc(g,8))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),w=(()=>{class e{constructor(e,t){this._subject=new n.o,this._urlChangeListeners=[],this._platformStrategy=e;const i=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=p(S(i)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+m(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,S(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._platformStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),i)}replaceState(e,t="",i=null){this._platformStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t,complete:i})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(_),n.fc(o))},e.normalizeQueryParams=m,e.joinWithSlash=f,e.stripTrailingSlash=p,e.\u0275prov=Object(n.Lb)({factory:C,token:e,providedIn:"root"}),e})();function C(){return new w(Object(n.fc)(_),Object(n.fc)(o))}function S(e){return e.replace(/\/index.html$/,"")}const k=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),x=n.ob;class M{}let D=(()=>{class e extends M{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(x(t||this.locale)(e)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.v))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();function L(e,t){t=encodeURIComponent(t);for(const i of e.split(";")){const e=i.indexOf("="),[n,r]=-1==e?[i,""]:[i.slice(0,e),i.slice(e+1)];if(n.trim()===t)return decodeURIComponent(r)}return null}let T=(()=>{class e{constructor(e,t,i,n){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(n.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(n.xb)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.t),n.Pb(n.u),n.Pb(n.l),n.Pb(n.F))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class E{constructor(e,t,i,n){this.$implicit=e,this.ngForOf=t,this.index=i,this.count=n}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let A=(()=>{class e{constructor(e,t,i){this._viewContainer=e,this._template=t,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(n.W)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${i}' of type '${e=i,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,i,n)=>{if(null==e.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new E(null,this._ngForOf,-1,-1),null===n?void 0:n),r=new O(e,i);t.push(r)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const r=this._viewContainer.get(i);this._viewContainer.move(r,n);const s=new O(e,r);t.push(s)}});for(let i=0;i{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class O{constructor(e,t){this.record=e,this.view=t}}let P=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new I,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){R("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){R("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class I{constructor(){this.$implicit=null,this.ngIf=null}}function R(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(n.xb)(t)}'.`)}class j{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Y=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,i){this.ngSwitch=i,i._addCase(),this._view=new j(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M),n.Pb(Y,1))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),W=(()=>{class e{constructor(e,t,i){i._addDefault(new j(e,t))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.M),n.Pb(Y,1))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngSwitchDefault",""]]}),e})();class F{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class H{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const B=new H,z=new F;let N=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(n.ub)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,n.R.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(n.tb)(t))return B;if(Object(n.sb)(t))return z;throw i=e,Error(`InvalidPipeArgument: '${t}' for pipe '${Object(n.xb)(i)}'`);var i}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(n.hc())},e.\u0275pipe=n.Ob({name:"async",type:e,pure:!1}),e})(),U=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[{provide:M,useClass:D}]}),e})();function q(e){return"browser"===e}function $(e){return"server"===e}let J=(()=>{class e{}return e.\u0275prov=Object(n.Lb)({token:e,providedIn:"root",factory:()=>new K(Object(n.fc)(a),window,Object(n.fc)(n.n))}),e})();class K{constructor(e,t,i){this.document=e,this.window=t,this.errorHandler=i,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector(`#${e}`);if(t)return void this.scrollToElement(t);const i=this.document.querySelector(`[name='${e}']`);if(i)return void this.scrollToElement(i)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],n-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}class G extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new G,r||(r=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=X||(X=document.querySelector("base"),X)?X.getAttribute("href"):null;return null==t?null:(i=t,Z||(Z=document.createElement("a")),Z.setAttribute("href",i),"/"===Z.pathname.charAt(0)?Z.pathname:"/"+Z.pathname);var i}resetBaseElement(){X=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return L(document.cookie,e)}}let Z,X=null;const Q=new n.r("TRANSITION_ID"),ee=[{provide:n.d,useFactory:function(e,t,i){return()=>{i.get(n.e).donePromise.then(()=>{const i=s();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>i.remove(e))})}},deps:[Q,a,n.s],multi:!0}];class te{static init(){Object(n.Y)(new te)}addToWindow(e){n.qb.getAngularTestability=(t,i=!0)=>{const n=e.findTestabilityInTree(t,i);if(null==n)throw new Error("Could not find testability for element.");return n},n.qb.getAllAngularTestabilities=()=>e.getAllTestabilities(),n.qb.getAllAngularRootElements=()=>e.getAllRootElements(),n.qb.frameworkStabilizers||(n.qb.frameworkStabilizers=[]),n.qb.frameworkStabilizers.push(e=>{const t=n.qb.getAllAngularTestabilities();let i=t.length,r=!1;const s=function(t){r=r||t,i--,0==i&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,i){if(null==t)return null;const n=e.getTestability(t);return null!=n?n:i?s().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const ie=new n.r("EventManagerPlugins");let ne=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,i){return this._findPluginFor(t).addEventListener(e,t,i)}addGlobalEventListener(e,t,i){return this._findPluginFor(t).addGlobalEventListener(e,t,i)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const i=this._plugins;for(let n=0;n{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),ae=(()=>{class e extends se{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const i=this._doc.createElement("style");i.textContent=e,this._styleNodes.add(t.appendChild(i))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>s().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const oe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ce=/%COMP%/g;function le(e,t,i){for(let n=0;n{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let ue=(()=>{class e{constructor(e,t,i){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new he(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case n.Q.Emulated:{let i=this.rendererByCompId.get(t.id);return i||(i=new fe(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,i)),i.applyToHost(e),i}case n.Q.Native:case n.Q.ShadowDom:return new pe(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=le(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(n.fc(ne),n.fc(ae),n.fc(n.c))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class he{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(oe[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,i){e&&e.insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;const r=oe[n];r?e.setAttributeNS(r,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const n=oe[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&n.H.DashCase?e.style.setProperty(t,i,r&n.H.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&n.H.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,de(i)):this.eventManager.addEventListener(e,t,de(i))}}class fe extends he{constructor(e,t,i,n){super(e),this.component=i;const r=le(n+"-"+i.id,i.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(ce,n+"-"+i.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(ce,e)}(n+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class pe extends he{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.component=r,this.shadowRoot=r.encapsulation===n.Q.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=le(r.id,r.styles,[]);for(let n=0;n{class e extends re{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i){return e.addEventListener(t,i,!1),()=>this.removeEventListener(e,t,i)}removeEventListener(e,t,i){return e.removeEventListener(t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const _e=["alt","control","meta","shift"],be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ge={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ye={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ve=(()=>{class e extends re{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,n){const r=e.parseEventName(i),a=e.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>s().onAndCancel(t,r.domEventName,a))}static parseEventName(t){const i=t.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const r=e._normalizeKey(i.pop());let s="";if(_e.forEach(e=>{const t=i.indexOf(e);t>-1&&(i.splice(t,1),s+=e+".")}),s+=r,0!=i.length||0===r.length)return null;const a={};return a.domEventName=n,a.fullKey=s,a}static getEventFullKey(e){let t="",i=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&ge.hasOwnProperty(t)&&(t=ge[t]))}return be[t]||t}(e);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),_e.forEach(n=>{n!=i&&(0,ye[n])(e)&&(t+=n+".")}),t+=i,t}static eventCallback(t,i,n){return r=>{e.getEventFullKey(r)===t&&n.runGuarded(()=>i(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),we=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return Object(n.fc)(Ce)},token:e,providedIn:"root"}),e})(),Ce=(()=>{class e extends we{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case n.J.NONE:return t;case n.J.HTML:return Object(n.fb)(t,"HTML")?Object(n.yb)(t):Object(n.cb)(this._doc,String(t));case n.J.STYLE:return Object(n.fb)(t,"Style")?Object(n.yb)(t):Object(n.db)(t);case n.J.SCRIPT:if(Object(n.fb)(t,"Script"))return Object(n.yb)(t);throw new Error("unsafe value used in a script context");case n.J.URL:return Object(n.pb)(t),Object(n.fb)(t,"URL")?Object(n.yb)(t):Object(n.eb)(String(t));case n.J.RESOURCE_URL:if(Object(n.fb)(t,"ResourceURL"))return Object(n.yb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(n.gb)(e)}bypassSecurityTrustStyle(e){return Object(n.jb)(e)}bypassSecurityTrustScript(e){return Object(n.ib)(e)}bypassSecurityTrustUrl(e){return Object(n.kb)(e)}bypassSecurityTrustResourceUrl(e){return Object(n.hb)(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return e=Object(n.fc)(n.p),new Ce(e.get(a));var e},token:e,providedIn:"root"}),e})();const Se=[{provide:n.C,useValue:"browser"},{provide:n.D,useValue:function(){G.makeCurrent(),te.init()},multi:!0},{provide:a,useFactory:function(){return Object(n.wb)(document),document},deps:[]}],ke=Object(n.S)(n.X,"browser",Se),xe=[[],{provide:n.ab,useValue:"root"},{provide:n.n,useFactory:function(){return new n.n},deps:[]},{provide:ie,useClass:me,multi:!0,deps:[a,n.A,n.C]},{provide:ie,useClass:ve,multi:!0,deps:[a]},[],{provide:ue,useClass:ue,deps:[ne,ae,n.c]},{provide:n.G,useExisting:ue},{provide:se,useExisting:ae},{provide:ae,useClass:ae,deps:[a]},{provide:n.N,useClass:n.N,deps:[n.A]},{provide:ne,useClass:ne,deps:[ie,n.A]},[]];let Me=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:n.c,useValue:t.appId},{provide:Q,useExisting:n.c},ee]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(e,12))},providers:xe,imports:[U,n.f]}),e})();"undefined"!=typeof window&&window;var De=i("R0Ic"),Le=i("t9l1");let Te=(()=>{class e extends De.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:n.Q.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?Object(De.j)(e):e;return Oe(this._renderer,null,t,"register",[i]),new Ee(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.G),n.fc(a))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class Ee extends De.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Ae(this._id,e,t||{},this._renderer)}}class Ae{constructor(e,t,i,n){this.id=e,this.element=t,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Oe(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function Oe(e,t,i,n,r){return e.setProperty(t,`@@${i}:${n}`,r)}let Pe=(()=>{class e{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(i);return e||(e=new Ie("",i,this.engine),this._rendererCache.set(i,e)),e}const n=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(n,r,e,t.name,t)};return t.data.animation.forEach(s),new Re(this,r,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){e>=0&&et(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,i]=e;t(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.G),n.fc(Le.b),n.fc(n.A))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class Ie{constructor(e,t,i){this.namespaceId=e,this.delegate=t,this.engine=i,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,n){this.delegate.setAttribute(e,t,i,n)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,n){this.delegate.setStyle(e,t,i,n)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Re extends Ie{constructor(e,t,i,n){super(t,i,n),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.substr(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),s="";return"@"!=r.charAt(0)&&([r,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,n,r,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,i,e)})}return this.delegate.listen(e,t,i)}}let je=(()=>{class e extends Le.b{constructor(e,t,i){super(e.body,t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a),n.fc(Le.a),n.fc(Le.c))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const Ye=new n.r("AnimationModuleType"),Ve=[{provide:De.b,useClass:Te},{provide:Le.c,useFactory:function(){return new Le.g}},{provide:Le.b,useClass:je},{provide:n.G,useFactory:function(e,t,i){return new Pe(e,t,i)},deps:[ue,Le.b,n.A]}],We=[{provide:Le.a,useFactory:function(){return Object(Le.h)()?new Le.f:new Le.d}},{provide:Ye,useValue:"BrowserAnimations"},...Ve];let Fe=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:We,imports:[Me]}),e})();var He=i("HDdC"),Be=i("DH7j"),ze=i("lJxs"),Ne=i("XoHu"),Ue=i("Cfvw");function qe(...e){if(1===e.length){const t=e[0];if(Object(Be.a)(t))return $e(t,null);if(Object(Ne.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return $e(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return $e(e=1===e.length&&Object(Be.a)(e[0])?e[0]:e,null).pipe(Object(ze.a)(e=>t(...e)))}return $e(e,null)}function $e(e,t){return new He.a(i=>{const n=e.length;if(0===n)return void i.complete();const r=new Array(n);let s=0,a=0;for(let o=0;o{l||(l=!0,a++),r[o]=e},error:e=>i.error(e),complete:()=>{s++,s!==n&&l||(a===n&&i.next(t?t.reduce((e,t,i)=>(e[t]=r[i],e),{}):r),i.complete())}}))}})}const Je=new n.r("NgValueAccessor"),Ke={provide:Je,useExisting:Object(n.U)(()=>Ge),multi:!0};let Ge=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[n.Bb([Ke])]}),e})();const Ze={provide:Je,useExisting:Object(n.U)(()=>Qe),multi:!0},Xe=new n.r("CompositionEventMode");let Qe=(()=>{class e{constructor(e,t,i){this._renderer=e,this._elementRef=t,this._compositionMode=i,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=s()?s().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l),n.Pb(Xe,8))},e.\u0275dir=n.Kb({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&n.jc("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[n.Bb([Ze])]}),e})(),et=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e}),e})(),tt=(()=>{class e extends et{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return it(t||e)},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})();const it=n.Zb(tt);function nt(){throw new Error("unimplemented")}class rt extends et{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return nt()}get asyncValidator(){return nt()}}let st=(()=>{class e extends class{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(rt,2))},e.\u0275dir=n.Kb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&n.Gb("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[n.zb]}),e})();function at(e){return null==e||0===e.length}const ot=new n.r("NgValidators"),ct=new n.r("NgAsyncValidators"),lt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class dt{static min(e){return t=>{if(at(t.value)||at(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i{if(at(t.value)||at(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i>e?{max:{max:e,actual:t.value}}:null}}static required(e){return at(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return at(e.value)?null:lt.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(at(t.value))return null;const i=t.value?t.value.length:0;return i{const i=t.value?t.value.length:0;return i>e?{maxlength:{requiredLength:e,actualLength:i}}:null}}static pattern(e){if(!e)return dt.nullValidator;let t,i;return"string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),t=new RegExp(i)):(i=e.toString(),t=e),e=>{if(at(e.value))return null;const n=e.value;return t.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(ut);return 0==t.length?null:function(e){return ft(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(ut);return 0==t.length?null:function(e){return qe(function(e,t){return t.map(t=>t(e))}(e,t).map(ht)).pipe(Object(ze.a)(ft))}}}function ut(e){return null!=e}function ht(e){const t=Object(n.tb)(e)?Object(Ue.a)(e):e;if(!Object(n.sb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function ft(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function pt(e){return e.validate?t=>e.validate(t):e}function mt(e){return e.validate?t=>e.validate(t):e}const _t={provide:Je,useExisting:Object(n.U)(()=>bt),multi:!0};let bt=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[n.Bb([_t])]}),e})();const gt={provide:Je,useExisting:Object(n.U)(()=>vt),multi:!0};let yt=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),vt=(()=>{class e{constructor(e,t,i,n){this._renderer=e,this._elementRef=t,this._registry=i,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(rt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l),n.Pb(yt),n.Pb(n.s))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.Bb([gt])]}),e})();const wt={provide:Je,useExisting:Object(n.U)(()=>Ct),multi:!0};let Ct=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[n.Bb([wt])]}),e})();const St='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',kt='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',xt='\n
\n
\n \n
\n
',Mt={provide:Je,useExisting:Object(n.U)(()=>Lt),multi:!0};function Dt(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Lt=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=n.ub}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const i=Dt(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[n.Bb([Mt])]}),e})(),Tt=(()=>{class e{constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Dt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.F),n.Pb(Lt,9))},e.\u0275dir=n.Kb({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const Et={provide:Je,useExisting:Object(n.U)(()=>Ot),multi:!0};function At(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Ot=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=n.ub}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const i=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(i.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const i=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t{class e{constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(At(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(At(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.F),n.Pb(Ot,9))},e.\u0275dir=n.Kb({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();function It(e,t){return[...t.path,e]}function Rt(e,t){e||Wt(t,"Cannot find control with"),t.valueAccessor||Wt(t,"No value accessor for form control with"),e.validator=dt.compose([e.validator,t.validator]),e.asyncValidator=dt.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(i=>{e._pendingValue=i,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&jt(e,t)})}(e,t),function(e,t){e.registerOnChange((e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&jt(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function jt(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Yt(e,t){null==e&&Wt(t,"Cannot find control with"),e.validator=dt.compose([e.validator,t.validator]),e.asyncValidator=dt.composeAsync([e.asyncValidator,t.asyncValidator])}function Vt(e){return Wt(e,"There is no FormControl instance attached to form control element with")}function Wt(e,t){let i;throw i=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${i}`)}function Ft(e){return null!=e?dt.compose(e.map(pt)):null}function Ht(e){return null!=e?dt.composeAsync(e.map(mt)):null}const Bt=[Ge,Ct,bt,Lt,Ot,vt];function zt(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Nt(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function Ut(e){const t=$t(e)?e.validators:e;return Array.isArray(t)?Ft(t):t||null}function qt(e,t){const i=$t(t)?t.asyncValidators:e;return Array.isArray(i)?Ht(i):i||null}function $t(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Jt{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=Ut(e)}setAsyncValidators(e){this.asyncValidator=qt(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=ht(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,i){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let n=e;return t.forEach(e=>{n=n instanceof Gt?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof Zt&&n.at(e)||null}),n}(this,e)}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new n.o,this.statusChanges=new n.o}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){$t(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class Kt extends Jt{constructor(e=null,t,i){super(Ut(t),qt(i,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Gt extends Jt{constructor(e,t,i){super(Ut(t),qt(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t instanceof Kt?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){let t=!1;return this._forEachChild((i,n)=>{t=t||this.contains(n)&&e(i)}),t}_reduceValue(){return this._reduceChildren({},(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(e,t){let i=e;return this._forEachChild((e,n)=>{i=t(i,e,n)}),i}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class Zt extends Jt{constructor(e,t,i){super(Ut(t),qt(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,i)=>{this.at(i)&&this.at(i).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof Kt?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,i)=>{e(t,i)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Xt={provide:tt,useExisting:Object(n.U)(()=>ei)},Qt=(()=>Promise.resolve(null))();let ei=(()=>{class e extends tt{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.o,this.form=new Gt({},Ft(e),Ht(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Qt.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Rt(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Qt.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),Nt(this._directives,e)})}addFormGroup(e){Qt.then(()=>{const t=this._findContainer(e.path),i=new Gt({});Yt(i,e),t.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Qt.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Qt.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,zt(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ot,10),n.Pb(ct,10))},e.\u0275dir=n.Kb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&n.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Bb([Xt]),n.zb]}),e})(),ti=(()=>{class e extends tt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return It(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Ft(this._validators)}get asyncValidator(){return Ht(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return ii(t||e)},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})();const ii=n.Zb(ti);class ni{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${St}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n `)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${kt}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${xt}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${kt}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${xt}`)}}const ri={provide:tt,useExisting:Object(n.U)(()=>si)};let si=(()=>{class e extends ti{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}_checkParentType(){this._parent instanceof e||this._parent instanceof ei||ni.modelGroupParentException()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(tt,5),n.Pb(ot,10),n.Pb(ct,10))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.Bb([ri]),n.zb]}),e})();const ai={provide:rt,useExisting:Object(n.U)(()=>ci)},oi=(()=>Promise.resolve(null))();let ci=(()=>{class e extends rt{constructor(e,t,i,r){super(),this.control=new Kt,this._registered=!1,this.update=new n.o,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=i||[],this.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Wt(e,"Value accessor was not provided as an array for form control with");let i=void 0,n=void 0,r=void 0;return t.forEach(t=>{var s;t.constructor===Qe?i=t:(s=t,Bt.some(e=>s.constructor===e)?(n&&Wt(e,"More than one built-in value accessor matches form control with"),n=t):(r&&Wt(e,"More than one custom value accessor matches form control with"),r=t))}),r||n||i||(Wt(e,"No valid value accessor for form control with"),null)}(this,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;const i=e.model;return!!i.isFirstChange()||!Object(n.ub)(t,i.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?It(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Ft(this._rawValidators)}get asyncValidator(){return Ht(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Rt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof si)&&this._parent instanceof ti?ni.formGroupNameException():this._parent instanceof si||this._parent instanceof ei||ni.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ni.missingNameException()}_updateValue(e){oi.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,i=""===t||t&&"false"!==t;oi.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(tt,9),n.Pb(ot,10),n.Pb(ct,10),n.Pb(Je,10))},e.\u0275dir=n.Kb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.Bb([ai]),n.zb,n.Ab()]}),e})();const li={provide:tt,useExisting:Object(n.U)(()=>di)};let di=(()=>{class e extends tt{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new n.o}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Rt(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Nt(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);Yt(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);Yt(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,zt(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(()=>Vt(t)),t.valueAccessor.registerOnTouched(()=>Vt(t)),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&Rt(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=Ft(this._validators);this.form.validator=dt.compose([this.form.validator,e]);const t=Ht(this._asyncValidators);this.form.asyncValidator=dt.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||class{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${St}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${kt}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${xt}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${St}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${kt}`)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(e){console.warn(`\n It looks like you're using ngModel on the same form field as ${e}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}.missingFormException()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ot,10),n.Pb(ct,10))},e.\u0275dir=n.Kb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&n.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Bb([li]),n.zb,n.Ab()]}),e})();const ui={provide:ot,useExisting:Object(n.U)(()=>hi),multi:!0};let hi=(()=>{class e{get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!==`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?dt.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&n.Db("required",t.required?"":null)},inputs:{required:"required"},features:[n.Bb([ui])]}),e})();const fi={provide:ot,useExisting:Object(n.U)(()=>pi),multi:!0};let pi=(()=>{class e{ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=dt.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&n.Db("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.Bb([fi]),n.Ab()]}),e})(),mi=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})(),_i=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[yt],imports:[mi]}),e})();var bi=i("z+Ro"),gi=i("yCtX"),yi=i("jZKg");function vi(...e){let t=e[e.length-1];return Object(bi.a)(t)?(e.pop(),Object(yi.a)(e,t)):Object(gi.a)(e)}var wi=i("5+tZ");function Ci(e,t){return Object(wi.a)(e,t,1)}var Si=i("7o/Q");function ki(e,t){return function(i){return i.lift(new xi(e,t))}}class xi{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Mi(e,this.predicate,this.thisArg))}}class Mi extends Si.a{constructor(e,t,i){super(e),this.predicate=t,this.thisArg=i,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}class Di{}class Li{}class Ti{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const i=e.slice(0,t),n=i.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let i=e[t];const n=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(t,n))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Ti?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Ti;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ti?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const n=("a"===e.op?this.headers.get(t):void 0)||[];n.push(...i),this.headers.set(t,n);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class Ei{encodeKey(e){return Ai(e)}encodeValue(e){return Ai(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function Ai(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Oi{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Ei,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const i=new Map;return e.length>0&&e.split("&").forEach(e=>{const n=e.indexOf("="),[r,s]=-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],a=i.get(r)||[];a.push(s),i.set(r,a)}),i}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t];this.map.set(t,Array.isArray(i)?i:[i])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Oi({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const i=t.indexOf(e.value);-1!==i&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function Pi(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Ii(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Ri(e){return"undefined"!=typeof FormData&&e instanceof FormData}class ji{constructor(e,t,i,n){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,r=n):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new Ti),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const i=t.indexOf("?");this.urlWithParams=t+(-1===i?"?":it.set(i,e.setHeaders[i]),o)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,i)=>t.set(i,e.setParams[i]),c)),new ji(t,i,r,{params:c,headers:o,reportProgress:a,responseType:n,withCredentials:s})}}const Yi=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class Vi{constructor(e,t=200,i="OK"){this.headers=e.headers||new Ti,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Wi extends Vi{constructor(e={}){super(e),this.type=Yi.ResponseHeader}clone(e={}){return new Wi({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Fi extends Vi{constructor(e={}){super(e),this.type=Yi.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Fi({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Hi extends Vi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Bi(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let zi=(()=>{class e{constructor(e){this.handler=e}request(e,t,i={}){let n;if(e instanceof ji)n=e;else{let r=void 0;r=i.headers instanceof Ti?i.headers:new Ti(i.headers);let s=void 0;i.params&&(s=i.params instanceof Oi?i.params:new Oi({fromObject:i.params})),n=new ji(e,t,void 0!==i.body?i.body:null,{headers:r,params:s,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const r=vi(n).pipe(Ci(e=>this.handler.handle(e)));if(e instanceof ji||"events"===i.observe)return r;const s=r.pipe(ki(e=>e instanceof Fi));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.pipe(Object(ze.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(Object(ze.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe(Object(ze.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe(Object(ze.a)(e=>e.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new Oi).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,Bi(i,t))}post(e,t,i={}){return this.request("POST",e,Bi(i,t))}put(e,t,i={}){return this.request("PUT",e,Bi(i,t))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Di))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();class Ni{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Ui=new n.r("HTTP_INTERCEPTORS");let qi=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const $i=/^\)\]\}',?\n/;class Ji{}let Ki=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Gi=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new He.a(t=>{const i=this.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((e,t)=>i.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&i.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();i.responseType="json"!==t?t:"text"}const n=e.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const t=1223===i.status?204:i.status,n=i.statusText||"OK",s=new Ti(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return r=new Wi({headers:s,status:t,statusText:n,url:a}),r},a=()=>{let{headers:n,status:r,statusText:a,url:o}=s(),c=null;204!==r&&(c=void 0===i.response?i.responseText:i.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace($i,"");try{c=""!==c?JSON.parse(c):null}catch(d){c=e,l&&(l=!1,c={error:d,text:c})}}l?(t.next(new Fi({body:c,headers:n,status:r,statusText:a,url:o||void 0})),t.complete()):t.error(new Hi({error:c,headers:n,status:r,statusText:a,url:o||void 0}))},o=e=>{const{url:n}=s(),r=new Hi({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});t.error(r)};let c=!1;const l=n=>{c||(t.next(s()),c=!0);let r={type:Yi.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(r.total=n.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),t.next(r)},d=e=>{let i={type:Yi.UploadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),t.next(i)};return i.addEventListener("load",a),i.addEventListener("error",o),e.reportProgress&&(i.addEventListener("progress",l),null!==n&&i.upload&&i.upload.addEventListener("progress",d)),i.send(n),t.next({type:Yi.Sent}),()=>{i.removeEventListener("error",o),i.removeEventListener("load",a),e.reportProgress&&(i.removeEventListener("progress",l),null!==n&&i.upload&&i.upload.removeEventListener("progress",d)),i.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Ji))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const Zi=new n.r("XSRF_COOKIE_NAME"),Xi=new n.r("XSRF_HEADER_NAME");class Qi{}let en=(()=>{class e{constructor(e,t,i){this.doc=e,this.platform=t,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=L(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a),n.fc(n.C),n.fc(Zi))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),tn=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const i=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||i.startsWith("http://")||i.startsWith("https://"))return t.handle(e);const n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Qi),n.fc(Xi))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),nn=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Ui,[]);this.chain=e.reduceRight((e,t)=>new Ni(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Li),n.fc(n.s))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),rn=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:tn,useClass:qi}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Zi,useValue:t.cookieName}:[],t.headerName?{provide:Xi,useValue:t.headerName}:[]]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[tn,{provide:Ui,useExisting:tn,multi:!0},{provide:Qi,useClass:en},{provide:Zi,useValue:"XSRF-TOKEN"},{provide:Xi,useValue:"X-XSRF-TOKEN"}]}),e})(),sn=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[zi,{provide:Di,useClass:nn},Gi,{provide:Li,useExisting:Gi},Ki,{provide:Ji,useExisting:Ki}],imports:[[rn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();var an=i("XNiG"),on=i("9ppp");class cn extends an.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new on.a;return this._value}next(e){super.next(this._value=e)}}const ln=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var dn=i("l7GE"),un=i("ZUHj");const hn={};function fn(...e){let t=null,i=null;return Object(bi.a)(e[e.length-1])&&(i=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(Be.a)(e[0])&&(e=e[0]),Object(gi.a)(e,i).lift(new pn(t))}class pn{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new mn(e,this.resultSelector))}}class mn extends dn.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(hn),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let i=0;ie.complete());function bn(e){return e?function(e){return new He.a(t=>e.schedule(()=>t.complete()))}(e):_n}function gn(e){return new He.a(t=>{let i;try{i=e()}catch(n){return void t.error(n)}return(i?Object(Ue.a)(i):bn()).subscribe(t)})}var yn=i("bHdf");function vn(){return Object(yn.a)(1)}const wn=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Cn(e){return function(t){return 0===e?bn():t.lift(new Sn(e))}}class Sn{constructor(e){if(this.total=e,this.total<0)throw new wn}call(e,t){return t.subscribe(new kn(e,this.total))}}class kn extends Si.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,i=this.total,n=this.count++;t.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let r=0;rt.lift(new Mn(e))}class Mn{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Dn(e,this.errorFactory))}}class Dn extends Si.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Ln(){return new ln}function Tn(e=null){return t=>t.lift(new En(e))}class En{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new An(e,this.defaultValue))}}class An extends Si.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var On=i("SpAZ");function Pn(e,t){const i=arguments.length>=2;return n=>n.pipe(e?ki((t,i)=>e(t,i,n)):On.a,Cn(1),i?Tn(t):xn(()=>new ln))}var In=i("51Dv");function Rn(e){return function(t){const i=new jn(e),n=t.lift(i);return i.caught=n}}class jn{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Yn(e,this.selector,this.caught))}}class Yn extends dn.a{constructor(e,t,i){super(e),this.selector=t,this.caught=i}error(e){if(!this.isStopped){let i;try{i=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const n=new In.a(this,void 0,void 0);this.add(n);const r=Object(un.a)(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}function Vn(e){return t=>0===e?bn():t.lift(new Wn(e))}class Wn{constructor(e){if(this.total=e,this.total<0)throw new wn}call(e,t){return t.subscribe(new Fn(e,this.total))}}class Fn extends Si.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}function Hn(e,t){const i=arguments.length>=2;return n=>n.pipe(e?ki((t,i)=>e(t,i,n)):On.a,Vn(1),i?Tn(t):xn(()=>new ln))}class Bn{constructor(e,t,i){this.predicate=e,this.thisArg=t,this.source=i}call(e,t){return t.subscribe(new zn(e,this.predicate,this.thisArg,this.source))}}class zn extends Si.a{constructor(e,t,i,n){super(e),this.predicate=t,this.thisArg=i,this.source=n,this.index=0,this.thisArg=i||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(i){return void this.destination.error(i)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Nn(e,t){return"function"==typeof t?i=>i.pipe(Nn((i,n)=>Object(Ue.a)(e(i,n)).pipe(Object(ze.a)((e,r)=>t(i,e,n,r))))):t=>t.lift(new Un(e))}class Un{constructor(e){this.project=e}call(e,t){return t.subscribe(new qn(e,this.project))}}class qn extends dn.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this._innerSub(t,e,i)}_innerSub(e,t,i){const n=this.innerSubscription;n&&n.unsubscribe();const r=new In.a(this,t,i),s=this.destination;s.add(r),this.innerSubscription=Object(un.a)(this,e,void 0,void 0,r),this.innerSubscription!==r&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,i,n,r){this.destination.next(t)}}function $n(...e){return vn()(vi(...e))}function Jn(...e){const t=e[e.length-1];return Object(bi.a)(t)?(e.pop(),i=>$n(e,i,t)):t=>$n(e,t)}function Kn(e,t){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new Gn(e,t,i))}}class Gn{constructor(e,t,i=!1){this.accumulator=e,this.seed=t,this.hasSeed=i}call(e,t){return t.subscribe(new Zn(e,this.accumulator,this.seed,this.hasSeed))}}class Zn extends Si.a{constructor(e,t,i,n){super(e),this.accumulator=t,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let i;try{i=this.accumulator(this.seed,e,t)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}var Xn=i("mCNh"),Qn=i("KqfI"),er=i("n6bG");function tr(e,t,i){return function(n){return n.lift(new ir(e,t,i))}}class ir{constructor(e,t,i){this.nextOrObserver=e,this.error=t,this.complete=i}call(e,t){return t.subscribe(new nr(e,this.nextOrObserver,this.error,this.complete))}}class nr extends Si.a{constructor(e,t,i,n){super(e),this._tapNext=Qn.a,this._tapError=Qn.a,this._tapComplete=Qn.a,this._tapError=i||Qn.a,this._tapComplete=n||Qn.a,Object(er.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Qn.a,this._tapError=t.error||Qn.a,this._tapComplete=t.complete||Qn.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}var rr=i("quSY");function sr(e){return t=>t.lift(new ar(e))}class ar{constructor(e){this.callback=e}call(e,t){return t.subscribe(new or(e,this.callback))}}class or extends Si.a{constructor(e,t){super(e),this.add(new rr.a(t))}}class cr{constructor(e,t){this.id=e,this.url=t}}class lr extends cr{constructor(e,t,i="imperative",n=null){super(e,t),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dr extends cr{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ur extends cr{constructor(e,t,i){super(e,t),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hr extends cr{constructor(e,t,i){super(e,t),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fr extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mr extends cr{constructor(e,t,i,n,r){super(e,t),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _r extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class br extends cr{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gr{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yr{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vr{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wr{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cr{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sr{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kr{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let xr=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&n.Rb(0,"router-outlet")},directives:function(){return[La]},encapsulation:2}),e})();class Mr{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Dr(e){return new Mr(e)}function Lr(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Tr(e,t,i){const n=i.path.split("/");if(n.length>e.length)return null;if("full"===i.pathMatch&&(t.hasChildren()||n.lengtht.indexOf(e)>-1):e===t}function Yr(e){return Array.prototype.concat.apply([],e)}function Vr(e){return e.length>0?e[e.length-1]:null}function Wr(e,t){for(const i in e)e.hasOwnProperty(i)&&t(e[i],i)}function Fr(e){return Object(n.sb)(e)?e:Object(n.tb)(e)?Object(Ue.a)(Promise.resolve(e)):vi(e)}function Hr(e,t,i){return i?function(e,t){return Rr(e,t)}(e.queryParams,t.queryParams)&&function e(t,i){if(!Ur(t.segments,i.segments))return!1;if(t.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children){if(!t.children[n])return!1;if(!e(t.children[n],i.children[n]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>jr(e[i],t[i]))}(e.queryParams,t.queryParams)&&function e(t,i){return function t(i,n,r){if(i.segments.length>r.length)return!!Ur(i.segments.slice(0,r.length),r)&&!n.hasChildren();if(i.segments.length===r.length){if(!Ur(i.segments,r))return!1;for(const t in n.children){if(!i.children[t])return!1;if(!e(i.children[t],n.children[t]))return!1}return!0}{const e=r.slice(0,i.segments.length),s=r.slice(i.segments.length);return!!Ur(i.segments,e)&&!!i.children.primary&&t(i.children.primary,n,s)}}(t,i,i.segments)}(e.root,t.root)}class Br{constructor(e,t,i){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dr(this.queryParams)),this._queryParamMap}toString(){return Kr.serialize(this)}}class zr{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Wr(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gr(this)}}class Nr{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Dr(this.parameters)),this._parameterMap}toString(){return is(this)}}function Ur(e,t){return e.length===t.length&&e.every((e,i)=>e.path===t[i].path)}function qr(e,t){let i=[];return Wr(e.children,(e,n)=>{"primary"===n&&(i=i.concat(t(e,n)))}),Wr(e.children,(e,n)=>{"primary"!==n&&(i=i.concat(t(e,n)))}),i}class $r{}class Jr{parse(e){const t=new os(e);return new Br(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,i){if(!t.hasChildren())return Gr(t);if(i){const i=t.children.primary?e(t.children.primary,!1):"",n=[];return Wr(t.children,(t,i)=>{"primary"!==i&&n.push(`${i}:${e(t,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=qr(t,(i,n)=>"primary"===n?[e(t.children.primary,!1)]:[`${n}:${e(i,!1)}`]);return`${Gr(t)}/(${i.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const i=e[t];return Array.isArray(i)?i.map(e=>`${Xr(t)}=${Xr(e)}`).join("&"):`${Xr(t)}=${Xr(i)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Kr=new Jr;function Gr(e){return e.segments.map(e=>is(e)).join("/")}function Zr(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xr(e){return Zr(e).replace(/%3B/gi,";")}function Qr(e){return Zr(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function es(e){return decodeURIComponent(e)}function ts(e){return es(e.replace(/\+/g,"%20"))}function is(e){return`${Qr(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Qr(e)}=${Qr(t[e])}`).join("")}`;var t}const ns=/^[^\/()?;=#]+/;function rs(e){const t=e.match(ns);return t?t[0]:""}const ss=/^[^=?&#]+/,as=/^[^?&#]+/;class os{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new zr([],{}):new zr([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i.primary=new zr(e,t)),i}parseSegment(){const e=rs(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Nr(es(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=rs(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=rs(this.remaining);e&&(i=e,this.capture(i))}e[es(t)]=es(i)}parseQueryParam(e){const t=function(e){const t=e.match(ss);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(as);return t?t[0]:""}(this.remaining);e&&(i=e,this.capture(i))}const n=ts(t),r=ts(i);if(e.hasOwnProperty(n)){let t=e[n];Array.isArray(t)||(t=[t],e[n]=t),t.push(r)}else e[n]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=rs(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;i.indexOf(":")>-1?(r=i.substr(0,i.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");const s=this.parseChildren();t[r]=1===Object.keys(s).length?s.primary:new zr([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class cs{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=ls(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=ls(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=ds(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return ds(e,this._root).map(e=>e.value)}}function ls(e,t){if(e===t.value)return t;for(const i of t.children){const t=ls(e,i);if(t)return t}return null}function ds(e,t){if(e===t.value)return[t];for(const i of t.children){const n=ds(e,i);if(n.length)return n.unshift(t),n}return[]}class us{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function hs(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class fs extends cs{constructor(e,t){super(e),this.snapshot=t,ys(this,e)}toString(){return this.snapshot.toString()}}function ps(e,t){const i=function(e,t){const i=new bs([],{},{},"",{},"primary",t,null,e.root,-1,{});return new gs("",new us(i,[]))}(e,t),n=new cn([new Nr("",{})]),r=new cn({}),s=new cn({}),a=new cn({}),o=new cn(""),c=new ms(n,r,a,o,s,"primary",t,i.root);return c.snapshot=i.root,new fs(new us(c,[]),i)}class ms{constructor(e,t,i,n,r,s,a,o){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=r,this.outlet=s,this.component=a,this._futureSnapshot=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(ze.a)(e=>Dr(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(ze.a)(e=>Dr(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _s(e,t="emptyOnly"){const i=e.pathFromRoot;let n=0;if("always"!==t)for(n=i.length-1;n>=1;){const e=i[n],t=i[n-1];if(e.routeConfig&&""===e.routeConfig.path)n--;else{if(t.component)break;n--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class bs{constructor(e,t,i,n,r,s,a,o,c,l,d){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=r,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=c,this._lastPathIndex=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Dr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gs extends cs{constructor(e,t){super(t),this.url=e,ys(this,t)}toString(){return vs(this._root)}}function ys(e,t){t.value._routerState=e,t.children.forEach(t=>ys(e,t))}function vs(e){const t=e.children.length>0?` { ${e.children.map(vs).join(", ")} } `:"";return`${e.value}${t}`}function ws(e){if(e.snapshot){const t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,Rr(t.queryParams,i.queryParams)||e.queryParams.next(i.queryParams),t.fragment!==i.fragment&&e.fragment.next(i.fragment),Rr(t.params,i.params)||e.params.next(i.params),function(e,t){if(e.length!==t.length)return!1;for(let i=0;iRr(e.parameters,n[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Cs(e.parent,t.parent))}function Ss(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ks(e,t,i,n,r){let s={};return n&&Wr(n,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Br(i.root===e?t:function e(t,i,n){const r={};return Wr(t.children,(t,s)=>{r[s]=t===i?n:e(t,i,n)}),new zr(t.segments,r)}(i.root,e,t),s,r)}class xs{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&Ss(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(n&&n!==Vr(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ms{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function Ds(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:`${e}`}function Ls(e,t,i){if(e||(e=new zr([],{})),0===e.segments.length&&e.hasChildren())return Ts(e,t,i);const n=function(e,t,i){let n=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;const t=e.segments[r],a=Ds(i[n]),o=n0&&void 0===a)break;if(a&&o&&"object"==typeof o&&void 0===o.outlets){if(!Ps(a,o,t))return s;n+=2}else{if(!Ps(a,{},t))return s;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex{null!==i&&(r[n]=Ls(e.children[n],t,i))}),Wr(e.children,(e,t)=>{void 0===n[t]&&(r[t]=e)}),new zr(e.segments,r)}}function Es(e,t,i){const n=e.segments.slice(0,t);let r=0;for(;r{null!==e&&(t[i]=Es(new zr([],{}),0,e))}),t}function Os(e){const t={};return Wr(e,(e,i)=>t[i]=`${e}`),t}function Ps(e,t,i){return e==i.path&&Rr(t,i.parameters)}class Is{constructor(e,t,i,n){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=n}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),ws(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const n=hs(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,n[t],i),delete n[t]}),Wr(n,(e,t)=>{this.deactivateRouteAndItsChildren(e,i)})}deactivateRoutes(e,t,i){const n=e.value,r=t?t.value:null;if(n===r)if(n.component){const r=i.getContext(n.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,i);else r&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet);if(i&&i.outlet){const t=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:n})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet);if(i){const n=hs(e),r=e.value.component?i.children:t;Wr(n,(e,t)=>this.deactivateRouteAndItsChildren(e,r)),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}activateChildRoutes(e,t,i){const n=hs(t);e.children.forEach(e=>{this.activateRoutes(e,n[e.value.outlet],i),this.forwardEvent(new Sr(e.value.snapshot))}),e.children.length&&this.forwardEvent(new wr(e.value.snapshot))}activateRoutes(e,t,i){const n=e.value,r=t?t.value:null;if(ws(n),n===r)if(n.component){const r=i.getOrCreateContext(n.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,i);else if(n.component){const t=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const e=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Rs(e.route)}else{const i=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(n.snapshot),r=i?i.module.componentFactoryResolver:null;t.attachRef=null,t.route=n,t.resolver=r,t.outlet&&t.outlet.activateWith(n,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,i)}}function Rs(e){ws(e.value),e.children.forEach(Rs)}function js(e){return"function"==typeof e}function Ys(e){return e instanceof Br}class Vs{constructor(e){this.segmentGroup=e||null}}class Ws{constructor(e){this.urlTree=e}}function Fs(e){return new He.a(t=>t.error(new Vs(e)))}function Hs(e){return new He.a(t=>t.error(new Ws(e)))}function Bs(e){return new He.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class zs{constructor(e,t,i,r,s){this.configLoader=t,this.urlSerializer=i,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(n.y)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(ze.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Rn(e=>{if(e instanceof Ws)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Vs)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(ze.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Rn(e=>{if(e instanceof Vs)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,i){const n=e.segments.length>0?new zr([],{primary:e}):e;return new Br(n,t,i)}expandSegmentGroup(e,t,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(Object(ze.a)(e=>new zr([],e))):this.expandSegment(e,i,t,i.segments,n,!0)}expandChildren(e,t,i){return function(e,t){if(0===Object.keys(e).length)return vi({});const i=[],n=[],r={};return Wr(e,(e,s)=>{const a=t(s,e).pipe(Object(ze.a)(e=>r[s]=e));"primary"===s?i.push(a):n.push(a)}),vi.apply(null,i.concat(n)).pipe(vn(),Pn(),Object(ze.a)(()=>r))}(i.children,(i,n)=>this.expandSegmentGroup(e,t,n,i))}expandSegment(e,t,i,n,r,s){return vi(...i).pipe(Object(ze.a)(a=>this.expandSegmentAgainstRoute(e,t,i,a,n,r,s).pipe(Rn(e=>{if(e instanceof Vs)return vi(null);throw e}))),vn(),Hn(e=>!!e),Rn((e,i)=>{if(e instanceof ln||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,n,r))return vi(new zr([],{}));throw new Vs(t)}throw e}))}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}expandSegmentAgainstRoute(e,t,i,n,r,s,a){return $s(n)!==s?Fs(t):void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s):Fs(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,n,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,n){const r=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Hs(r):this.lineralizeSegments(i,r).pipe(Object(wi.a)(i=>{const r=new zr(i,{});return this.expandSegment(e,r,t,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,r,s){const{matched:a,consumedSegments:o,lastChild:c,positionalParamSegments:l}=Ns(t,n,r);if(!a)return Fs(t);const d=this.applyRedirectCommands(o,n.redirectTo,l);return n.redirectTo.startsWith("/")?Hs(d):this.lineralizeSegments(n,d).pipe(Object(wi.a)(n=>this.expandSegment(e,t,i,n.concat(r.slice(c)),s,!1)))}matchSegmentAgainstRoute(e,t,i,n){if("**"===i.path)return i.loadChildren?this.configLoader.load(e.injector,i).pipe(Object(ze.a)(e=>(i._loadedConfig=e,new zr(n,{})))):vi(new zr(n,{}));const{matched:r,consumedSegments:s,lastChild:a}=Ns(t,i,n);if(!r)return Fs(t);const o=n.slice(a);return this.getChildConfig(e,i,n).pipe(Object(wi.a)(e=>{const i=e.module,n=e.routes,{segmentGroup:r,slicedSegments:a}=function(e,t,i,n){return i.length>0&&function(e,t,i){return i.some(i=>qs(e,t,i)&&"primary"!==$s(i))}(e,i,n)?{segmentGroup:Us(new zr(t,function(e,t){const i={};i.primary=t;for(const n of e)""===n.path&&"primary"!==$s(n)&&(i[$s(n)]=new zr([],{}));return i}(n,new zr(i,e.children)))),slicedSegments:[]}:0===i.length&&function(e,t,i){return i.some(i=>qs(e,t,i))}(e,i,n)?{segmentGroup:Us(new zr(e.segments,function(e,t,i,n){const r={};for(const s of i)qs(e,t,s)&&!n[$s(s)]&&(r[$s(s)]=new zr([],{}));return Object.assign(Object.assign({},n),r)}(e,i,n,e.children))),slicedSegments:i}:{segmentGroup:e,slicedSegments:i}}(t,s,o,n);return 0===a.length&&r.hasChildren()?this.expandChildren(i,n,r).pipe(Object(ze.a)(e=>new zr(s,e))):0===n.length&&0===a.length?vi(new zr(s,{})):this.expandSegment(i,r,n,a,"primary",!0).pipe(Object(ze.a)(e=>new zr(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,i){return t.children?vi(new Er(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?vi(t._loadedConfig):function(e,t,i){const n=t.canLoad;return n&&0!==n.length?Object(Ue.a)(n).pipe(Object(ze.a)(n=>{const r=e.get(n);let s;if(function(e){return e&&js(e.canLoad)}(r))s=r.canLoad(t,i);else{if(!js(r))throw new Error("Invalid CanLoad guard");s=r(t,i)}return Fr(s)})).pipe(vn(),(r=e=>!0===e,e=>e.lift(new Bn(r,void 0,e)))):vi(!0);var r}(e.injector,t,i).pipe(Object(wi.a)(i=>i?this.configLoader.load(e.injector,t).pipe(Object(ze.a)(e=>(t._loadedConfig=e,e))):function(e){return new He.a(t=>t.error(Lr(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):vi(new Er([],e))}lineralizeSegments(e,t){let i=[],n=t.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return vi(i);if(n.numberOfChildren>1||!n.children.primary)return Bs(e.redirectTo);n=n.children.primary}}applyRedirectCommands(e,t,i){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreatreUrlTree(e,t,i,n){const r=this.createSegmentGroup(e,t.root,i,n);return new Br(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return Wr(e,(e,n)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);i[n]=t[r]}else i[n]=e}),i}createSegmentGroup(e,t,i,n){const r=this.createSegments(e,t.segments,i,n);let s={};return Wr(t.children,(t,r)=>{s[r]=this.createSegmentGroup(e,t,i,n)}),new zr(r,s)}createSegments(e,t,i,n){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,n):this.findOrReturn(t,i))}findPosParam(e,t,i){const n=i[t.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return n}findOrReturn(e,t){let i=0;for(const n of t){if(n.path===e.path)return t.splice(i),n;i++}return e}}function Ns(e,t,i){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(t.matcher||Tr)(i,e,t);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Us(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new zr(e.segments.concat(t.segments),t.children)}return e}function qs(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function $s(e){return e.outlet||"primary"}class Js{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ks{constructor(e,t){this.component=e,this.route=t}}function Gs(e,t,i){const n=e._root;return function e(t,i,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=hs(i);return t.children.forEach(t=>{!function(t,i,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,o=i?i.value:null,c=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const l=function(e,t,i){if("function"==typeof i)return i(e,t);switch(i){case"pathParamsChange":return!Ur(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ur(e.url,t.url)||!Rr(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cs(e,t)||!Rr(e.queryParams,t.queryParams);case"paramsChange":default:return!Cs(e,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Js(r)):(a.data=o.data,a._resolvedData=o._resolvedData),e(t,i,a.component?c?c.children:null:n,r,s),l&&s.canDeactivateChecks.push(new Ks(c&&c.outlet&&c.outlet.component||null,o))}else o&&Xs(i,c,s),s.canActivateChecks.push(new Js(r)),e(t,null,a.component?c?c.children:null:n,r,s)}(t,a[t.value.outlet],n,r.concat([t.value]),s),delete a[t.value.outlet]}),Wr(a,(e,t)=>Xs(e,n.getContext(t),s)),s}(n,t?t._root:null,i,[n.value])}function Zs(e,t,i){const n=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(n?n.module.injector:i).get(e)}function Xs(e,t,i){const n=hs(e),r=e.value;Wr(n,(e,n)=>{Xs(e,r.component?t?t.children.getContext(n):null:t,i)}),i.canDeactivateChecks.push(new Ks(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}const Qs=Symbol("INITIAL_VALUE");function ea(){return Nn(e=>fn(...e.map(e=>e.pipe(Vn(1),Jn(Qs)))).pipe(Kn((e,t)=>{let i=!1;return t.reduce((e,n,r)=>{if(e!==Qs)return e;if(n===Qs&&(i=!0),!i){if(!1===n)return n;if(r===t.length-1||Ys(n))return n}return e},e)},Qs),ki(e=>e!==Qs),Object(ze.a)(e=>Ys(e)?e:!0===e),Vn(1)))}function ta(e,t){return null!==e&&t&&t(new Cr(e)),vi(!0)}function ia(e,t){return null!==e&&t&&t(new vr(e)),vi(!0)}function na(e,t,i){const n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?vi(n.map(n=>gn(()=>{const r=Zs(n,t,i);let s;if(function(e){return e&&js(e.canActivate)}(r))s=Fr(r.canActivate(t,e));else{if(!js(r))throw new Error("Invalid CanActivate guard");s=Fr(r(t,e))}return s.pipe(Hn())}))).pipe(ea()):vi(!0)}function ra(e,t,i){const n=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>gn(()=>vi(t.guards.map(r=>{const s=Zs(r,t.node,i);let a;if(function(e){return e&&js(e.canActivateChild)}(s))a=Fr(s.canActivateChild(n,e));else{if(!js(s))throw new Error("Invalid CanActivateChild guard");a=Fr(s(n,e))}return a.pipe(Hn())})).pipe(ea())));return vi(r).pipe(ea())}class sa{}class aa{constructor(e,t,i,n,r,s){this.rootComponentType=e,this.config=t,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const e=la(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),i=new bs([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new us(i,t),r=new gs(this.url,n);return this.inheritParamsAndData(r._root),vi(r)}catch(e){return new He.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,i=_s(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,i){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,i)}processChildren(e,t){const i=qr(t,(t,i)=>this.processSegmentGroup(e,t,i));return function(e){const t={};e.forEach(e=>{const i=t[e.value.outlet];if(i){const t=i.url.map(e=>e.toString()).join("/"),n=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${n}'.`)}t[e.value.outlet]=e.value})}(i),i.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,i,n){for(const s of e)try{return this.processSegmentAgainstRoute(s,t,i,n)}catch(r){if(!(r instanceof sa))throw r}if(this.noLeftoversInUrl(t,i,n))return[];throw new sa}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}processSegmentAgainstRoute(e,t,i,n){if(e.redirectTo)throw new sa;if((e.outlet||"primary")!==n)throw new sa;let r,s=[],a=[];if("**"===e.path){const s=i.length>0?Vr(i).parameters:{};r=new bs(i,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ha(e),n,e.component,e,oa(t),ca(t)+i.length,fa(e))}else{const o=function(e,t,i){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||i.length>0))throw new sa;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(t.matcher||Tr)(i,e,t);if(!n)throw new sa;const r={};Wr(n.posParams,(e,t)=>{r[t]=e.path});const s=n.consumed.length>0?Object.assign(Object.assign({},r),n.consumed[n.consumed.length-1].parameters):r;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:s}}(t,e,i);s=o.consumedSegments,a=i.slice(o.lastChild),r=new bs(s,o.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ha(e),n,e.component,e,oa(t),ca(t)+s.length,fa(e))}const o=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=la(t,s,a,o,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(o,c);return[new us(r,e)]}if(0===o.length&&0===l.length)return[new us(r,[])];const d=this.processSegment(o,c,l,"primary");return[new us(r,d)]}}function oa(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function ca(e){let t=e,i=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,i+=t._segmentIndexShift?t._segmentIndexShift:0;return i-1}function la(e,t,i,n,r){if(i.length>0&&function(e,t,i){return i.some(i=>da(e,t,i)&&"primary"!==ua(i))}(e,i,n)){const r=new zr(t,function(e,t,i,n){const r={};r.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;for(const s of i)if(""===s.path&&"primary"!==ua(s)){const i=new zr([],{});i._sourceSegment=e,i._segmentIndexShift=t.length,r[ua(s)]=i}return r}(e,t,n,new zr(i,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===i.length&&function(e,t,i){return i.some(i=>da(e,t,i))}(e,i,n)){const s=new zr(e.segments,function(e,t,i,n,r,s){const a={};for(const o of n)if(da(e,i,o)&&!r[ua(o)]){const i=new zr([],{});i._sourceSegment=e,i._segmentIndexShift="legacy"===s?e.segments.length:t.length,a[ua(o)]=i}return Object.assign(Object.assign({},r),a)}(e,t,i,n,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:i}}const s=new zr(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:i}}function da(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function ua(e){return e.outlet||"primary"}function ha(e){return e.data||{}}function fa(e){return e.resolve||{}}function pa(e,t,i,n){const r=Zs(e,t,n);return Fr(r.resolve?r.resolve(t,i):r(t,i))}function ma(e){return function(t){return t.pipe(Nn(t=>{const i=e(t);return i?Object(Ue.a)(i).pipe(Object(ze.a)(()=>t)):Object(Ue.a)([t])}))}}class _a{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const ba=new n.r("ROUTES");class ga{constructor(e,t,i,n){this.loader=e,this.compiler=t,this.onLoadStartListener=i,this.onLoadEndListener=n}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(ze.a)(i=>{this.onLoadEndListener&&this.onLoadEndListener(t);const n=i.create(e);return new Er(Yr(n.injector.get(ba)).map(Ir),n)}))}loadModuleFactory(e){return"string"==typeof e?Object(Ue.a)(this.loader.load(e)):Fr(e()).pipe(Object(wi.a)(e=>e instanceof n.w?vi(e):Object(Ue.a)(this.compiler.compileModuleAsync(e))))}}class ya{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function va(e){throw e}function wa(e,t,i){return t.parse("/")}function Ca(e,t){return vi(null)}let Sa=(()=>{class e{constructor(e,t,i,r,s,a,o,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=i,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new an.a,this.errorHandler=va,this.malformedUriErrorHandler=wa,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ca,afterPreactivation:Ca},this.urlHandlingStrategy=new ya,this.routeReuseStrategy=new _a,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(n.y),this.console=s.get(n.Z);const l=s.get(n.A);this.isNgZoneEnabled=l instanceof n.A,this.resetConfig(c),this.currentUrlTree=new Br(new zr([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ga(a,o,e=>this.triggerEvent(new gr(e)),e=>this.triggerEvent(new yr(e))),this.routerState=ps(this.currentUrlTree,this.rootComponentType),this.transitions=new cn({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(ki(e=>0!==e.id),Object(ze.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Nn(e=>{let i=!1,n=!1;return vi(e).pipe(tr(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Nn(e=>{const i=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return vi(e).pipe(Nn(e=>{const i=this.transitions.getValue();return t.next(new lr(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==this.transitions.getValue()?_n:[e]}),Nn(e=>Promise.resolve(e)),(n=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Nn(e=>function(e,t,i,n,r){return new zs(e,t,i,n,r).apply()}(n,r,s,e.extractedUrl,a).pipe(Object(ze.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),tr(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,i,n,r){return function(s){return s.pipe(Object(wi.a)(s=>function(e,t,i,n,r="emptyOnly",s="legacy"){return new aa(e,t,i,n,r,s).recognize()}(e,t,s.urlAfterRedirects,i(s.urlAfterRedirects),n,r).pipe(Object(ze.a)(e=>Object.assign(Object.assign({},s),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),tr(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),tr(e=>{const i=new fr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(i)}));var n,r,s,a;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:r,restoredState:s,extras:a}=e,o=new lr(i,this.serializeUrl(n),r,s);t.next(o);const c=ps(n,this.rootComponentType).snapshot;return vi(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),_n}),ma(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),tr(e=>{const t=new pr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(ze.a)(e=>Object.assign(Object.assign({},e),{guards:Gs(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(i){return i.pipe(Object(wi.a)(i=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:a}}=i;return 0===a.length&&0===s.length?vi(Object.assign(Object.assign({},i),{guardsResult:!0})):function(e,t,i,n){return Object(Ue.a)(e).pipe(Object(wi.a)(e=>function(e,t,i,n,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?vi(s.map(s=>{const a=Zs(s,t,r);let o;if(function(e){return e&&js(e.canDeactivate)}(a))o=Fr(a.canDeactivate(e,t,i,n));else{if(!js(a))throw new Error("Invalid CanDeactivate guard");o=Fr(a(e,t,i,n))}return o.pipe(Hn())})).pipe(ea()):vi(!0)}(e.component,e.route,i,t,n)),Hn(e=>!0!==e,!0))}(a,n,r,e).pipe(Object(wi.a)(i=>i&&"boolean"==typeof i?function(e,t,i,n){return Object(Ue.a)(t).pipe(Ci(t=>Object(Ue.a)([ia(t.route.parent,n),ta(t.route,n),ra(e,t.path,i),na(e,t.route,i)]).pipe(vn(),Hn(e=>!0!==e,!0))),Hn(e=>!0!==e,!0))}(n,s,e,t):vi(i)),Object(ze.a)(e=>Object.assign(Object.assign({},i),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),tr(e=>{if(Ys(e.guardsResult)){const t=Lr(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),tr(e=>{const t=new mr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),ki(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const i=new ur(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(i),e.resolve(!1),!1}return!0}),ma(e=>{if(e.guards.canActivateChecks.length)return vi(e).pipe(tr(e=>{const t=new _r(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(e){return e.pipe(Object(wi.a)(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;return r.length?Object(Ue.a)(r).pipe(Ci(e=>function(e,t,i,n){return function(e,t,i,n){const r=Object.keys(e);if(0===r.length)return vi({});if(1===r.length){const s=r[0];return pa(e[s],t,i,n).pipe(Object(ze.a)(e=>({[s]:e})))}const s={};return Object(Ue.a)(r).pipe(Object(wi.a)(r=>pa(e[r],t,i,n).pipe(Object(ze.a)(e=>(s[r]=e,e))))).pipe(Pn(),Object(ze.a)(()=>s))}(e._resolve,e,t,n).pipe(Object(ze.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),_s(e,i).resolve),null)))}(e.route,n,t,i)),function(e,t){return arguments.length>=2?function(i){return Object(Xn.a)(Kn(e,t),Cn(1),Tn(t))(i)}:function(t){return Object(Xn.a)(Kn((t,i,n)=>e(t,i,n+1)),Cn(1))(t)}}((e,t)=>e),Object(ze.a)(t=>e)):vi(e)}))}),tr(e=>{const t=new br(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,i}),ma(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(ze.a)(e=>{const t=function(e,t,i){const n=function e(t,i,n){if(n&&t.shouldReuseRoute(i.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=i.value;const s=function(t,i,n){return i.children.map(i=>{for(const r of n.children)if(t.shouldReuseRoute(r.value.snapshot,i.value))return e(t,i,r);return e(t,i)})}(t,i,n);return new us(r,s)}{const n=t.retrieve(i.value);if(n){const e=n.route;return function e(t,i){if(t.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=t.value;for(let n=0;ne(t,i));return new us(n,s)}}var r}(e,t._root,i?i._root:void 0);return new fs(n,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),tr(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,a=e=>this.triggerEvent(e),Object(ze.a)(e=>(new Is(s,e.targetRouterState,e.currentRouterState,a).activate(r),e))),tr({next(){i=!0},complete(){i=!0}}),sr(()=>{if(!i&&!n){this.resetUrlToCurrentUrlTree();const i=new ur(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(i),e.resolve(!1)}this.currentNavigation=null}),Rn(i=>{if(n=!0,(r=i)&&r.ngNavigationCancelingError){const n=Ys(i.url);n||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new ur(e.id,this.serializeUrl(e.extractedUrl),i.message);t.next(r),n?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const n=new hr(e.id,this.serializeUrl(e.extractedUrl),i);t.next(n);try{e.resolve(this.errorHandler(i))}catch(s){e.reject(s)}}var r;return _n}));var r,s,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const i="popstate"===e.type?"popstate":"hashchange",n=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,i,n,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Ar(e),this.config=e.map(Ir),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:i,queryParams:r,fragment:s,preserveQueryParams:a,queryParamsHandling:o,preserveFragment:c}=t;Object(n.W)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=i||this.routerState.root,d=c?this.currentUrlTree.fragment:s;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=a?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,i,n,r){if(0===i.length)return ks(t.root,t.root,t,n,r);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new xs(!0,0,e);let t=0,i=!1;const n=e.reduce((e,n,r)=>{if("object"==typeof n&&null!=n){if(n.outlets){const t={};return Wr(n.outlets,(e,i)=>{t[i]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(n.segmentPath)return[...e,n.segmentPath]}return"string"!=typeof n?[...e,n]:0===r?(n.split("/").forEach((n,r)=>{0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?t++:""!=n&&e.push(n))}),e):[...e,n]},[]);return new xs(i,t,n)}(i);if(s.toRoot())return ks(t.root,new zr([],{}),t,n,r);const a=function(e,t,i){if(e.isAbsolute)return new Ms(t.root,!0,0);if(-1===i.snapshot._lastPathIndex)return new Ms(i.snapshot._urlSegment,!0,0);const n=Ss(e.commands[0])?0:1;return function(e,t,i){let n=e,r=t,s=i;for(;s>r;){if(s-=r,n=n.parent,!n)throw new Error("Invalid number of '../'");r=n.segments.length}return new Ms(n,!1,r-s)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,e.numberOfDoubleDots)}(s,t,e),o=a.processChildren?Ts(a.segmentGroup,a.index,s.commands):Ls(a.segmentGroup,a.index,s.commands);return ks(a.segmentGroup,o,t,n,r)}(l,this.currentUrlTree,e,u,d)}navigateByUrl(e,t={skipLocationChange:!1}){Object(n.W)()&&this.isNgZoneEnabled&&!n.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const i=Ys(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const n=e[i];return null!=n&&(t[i]=n),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new dr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,i,n,r){const s=this.getTransition();if(s&&"imperative"!==t&&"imperative"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"hashchange"==t&&"popstate"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"popstate"==t&&"hashchange"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);let a,o,c;r?(a=r.resolve,o=r.reject,c=r.promise):c=new Promise((e,t)=>{a=e,o=t});const l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:n,resolve:a,reject:o,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,i,n){const r=this.urlSerializer.serialize(e);n=n||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},n),{navigationId:i})):this.location.go(r,"",Object.assign(Object.assign({},n),{navigationId:i}))}resetStateAndUrl(e,t,i){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e}),e})(),ka=(()=>{class e{constructor(e,t,i){this.router=e,this.route=t,this.locationStrategy=i,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof dr&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(n.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,i,n){if(0!==e||t||i||n)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:xa(this.skipLocationChange),replaceUrl:xa(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:xa(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:xa(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Sa),n.Pb(ms),n.Pb(_))},e.\u0275dir=n.Kb({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(n.ac("href",t.href,n.Dc),n.Db("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[n.Ab()]}),e})();function xa(e){return""===e||!!e}class Ma{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Da,this.attachRef=null}}class Da{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Ma,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let La=(()=>{class e{constructor(e,t,i,r,s){this.parentContexts=e,this.location=t,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new n.o,this.deactivateEvents=new n.o,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,r=new Ta(e,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Da),n.Pb(n.P),n.Pb(n.j),n.gc("name"),n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Ta{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===ms?this.route:e===Da?this.childContexts:this.parent.get(e,t)}}class Ea{}class Aa{preload(e,t){return vi(null)}}let Oa=(()=>{class e{constructor(e,t,i,n,r){this.router=e,this.injector=n,this.preloadingStrategy=r,this.loader=new ga(t,i,t=>e.triggerEvent(new gr(t)),t=>e.triggerEvent(new yr(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(ki(e=>e instanceof dr),Ci(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(n.y);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const i=[];for(const n of t)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const e=n._loadedConfig;i.push(this.processRoutes(e.module,e.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(e,n)):n.children&&i.push(this.processRoutes(e,n.children));return Object(Ue.a)(i).pipe(Object(yn.a)(),Object(ze.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(wi.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Sa),n.fc(n.x),n.fc(n.i),n.fc(n.s),n.fc(Ea))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Pa=(()=>{class e{constructor(e,t,i={}){this.router=e,this.viewportScroller=t,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof lr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof dr&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof kr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new kr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e}),e})();const Ia=new n.r("ROUTER_CONFIGURATION"),Ra=new n.r("ROUTER_FORROOT_GUARD"),ja=[w,{provide:$r,useClass:Jr},{provide:Sa,useFactory:function(e,t,i,n,r,a,o,c={},l,d){const u=new Sa(null,e,t,i,n,r,a,Yr(o));if(l&&(u.urlHandlingStrategy=l),d&&(u.routeReuseStrategy=d),c.errorHandler&&(u.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(u.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const e=s();u.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return c.onSameUrlNavigation&&(u.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(u.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(u.relativeLinkResolution=c.relativeLinkResolution),u},deps:[$r,Da,w,n.s,n.x,n.i,ba,Ia,[class{},new n.B],[class{},new n.B]]},Da,{provide:ms,useFactory:function(e){return e.routerState.root},deps:[Sa]},{provide:n.x,useClass:n.L},Oa,Aa,class{preload(e,t){return t().pipe(Rn(()=>vi(null)))}},{provide:Ia,useValue:{enableTracing:!1}}];function Ya(){return new n.z("Router",Sa)}let Va=(()=>{class e{constructor(e,t){}static forRoot(t,i){return{ngModule:e,providers:[ja,Ba(t),{provide:Ra,useFactory:Ha,deps:[[Sa,new n.B,new n.K]]},{provide:Ia,useValue:i||{}},{provide:_,useFactory:Fa,deps:[o,[new n.q(g),new n.B],Ia]},{provide:Pa,useFactory:Wa,deps:[Sa,J,Ia]},{provide:Ea,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:Aa},{provide:n.z,multi:!0,useFactory:Ya},[za,{provide:n.d,multi:!0,useFactory:Na,deps:[za]},{provide:qa,useFactory:Ua,deps:[za]},{provide:n.b,multi:!0,useExisting:qa}]]}}static forChild(t){return{ngModule:e,providers:[Ba(t)]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(Ra,8),n.fc(Sa,8))}}),e})();function Wa(e,t,i){return i.scrollOffset&&t.setOffset(i.scrollOffset),new Pa(e,t,i)}function Fa(e,t,i={}){return i.useHash?new v(e,t):new y(e,t)}function Ha(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ba(e){return[{provide:n.a,multi:!0,useValue:e},{provide:ba,multi:!0,useValue:e}]}let za=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new an.a}appInitializer(){return this.injector.get(l,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),i=this.injector.get(Sa),n=this.injector.get(Ia);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))e(!0);else if("disabled"===n.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);i.hooks.afterPreactivation=()=>this.initNavigation?vi(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),i.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Ia),i=this.injector.get(Oa),r=this.injector.get(Pa),s=this.injector.get(Sa),a=this.injector.get(n.g);e===a.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),i.setUpPreloading(),r.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.s))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();function Na(e){return e.appInitializer.bind(e)}function Ua(e){return e.bootstrapListener.bind(e)}const qa=new n.r("Router Initializer");class $a{}class Ja{}class Ka{}class Ga{}var Za=function(e){return e[e.REMOTE_ADDR=1]="REMOTE_ADDR",e[e.X_Forwarded_For=2]="X_Forwarded_For",e[e.X_REAL_IP=4]="X_REAL_IP",e[e.REAL_IP=8]="REAL_IP",e}({});class Xa{}var Qa=function(e){return e[e.Reverse_Proxy=1]="Reverse_Proxy",e[e.Local_FastCGI=2]="Local_FastCGI",e[e.Static_Website=4]="Static_Website",e[e.K8S_Ingress=8]="K8S_Ingress",e}({});class eo{}class to{}class io{}var no=function(e){return e[e.Host=1]="Host",e[e.IPAddress=2]="IPAddress",e[e.Method=4]="Method",e[e.URLPath=8]="URLPath",e[e.URLQuery=16]="URLQuery",e[e.FileExt=32]="FileExt",e[e.GetPostKey=128]="GetPostKey",e[e.GetPostValue=256]="GetPostValue",e[e.UploadFileExt=512]="UploadFileExt",e[e.Referer=1024]="Referer",e[e.CookieKey=2048]="CookieKey",e[e.CookieValue=4096]="CookieValue",e[e.UserAgent=8192]="UserAgent",e[e.ContentType=16384]="ContentType",e[e.HeaderKey=32768]="HeaderKey",e[e.HeaderValue=65536]="HeaderValue",e[e.Proto=131072]="Proto",e[e.ResponseStatusCode=33554432]="ResponseStatusCode",e[e.ResponseHeaderKey=67108864]="ResponseHeaderKey",e[e.ResponseHeaderValue=134217728]="ResponseHeaderValue",e[e.ResponseBody=536870912]="ResponseBody",e}({}),ro=function(e){return e[e.BLOCK=100]="BLOCK",e[e.BYPASS_AND_LOG=200]="BYPASS_AND_LOG",e[e.CAPTCHA=300]="CAPTCHA",e[e.OK_PASS=400]="OK_PASS",e}({});class so{}var ao=function(e){return e[e.Regex_Match=1]="Regex_Match",e[e.Equals_String_Case_Insensitive=2]="Equals_String_Case_Insensitive",e[e.Greater_Than_Integer=4]="Greater_Than_Integer",e[e.Equals_Integer=8]="Equals_Integer",e[e.Length_Greater_Than_Integer=16]="Length_Greater_Than_Integer",e[e.Regex_Not_Match=32]="Regex_Not_Match",e}({});class oo{}class co{}class lo{}class uo{constructor(){this.regex_logs=[]}}class ho{constructor(){this.cc_logs=[]}}class fo{constructor(e,t,i,n){this.ip=e,this.port=t,this.username=i,this.password=n}}class po{}class mo{}let _o=(()=>{class e{constructor(){this.messages=[]}add(e){this.messages.push(e)}clear(){this.messages=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const bo={headers:new Ti({"Content-Type":"application/json"})};let go=(()=>{class e{constructor(e,t){this.http=e,this.messageService=t,this.apiUrl="/janusec-admin/ui-api",this.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.certificates=[],this.applications=[],this.vip_apps=[],this.appmap=new Object,this.vip_app_map=new Object,this.domains=[],this.admins=[],this.vulntypes=[],this.vulntypemap=new Object,this.lastRegexLogs=new uo,this.lastCCLogs=new ho,this.oauth=new po}getResponse(e,t,i,n){let r={action:e};null!=i&&(r.id=i),null!=n&&(r.object=n),this.http.post(this.apiUrl,r,bo).pipe(tr(e=>{}),Rn(this.handleError("Get response"))).subscribe(e=>{null==e.err?t(e.object):this.messageService.add("Error: "+e.err)})}getResponseByCustomBody(e,t){this.http.post(this.apiUrl,e,bo).pipe(tr(e=>{}),Rn(this.handleError("Get response"))).subscribe(e=>{null==e.err?t(e.object):this.messageService.add("Error: "+e.err)})}getResponseByURL(e,t,i,n){this.http.get(e,bo).pipe(tr(e=>{}),Rn(this.handleError("Get response"))).subscribe(e=>{null==e.err?t(e.object):this.messageService.add("Error: "+e.err)})}getApplications(){var e=this;this.getResponse("get_apps",(function(t){if(null==t)e.applications=[];else{e.applications=t;for(let t of e.applications)e.appmap[t.id]=t.name}}))}getVipApps(){var e=this;this.getResponse("get_vip_apps",(function(t){if(null==t)e.vip_apps=[];else{e.vip_apps=t;for(let t of e.vip_apps)e.vip_app_map[t.id]=t.name}}))}getCertificates(){var e=this;this.getResponse("get_certs",(function(t){e.certificates=t;var i=(new Date).getTime();for(let n of e.certificates){let e=new Date(1e3*n.expire_time).getTime()-i;n.due_to_expire=e<2592e6}}))}getAPIKey(){var e=this;return this.getResponse("get_api_key",(function(t){e.hexAPIKey=t.api_key})),e.hexAPIKey}getNodesKey(){var e=this;return this.getResponse("get_nodes_key",(function(t){e.hexNodesKey=t.nodes_key})),e.hexNodesKey}getAuthUser(e){var t=this;this.getResponse("get_auth_user",(function(i){t.auth_user=i,e(t.auth_user)}))}getVulnTypes(e){var t=this;this.getResponse("get_vuln_types",(function(i){t.vulntypes=i;for(let e of t.vulntypes)t.vulntypemap[e.id]=e.name;e()}))}getDomains(){var e=this;this.getResponse("get_domains",(function(t){e.domains=t}))}getAppUsers(){var e=this;this.getResponse("get_app_users",(function(t){e.admins=t}))}saveCertificate(e){return this.http.post(this.apiUrl,{action:"update_cert",certificate:e},bo).pipe(tr(e=>{}),Rn(this.handleError("Save certificate")))}getDateString(e){let t=new Date(1e3*e);return t.toLocaleDateString()+" "+t.toLocaleTimeString("en-GB",{hour12:!1})}handleError(e="operation",t){return i=>(console.error(i),this.messageService.add(`${e} failed: ${i.message}`),vi(t))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(zi),n.fc(_o))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();function yo(e){return null!=e&&"false"!==`${e}`}function vo(e,t=0){return wo(e)?Number(e):t}function wo(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Co(e){return Array.isArray(e)?e:[e]}function So(e){return null==e?"":"string"==typeof e?e:`${e}px`}function ko(e){return e instanceof n.l?e.nativeElement:e}function xo(e){return e&&"function"==typeof e.connect}class Mo{constructor(e=!1,t,i=!0){this._multiple=e,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new an.a,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let Do=(()=>{class e{constructor(){this._listeners=[]}notify(e,t){for(let i of this._listeners)i(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Lo=new n.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(n.V)(a)}});let To,Eo=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new n.o,e){const t=e.documentElement?e.documentElement.dir:null,i=(e.body?e.body.dir:null)||t;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Lo,8))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Lo,8))},token:e,providedIn:"root"}),e})(),Ao=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();try{To="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(lO){To=!1}let Oo,Po=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?q(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!To)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.C,8))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.C,8))},token:e,providedIn:"root"}),e})(),Io=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();const Ro=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function jo(){if(Oo)return Oo;if("object"!=typeof document||!document)return Oo=new Set(Ro),Oo;let e=document.createElement("input");return Oo=new Set(Ro.filter(t=>(e.setAttribute("type",t),e.type===t))),Oo}let Yo,Vo;function Wo(e){return function(){if(null==Yo&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Yo=!0}))}finally{Yo=Yo||!1}return Yo}()?e:!!e.capture}function Fo(){if("object"!=typeof document||!document)return 0;if(null==Vo){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),Vo=0,0===e.scrollLeft&&(e.scrollLeft=1,Vo=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return Vo}function Ho(e){return t=>t.lift(new Bo(e))}class Bo{constructor(e){this.notifier=e}call(e,t){const i=new zo(e),n=Object(un.a)(i,this.notifier);return n&&!i.seenValue?(i.add(n),t.subscribe(i)):i}}class zo extends dn.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,i,n,r){this.seenValue=!0,this.complete()}notifyComplete(){}}const No=[[["caption"]]],Uo=["caption"];function qo(e){return class extends e{constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(e){const t=this._sticky;this._sticky=yo(e),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}}}let $o=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkCellDef",""]]}),e})(),Jo=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e})(),Ko=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkFooterCellDef",""]]}),e})();class Go{}const Zo=qo(Go);let Xo=(()=>{class e extends Zo{constructor(){super(...arguments),this._stickyEnd=!1}get name(){return this._name}set name(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=yo(e),this._hasStickyChanged=t!==this._stickyEnd}}return e.\u0275fac=function(t){return Qo(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,$o,!0),n.Ib(i,Jo,!0),n.Ib(i,Ko,!0)),2&e&&(n.zc(r=n.kc())&&(t.cell=r.first),n.zc(r=n.kc())&&(t.headerCell=r.first),n.zc(r=n.kc())&&(t.footerCell=r.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),n.zb]}),e})();const Qo=n.Zb(Xo);class ec{constructor(e,t){t.nativeElement.classList.add(`cdk-column-${e.cssClassFriendlyName}`)}}let tc=(()=>{class e extends ec{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.zb]}),e})(),ic=(()=>{class e extends ec{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[n.zb]}),e})(),nc=(()=>{class e{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof ac?e.headerCell.template:this instanceof lc?e.footerCell.template:e.cell.template}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e,features:[n.Ab()]}),e})();class rc extends nc{}const sc=qo(rc);let ac=(()=>{class e extends sc{constructor(e,t){super(e,t)}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.zb,n.Ab()]}),e})();class oc extends nc{}const cc=qo(oc);let lc=(()=>{class e extends cc{constructor(e,t){super(e,t)}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.zb,n.Ab()]}),e})(),dc=(()=>{class e extends nc{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.t))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.zb]}),e})(),uc=(()=>{class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e})(),hc=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})(),fc=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})();const pc=["top","bottom","left","right"];class mc{constructor(e,t,i,n=!0){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=i,this._isBrowser=n}clearStickyPositioning(e,t){for(const i of e)if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,t);for(let e=0;ee)||i.some(e=>e);if(!e.length||!n||!this._isBrowser)return;const r=e[0],s=r.children.length,a=this._getCellWidths(r),o=this._getStickyStartColumnPositions(a,t),c=this._getStickyEndColumnPositions(a,i),l="rtl"===this.direction;for(const d of e)for(let e=0;e!e)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)}_removeStickyStyle(e,t){for(const i of t)e.style[i]="";e.style.zIndex=this._getCalculatedZIndex(e),pc.some(t=>!!e.style[t])||(e.style.position="",e.classList.remove(this._stickCellCss))}_addStickyStyle(e,t,i){e.classList.add(this._stickCellCss),e.style[t]=`${i}px`,e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)}_getCalculatedZIndex(e){const t={top:100,bottom:10,left:1,right:1};let i=0;for(const n of pc)e.style[n]&&(i+=t[n]);return i?`${i}`:""}_getCellWidths(e){const t=[],i=e.children;for(let n=0;n0;r--)t[r]&&(i[r]=n,n+=e[r]);return i}}function _c(e){return Error(`Could not find column with id "${e}".`)}let bc=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","rowOutlet",""]]}),e})(),gc=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","headerRowOutlet",""]]}),e})(),yc=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","footerRowOutlet",""]]}),e})(),vc=(()=>{class e{constructor(e,t,i,n,r,s,a){this._differs=e,this._changeDetectorRef=t,this._elementRef=i,this._dir=r,this._platform=a,this._onDestroy=new an.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new cn({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){Object(n.W)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}.`),this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=yo(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),xo(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return;const t=this._rowOutlet.viewContainer;e.forEachOperation((e,i,n)=>{if(null==e.previousIndex)this._insertRow(e.item,n);else if(null==n)t.remove(i);else{const e=t.get(i);t.move(e,n)}}),this._updateRowIndexContext(),e.forEachIdentityChange(e=>{t.get(e.currentIndex).context.$implicit=e.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}setFooterRowDef(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");const i=this._headerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");const i=this._footerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...e,...t,...i],["left","right"]),e.forEach((e,t)=>{this._addStickyColumnStyles([e],this._headerRowDefs[t])}),this._rowDefs.forEach(e=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([e],this._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(e=>e.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const r=i&&i.has(n)?i.get(n):[];if(r.length){const e=r.shift();return e.dataIndex=t,e}return{data:e,rowDef:n,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),wc(this._contentColumnDefs,this._customColumnDefs).forEach(e=>{if(this._columnDefsByName.has(e.name))throw Error(`Duplicate column definition name provided: "${e.name}".`);this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=wc(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=wc(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=wc(this._contentRowDefs,this._customRowDefs);const e=this._rowDefs.filter(e=>!e.when);if(!this.multiTemplateDataRows&&e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(e,t)=>e||!!t.getColumnsDiff();this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}_switchDataSource(e){this._data=[],xo(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;if(xo(this.dataSource)?e=this.dataSource.connect(this):(t=this.dataSource)&&(t instanceof He.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=vi(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");var t;this._renderChangeSubscription=e.pipe(Ho(this._onDestroy)).subscribe(e=>{this._data=e||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(e,t){const i=Array.from(t.columns||[]).map(e=>{const t=this._columnDefsByName.get(e);if(!t)throw _c(e);return t}),n=i.map(e=>e.sticky),r=i.map(e=>e.stickyEnd);this._stickyStyler.updateStickyColumns(e,n,r)}_getRenderedRows(e){const t=[];for(let i=0;i!i.when||i.when(t,e));else{let n=this._rowDefs.find(i=>i.when&&i.when(t,e))||this._defaultRowDef;n&&i.push(n)}if(!i.length)throw function(e){return Error("Could not find a matching row definition for the"+`provided row data: ${JSON.stringify(e)}`)}(e);return i}_insertRow(e,t){this._renderRow(this._rowOutlet,e.rowDef,t,{$implicit:e.data})}_renderRow(e,t,i,n={}){e.viewContainer.createEmbeddedView(t.template,n,i);for(let r of this._getCellTemplates(t))uc.mostRecentCellOutlet&&uc.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,i=e.length;t{const i=this._columnDefsByName.get(t);if(!i)throw _c(t);return e.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const i of t){const t=this._document.createElement(i.tag);t.setAttribute("role","rowgroup"),t.appendChild(i.outlet.elementRef.nativeElement),e.appendChild(t)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const e=(e,t)=>e||t.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new mc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:vi()).pipe(Ho(this._onDestroy)).subscribe(e=>{this._stickyStyler.direction=e,this.updateStickyColumnStyles()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.t),n.Pb(n.h),n.Pb(n.l),n.gc("role"),n.Pb(Eo,8),n.Pb(a),n.Pb(Po))},e.\u0275cmp=n.Jb({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,Xo,!0),n.Ib(i,dc,!0),n.Ib(i,ac,!0),n.Ib(i,lc,!0)),2&e&&(n.zc(r=n.kc())&&(t._contentColumnDefs=r),n.zc(r=n.kc())&&(t._contentRowDefs=r),n.zc(r=n.kc())&&(t._contentHeaderRowDefs=r),n.zc(r=n.kc())&&(t._contentFooterRowDefs=r))},viewQuery:function(e,t){var i;1&e&&(n.Gc(bc,!0),n.Gc(gc,!0),n.Gc(yc,!0)),2&e&&(n.zc(i=n.kc())&&(t._rowOutlet=i.first),n.zc(i=n.kc())&&(t._headerRowOutlet=i.first),n.zc(i=n.kc())&&(t._footerRowOutlet=i.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],ngContentSelectors:Uo,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(n.rc(No),n.qc(0),n.Sb(1,0),n.Sb(2,1),n.Sb(3,2))},directives:[gc,bc,yc],encapsulation:2}),e})();function wc(e,t){return e.toArray().concat(Array.from(t))}let Cc=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();function Sc(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class kc extends rr.a{constructor(e,t){super()}schedule(e,t=0){return this}}class xc extends kc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this}requestAsyncId(e,t,i=0){return setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i=!1,n=void 0;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,i=t.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Mc=(()=>{class e{constructor(t,i=e.now){this.SchedulerAction=t,this.now=i}schedule(e,t=0,i){return new this.SchedulerAction(this,e).schedule(i,t)}}return e.now=()=>Date.now(),e})();class Dc extends Mc{constructor(e,t=Mc.now){super(e,()=>Dc.delegate&&Dc.delegate!==this?Dc.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Dc.delegate&&Dc.delegate!==this?Dc.delegate.schedule(e,t,i):super.schedule(e,t,i)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}const Lc=new Dc(xc);function Tc(e,t=Lc){return i=>i.lift(new Ec(e,t))}class Ec{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Ac(e,this.dueTime,this.scheduler))}}class Ac extends Si.a{constructor(e,t,i){super(e),this.dueTime=t,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Oc,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function Oc(e){e.debouncedNext()}let Pc=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Ic=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=ko(e);return new He.a(e=>{const i=this._observeElement(t).subscribe(e);return()=>{i.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new an.a,i=this._mutationObserverFactory.create(e=>t.next(e));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:i}=this._observedElements.get(e);t&&t.disconnect(),i.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Pc))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Pc))},token:e,providedIn:"root"}),e})(),Rc=(()=>{class e{constructor(e,t,i){this._contentObserver=e,this._elementRef=t,this._ngZone=i,this.event=new n.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=vo(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Tc(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Ic),n.Pb(n.l),n.Pb(n.A))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),jc=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Pc]}),e})();function Yc(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}let Vc=0;const Wc=new Map;let Fc=null,Hc=(()=>{class e{constructor(e){this._document=e}describe(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Wc.set(t,{messageElement:t,referenceCount:0})):Wc.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}removeDescription(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){const e=Wc.get(t);e&&0===e.referenceCount&&this._deleteMessageElement(t)}Fc&&0===Fc.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const i=Wc.get(t);!function(e,t,i){const n=Yc(e,t);n.some(e=>e.trim()==i.trim())||(n.push(i.trim()),e.setAttribute(t,n.join(" ")))}(e,"aria-describedby",i.messageElement.id),e.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(e,t){const i=Wc.get(t);i.referenceCount--,function(e,t,i){const n=Yc(e,t).filter(e=>e!=i.trim());n.length?e.setAttribute(t,n.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",i.messageElement.id),e.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(e,t){const i=Yc(e,"aria-describedby"),n=Wc.get(t),r=n&&n.messageElement.id;return!!r&&-1!=i.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const i=null==t?"":`${t}`.trim(),n=e.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(a))},token:e,providedIn:"root"}),e})();class Bc{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new an.a,this._typeaheadSubscription=rr.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new an.a,this.change=new an.a,e instanceof n.E&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){if(this._items.length&&this._items.some(e=>"function"!=typeof e.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(tr(e=>this._pressedLetters.push(e)),Tc(e),ki(()=>this._pressedLetters.length>0),Object(ze.a)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let i=1;i!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||Sc(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),i="number"==typeof e?e:t.indexOf(e),n=t[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const n=(this._activeItemIndex+e*i+t.length)%t.length;if(!this._skipPredicateFn(t[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(!i[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof n.E?this._items.toArray():this._items}}class zc extends Bc{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class Nc extends Bc{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let Uc=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(lO){return null}}((i=e).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(t){const e=t&&t.nodeName.toLowerCase();if(-1===$c(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===e)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}let n=e.nodeName.toLowerCase(),r=$c(e);if(e.hasAttribute("contenteditable"))return-1!==r;if("iframe"===n)return!1;if("audio"===n){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===n){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==n||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),i="input"===t&&e.type;return"text"===i||"password"===i||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}isFocusable(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||qc(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po))},token:e,providedIn:"root"}),e})();function qc(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function $c(e){if(!qc(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class Jc{constructor(e,t,i,n,r=!1){this._element=e,this._checker=t,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], `+`[cdkFocusRegion${e}], `+`[cdk-focus-${e}]`);for(let i=0;i=0;i--){let e=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(e)}}let Kc=(()=>{class e{constructor(e,t,i){this._checker=e,this._ngZone=t,this._document=i}create(e,t=!1){return new Jc(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Uc),n.fc(n.A),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Uc),Object(n.fc)(n.A),Object(n.fc)(a))},token:e,providedIn:"root"}),e})(),Gc=(()=>{class e{constructor(e,t,i){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=yo(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=yo(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Kc),n.Pb(a))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),e})();"undefined"!=typeof Element&∈const Zc=new n.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Xc=new n.r("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Qc=(()=>{class e{constructor(e,t,i,n){this._ngZone=t,this._defaultOptions=n,this._document=i,this._liveElement=e||this._createLiveElement()}announce(e,...t){const i=this._defaultOptions;let n,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[n,r]=t,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==r&&i&&(r=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div");for(let i=0;i{class e{constructor(e,t,i,n){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=i,this._ngZone=n,this._politeness="off"}get politeness(){return this._politeness}set politeness(e){this._politeness="polite"===e||"assertive"===e?e:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Qc),n.Pb(Ic),n.Pb(n.A))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();const tl=Wo({passive:!0,capture:!0});let il=(()=>{class e{constructor(e,t){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=e.composedPath?e.composedPath()[0]:e.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(e,t=!1){if(!this._platform.isBrowser)return vi(null);const i=ko(e);if(this._elementInfo.has(i)){let e=this._elementInfo.get(i);return e.checkChildren=t,e.subject.asObservable()}let n={unlisten:()=>{},checkChildren:t,subject:new an.a};this._elementInfo.set(i,n),this._incrementMonitoredElementCount();let r=e=>this._onFocus(e,i),s=e=>this._onBlur(e,i);return this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",r,!0),i.addEventListener("blur",s,!0)}),n.unlisten=()=>{i.removeEventListener("focus",r,!0),i.removeEventListener("blur",s,!0)},n.subject.asObservable()}stopMonitoring(e){const t=ko(e),i=this._elementInfo.get(t);i&&(i.unlisten(),i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())}focusVia(e,t,i){const n=ko(e);this._setOriginForCurrentEventQueue(t),"function"==typeof n.focus&&n.focus(i)}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_toggleClass(e,t,i){i?e.classList.add(t):e.classList.remove(t)}_setClasses(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(e){let t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const i=this._elementInfo.get(t);if(!i||!i.checkChildren&&t!==e.target)return;let n=this._origin;n||(n=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}_onBlur(e,t){const i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,tl),document.addEventListener("mousedown",this._documentMousedownListener,tl),document.addEventListener("touchstart",this._documentTouchstartListener,tl),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,tl),document.removeEventListener("mousedown",this._documentMousedownListener,tl),document.removeEventListener("touchstart",this._documentTouchstartListener,tl),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(Po))},token:e,providedIn:"root"}),e})(),nl=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new n.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(il))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();function rl(e){return 0===e.buttons}let sl=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=(this._document.defaultView.getComputedStyle(e).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),t){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");const t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po),Object(n.fc)(a))},token:e,providedIn:"root"}),e})(),al=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(sl))},imports:[[Io,jc]]}),e})();const ol=new n.O("9.1.0"),cl=["*",[["mat-option"],["ng-container"]]],ll=["*","mat-option, ng-container"];function dl(e,t){if(1&e&&n.Rb(0,"mat-pseudo-checkbox",3),2&e){const e=n.nc();n.sc("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}const ul=["*"],hl=new n.O("9.1.0"),fl=new n.r("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let pl=(()=>{class e{constructor(e,t){this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checksAreEnabled(){return Object(n.W)()&&!this._isTestEnv()}_isTestEnv(){const e=this._window;return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle))return;const e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);const t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&hl.full!==ol.full&&console.warn("The Angular Material version ("+hl.full+") does not match the Angular CDK version ("+ol.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc(sl),n.fc(fl,8))},imports:[[Ao],Ao]}),e})();function ml(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e)}}}function _l(e,t){return class extends e{constructor(...e){super(...e),this.color=t}get color(){return this._color}set color(e){const i=e||t;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function bl(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=yo(e)}}}function gl(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?e:t}}}function yl(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new an.a}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}function vl(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new He.a(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}const wl=new n.r("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(n.V)(n.v)}});class Cl{constructor(){this._localeChanges=new an.a}get localeChanges(){return this._localeChanges}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareDate(e,t):i==n}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}}const Sl=new n.r("mat-date-formats");let kl;try{kl="undefined"!=typeof Intl}catch(lO){kl=!1}const xl={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Ml=Tl(31,e=>String(e+1)),Dl={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Ll=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Tl(e,t){const i=Array(e);for(let n=0;n{class e extends Cl{constructor(e,t){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!t.TRIDENT,this._clampDate=t.TRIDENT||t.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(kl){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Tl(12,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,e,1))))}return xl[e]}getDateNames(){if(kl){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Tl(31,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return Ml}getDayOfWeekNames(e){if(kl){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Tl(7,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return Dl[e]}getYearName(e){if(kl){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,i){if(t<0||t>11)throw Error(`Invalid month index "${t}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);let n=this._createDateWithOverflow(e,t,i);if(n.getMonth()!=t)throw Error(`Invalid date "${i}" for month with index "${t}".`);return n}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(kl){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(i,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let i=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(i)!=((this.getMonth(e)+t)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Ll.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,i){const n=new Date(e,t,i);return e>=0&&e<100&&n.setFullYear(this.getYear(n)-1900),n}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,t){const i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(wl,8),n.fc(Po))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Al=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[{provide:Cl,useClass:El}],imports:[[Io]]}),e})();const Ol={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Pl=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[{provide:Sl,useValue:Ol}],imports:[[Al]]}),e})(),Il=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Rl=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e})();function jl(e,t,i){const n=e.nativeElement.classList;i?n.add(t):n.remove(t)}let Yl=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();class Vl{constructor(e,t,i){this._renderer=e,this.element=t,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Wl={enterDuration:450,exitDuration:400},Fl=Wo({passive:!0});class Hl{constructor(e,t,i,n){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=e=>{const t=rl(e),i=this._lastTouchStartEvent&&Date.now(){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let e=0;e{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))},n.isBrowser&&(this._containerElement=ko(i),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(e,t,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},Wl),i.animation);i.centered&&(e=n.left+n.width/2,t=n.top+n.height/2);const s=i.radius||function(e,t,i){const n=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),r=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));return Math.sqrt(n*n+r*r)}(e,t,n),a=e-n.left,o=t-n.top,c=r.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-s}px`,l.style.top=`${o-s}px`,l.style.height=`${2*s}px`,l.style.width=`${2*s}px`,null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";const d=new Vl(this,l,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const e=d===this._mostRecentTransientRipple;d.state=1,i.persistent||e&&this._isPointerDown||d.fadeOut()},c),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const i=e.element,n=Object.assign(Object.assign({},Wl),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=ko(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((e,i)=>{t.addEventListener(i,e,Fl)})}),this._triggerElement=t)}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((e,t)=>{this._triggerElement.removeEventListener(t,e,Fl)})}}const Bl=new n.r("mat-ripple-global-options");let zl=(()=>{class e{constructor(e,t,i,n,r){this._elementRef=e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new Hl(this,t,e,i),"NoopAnimations"===r&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,i){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(Po),n.Pb(Bl,8),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),Nl=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl,Io],pl]}),e})(),Ul=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&n.Gb("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),ql=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();class $l{}const Jl=ml($l);let Kl=0,Gl=(()=>{class e extends Jl{constructor(){super(...arguments),this._labelId=`mat-optgroup-label-${Kl++}`}}return e.\u0275fac=function(t){return Zl(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(n.Db("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),n.Gb("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[n.zb],ngContentSelectors:ll,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(n.rc(cl),n.Wb(0,"label",0),n.Jc(1),n.qc(2),n.Vb(),n.qc(3,1)),2&e&&(n.sc("id",t._labelId),n.Cb(1),n.Lc("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();const Zl=n.Zb(Gl);let Xl=0;class Ql{constructor(e,t=!1){this.source=e,this.isUserInput=t}}const ed=new n.r("MAT_OPTION_PARENT_COMPONENT");let td=(()=>{class e{constructor(e,t,i,r){this._element=e,this._changeDetectorRef=t,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Xl++}`,this.onSelectionChange=new n.o,this._stateChanges=new an.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=yo(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){13!==e.keyCode&&32!==e.keyCode||Sc(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Ql(this,e))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ed,8),n.Pb(Gl,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&n.jc("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(n.ac("id",t.id),n.Db("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),n.Gb("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:ul,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(n.rc(),n.Ic(0,dl,1,2,"mat-pseudo-checkbox",0),n.Wb(1,"span",1),n.qc(2),n.Vb(),n.Rb(3,"div",2)),2&e&&(n.sc("ngIf",t.multiple),n.Cb(3),n.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[P,zl,Ul],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function id(e,t,i){if(i.length){let n=t.toArray(),r=i.toArray(),s=0;for(let t=0;t{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,U,ql]]}),e})();const rd=new n.r("mat-label-global-options");var sd=i("VRyK");const ad=[[["caption"]]],od=["caption"];let cd=(()=>{class e extends vc{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}return e.\u0275fac=function(t){return ld(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[n.Bb([{provide:vc,useExisting:e}]),n.zb],ngContentSelectors:od,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(n.rc(ad),n.qc(0),n.Sb(1,0),n.Sb(2,1),n.Sb(3,2))},directives:[gc,bc,yc],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),e})();const ld=n.Zb(cd);let dd=(()=>{class e extends $o{}return e.\u0275fac=function(t){return ud(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matCellDef",""]],features:[n.Bb([{provide:$o,useExisting:e}]),n.zb]}),e})();const ud=n.Zb(dd);let hd=(()=>{class e extends Jo{}return e.\u0275fac=function(t){return fd(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matHeaderCellDef",""]],features:[n.Bb([{provide:Jo,useExisting:e}]),n.zb]}),e})();const fd=n.Zb(hd);let pd=(()=>{class e extends Xo{}return e.\u0275fac=function(t){return md(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.Bb([{provide:Xo,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),n.zb]}),e})();const md=n.Zb(pd);let _d=(()=>{class e extends tc{constructor(e,t){super(e,t),t.nativeElement.classList.add(`mat-column-${e.cssClassFriendlyName}`)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.zb]}),e})(),bd=(()=>{class e extends ic{constructor(e,t){super(e,t),t.nativeElement.classList.add(`mat-column-${e.cssClassFriendlyName}`)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Xo),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.zb]}),e})(),gd=(()=>{class e extends ac{}return e.\u0275fac=function(t){return yd(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.Bb([{provide:ac,useExisting:e}]),n.zb]}),e})();const yd=n.Zb(gd);let vd=(()=>{class e extends dc{}return e.\u0275fac=function(t){return wd(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.Bb([{provide:dc,useExisting:e}]),n.zb]}),e})();const wd=n.Zb(vd);let Cd=(()=>{class e extends hc{}return e.\u0275fac=function(t){return Sd(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.Bb([{provide:hc,useExisting:e}]),n.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})();const Sd=n.Zb(Cd);let kd=(()=>{class e extends fc{}return e.\u0275fac=function(t){return xd(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.Bb([{provide:fc,useExisting:e}]),n.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&n.Sb(0,0)},directives:[uc],encapsulation:2}),e})();const xd=n.Zb(kd);let Md=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Cc,pl]]}),e})();class Dd extends class{}{constructor(e=[]){super(),this._renderData=new cn([]),this._filter=new cn(""),this._internalPageChanges=new an.a,this._renderChangesSubscription=rr.a.EMPTY,this.sortingDataAccessor=(e,t)=>{const i=e[t];if(wo(i)){const e=Number(i);return e<9007199254740991?e:i}return i},this.sortData=(e,t)=>{const i=t.active,n=t.direction;return i&&""!=n?e.sort((e,t)=>{let r=this.sortingDataAccessor(e,i),s=this.sortingDataAccessor(t,i),a=0;return null!=r&&null!=s?r>s?a=1:r{const i=Object.keys(e).reduce((t,i)=>t+e[i]+"\u25ec","").toLowerCase(),n=t.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new cn(e),this._updateChangeSubscription()}get data(){return this._data.value}set data(e){this._data.next(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}_updateChangeSubscription(){const e=this._sort?Object(sd.a)(this._sort.sortChange,this._sort.initialized):vi(null),t=this._paginator?Object(sd.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):vi(null),i=fn([this._data,this._filter]).pipe(Object(ze.a)(([e])=>this._filterData(e))),n=fn([i,e]).pipe(Object(ze.a)(([e])=>this._orderData(e))),r=fn([n,t]).pipe(Object(ze.a)(([e])=>this._pageData(e)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=r.subscribe(e=>this._renderData.next(e))}_filterData(e){return this.filteredData=this.filter?e.filter(e=>this.filterPredicate(e,this.filter)):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;const t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{const t=this.paginator;if(t&&(t.length=e,t.pageIndex>0)){const e=Math.ceil(t.length/t.pageSize)-1||0,i=Math.min(t.pageIndex,e);i!==t.pageIndex&&(t.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}const Ld=["*",[["mat-card-footer"]]],Td=["*","mat-card-footer"],Ed=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Ad=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let Od=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e})(),Pd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e})(),Id=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),e})(),Rd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),e})(),jd=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:Td,decls:2,vars:0,template:function(e,t){1&e&&(n.rc(Ld),n.qc(0),n.qc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e})(),Yd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:Ad,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(n.rc(Ed),n.qc(0),n.Wb(1,"div",0),n.qc(2,1),n.Vb(),n.qc(3,2))},encapsulation:2,changeDetection:0}),e})(),Vd=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const Wd=["mat-button",""],Fd=["*"],Hd=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class Bd{constructor(e){this._elementRef=e}}const zd=_l(ml(bl(Bd)));let Nd=(()=>{class e extends zd{constructor(e,t,i){super(e),this._focusMonitor=t,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of Hd)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);e.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",t){this._focusMonitor.focusVia(this._getHostElement(),e,t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(il),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var i;1&e&&n.Sc(zl,!0),2&e&&n.zc(i=n.kc())&&(t.ripple=i.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(e,t){2&e&&(n.Db("disabled",t.disabled||null),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.zb],attrs:Wd,ngContentSelectors:Fd,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"span",0),n.qc(1),n.Vb(),n.Rb(2,"div",1),n.Rb(3,"div",2)),2&e&&(n.Cb(2),n.Gb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),n.sc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[zl],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e})(),Ud=(()=>{class e extends Nd{constructor(e,t,i){super(t,e,i)}_haltDisabledEvents(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(il),n.Pb(n.l),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){1&e&&n.jc("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(n.Db("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.zb],attrs:Wd,ngContentSelectors:Fd,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"span",0),n.qc(1),n.Vb(),n.Rb(2,"div",1),n.Rb(3,"div",2)),2&e&&(n.Cb(2),n.Gb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),n.sc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[zl],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e})(),qd=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,pl],pl]}),e})();function $d(e,t,i,n){return Object(er.a)(i)&&(n=i,i=void 0),n?$d(e,t,i).pipe(Object(ze.a)(e=>Object(Be.a)(e)?n(...e):n(e))):new He.a(n=>{!function e(t,i,n,r,s){let a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(i,n,s),a=()=>e.removeEventListener(i,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(i,n),a=()=>e.off(i,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(i,n),a=()=>e.removeListener(i,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,o=t.length;a1?Array.prototype.slice.call(arguments):e)}),n,i)})}const Jd=["underline"],Kd=["connectionContainer"],Gd=["inputContainer"],Zd=["label"];function Xd(e,t){1&e&&(n.Ub(0),n.Wb(1,"div",14),n.Rb(2,"div",15),n.Rb(3,"div",16),n.Rb(4,"div",17),n.Vb(),n.Wb(5,"div",18),n.Rb(6,"div",15),n.Rb(7,"div",16),n.Rb(8,"div",17),n.Vb(),n.Tb())}function Qd(e,t){1&e&&(n.Wb(0,"div",19),n.qc(1,1),n.Vb())}function eu(e,t){if(1&e&&(n.Ub(0),n.qc(1,2),n.Wb(2,"span"),n.Jc(3),n.Vb(),n.Tb()),2&e){const e=n.nc(2);n.Cb(3),n.Kc(e._control.placeholder)}}function tu(e,t){1&e&&n.qc(0,3,["*ngSwitchCase","true"])}function iu(e,t){1&e&&(n.Wb(0,"span",23),n.Jc(1," *"),n.Vb())}function nu(e,t){if(1&e){const e=n.Yb();n.Wb(0,"label",20,21),n.jc("cdkObserveContent",(function(){return n.Cc(e),n.nc().updateOutlineGap()})),n.Ic(2,eu,4,1,"ng-container",12),n.Ic(3,tu,1,0,void 0,12),n.Ic(4,iu,2,0,"span",22),n.Vb()}if(2&e){const e=n.nc();n.Gb("mat-empty",e._control.empty&&!e._shouldAlwaysFloat)("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),n.sc("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),n.Db("for",e._control.id)("aria-owns",e._control.id),n.Cb(2),n.sc("ngSwitchCase",!1),n.Cb(1),n.sc("ngSwitchCase",!0),n.Cb(1),n.sc("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function ru(e,t){1&e&&(n.Wb(0,"div",24),n.qc(1,4),n.Vb())}function su(e,t){if(1&e&&(n.Wb(0,"div",25,26),n.Rb(2,"span",27),n.Vb()),2&e){const e=n.nc();n.Cb(2),n.Gb("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function au(e,t){if(1&e&&(n.Wb(0,"div"),n.qc(1,5),n.Vb()),2&e){const e=n.nc();n.sc("@transitionMessages",e._subscriptAnimationState)}}function ou(e,t){if(1&e&&(n.Wb(0,"div",31),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.sc("id",e._hintLabelId),n.Cb(1),n.Kc(e.hintLabel)}}function cu(e,t){if(1&e&&(n.Wb(0,"div",28),n.Ic(1,ou,2,2,"div",29),n.qc(2,6),n.Rb(3,"div",30),n.qc(4,7),n.Vb()),2&e){const e=n.nc();n.sc("@transitionMessages",e._subscriptAnimationState),n.Cb(1),n.sc("ngIf",e.hintLabel)}}const lu=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],du=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let uu=0,hu=(()=>{class e{constructor(){this.id=`mat-error-${uu++}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&n.Db("id",t.id)},inputs:{id:"id"}}),e})();const fu={transitionMessages:Object(De.n)("transitionMessages",[Object(De.k)("enter",Object(De.l)({opacity:1,transform:"translateY(0%)"})),Object(De.m)("void => enter",[Object(De.l)({opacity:0,transform:"translateY(-100%)"}),Object(De.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e}),e})();function mu(e){return Error(`A hint was already declared for 'align="${e}"'.`)}let _u=0,bu=(()=>{class e{constructor(){this.align="start",this.id=`mat-hint-${_u++}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(n.Db("id",t.id)("align",null),n.Gb("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),e})(),gu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-label"]]}),e})(),yu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-placeholder"]]}),e})(),vu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matPrefix",""]]}),e})(),wu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matSuffix",""]]}),e})(),Cu=0;class Su{constructor(e){this._elementRef=e}}const ku=_l(Su,"primary"),xu=new n.r("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Mu=(()=>{class e extends ku{constructor(e,t,i,n,r,s,a,o){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=n,this._defaults=r,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new an.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Cu++}`,this._labelId=`mat-form-field-label-${Cu++}`,this._labelOptions=i||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=yo(e)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Jn(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Ho(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Ho(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(sd.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Jn(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Jn(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Ho(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,$d(this._label.nativeElement,"transitionend").pipe(Vn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let e,t;this._hintChildren.forEach(i=>{if("start"===i.align){if(e||this.hintLabel)throw mu("start");e=i}else if("end"===i.align){if(t)throw mu("end");t=i}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if("hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,i=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&(e=this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,i=0;const n=this._connectionContainerRef.nativeElement,r=n.querySelectorAll(".mat-form-field-outline-start"),s=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=n.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),a=this._getStartEnd(e.children[0].getBoundingClientRect());let o=0;for(const t of e.children)o+=t.offsetWidth;t=a-s-5,i=o>0?.75*o+10:0}for(let a=0;a{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,jc]]}),e})();class Lu{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new Tu(e,this.durationSelector))}}class Tu extends dn.a{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:t}=this;i=t(e)}catch(t){return this.destination.error(t)}const n=Object(un.a)(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:e,hasValue:t,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Eu(e){return!Object(Be.a)(e)&&e-parseFloat(e)+1>=0}function Au(e=0,t,i){let n=-1;return Eu(t)?n=Number(t)<1?1:Number(t):Object(bi.a)(t)&&(i=t),Object(bi.a)(i)||(i=Lc),new He.a(t=>{const r=Eu(e)?e:+e-i.now();return i.schedule(Ou,r,{index:0,period:n,subscriber:t})})}function Ou(e){const{index:t,period:i,subscriber:n}=e;if(n.next(t),!n.closed){if(-1===i)return n.complete();e.index=t+1,this.schedule(e,i)}}function Pu(e,t=Lc){return i=()=>Au(e,t),function(e){return e.lift(new Lu(i))};var i}const Iu=Wo({passive:!0});let Ru=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return _n;const t=ko(e),i=this._monitoredElements.get(t);if(i)return i.subject.asObservable();const n=new an.a,r="cdk-text-field-autofilled",s=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,Iu),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:n,unlisten:()=>{t.removeEventListener("animationstart",s,Iu)}}),n.asObservable()}stopMonitoring(e){const t=ko(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po),n.fc(n.A))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po),Object(n.fc)(n.A))},token:e,providedIn:"root"}),e})(),ju=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Io]]}),e})();const Yu=new n.r("MAT_INPUT_VALUE_ACCESSOR"),Vu=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Wu=0;class Fu{constructor(e,t,i,n){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=i,this.ngControl=n}}const Hu=yl(Fu);let Bu=(()=>{class e extends Hu{constructor(e,t,i,n,r,s,a,o,c){super(s,n,r,i),this._elementRef=e,this._platform=t,this.ngControl=i,this._autofillMonitor=o,this._uid=`mat-input-${Wu++}`,this._isServer=!1,this._isNativeSelect=!1,this.focused=!1,this.stateChanges=new an.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>jo().has(e));const l=this._elementRef.nativeElement;this._inputValueAccessor=a||l,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&c.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===l.nodeName.toLowerCase(),this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=yo(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=yo(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea()&&jo().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=yo(e)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_isTextarea(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){if(Vu.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Po),n.Pb(rt,10),n.Pb(ei,8),n.Pb(di,8),n.Pb(Il),n.Pb(Yu,10),n.Pb(Ru),n.Pb(n.A))},e.\u0275dir=n.Kb({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&n.jc("blur",(function(){return t._focusChanged(!1)}))("focus",(function(){return t._focusChanged(!0)}))("input",(function(){return t._onInput()})),2&e&&(n.ac("disabled",t.disabled)("required",t.required),n.Db("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),n.Gb("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[n.Bb([{provide:pu,useExisting:e}]),n.zb,n.Ab()]}),e})(),zu=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Il],imports:[[ju,Du],ju,Du]}),e})(),Nu=1;const Uu=(()=>Promise.resolve())(),qu={};function $u(e){return e in qu&&(delete qu[e],!0)}const Ju={setImmediate(e){const t=Nu++;return qu[t]=!0,Uu.then(()=>$u(t)&&e()),t},clearImmediate(e){$u(e)}};class Ku extends xc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=Ju.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(Ju.clearImmediate(t),e.scheduled=void 0)}}class Gu extends Dc{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,n=-1,r=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++ni.lift(new Qu(e,t))}class Qu{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new eh(e,this.compare,this.keySelector))}}class eh extends Si.a{constructor(e,t,i){super(e),this.keySelector=i,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:i}=this;t=i?i(e):e}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:e}=this;i=e(this.key,t)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}function th(e,t){return new He.a(t?i=>t.schedule(ih,0,{error:e,subscriber:i}):t=>t.error(e))}function ih({error:e,subscriber:t}){t.error(e)}let nh=(()=>{class e{constructor(e,t,i){this.kind=e,this.value=t,this.error=i,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}toObservable(){switch(this.kind){case"N":return vi(this.value);case"E":return th(this.error);case"C":return bn()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();i("Ylt2");let rh=(()=>{class e{constructor(e,t){this._ngZone=e,this._platform=t,this._scrolled=new an.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new He.a(t=>{this._globalSubscription||this._addGlobalListener();const i=e>0?this._scrolled.pipe(Pu(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):vi()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ki(e=>!e||i.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,e)&&t.push(n)}),t}_scrollableContainsElement(e,t){let i=t.nativeElement,n=e.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>$d(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(Po))},token:e,providedIn:"root"}),e})(),sh=(()=>{class e{constructor(e,t,i,n){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=i,this.dir=n,this._destroyed=new an.a,this._elementScrolled=new He.a(e=>this.ngZone.runOutsideAngular(()=>$d(this.elementRef.nativeElement,"scroll").pipe(Ho(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=i?e.end:e.start),null==e.right&&(e.right=i?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),i&&0!=Fo()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Fo()?e.left=e.right:1==Fo()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==e?e=i?"right":"left":"end"==e&&(e=i?"left":"right"),i&&2==Fo()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:i&&1==Fo()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(rh),n.Pb(n.A),n.Pb(Eo,8))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),ah=(()=>{class e{constructor(e,t){this._platform=e,t.runOutsideAngular(()=>{this._change=e.isBrowser?Object(sd.a)($d(window,"resize"),$d(window,"orientationchange")):vi(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+t,height:i,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Pu(e)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po),n.fc(n.A))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po),Object(n.fc)(n.A))},token:e,providedIn:"root"}),e})(),oh=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Ao,Io],Ao]}),e})();function ch(){throw Error("Host already has a portal attached")}class lh{attach(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&ch(),this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class dh extends lh{constructor(e,t,i,n){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=n}}class uh extends lh{constructor(e,t,i){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class hh extends lh{constructor(e){super(),this.element=e instanceof n.l?e.nativeElement:e}}class fh{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&ch(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof dh?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof uh?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof hh?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ph extends fh{constructor(e,t,i,n,r){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=e=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})},this._document=r}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=t.create(e.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),i}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach(e=>this.outletElement.appendChild(e)),this.setDisposeFn(()=>{let e=t.indexOf(i);-1!==e&&t.remove(e)}),i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let mh=(()=>{class e extends uh{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.P))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.zb]}),e})(),_h=(()=>{class e extends fh{constructor(e,t,i){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new n.o,this.attachDomPortal=e=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(i,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.j),n.Pb(n.P),n.Pb(a))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.zb]}),e})(),bh=(()=>{class e extends _h{}return e.\u0275fac=function(t){return gh(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[n.Bb([{provide:_h,useExisting:e}]),n.zb]}),e})();const gh=n.Zb(bh);let yh=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();class vh{constructor(e,t){this._parentInjector=e,this._customTokens=t}get(e,t){const i=this._customTokens.get(e);return void 0!==i?i:this._parentInjector.get(e,t)}}class wh{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=So(-this._previousScrollPosition.left),e.style.top=So(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,i=this._document.body.style,n=t.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=i.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=n,i.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}function Ch(){return Error("Scroll strategy has already been attached.")}class Sh{constructor(e,t,i,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){if(this._overlayRef)throw Ch();this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class kh{enable(){}disable(){}attach(){}}function xh(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function Mh(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class Dh{constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(e){if(this._overlayRef)throw Ch();this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();xh(e,[{width:t,height:i,bottom:i,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Lh=(()=>{class e{constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this.noop=()=>new kh,this.close=e=>new Sh(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new wh(this._viewportRuler,this._document),this.reposition=e=>new Dh(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=n}}return e.\u0275fac=function(t){return new(t||e)(n.fc(rh),n.fc(ah),n.fc(n.A),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(rh),Object(n.fc)(ah),Object(n.fc)(n.A),Object(n.fc)(a))},token:e,providedIn:"root"}),e})();class Th{constructor(e){if(this.scrollStrategy=new kh,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const i of t)void 0!==e[i]&&(this[i]=e[i])}}}class Eh{constructor(e,t,i,n,r){this.offsetX=i,this.offsetY=n,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class Ah{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}function Oh(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error(`ConnectedPosition: Invalid ${e} "${t}". `+'Expected "top", "bottom" or "center".')}function Ph(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error(`ConnectedPosition: Invalid ${e} "${t}". `+'Expected "start", "end" or "center".')}let Ih=(()=>{class e{constructor(e){this._attachedOverlays=[],this._keydownListener=e=>{const t=this._attachedOverlays;for(let i=t.length-1;i>-1;i--)if(t[i]._keydownEventSubscriptions>0){t[i]._keydownEvents.next(e);break}},this._document=e}ngOnDestroy(){this._detach()}add(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(a))},token:e,providedIn:"root"}),e})();const Rh=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let jh=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||Rh){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;tthis._backdropClick.next(e),this._keydownEventsObservable=new He.a(e=>{const t=this._keydownEvents.subscribe(e);return this._keydownEventSubscriptions++,()=>{t.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new an.a,this._keydownEventSubscriptions=0,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=So(this._config.width),e.height=So(this._config.height),e.minWidth=So(this._config.minWidth),e.minHeight=So(this._config.minHeight),e.maxWidth=So(this._config.maxWidth),e.maxHeight=So(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let i=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",i),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",i)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(e,t,i){const n=e.classList;Co(t).forEach(e=>{e&&(i?n.add(e):n.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.asObservable().pipe(Ho(Object(sd.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const Vh=/([A-Za-z%]+)$/;class Wh{constructor(e,t,i,n,r){this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new an.a,this._resizeSubscription=rr.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,i=this._viewportRect,n=[];let r;for(let s of this._preferredPositions){let a=this._getOriginPoint(e,s),o=this._getOverlayPoint(a,t,s),c=this._getOverlayFit(o,t,i,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(c,o,i)?n.push({position:s,origin:a,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!r||r.overlayFit.visibleAreat&&(t=n,e=i)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Fh(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let i,n;if("center"==t.originX)i=e.left+e.width/2;else{const n=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;i="start"==t.originX?n:r}return n="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:i,y:n}}_getOverlayPoint(e,t,i){let n,r;return n="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+n,y:e.y+r}}_getOverlayFit(e,t,i,n){let{x:r,y:s}=e,a=this._getOffset(n,"x"),o=this._getOffset(n,"y");a&&(r+=a),o&&(s+=o);let c=0-s,l=s+t.height-i.height,d=this._subtractOverflows(t.width,0-r,r+t.width-i.width),u=this._subtractOverflows(t.height,c,l),h=d*u;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:u===t.height,fitsInViewportHorizontally:d==t.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){const n=i.bottom-t.y,r=i.right-t.x,s=Hh(this._overlayRef.getConfig().minHeight),a=Hh(this._overlayRef.getConfig().minWidth),o=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=s&&s<=n)&&o}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const n=this._viewportRect,r=Math.max(e.x+t.width-n.right,0),s=Math.max(e.y+t.height-n.bottom,0),a=Math.max(n.top-i.top-e.y,0),o=Math.max(n.left-i.left-e.x,0);let c=0,l=0;return c=t.width<=n.width?o||-r:e.xn&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-n/2)}if("end"===t.overlayX&&!n||"start"===t.overlayX&&n)l=i.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!n||"end"===t.overlayX&&n)c=e.x,o=i.right-e.x;else{const t=Math.min(i.right-e.x+i.left,e.x),n=this._lastBoundingBoxSize.width;o=2*t,c=e.x-t,o>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-n/2)}return{top:s,left:c,bottom:a,right:l,width:o,height:r}}_setBoundingBoxStyles(e,t){const i=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=So(i.height),n.top=So(i.top),n.bottom=So(i.bottom),n.width=So(i.width),n.left=So(i.left),n.right=So(i.right),n.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",n.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(n.maxHeight=So(e)),r&&(n.maxWidth=So(r))}this._lastBoundingBoxSize=i,Fh(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Fh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Fh(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const i={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();Fh(i,this._getExactOverlayY(t,e,n)),Fh(i,this._getExactOverlayX(t,e,n))}else i.position="static";let a="",o=this._getOffset(t,"x"),c=this._getOffset(t,"y");o&&(a+=`translateX(${o}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(n?i.maxHeight=So(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(n?i.maxWidth=So(s.maxWidth):r&&(i.maxWidth="")),Fh(this._pane.style,i)}_getExactOverlayY(e,t,i){let n={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===e.overlayY?n.bottom=`${this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)}px`:n.top=So(r.y),n}_getExactOverlayX(e,t,i){let n,r={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),n=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===n?r.right=`${this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)}px`:r.left=So(s.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Mh(e,i),isOriginOutsideView:xh(e,i),isOverlayClipped:Mh(t,i),isOverlayOutsideView:xh(t,i)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(e=>{Ph("originX",e.originX),Oh("originY",e.originY),Ph("overlayX",e.overlayX),Oh("overlayY",e.overlayY)})}_addPanelClasses(e){this._pane&&Co(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof n.l)return e.nativeElement.getBoundingClientRect();if(e instanceof HTMLElement)return e.getBoundingClientRect();const t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}}function Fh(e,t){for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function Hh(e){if("number"!=typeof e&&null!=e){const[t,i]=e.split(Vh);return i&&"px"!==i?null:parseFloat(t)}return e||null}class Bh{constructor(e,t,i,n,r,s,a){this._preferredPositions=[],this._positionStrategy=new Wh(i,n,r,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,i,n){const r=new Eh(e,t,i,n);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}class zh{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:r,maxWidth:s,maxHeight:a}=i,o=!("100%"!==n&&"100vw"!==n||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=o?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,o?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let Nh=(()=>{class e{constructor(e,t,i,n){this._viewportRuler=e,this._document=t,this._platform=i,this._overlayContainer=n}global(){return new zh}connectedTo(e,t,i){return new Bh(t,i,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new Wh(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(ah),n.fc(a),n.fc(Po),n.fc(jh))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(ah),Object(n.fc)(a),Object(n.fc)(Po),Object(n.fc)(jh))},token:e,providedIn:"root"}),e})(),Uh=0,qh=(()=>{class e{constructor(e,t,i,n,r,s,a,o,c,l){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=r,this._injector=s,this._ngZone=a,this._document=o,this._directionality=c,this._location=l}create(e){const t=this._createHostElement(),i=this._createPaneElement(t),n=this._createPortalOutlet(i),r=new Th(e);return r.direction=r.direction||this._directionality.value,new Yh(n,t,i,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id=`cdk-overlay-${Uh++}`,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(n.g)),new ph(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Lh),n.fc(jh),n.fc(n.j),n.fc(Nh),n.fc(Ih),n.fc(n.s),n.fc(n.A),n.fc(a),n.fc(Eo),n.fc(w,8))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})();const $h=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Jh=new n.r("cdk-connected-overlay-scroll-strategy");let Kh=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),Gh=(()=>{class e{constructor(e,t,i,r,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=rr.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new n.o,this.positionChange=new n.o,this.attach=new n.o,this.detach=new n.o,this.overlayKeydown=new n.o,this._templatePortal=new uh(t,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=yo(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=yo(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=yo(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=yo(e)}get push(){return this._push}set push(e){this._push=yo(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=$h),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),27!==e.keyCode||Sc(e)||(e.preventDefault(),this._detachOverlay())})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Th({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe(e=>this.positionChange.emit(e)),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(qh),n.Pb(n.M),n.Pb(n.P),n.Pb(Jh),n.Pb(Eo,8))},e.\u0275dir=n.Kb({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[n.Ab()]}),e})();const Zh={provide:Jh,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Xh=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[qh,Zh],imports:[[Ao,yh,oh],oh]}),e})();const Qh=["trigger"],ef=["panel"];function tf(e,t){if(1&e&&(n.Wb(0,"span",8),n.Jc(1),n.Vb()),2&e){const e=n.nc();n.Cb(1),n.Kc(e.placeholder||"\xa0")}}function nf(e,t){if(1&e&&(n.Wb(0,"span"),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.triggerValue||"\xa0")}}function rf(e,t){1&e&&n.qc(0,0,["*ngSwitchCase","true"])}function sf(e,t){if(1&e&&(n.Wb(0,"span",9),n.Ic(1,nf,2,1,"span",10),n.Ic(2,rf,1,0,void 0,11),n.Vb()),2&e){const e=n.nc();n.sc("ngSwitch",!!e.customTrigger),n.Cb(2),n.sc("ngSwitchCase",!0)}}function af(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",12),n.Wb(1,"div",13,14),n.jc("@transformPanel.done",(function(t){return n.Cc(e),n.nc()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return n.Cc(e),n.nc()._handleKeydown(t)})),n.qc(3,1),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("@transformPanelWrap",void 0),n.Cb(1),n.Fb("mat-select-panel ",e._getPanelTheme(),""),n.Hc("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),n.sc("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing")}}const of=[[["mat-select-trigger"]],"*"],cf=["mat-select-trigger","*"],lf={transformPanelWrap:Object(De.n)("transformPanelWrap",[Object(De.m)("* => void",Object(De.i)("@transformPanel",[Object(De.f)()],{optional:!0}))]),transformPanel:Object(De.n)("transformPanel",[Object(De.k)("void",Object(De.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(De.k)("showing",Object(De.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(De.k)("showing-multiple",Object(De.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(De.m)("void => *",Object(De.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(De.m)("* => void",Object(De.e)("100ms 25ms linear",Object(De.l)({opacity:0})))])};let df=0;const uf=new n.r("mat-select-scroll-strategy"),hf=new n.r("MAT_SELECT_CONFIG"),ff={provide:uf,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class pf{constructor(e,t){this.source=e,this.value=t}}class mf{constructor(e,t,i,n,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r}}const _f=bl(gl(ml(yl(mf))));let bf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-select-trigger"]]}),e})(),gf=(()=>{class e extends _f{constructor(e,t,i,r,s,a,o,c,l,d,u,h,f,p){super(s,r,o,c,d),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=a,this._parentFormField=l,this.ngControl=d,this._liveAnnouncer=f,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(e,t)=>e===t,this._uid=`mat-select-${df++}`,this._destroy=new an.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new an.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=gn(()=>{const e=this.options;return e?e.changes.pipe(Jn(e),Nn(()=>Object(sd.a)(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Vn(1),Nn(()=>this.optionSelectionChanges))}),this.openedChange=new n.o,this._openedStream=this.openedChange.pipe(ki(e=>e),Object(ze.a)(()=>{})),this._closedStream=this.openedChange.pipe(ki(e=>!e),Object(ze.a)(()=>{})),this.selectionChange=new n.o,this.valueChange=new n.o,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(u)||0,this.id=this.id,p&&(null!=p.disableOptionCentering&&(this.disableOptionCentering=p.disableOptionCentering),null!=p.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=p.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=yo(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=yo(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=yo(e)}get compareWith(){return this._compareWith}set compareWith(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){e!==this._value&&(this.writeValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=vo(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Mo(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Xu(),Ho(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Ho(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Ho(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Jn(null),Ho(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.options&&this._setSelectionByValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,i=40===t||38===t||37===t||39===t,n=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&n&&!Sc(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){const i=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e);const n=this.selected;n&&i!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,i=e.keyCode,n=40===i||38===i,r=t.isTyping();if(36===i||35===i)e.preventDefault(),36===i?t.setFirstItemActive():t.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(r||13!==i&&32!==i||!t.activeItem||Sc(e))if(!r&&this._multiple&&65===i&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const i=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==i&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Vn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach(e=>this._selectValue(e)),this._sortValues()}else{this._selectionModel.clear();const t=this._selectValue(e);t?this._keyManager.setActiveItem(t):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{try{return null!=t.value&&this._compareWith(t.value,e)}catch(i){return Object(n.W)()&&console.warn(i),!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new zc(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ho(this._destroy)).subscribe(()=>{!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close()}),this._keyManager.change.pipe(Ho(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Object(sd.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ho(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(sd.a)(...this.options.map(e=>e._stateChanges)).pipe(Ho(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(e,t){const i=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new pf(this,t)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(e=>e.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const e=this._keyManager.activeItemIndex||0,t=id(e,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=function(e,t,i,n){const r=e*t;return ri+256?Math.max(0,r-256+t):i}(e+t,this._getItemHeight(),this.panel.nativeElement.scrollTop)}focus(e){this._elementRef.nativeElement.focus(e)}_getOptionIndex(e){return this.options.reduce((t,i,n)=>void 0!==t?t:e===i?n:void 0,void 0)}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,256),n=t*e-i;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=id(r,this.options,this.optionGroups);const s=i/2;this._scrollTop=this._calculateOverlayScroll(r,s,n),this._offsetY=this._calculateOverlayOffsetY(r,s,n),this._checkOverlayWithinViewport(n)}_calculateOverlayScroll(e,t,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*e-t+n/2),i)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let r;if(this.multiple)r=40;else{let e=this._selectionModel.selected[0]||this.options.first;r=e&&e.group?32:16}i||(r*=-1);const s=0-(e.left+r-(i?n:0)),a=e.right+r-t.width+(i?0:n);s>0?r+=s+8:a>0&&(r-=a+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,i){const n=this._getItemHeight(),r=(n-this._triggerRect.height)/2,s=Math.floor(256/n);let a;return this._disableOptionCentering?0:(a=0===this._scrollTop?e*n:this._scrollTop===i?(e-(this._getItemCount()-s))*n+(n-(this._getItemCount()*n-256)%n):t-n/2,Math.round(-1*a-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,r=i.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-s-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):s>n?this._adjustPanelDown(s,n,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,i){const n=Math.round(e-t);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ah),n.Pb(n.h),n.Pb(n.A),n.Pb(Il),n.Pb(n.l),n.Pb(Eo,8),n.Pb(ei,8),n.Pb(di,8),n.Pb(Mu,8),n.Pb(rt,10),n.gc("tabindex"),n.Pb(uf),n.Pb(Qc),n.Pb(hf,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,bf,!0),n.Ib(i,td,!0),n.Ib(i,Gl,!0)),2&e&&(n.zc(r=n.kc())&&(t.customTrigger=r.first),n.zc(r=n.kc())&&(t.options=r),n.zc(r=n.kc())&&(t.optionGroups=r))},viewQuery:function(e,t){var i;1&e&&(n.Sc(Qh,!0),n.Sc(ef,!0),n.Sc(Gh,!0)),2&e&&(n.zc(i=n.kc())&&(t.trigger=i.first),n.zc(i=n.kc())&&(t.panel=i.first),n.zc(i=n.kc())&&(t.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&n.jc("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(n.Db("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),n.Gb("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[n.Bb([{provide:pu,useExisting:e},{provide:ed,useExisting:e}]),n.zb,n.Ab()],ngContentSelectors:cf,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(n.rc(of),n.Wb(0,"div",0,1),n.jc("click",(function(){return t.toggle()})),n.Wb(3,"div",2),n.Ic(4,tf,2,1,"span",3),n.Ic(5,sf,3,2,"span",4),n.Vb(),n.Wb(6,"div",5),n.Rb(7,"div",6),n.Vb(),n.Vb(),n.Ic(8,af,4,10,"ng-template",7),n.jc("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){const e=n.Ac(1);n.Cb(3),n.sc("ngSwitch",t.empty),n.Cb(1),n.sc("ngSwitchCase",!0),n.Cb(1),n.sc("ngSwitchCase",!1),n.Cb(3),n.sc("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[Kh,Y,V,Gh,W,T],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[lf.transformPanelWrap,lf.transformPanel]},changeDetection:0}),e})(),yf=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[ff],imports:[[U,Xh,nd,pl],Du,nd,pl]}),e})();class vf{constructor(e){this.total=e}call(e,t){return t.subscribe(new wf(e,this.total))}}class wf extends Si.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}const Cf=new Set;let Sf,kf=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xf}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!Cf.has(e))try{Sf||(Sf=document.createElement("style"),Sf.setAttribute("type","text/css"),document.head.appendChild(Sf)),Sf.sheet&&(Sf.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),Cf.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Po))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(Po))},token:e,providedIn:"root"}),e})();function xf(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let Mf=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new an.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Df(Co(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=fn(Df(Co(e)).map(e=>this._registerQuery(e).observable));return t=$n(t.pipe(Vn(1)),t.pipe(e=>e.lift(new vf(1)),Tc(0))),t.pipe(Object(ze.a)(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(e=>{t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),i={observable:new He.a(e=>{const i=t=>this._zone.run(()=>e.next(t));return t.addListener(i),()=>{t.removeListener(i)}}).pipe(Jn(t),Object(ze.a)(t=>({query:e,matches:t.matches})),Ho(this._destroySubject)),mql:t};return this._queries.set(e,i),i}}return e.\u0275fac=function(t){return new(t||e)(n.fc(kf),n.fc(n.A))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(kf),Object(n.fc)(n.A))},token:e,providedIn:"root"}),e})();function Df(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const Lf={tooltipState:Object(De.n)("state",[Object(De.k)("initial, void, hidden",Object(De.l)({opacity:0,transform:"scale(0)"})),Object(De.k)("visible",Object(De.l)({transform:"scale(1)"})),Object(De.m)("* => visible",Object(De.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(De.h)([Object(De.l)({opacity:0,transform:"scale(0)",offset:0}),Object(De.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(De.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(De.m)("* => hidden",Object(De.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({opacity:0})))])},Tf=Wo({passive:!0});function Ef(e){return Error(`Tooltip position "${e}" is invalid.`)}const Af=new n.r("mat-tooltip-scroll-strategy"),Of={provide:Af,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},Pf=new n.r("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let If=(()=>{class e{constructor(e,t,i,n,r,s,a,o,c,l,d,u){this._overlay=e,this._elementRef=t,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=r,this._platform=s,this._ariaDescriber=a,this._focusMonitor=o,this._dir=l,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new an.a,this._handleKeydown=e=>{this._isTooltipVisible()&&27===e.keyCode&&!Sc(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),o.monitor(t).pipe(Ho(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&r.run(()=>this.show()):r.run(()=>this.hide(0))}),r.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e),this._disabled&&this.hide(0)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?`${e}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((t,i)=>{e.removeEventListener(i,t,Tf)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new dh(Rf,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Ho(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(Ho(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Ho(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),i.main),Object.assign(Object.assign({},t.fallback),i.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let i;if("above"==t||"below"==t)i={originX:"center",originY:"above"==t?"top":"bottom"};else if("before"==t||"left"==t&&e||"right"==t&&!e)i={originX:"start",originY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Ef(t);i={originX:"end",originY:"center"}}const{x:n,y:r}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let i;if("above"==t)i={overlayX:"center",overlayY:"bottom"};else if("below"==t)i={overlayX:"center",overlayY:"top"};else if("before"==t||"left"==t&&e||"right"==t&&!e)i={overlayX:"end",overlayY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Ef(t);i={overlayX:"start",overlayY:"center"}}const{x:n,y:r}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Vn(1),Ho(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());this._passiveListeners.forEach((e,t)=>{this._elementRef.nativeElement.addEventListener(t,e,Tf)})}_disableNativeGesturesIfNecessary(){const e=this._elementRef.nativeElement,t=e.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==i&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(qh),n.Pb(n.l),n.Pb(rh),n.Pb(n.P),n.Pb(n.A),n.Pb(Po),n.Pb(Hc),n.Pb(il),n.Pb(Af),n.Pb(Eo,8),n.Pb(Pf,8),n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),Rf=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new an.a,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Mf))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("click",(function(){return t._handleBodyInteraction()}),!1,n.Bc),2&e&&n.Hc("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(n.Wb(0,"div",0),n.jc("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),n.oc(1,"async"),n.Jc(2),n.Vb()),2&e){var i;const e=null==(i=n.pc(1,5,t._isHandset))?null:i.matches;n.Gb("mat-tooltip-handset",e),n.sc("ngClass",t.tooltipClass)("@state",t._visibility),n.Cb(2),n.Kc(t.message)}},directives:[T],pipes:[N],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Lf.tooltipState]},changeDetection:0}),e})(),jf=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Of],imports:[[al,U,Xh,pl],pl]}),e})();function Yf(e,t){if(1&e&&(n.Wb(0,"mat-option",19),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e),n.Cb(1),n.Lc(" ",e," ")}}function Vf(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field",16),n.Wb(1,"mat-select",17),n.jc("selectionChange",(function(t){return n.Cc(e),n.nc(2)._changePageSize(t.value)})),n.Ic(2,Yf,2,2,"mat-option",18),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.sc("color",e.color),n.Cb(1),n.sc("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),n.Cb(1),n.sc("ngForOf",e._displayedPageSizeOptions)}}function Wf(e,t){if(1&e&&(n.Wb(0,"div",20),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.pageSize)}}function Ff(e,t){if(1&e&&(n.Wb(0,"div",12),n.Wb(1,"div",13),n.Jc(2),n.Vb(),n.Ic(3,Vf,3,5,"mat-form-field",14),n.Ic(4,Wf,2,1,"div",15),n.Vb()),2&e){const e=n.nc();n.Cb(2),n.Lc(" ",e._intl.itemsPerPageLabel," "),n.Cb(1),n.sc("ngIf",e._displayedPageSizeOptions.length>1),n.Cb(1),n.sc("ngIf",e._displayedPageSizeOptions.length<=1)}}function Hf(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",21),n.jc("click",(function(){return n.Cc(e),n.nc().firstPage()})),n.mc(),n.Wb(1,"svg",7),n.Rb(2,"path",22),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),n.Db("aria-label",e._intl.firstPageLabel)}}function Bf(e,t){if(1&e){const e=n.Yb();n.mc(),n.lc(),n.Wb(0,"button",23),n.jc("click",(function(){return n.Cc(e),n.nc().lastPage()})),n.mc(),n.Wb(1,"svg",7),n.Rb(2,"path",24),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),n.Db("aria-label",e._intl.lastPageLabel)}}let zf=(()=>{class e{constructor(){this.changes=new an.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,i)=>{if(0==i||0==t)return`0 of ${i}`;const n=e*t;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+t,i):n+t} of ${i}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Nf={provide:zf,deps:[[new n.B,new n.K,zf]],useFactory:function(e){return e||new zf}},Uf=new n.r("MAT_PAGINATOR_DEFAULT_OPTIONS");class qf{}const $f=ml(vl(qf));let Jf=(()=>{class e extends $f{constructor(e,t,i){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new n.o,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:e,pageSizeOptions:t,hidePageSize:n,showFirstLastButtons:r}=i;null!=e&&(this._pageSize=e),null!=t&&(this._pageSizeOptions=t),null!=n&&(this._hidePageSize=n),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(vo(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=vo(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(vo(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(e=>vo(e)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=yo(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=yo(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(zf),n.Pb(n.h),n.Pb(Uf,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[n.zb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div",1),n.Ic(2,Ff,5,3,"div",2),n.Wb(3,"div",3),n.Wb(4,"div",4),n.Jc(5),n.Vb(),n.Ic(6,Hf,3,5,"button",5),n.Wb(7,"button",6),n.jc("click",(function(){return t.previousPage()})),n.mc(),n.Wb(8,"svg",7),n.Rb(9,"path",8),n.Vb(),n.Vb(),n.lc(),n.Wb(10,"button",9),n.jc("click",(function(){return t.nextPage()})),n.mc(),n.Wb(11,"svg",7),n.Rb(12,"path",10),n.Vb(),n.Vb(),n.Ic(13,Bf,3,5,"button",11),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(2),n.sc("ngIf",!t.hidePageSize),n.Cb(3),n.Lc(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),n.Cb(1),n.sc("ngIf",t.showFirstLastButtons),n.Cb(1),n.sc("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),n.Db("aria-label",t._intl.previousPageLabel),n.Cb(3),n.sc("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),n.Db("aria-label",t._intl.nextPageLabel),n.Cb(3),n.sc("ngIf",t.showFirstLastButtons))},directives:[P,Nd,If,Mu,gf,A,td],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),Kf=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Nf],imports:[[U,qd,yf,jf]]}),e})();var Gf=i("w1tV");const Zf=["*"];function Xf(e){return Error(`Unable to find icon with the name "${e}"`)}function Qf(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+`via Angular's DomSanitizer. Attempted URL was "${e}".`)}function ep(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+`Angular's DomSanitizer. Attempted literal was "${e}".`)}class tp{constructor(e,t){this.options=t,e.nodeName?this.svgElement=e:this.url=e}}let ip=(()=>{class e{constructor(e,t,i,n){this._httpClient=e,this._sanitizer=t,this._errorHandler=n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,n){return this._addSvgIconConfig(e,t,new tp(i,n))}addSvgIconLiteralInNamespace(e,t,i,r){const s=this._sanitizer.sanitize(n.J.HTML,i);if(!s)throw ep(i);const a=this._createSvgElementForSingleIcon(s,r);return this._addSvgIconConfig(e,t,new tp(a,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new tp(t,i))}addSvgIconSetLiteralInNamespace(e,t,i){const r=this._sanitizer.sanitize(n.J.HTML,t);if(!r)throw ep(t);const s=this._svgElementFromString(r);return this._addSvgIconSetConfig(e,new tp(s,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(n.J.RESOURCE_URL,e);if(!t)throw Qf(e);const i=this._cachedIconsByUrl.get(t);return i?vi(np(i)):this._loadSvgIconFromConfig(new tp(e)).pipe(tr(e=>this._cachedIconsByUrl.set(t,e)),Object(ze.a)(e=>np(e)))}getNamedSvgIcon(e,t=""){const i=rp(t,e),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):th(Xf(i))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgElement?vi(np(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(tr(t=>e.svgElement=t),Object(ze.a)(e=>np(e)))}_getSvgFromIconSetConfigs(e,t){const i=this._extractIconWithNameFromAnySet(e,t);return i?vi(i):qe(t.filter(e=>!e.svgElement).map(e=>this._loadSvgIconSetFromConfig(e).pipe(Rn(t=>{const i=`Loading icon set URL: ${this._sanitizer.sanitize(n.J.RESOURCE_URL,e.url)} failed: ${t.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i),vi(null)})))).pipe(Object(ze.a)(()=>{const i=this._extractIconWithNameFromAnySet(e,t);if(!i)throw Xf(e);return i}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){const n=t[i];if(n.svgElement){const t=this._extractSvgIconFromSet(n.svgElement,e,n.options);if(t)return t}}return null}_loadSvgIconFromConfig(e){return this._fetchUrl(e.url).pipe(Object(ze.a)(t=>this._createSvgElementForSingleIcon(t,e.options)))}_loadSvgIconSetFromConfig(e){return e.svgElement?vi(e.svgElement):this._fetchUrl(e.url).pipe(Object(ze.a)(t=>(e.svgElement||(e.svgElement=this._svgElementFromString(t)),e.svgElement)))}_createSvgElementForSingleIcon(e,t){const i=this._svgElementFromString(e);return this._setSvgAttributes(i,t),i}_extractSvgIconFromSet(e,t,i){const n=e.querySelector(`[id="${t}"]`);if(!n)return null;const r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,i);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),i);const s=this._svgElementFromString("");return s.appendChild(r),this._setSvgAttributes(s,i)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const i=t.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(e){const t=this._svgElementFromString(""),i=e.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(t)),Object(Gf.a)());return this._inProgressUrlFetches.set(t,r),r}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(rp(e,t),i),this}_addSvgIconSetConfig(e,t){const i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}}return e.\u0275fac=function(t){return new(t||e)(n.fc(zi,8),n.fc(we),n.fc(a,8),n.fc(n.n,8))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(zi,8),Object(n.fc)(we),Object(n.fc)(a,8),Object(n.fc)(n.n,8))},token:e,providedIn:"root"}),e})();function np(e){return e.cloneNode(!0)}function rp(e,t){return e+":"+t}class sp{constructor(e){this._elementRef=e}}const ap=_l(sp),op=new n.r("mat-icon-location",{providedIn:"root",factory:function(){const e=Object(n.V)(a),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),cp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lp=cp.map(e=>`[${e}]`).join(", "),dp=/^url\(['"]?#(.*?)['"]?\)$/;let up=(()=>{class e extends ap{constructor(e,t,i,n,r){super(e),this._iconRegistry=t,this._location=n,this._errorHandler=r,this._inline=!1,i||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=yo(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnChanges(e){const t=e.svgIcon;if(t)if(this.svgIcon){const[e,t]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(t,e).pipe(Vn(1)).subscribe(e=>this._setSvgElement(e),i=>{const n=`Error retrieving icon ${e}:${t}! ${i.message}`;this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n)})}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let i=0;i{t.forEach(t=>{i.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(lp),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const r=t[n],s=r.getAttribute(e),a=s?s.match(dp):null;if(a){let t=i.get(r);t||(t=[],i.set(r,t)),t.push({name:e,value:a[1]})}})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(ip),n.gc("aria-hidden"),n.Pb(op,8),n.Pb(n.n,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[n.zb,n.Ab()],ngContentSelectors:Zf,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),hp=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const fp=["appPaginator"];var pp,mp,_p,bp,gp;function yp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function vp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/application/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function wp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,_p),n.Vb())}function Cp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/application/",e.id,""),n.Cb(1),n.Lc(" ",e.name," ")}}function Sp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,bp),n.Vb())}function kp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function xp(e,t){1&e&&(n.Wb(0,"mat-header-cell",20),n.bc(1,gp),n.Vb())}function Mp(e,t){1&e&&(n.Wb(0,"mat-icon",23),n.Jc(1,"security"),n.Vb())}function Dp(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"security"),n.Vb())}function Lp(e,t){if(1&e&&(n.Wb(0,"mat-cell",20),n.Ic(1,Mp,2,0,"mat-icon",21),n.Ic(2,Dp,2,0,"mat-icon",22),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.waf_enabled),n.Cb(1),n.sc("ngIf",!e.waf_enabled)}}function Tp(e,t){1&e&&n.Rb(0,"mat-header-row")}function Ep(e,t){1&e&&n.Rb(0,"mat-row")}pp=$localize`:@@app_mgmt␟afd29a25da1cb399758a8391f1220a126f69d398␟6498259039196827528:Application Management`,mp=$localize`:@@add_app␟6371056b2b9e430f6eaca5ecc1c9b5f4b9245d08␟8171450067602583729:Add Application`,_p=$localize`:@@app_name␟20371277706eedf7fd8a3f51633ca5d801cd4fc2␟8778616811237742446: Name `,bp=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,gp=$localize`:@@waf_enabled2␟4e5b591c045f8048c70afdfe2cbd69f2f70b24c1␟4031094814875691100: WAF Enabled `;const Ap=function(){return[10,20,50]};let Op=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.displayedColumns=["id","name","description","waf_enabled"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getApplications(),setTimeout(()=>{0==this.rpcService.auth_user.logged&&this.router.navigate(["/login"]),this.appDataSource=new Dd(this.rpcService.applications),this.appLength=this.rpcService.applications.length},500)):this.router.navigate(["/"])}addApplication(){this.router.navigate(["/application/0"])}applyFilter(e){this.appDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-applications"]],viewQuery:function(e,t){var i;1&e&&n.Sc(fp,!0),2&e&&n.zc(i=n.kc())&&(t.appPaginator=i.first)},decls:32,vars:7,consts:[[1,"container"],["mat-stroked-button","",3,"click"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","waf_enabled"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["appPaginator",""],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,pp),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Wb(6,"span"),n.Wb(7,"button",1),n.jc("click",(function(){return t.addApplication()})),n.bc(8,mp),n.Vb(),n.Vb(),n.Wb(9,"span"),n.Jc(10,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(11,"mat-form-field",2),n.Wb(12,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(13,"div",4),n.Wb(14,"mat-table",5,6),n.Ub(16,7),n.Ic(17,yp,2,0,"mat-header-cell",8),n.Ic(18,vp,3,2,"mat-cell",9),n.Tb(),n.Ub(19,10),n.Ic(20,wp,2,0,"mat-header-cell",8),n.Ic(21,Cp,3,2,"mat-cell",9),n.Tb(),n.Ub(22,11),n.Ic(23,Sp,2,0,"mat-header-cell",8),n.Ic(24,kp,2,1,"mat-cell",9),n.Tb(),n.Ub(25,12),n.Ic(26,xp,2,0,"mat-header-cell",13),n.Ic(27,Lp,3,2,"mat-cell",14),n.Tb(),n.Ic(28,Tp,1,0,"mat-header-row",15),n.Ic(29,Ep,1,0,"mat-row",16),n.Vb(),n.Rb(30,"mat-paginator",17,18),n.Vb(),n.Vb()),2&e&&(n.Cb(14),n.sc("dataSource",t.appDataSource),n.Cb(14),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.appLength)("pageSize",20)("pageSizeOptions",n.wc(6,Ap)))},directives:[jd,Nd,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,_d,bd,ka,P,up,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}"]}),e})(),Pp=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=yo(e)}get inset(){return this._inset}set inset(e){this._inset=yo(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(n.Db("aria-orientation",t.vertical?"vertical":"horizontal"),n.Gb("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),e})(),Ip=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const Rp=["certPaginator"];var jp,Yp,Vp,Wp,Fp,Hp,Bp;function zp(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",21),n.jc("click",(function(){return n.Cc(e),n.nc().addCertificate()})),n.bc(2,Vp),n.Vb(),n.Vb()}}function Np(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function Up(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",22),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/certificate/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function qp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Wp),n.Vb())}function $p(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",22),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/certificate/",e.id,""),n.Cb(1),n.Lc(" ",e.common_name," ")}}function Jp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Fp),n.Vb())}function Kp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function Gp(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Hp),n.Vb())}function Zp(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.expire_time)," ")}}function Xp(e,t){1&e&&(n.Wb(0,"mat-header-cell",23),n.bc(1,Bp),n.Vb())}function Qp(e,t){1&e&&(n.Wb(0,"mat-icon",26),n.Jc(1,"check_circle_outline"),n.Vb())}function em(e,t){1&e&&(n.Wb(0,"mat-icon",27),n.Jc(1,"info"),n.Vb())}function tm(e,t){if(1&e&&(n.Wb(0,"mat-cell",23),n.Ic(1,Qp,2,0,"mat-icon",24),n.Ic(2,em,2,0,"mat-icon",25),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",!e.due_to_expire),n.Cb(1),n.sc("ngIf",e.due_to_expire)}}function im(e,t){1&e&&n.Rb(0,"mat-header-row")}function nm(e,t){1&e&&n.Rb(0,"mat-row")}jp=$localize`:@@cert_mgmt␟89d74c661c7a4ff5bb596e5c9da09ffb5f8f5e1b␟7592328498683031180:Certificate Management`,Yp=$localize`:@@acme_note␟3b3a0718d29106ad927a99656a7bf2e47be92494␟3858518482223069301: Note: The private key imported here will be stored encrypted. ACME automatic certificates are automatically managed by the file system (not listed here). `,Vp=$localize`:@@add_cert␟c921699d04972f3342aea874ca2b5590bc770f36␟6891864300492956841:Add Certificate`,Wp=$localize`:@@common_name␟9043be6967386201047a2ac697914c0528b1b3b1␟7596435725983670097: Common Name `,Fp=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,Hp=$localize`:@@expire_time␟e8a206cd8b22430ba0c01746a7c19db6a858642b␟8219491832239345526: Expire Time `,Bp=$localize`:@@cert_status␟6d1cddbe2f61020230280a0543a70e48e43d9832␟4282587102956396340: Status `;const rm=function(){return[10,20,50]};let sm=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.certIcon="assets/images/cert.png",this.displayedColumns=["id","common_name","description","expire_time","due_to_expire"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getCertificates(),setTimeout(()=>{this.certDataSource=new Dd(this.rpcService.certificates),this.certLength=this.rpcService.certificates.length},500)):this.router.navigate(["/"])}addDays(e,t){return new Date(e.getTime()+86400*t*1e3)}addCertificate(){this.router.navigate(["/certificate/0"])}getDate(e){return this.rpcService.getDateString(e)}applyFilter(e){this.certDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-certificates"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Rp,!0),2&e&&n.zc(i=n.kc())&&(t.certPaginator=i.first)},decls:37,vars:8,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","common_name"],["matColumnDef","description"],["matColumnDef","expire_time"],["matColumnDef","due_to_expire"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["certPaginator",""],[1,"notes"],["mat-stroked-button","",3,"click"],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","warn","matTooltip","This certificate is due to expire!",4,"ngIf"],["color","primary"],["color","warn","matTooltip","This certificate is due to expire!"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,jp),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Ic(6,zp,3,0,"span",1),n.Wb(7,"span"),n.Jc(8,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(9,"mat-form-field",2),n.Wb(10,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(11,"div",4),n.Wb(12,"mat-table",5,6),n.Ub(14,7),n.Ic(15,Np,2,0,"mat-header-cell",8),n.Ic(16,Up,3,2,"mat-cell",9),n.Tb(),n.Ub(17,10),n.Ic(18,qp,2,0,"mat-header-cell",8),n.Ic(19,$p,3,2,"mat-cell",9),n.Tb(),n.Ub(20,11),n.Ic(21,Jp,2,0,"mat-header-cell",8),n.Ic(22,Kp,2,1,"mat-cell",9),n.Tb(),n.Ub(23,12),n.Ic(24,Gp,2,0,"mat-header-cell",8),n.Ic(25,Zp,2,1,"mat-cell",9),n.Tb(),n.Ub(26,13),n.Ic(27,Xp,2,0,"mat-header-cell",14),n.Ic(28,tm,3,2,"mat-cell",15),n.Tb(),n.Ic(29,im,1,0,"mat-header-row",16),n.Ic(30,nm,1,0,"mat-row",17),n.Vb(),n.Rb(31,"mat-paginator",18,19),n.Vb(),n.Rb(33,"br"),n.Rb(34,"mat-divider"),n.Wb(35,"div",20),n.bc(36,Yp),n.Vb(),n.Vb()),2&e&&(n.Cb(6),n.sc("ngIf",1==t.rpcService.auth_user.is_cert_admin),n.Cb(6),n.sc("dataSource",t.certDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.certLength)("pageSize",20)("pageSizeOptions",n.wc(7,rm)))},directives:[jd,P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Pp,Nd,_d,bd,ka,up,If,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.notes[_ngcontent-%COMP%]{background-color:#f0f0f0;padding:5px;margin-top:5px;margin-left:3px;margin-right:0;list-style-type:none}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}"]}),e})(),am=0,om=(()=>{class e{constructor(){this._stateChanges=new an.a,this._openCloseAllActions=new an.a,this.id=`cdk-accordion-${am++}`,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=yo(e)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(e){this.multi&&this._openCloseAllActions.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[n.Ab()]}),e})(),cm=0,lm=(()=>{class e{constructor(e,t,i){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=i,this._openCloseAllSubscription=rr.a.EMPTY,this.closed=new n.o,this.opened=new n.o,this.destroyed=new n.o,this.expandedChange=new n.o,this.id=`cdk-accordion-child-${cm++}`,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((e,t)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===t&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=yo(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(om,12),n.Pb(n.h),n.Pb(Do))},e.\u0275dir=n.Kb({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n.Bb([{provide:om,useValue:void 0}])]}),e})(),dm=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})();const um=["body"];function hm(e,t){}const fm=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],pm=["mat-expansion-panel-header","*","mat-action-row"],mm=function(e,t){return{collapsedHeight:e,expandedHeight:t}},_m=function(e,t){return{value:e,params:t}};function bm(e,t){if(1&e&&n.Rb(0,"span",2),2&e){const e=n.nc();n.sc("@indicatorRotate",e._getExpandedState())}}const gm=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ym=["mat-panel-title","mat-panel-description","*"],vm=new n.r("MAT_ACCORDION"),wm={indicatorRotate:Object(De.n)("indicatorRotate",[Object(De.k)("collapsed, void",Object(De.l)({transform:"rotate(0deg)"})),Object(De.k)("expanded",Object(De.l)({transform:"rotate(180deg)"})),Object(De.m)("expanded <=> collapsed, void => collapsed",Object(De.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(De.n)("expansionHeight",[Object(De.k)("collapsed, void",Object(De.l)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(De.k)("expanded",Object(De.l)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(De.m)("expanded <=> collapsed, void => collapsed",Object(De.g)([Object(De.i)("@indicatorRotate",Object(De.f)(),{optional:!0}),Object(De.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(De.n)("bodyExpansion",[Object(De.k)("collapsed, void",Object(De.l)({height:"0px",visibility:"hidden"})),Object(De.k)("expanded",Object(De.l)({height:"*",visibility:"visible"})),Object(De.m)("expanded <=> collapsed, void => collapsed",Object(De.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let Cm=(()=>{class e{constructor(e){this._template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e})(),Sm=0;const km=new n.r("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let xm=(()=>{class e extends lm{constructor(e,t,i,r,s,a,o){super(e,t,i),this._viewContainerRef=r,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new n.o,this.afterCollapse=new n.o,this._inputChanges=new an.a,this._headerId=`mat-expansion-panel-header-${Sm++}`,this._bodyAnimationDone=new an.a,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(Xu((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{"void"!==e.fromState&&("expanded"===e.toState?this.afterExpand.emit():"collapsed"===e.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=yo(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Jn(null),ki(()=>this.expanded&&!this._portal),Vn(1)).subscribe(()=>{this._portal=new uh(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(vm,12),n.Pb(n.h),n.Pb(Do),n.Pb(n.P),n.Pb(a),n.Pb(Ye,8),n.Pb(km,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,Cm,!0),2&e&&n.zc(r=n.kc())&&(t._lazyContent=r.first)},viewQuery:function(e,t){var i;1&e&&n.Sc(um,!0),2&e&&n.zc(i=n.kc())&&(t._body=i.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&n.Gb("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n.Bb([{provide:vm,useValue:void 0}]),n.zb,n.Ab()],ngContentSelectors:pm,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(n.rc(fm),n.qc(0),n.Wb(1,"div",0,1),n.jc("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),n.Wb(3,"div",2),n.qc(4,1),n.Ic(5,hm,0,0,"ng-template",3),n.Vb(),n.qc(6,2),n.Vb()),2&e&&(n.Cb(1),n.sc("@bodyExpansion",t._getExpandedState())("id",t.id),n.Db("aria-labelledby",t._headerId),n.Cb(4),n.sc("cdkPortalOutlet",t._portal))},directives:[_h],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[wm.bodyExpansion]},changeDetection:0}),e})(),Mm=(()=>{class e{constructor(e,t,i,n,r){this.panel=e,this._element=t,this._focusMonitor=i,this._changeDetectorRef=n,this._parentChangeSubscription=rr.a.EMPTY,this._animationsDisabled=!0;const s=e.accordion?e.accordion._stateChanges.pipe(ki(e=>!(!e.hideToggle&&!e.togglePosition))):_n;this._parentChangeSubscription=Object(sd.a)(e.opened,e.closed,s,e._inputChanges.pipe(ki(e=>!!(e.hideToggle||e.disabled||e.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ki(()=>e._containsFocus())).subscribe(()=>i.focusVia(t,"program")),i.monitor(t).subscribe(t=>{t&&e.accordion&&e.accordion._handleHeaderFocus(this)}),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(e){switch(e.keyCode){case 32:case 13:Sc(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e="program",t){this._focusMonitor.focusVia(this._element,e,t)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(xm,1),n.Pb(n.l),n.Pb(il),n.Pb(n.h),n.Pb(km,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header"],hostVars:19,hostBindings:function(e,t){1&e&&(n.Hb("@expansionHeight.start",(function(){return t._animationStarted()})),n.jc("click",(function(){return t._toggle()}))("keydown",(function(e){return t._keydown(e)}))),2&e&&(n.Db("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),n.Rc("@.disabled",t._animationsDisabled)("@expansionHeight",n.yc(16,_m,t._getExpandedState(),n.yc(13,mm,t.collapsedHeight,t.expandedHeight))),n.Gb("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:ym,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(n.rc(gm),n.Wb(0,"span",0),n.qc(1),n.qc(2,1),n.qc(3,2),n.Vb(),n.Ic(4,bm,1,1,"span",1)),2&e&&(n.Cb(4),n.sc("ngIf",t._showToggle()))},directives:[P],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[wm.indicatorRotate,wm.expansionHeaderHeight]},changeDetection:0}),e})(),Dm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e})(),Lm=(()=>{class e extends om{constructor(){super(...arguments),this._ownHeaders=new n.E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=yo(e)}ngAfterContentInit(){this._headers.changes.pipe(Jn(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(e=>e.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Nc(this._ownHeaders).withWrap()}_handleHeaderKeydown(e){const{keyCode:t}=e,i=this._keyManager;36===t?Sc(e)||(i.setFirstItemActive(),e.preventDefault()):35===t?Sc(e)||(i.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}}return e.\u0275fac=function(t){return Tm(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-accordion"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,Mm,!0),2&e&&n.zc(r=n.kc())&&(t._headers=r)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[n.Bb([{provide:vm,useExisting:e}]),n.zb]}),e})();const Tm=n.Zb(Lm);let Em=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,dm,yh]]}),e})();const Am=["input"],Om=function(){return{enterDuration:150}},Pm=["*"],Im=new n.r("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),Rm=new n.r("mat-checkbox-click-action");let jm=0;const Ym={provide:Je,useExisting:Object(n.U)(()=>Hm),multi:!0};class Vm{}class Wm{constructor(e){this._elementRef=e}}const Fm=gl(_l(bl(ml(Wm))));let Hm=(()=>{class e extends Fm{constructor(e,t,i,r,s,a,o,c){super(e),this._changeDetectorRef=t,this._focusMonitor=i,this._ngZone=r,this._clickAction=a,this._animationMode=o,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId=`mat-checkbox-${++jm}`,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new n.o,this.indeterminateChange=new n.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(s)||0,this._focusMonitor.monitor(e,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),t.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=yo(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=yo(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=yo(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,i=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(e)},1e3)})}}_emitChangeEvent(){const e=new Vm;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}toggle(){this.checked=!this.checked}_onInputClick(e){e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e="keyboard",t){this._focusMonitor.focusVia(this._inputElement,e,t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let i="";switch(e){case 0:if(1===t)i="unchecked-checked";else{if(3!=t)return"";i="unchecked-indeterminate"}break;case 2:i=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(il),n.Pb(n.A),n.gc("tabindex"),n.Pb(Rm,8),n.Pb(Ye,8),n.Pb(Im,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var i;1&e&&(n.Sc(Am,!0),n.Sc(zl,!0)),2&e&&(n.zc(i=n.kc())&&(t._inputElement=i.first),n.zc(i=n.kc())&&(t.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(n.ac("id",t.id),n.Db("tabindex",null),n.Gb("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[n.Bb([Ym]),n.zb],ngContentSelectors:Pm,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(n.rc(),n.Wb(0,"label",0,1),n.Wb(2,"div",2),n.Wb(3,"input",3,4),n.jc("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),n.Vb(),n.Wb(5,"div",5),n.Rb(6,"div",6),n.Vb(),n.Rb(7,"div",7),n.Wb(8,"div",8),n.mc(),n.Wb(9,"svg",9),n.Rb(10,"path",10),n.Vb(),n.lc(),n.Rb(11,"div",11),n.Vb(),n.Vb(),n.Wb(12,"span",12,13),n.jc("cdkObserveContent",(function(){return t._onLabelTextChange()})),n.Wb(14,"span",14),n.Jc(15,"\xa0"),n.Vb(),n.qc(16),n.Vb(),n.Vb()),2&e){const e=n.Ac(1),i=n.Ac(13);n.Db("for",t.inputId),n.Cb(2),n.Gb("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),n.Cb(1),n.sc("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),n.Db("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked()),n.Cb(2),n.sc("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",n.wc(18,Om))}},directives:[zl,Rc],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e})(),Bm=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})(),zm=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,pl,jc,Bm],pl,Bm]}),e})();var Nm;Nm=$localize`:@@app_detail␟fe9c0bbcb9ca68b6161d6ce6e9828aa5a27b4773␟6323294930337585583:Application Detail`;const Um=["placeholder",$localize`:@@app_name␟7e2abed312d91f24b07b1c21982bf0ab5bda6675␟2887251461858216261:Application Name`],qm=["placeholder",$localize`:@@app_internal_scheme␟e4060889fa7dfa1cee1cfc1003e363a3cc6add34␟2359896606808000859:Backend or Internal Scheme`];var $m,Jm;$m=$localize`:@@routing_configuration␟5493b4d2549eeb51ac3bb5ef73500cdeb5bf0cd2␟6653700099992265561:Routing Configuration`,Jm=$localize`:@@domain_configuration␟2cfa697d0ea1de10e87fa50250ec0e48d0fe8e92␟1500695871126868301:Domain Configuration`;const Km=["placeholder",$localize`:@@ip_for_waf␟80441c39aaa90eee8f39967829fa7478e2f079c8␟4538667619332294181:Client IP for WAF`];var Gm,Zm,Xm,Qm,e_,t_,i_;Gm=$localize`:@@redirect_https␟1dbe171223e649c6a0dc253cb379529688801b43␟6409732758263767205: Redirect HTTP to HTTPS (Certificate Required) `,Zm=$localize`:@@hsts_enabled␟58e1b3279df0d8a8fc8178c05cc8b171b26cb2e9␟797501638700667876: Enable HSTS for HTTPS (Add Response Header: Strict-Transport-Security) `,Xm=$localize`:@@waf_enabled␟e94cc89eff52dc58039fc5c95cb63c9f457a5f38␟2235317324002281227: Enable WAF (Web Application Firewall) `,Qm=$localize`:@@cache_enabled␟37b8e7a7cedc9973504d04324d3bedcd839c4271␟5421804331364988662: Enable caching for static files less than 10MB (brotli, gzip compression supported) `,e_=$localize`:@@shield_enabled␟69d5e784e80ab6526a53f57b8aab742f9ddb9a69␟9109307501335766971: Enable 5-second shield (Please check the search engines list in settings, disabled by default) `,t_=$localize`:@@oauth_required␟7bf22c25043d2f834ada0dd4fb1919d3e289ce48␟1615126847134965216: Enable Authentication (The provider needs to be registered and enabled in the settings, used for Internal Employees and Internal Applications. ${"\ufffd0\ufffd"}:INTERPOLATION:) `,i_=$localize`:@@csp_enabled␟1bf2cdd64c89a77d08ad8236ce73df0ed9e8aff4␟8050337485292058380: Enable CSP (Content-Security-Policy, example: default-src 'self', disabled by default) `;const n_=["placeholder",$localize`:@@owner␟02afaff74daa82a8877966a267df371e8220d22f␟4709669786209672837:Application Owner`],r_=["placeholder",$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`];var s_,a_,o_;s_=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,a_=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,o_=$localize`:@@request_location␟061e64501c9652e68385c2d4490f050a6fadc834␟1675516276525936556:Request Location`;const c_=["matTooltip",$localize`:@@request_location_tooltip␟0ad81c05c83c7438f4fea9d57cb91daa9fd270b4␟1086158971731286851:Default: / , options: /abc/ .php / , ordered from highest priority to lowest, and /abc/def/ is not supported.`];var l_;l_=$localize`:@@routing_type␟fb423aa11a87f6a5920a39a3805653ab2662485d␟4291238413537579254:Routing Type`;const d_=["matTooltip",$localize`:@@routing_type_tooltip␟f8b1e1acd107f4da45b4dc6a0143e0f31427a592␟5345810443905749306:Default: Reverse_Proxy, other options: Local_FastCGI used for PHP/Python etc., Static_Website used for local static resources without backend servers, K8S_Ingress used for K8S Pods.`];function u_(e,t){if(1&e&&(n.Wb(0,"mat-option",20),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}var h_;h_=$localize`:@@destination␟a7369891e88cd613e45a39b55a282c97776d05f5␟1866048779551574162:Destination`;const f_=["matTooltip",$localize`:@@destination_tooltip␟b1de75694e2fd829b5188c5c4b19d54f77d37e7c␟7090249157165623120:Default IP:Port (such as 10.0.0.1:80), or default file (such as index.html) if Static_Website was selected.`];var p_;p_=$localize`:@@backend_routing␟fda26bd262b92796a0439695dd22bcd02404649a␟6384067608517852147:Backend Routing`;const m_=["matTooltip",$localize`:@@backend_routing_tooltip␟d58e7a0c4ca99de9da4d5f8228b0bec632baa826␟5055285045902212680:Default /, using /xyz/ if the backend is using different URL Path. Please fill in absolute path (/path/to/www/) if the routing type is Static_Website or Local_FastCGI.`],__=["matTooltip",$localize`:@@add_new_routing␟9d5dc2eb534e384f4613a9a9fa85a443176b5421␟3105577272767442961:Add new routing`];function b_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",25),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delDestination(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function g_(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",21),n.Wb(2,"mat-label"),n.bc(3,h_),n.Vb(),n.Wb(4,"input",22),n.dc(5,f_),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].destination=t})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field",21),n.Wb(7,"mat-label"),n.bc(8,p_),n.Vb(),n.Wb(9,"input",22),n.dc(10,m_),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].backend_route=t})),n.Vb(),n.Wb(11,"mat-icon",23),n.dc(12,__),n.jc("click",(function(){return n.Cc(e),n.nc(3).addDestination()})),n.Jc(13,"add_circle_outline"),n.Vb(),n.Ic(14,b_,2,0,"mat-icon",24),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.application.destinations[e].destination)("readonly",t.readOnlyValue),n.Cb(5),n.sc("ngModel",t.application.destinations[e].backend_route)("readonly",t.readOnlyValue),n.Cb(5),n.sc("ngIf",t.application.destinations.length>1)}}const y_=["matTooltip",$localize`:@@add_new_routing␟9d5dc2eb534e384f4613a9a9fa85a443176b5421␟3105577272767442961:Add new routing`];function v_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",25),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delDestination(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function w_(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",21),n.Wb(2,"mat-label"),n.Jc(3,"K8S Pods API"),n.Vb(),n.Wb(4,"input",26),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].pods_api=t})),n.Vb(),n.Vb(),n.Wb(5,"mat-form-field",21),n.Wb(6,"mat-label"),n.Jc(7,"K8S Pod Port"),n.Vb(),n.Wb(8,"input",27),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).application.destinations[i].pod_port=t})),n.Vb(),n.Wb(9,"mat-icon",23),n.dc(10,y_),n.jc("click",(function(){return n.Cc(e),n.nc(3).addDestination()})),n.Jc(11,"add_circle_outline"),n.Vb(),n.Ic(12,v_,2,0,"mat-icon",24),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.application.destinations[e].pods_api)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.application.destinations[e].pod_port)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngIf",t.application.destinations.length>1)}}function C_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",16),n.Wb(1,"mat-form-field",17),n.Wb(2,"mat-label"),n.bc(3,o_),n.Vb(),n.Wb(4,"input",18),n.dc(5,c_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.destinations[r].request_route=i})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field",17),n.Wb(7,"mat-label"),n.bc(8,l_),n.Vb(),n.Wb(9,"mat-select",19),n.dc(10,d_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.destinations[r].route_type=i})),n.Ic(11,u_,2,2,"mat-option",10),n.Vb(),n.Vb(),n.Ic(12,g_,15,5,"ng-container",0),n.Ic(13,w_,13,5,"ng-container",0),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc(2);n.Cb(4),n.sc("ngModel",r.application.destinations[i].request_route)("readonly",r.readOnlyValue),n.Cb(5),n.sc("ngModel",r.application.destinations[i].route_type)("disabled",r.readOnlyValue),n.Cb(2),n.sc("ngForOf",r.enum_route_types),n.Cb(1),n.sc("ngIf",e.route_type!=r.k8sRoute),n.Cb(1),n.sc("ngIf",e.route_type==r.k8sRoute)}}const S_=["placeholder",$localize`:@@domain_name␟fa5ce9087b488893fb601b5596bcd33d1dfc7a16␟2332461354438777072:Domain name (required)`,"matTooltip",$localize`:@@domain_name_tooltip␟58603a2700c6043c532f54c1678b0ef2ba836417␟4582161848423782090:Required, format: www.your-domain.com`],k_=["placeholder",$localize`:@@certificate␟9e37e0d06148c7708e88b4a1eb412babbe1a4afc␟7164856686778871055:Certificate`,"matTooltip",$localize`:@@acme_requirement␟aadabdabc9f9c926181d6207e39dc0e7cd307354␟3385432567489797291:If ACME automated certificate used, default port 80/443, open to Internet, and single node are required.`];var x_,M_;x_=$localize`:@@automated_certificate␟a7b361ce6079ec07fdeb1e2848ce75e57123a0d2␟7835843245541578986:ACME Automated Certificate`,M_=$localize`:@@redirect␟df9b04356740fa3c69d58d35f93acb23be5253a1␟3451145344605364071: (Disabled by default) Redirect to (308):   `;const D_=["matTooltip",$localize`:@@add_domain␟7ab63115aecfd8e50213144ecb0110f9c56f8c79␟3144242076022355294:Add new domain`];function L_(e,t){if(1&e&&(n.Wb(0,"option"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Kc(e.name)}}function T_(e,t){if(1&e&&(n.Wb(0,"mat-option",20),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.common_name," ")}}function E_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",39),n.jc("click",(function(){n.Cc(e);const t=n.nc().index;return n.nc(2).delDomain(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function A_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",16),n.Wb(1,"mat-form-field",17),n.Wb(2,"mat-icon",28),n.Jc(3,"language"),n.Vb(),n.Wb(4,"input",29),n.dc(5,S_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].name=i})),n.Vb(),n.Wb(6,"datalist",30),n.Ic(7,L_,2,1,"option",31),n.Vb(),n.Vb(),n.Wb(8,"mat-form-field",17),n.Wb(9,"mat-icon",28),n.Jc(10,"lock_outline"),n.Vb(),n.Wb(11,"mat-select",32),n.dc(12,k_),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].cert_id=i})),n.Wb(13,"mat-option",33),n.bc(14,x_),n.Vb(),n.Ic(15,T_,2,2,"mat-option",10),n.Vb(),n.Vb(),n.Wb(16,"mat-form-field",34),n.Wb(17,"mat-checkbox",35),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].redirect=i})),n.bc(18,M_),n.Vb(),n.Wb(19,"input",36),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).application.domains[r].location=i})),n.Vb(),n.Wb(20,"mat-icon",37),n.dc(21,D_),n.jc("click",(function(){return n.Cc(e),n.nc(2).addDomain()})),n.Jc(22,"add_circle_outline"),n.Vb(),n.Ic(23,E_,2,0,"mat-icon",38),n.Vb(),n.Vb()}if(2&e){const e=t.index,i=n.nc(2);n.Cb(4),n.sc("ngModel",i.application.domains[e].name)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngForOf",i.rpcService.domains),n.Cb(4),n.sc("ngModel",i.application.domains[e].cert_id)("disabled",i.readOnlyValue),n.Cb(4),n.sc("ngForOf",i.optionCertificates),n.Cb(2),n.sc("ngModel",i.application.domains[e].redirect)("disabled",i.readOnlyValue),n.Cb(2),n.sc("ngModel",i.application.domains[e].location)("disabled",i.readOnlyValue),n.Cb(4),n.sc("ngIf",i.application.domains.length>1)}}function O_(e,t){if(1&e&&(n.Wb(0,"mat-option",20),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}const P_=["placeholder",$localize`:@@session_seconds␟f76c9bcda8d5e05dc737c94afe6983ea0c325947␟8409085772541297676:Session Expire Seconds for OAuth2`];function I_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",40),n.dc(2,P_),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).application.session_seconds=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.application.session_seconds)("readonly",e.readOnlyValue)}}function R_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"mat-label"),n.Jc(2,"Content-Security-Policy"),n.Vb(),n.Wb(3,"input",41,42),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).application.csp=t})),n.Vb(),n.Wb(5,"mat-hint",4),n.Jc(6),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(4),t=n.nc(2);n.Cb(3),n.sc("ngModel",t.application.csp)("readonly",t.readOnlyValue),n.Cb(3),n.Lc("",(null==e.value?null:e.value.length)||0,"/1024")}}function j_(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"h2",1),n.bc(2,Nm),n.Vb(),n.Wb(3,"div",1),n.Wb(4,"mat-form-field"),n.Wb(5,"input",2,3),n.dc(7,Um),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.name=t})),n.Vb(),n.Wb(8,"mat-hint",4),n.Jc(9),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"mat-select",5),n.dc(12,qm),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.internal_scheme=t})),n.Wb(13,"mat-option",6),n.Jc(14,"http"),n.Vb(),n.Wb(15,"mat-option",7),n.Jc(16,"https"),n.Vb(),n.Vb(),n.Vb(),n.Wb(17,"mat-expansion-panel",8),n.Wb(18,"mat-expansion-panel-header"),n.Wb(19,"mat-panel-title"),n.Wb(20,"h3"),n.bc(21,$m),n.Vb(),n.Vb(),n.Vb(),n.Ic(22,C_,14,7,"div",9),n.Vb(),n.Wb(23,"mat-expansion-panel",8),n.Wb(24,"mat-expansion-panel-header"),n.Wb(25,"mat-panel-title"),n.Wb(26,"h3"),n.bc(27,Jm),n.Vb(),n.Vb(),n.Vb(),n.Ic(28,A_,24,11,"div",9),n.Vb(),n.Wb(29,"mat-form-field"),n.Wb(30,"mat-select",5),n.dc(31,Km),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.ip_method=t})),n.Ic(32,O_,2,2,"mat-option",10),n.Vb(),n.Vb(),n.Wb(33,"section"),n.Wb(34,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.redirect_https=t})),n.bc(35,Gm),n.Vb(),n.Vb(),n.Wb(36,"section"),n.Wb(37,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.hsts_enabled=t})),n.bc(38,Zm),n.Vb(),n.Vb(),n.Wb(39,"section"),n.Wb(40,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.waf_enabled=t})),n.bc(41,Xm),n.Vb(),n.Vb(),n.Wb(42,"section"),n.Wb(43,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.cache_enabled=t})),n.bc(44,Qm),n.Vb(),n.Vb(),n.Wb(45,"section"),n.Wb(46,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.shield_enabled=t})),n.bc(47,e_),n.Vb(),n.Vb(),n.Wb(48,"section"),n.Wb(49,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.oauth_required=t})),n.bc(50,t_),n.Vb(),n.Vb(),n.Ic(51,I_,3,2,"mat-form-field",0),n.Wb(52,"section"),n.Wb(53,"mat-checkbox",11),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.csp_enabled=t})),n.bc(54,i_),n.Vb(),n.Vb(),n.Ic(55,R_,7,3,"mat-form-field",0),n.Wb(56,"mat-form-field"),n.Wb(57,"input",12),n.dc(58,n_),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.owner=t})),n.Vb(),n.Vb(),n.Wb(59,"mat-form-field"),n.Wb(60,"input",12,13),n.dc(62,r_),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().application.description=t})),n.Vb(),n.Wb(63,"mat-hint",4),n.Jc(64),n.Vb(),n.Vb(),n.Wb(65,"div"),n.Wb(66,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().setApplication()})),n.bc(67,s_),n.Vb(),n.Wb(68,"button",15),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(69),n.Vb(),n.Wb(70,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().deleteApplication()})),n.bc(71,a_),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(6),t=n.Ac(61),i=n.nc();n.Cb(5),n.sc("ngModel",i.application.name)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",i.application.internal_scheme)("disabled",i.readOnlyValue),n.Cb(6),n.sc("expanded",!0),n.Cb(5),n.sc("ngForOf",i.application.destinations)("ngForTrackBy",i.trackByFn),n.Cb(1),n.sc("expanded",!0),n.Cb(5),n.sc("ngForOf",i.application.domains)("ngForTrackBy",i.trackByFn),n.Cb(2),n.sc("ngModel",i.application.ip_method)("disabled",i.readOnlyValue),n.Cb(2),n.sc("ngForOf",i.enum_ip_method_values),n.Cb(2),n.sc("ngModel",i.application.redirect_https)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.hsts_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.waf_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.cache_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.shield_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.oauth_required)("disabled",i.readOnlyValue),n.Cb(1),n.ec(i.oauth.display_name),n.cc(50),n.Cb(1),n.sc("ngIf",i.application.oauth_required),n.Cb(2),n.sc("ngModel",i.application.csp_enabled)("disabled",i.readOnlyValue),n.Cb(2),n.sc("ngIf",i.application.csp_enabled),n.Cb(2),n.sc("ngModel",i.application.owner)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.application.description)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==t.value?null:t.value.length)||0,"/256"),n.Cb(2),n.sc("disabled",i.readOnlyValue),n.Cb(3),n.Kc(i.readOnlyButtonText),n.Cb(1),n.sc("disabled",i.readOnlyValue)}}let Y_=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.http=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.enum_ip_method_values=[],this.enum_route_types=[],this.oauth=new po,this.k8sRoute=Qa.K8S_Ingress}getApplication(){const e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_app",(function(e){null!=e&&(t.application=e)}),e)}else this.readOnlyValue=!1,this.application=new Ja,this.application.id="0",this.application.name="XXX",this.application.internal_scheme="http",this.application.redirect_https=!0,this.application.hsts_enabled=!1,this.application.waf_enabled=!0,this.application.shield_enabled=!1,this.application.domains=[],this.application.ip_method=1,this.application.destinations=[],this.application.oauth_required=!1,this.application.session_seconds=7200,this.application.owner=this.rpcService.auth_user.username,this.application.csp_enabled=!1,this.application.csp="",this.application.cache_enabled=!0,this.application.description="Used for ...",this.addDomain(),this.addDestination()}setApplication(){var e=this;this.rpcService.getResponse("update_app",(function(t){if(null==t)return void e.messageService.add("Update failed.");let i=t.id;e.application.id==i?e.application=t:(e.application.id=i,e.router.navigate(["/application/"+i])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Application "+t.name+" saved.")}),null,e.application)}deleteApplication(){if(confirm("Are you sure to delete application: "+this.application.name+"?")){var e=this;this.rpcService.getResponse("del_app",(function(){e.messageService.add(e.application.name+" deleted."),e.router.navigate(["/applications"])}),this.application.id,null)}}addDestination(){if(!this.readOnlyValue){var e=new eo;e.id="0",e.route_type=Qa.Reverse_Proxy,e.request_route="/",e.backend_route="/",e.destination="127.0.0.1:8080",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",e.app_id=this.application.id,e.node_id="0",this.application.destinations.push(e)}}delDestination(e){this.readOnlyValue||(1!=this.application.destinations.length?this.application.destinations.splice(e,1):alert("At least one item is required!"))}addDomain(){if(!this.readOnlyValue){var e=new to;e.name="",e.id="0",e.app_id=this.application.id,e.cert_id="0",e.redirect=!1,e.location="",this.application.domains.push(e),console.log(this.application.domains)}}delDomain(e){this.readOnlyValue||(1!=this.application.domains.length?this.application.domains.splice(e,1):alert("At least one item is required!"))}ngOnInit(){for(var e in Za)"number"==typeof Za[e]&&this.enum_ip_method_values.push({value:Za[e],name:e});for(var e in Qa)"number"==typeof Qa[e]&&this.enum_route_types.push({value:Qa[e],name:e});null!=this.rpcService.domains&&0!=this.rpcService.domains.length||this.rpcService.getDomains(),null!=this.rpcService.certificates&&0!=this.rpcService.certificates.length||this.rpcService.getCertificates(),this.getApplication(),this.acme_certificate=new Xa,this.acme_certificate.id="0",this.acme_certificate.common_name="Automated Certificate",this.getCertificates();let t=this;this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(e){null!=e&&(t.oauth=e)}))}getCertificates(){var e=this;this.rpcService.getResponse("get_certs",(function(t){null!=t&&(e.optionCertificates=t)}))}trackByFn(e,t){return e}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(zi))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-application-detail"]],inputs:{application:"application"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","http"],["value","https"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","disabled","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"matTooltip"],[3,"value"],[1,"inline-form-field-25"],["matInput","","matTooltipPosition","below",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"],["matPrefix",""],["matInput","","matTooltipPosition","below","list","domains","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["id","domains"],[4,"ngFor","ngForOf"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["value","0"],[1,"inline-form-field-50"],["matPrefix","",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","https://www.your-domain.com/",3,"ngModel","disabled","ngModelChange"],["matSuffix","","matTooltipPosition","right",3,"click",6,"matTooltip"],["matSuffix","",3,"click",4,"ngIf"],["matSuffix","",3,"click"],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","",3,"ngModel","readonly","ngModelChange"],["csp",""]],template:function(e,t){1&e&&n.Ic(0,j_,72,39,"div",0),2&e&&n.sc("ngIf",t.application)},directives:[P,Mu,Bu,Qe,hi,st,ci,bu,gf,td,xm,Mm,Dm,A,Hm,Nd,gu,If,up,wu,vu,Tt,Pt,bt],styles:['.required[_ngcontent-%COMP%]{color:red}.align-right[_ngcontent-%COMP%]{text-align:right}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.inner-container[_ngcontent-%COMP%]{border:1px dashed;padding:3px}.inline-form[_ngcontent-%COMP%]{display:-webkit-box;display:flex;margin-top:10px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-25[_ngcontent-%COMP%]{width:25%;margin-right:5px}.inline-form-field-50[_ngcontent-%COMP%]{width:50%}.clickable_btn[_ngcontent-%COMP%]:hover{cursor:pointer}.detail_panel[_ngcontent-%COMP%]{margin:10px 0;background-color:#f5f5f5;box-shadow:5px 5px 3px #d5d5d5}.highlighted[_ngcontent-%COMP%]{color:red}.description_block[_ngcontent-%COMP%]{background-color:#f0f0f0;margin-bottom:20px;padding:5px;border-radius:5px}button[_ngcontent-%COMP%]{margin-right:5px}']}),e})();var V_=i("J5zx"),W_=i("NFKh");const F_={provide:n.b,useFactory:function(e,t){return()=>{if(q(t)){const t=Array.from(e.querySelectorAll(`[class*=${H_}]`)),i=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(`${H_}ssr`)&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")})}}},deps:[a,n.C],multi:!0},H_="flex-layout-";let B_=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[F_]}),e})();class z_{constructor(e=!1,t="all",i="",n="",r=0){this.matches=e,this.mediaQuery=t,this.mqAlias=i,this.suffix=n,this.priority=r,this.property=""}clone(){return new z_(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let N_=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,i){const n=this.stylesheet.get(e);n?n.set(t,i):this.stylesheet.set(e,new Map([[t,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const i=this.stylesheet.get(e);let n="";if(i){const e=i.get(t);"number"!=typeof e&&"string"!=typeof e||(n=e+"")}return n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const U_={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},q_=new n.r("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>U_}),$_=new n.r("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),J_=new n.r("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function K_(e,t){return e=e?e.clone():new z_,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const G_=["row","column","row-reverse","column-reverse"];function Z_(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let X_=(()=>{class e{constructor(e,t,i,n){this.elementRef=e,this.styleBuilder=t,this.styler=i,this.marshal=n,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new an.a,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const i=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const i=this.styleBuilder,n=i.shouldCache;let r=this.styleCache.get(e);r&&n||(r=i.buildStyles(e,t),n&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),i.sideEffect(e,r,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[i,n]=this.styler.getFlowDirection(e);if(!n&&t){const t=function(e){let[t,i,n]=function(e){e=e?e.toLowerCase():"";let[t,i,n]=e.split(" ");return G_.find(e=>e===t)||(t=G_[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[t,Z_(i),!!n]}(e);return function(e,t=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,i,n)}(i);this.styler.applyStyleToElements(t,[e])}return i.trim()}return"row"}applyStyleToElement(e,t,i=this.nativeElement){this.styler.applyStyleToElement(i,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.addStyles(e)}}return e.\u0275fac=function(e){n.ic()},e.\u0275dir=n.Kb({type:e,features:[n.Ab()]}),e})();const Q_=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],eb="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",tb="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",ib="(orientation: portrait) and (min-width: 840px)",nb="(orientation: landscape) and (min-width: 1280px)",rb={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:`${eb} , ${tb}`,WEB:`${ib}, ${nb} `,HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:`${eb} `,WEB_PORTRAIT:`${ib}`,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)]",TABLET_LANDSCAPE:`${tb}`,WEB_LANDSCAPE:`${nb}`},sb=[{alias:"handset",priority:2e3,mediaQuery:rb.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:rb.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:rb.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:rb.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:rb.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:rb.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:rb.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:rb.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:rb.WEB_PORTRAIT,overlapping:!0}],ab=/(\.|-|_)/g;function ob(e){let t=e.length>0?e.charAt(0):"",i=e.length>1?e.slice(1):"";return t.toUpperCase()+i}const cb=new n.r("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=Object(n.V)(J_),t=Object(n.V)(q_),i=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const i={};return e.forEach(e=>{i[e.alias]=e}),t.forEach(e=>{i[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let i of t)if(null!=i)for(let t in i)i.hasOwnProperty(t)&&(e[t]=i[t])}(i[e.alias],e):i[e.alias]=e}),(n=Object.keys(i).map(e=>i[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(ab,"|").split("|").map(ob).join(""),e.overlapping=!!e.overlapping)}),n;var n}((t.disableDefaultBps?[]:Q_).concat(t.addOrientationBps?sb:[]),i)}});function lb(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function db(e,t){return(e.priority||0)-(t.priority||0)}let ub=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(db)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let i=this.findByMap.get(e);return i||(i=this.items.find(t)||null,this.findByMap.set(e,i)),i||null}}return e.\u0275fac=function(t){return new(t||e)(n.fc(cb))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(cb))},token:e,providedIn:"root"}),e})(),hb=(()=>{class e{constructor(e,t,i){this._zone=e,this._platformId=t,this._document=i,this.source=new cn(new z_(!0)),this.registry=new Map,this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,i)=>{t.matches&&e.push(i)}),e}isActive(e){const t=this.registry.get(e);return!!t&&t.matches}observe(e,t=!1){if(e&&e.length){const i=this._observable$.pipe(ki(i=>!t||e.indexOf(i.mediaQuery)>-1)),n=new He.a(t=>{const i=this.registerQuery(e);if(i.length){const e=i.pop();i.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()});return Object(sd.a)(n,i)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],i=[];return function(e,t){const i=e.filter(e=>!fb[e]);if(i.length>0){const e=i.join(", ");try{const n=t.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(n),i.forEach(e=>fb[e]=n)}catch(n){console.error(n)}}}(t,this._document),t.forEach(e=>{let t=this.registry.get(e);t||(t=this.buildMQL(e),t.addListener(t=>{this._zone.run(()=>this.source.next(new z_(t.matches,e)))}),this.registry.set(e,t)),t.matches&&i.push(new z_(!0,e))}),i}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}(e,q(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(n.C),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(n.C),Object(n.fc)(a))},token:e,providedIn:"root"}),e})();const fb={},pb={alias:"print",mediaQuery:"print",priority:1e3};let mb=(()=>{class e{constructor(e,t,i){this.breakpoints=e,this.layoutConfig=t,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.isPrinting=!1,this.queue=new _b,this.deactivations=[]}withPrintQuery(e){return[...e,"print"]}isPrintEvent(e){return e.mediaQuery.startsWith("print")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(lb)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),K_(e,t)}registerBeforeAfterPrintHooks(e){this._document.defaultView&&!this.registeredBeforeAfterPrintHooks&&(this.registeredBeforeAfterPrintHooks=!0,this._document.defaultView.addEventListener("beforeprint",()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new z_(!0,"print"))),e.updateStyles())}),this._document.defaultView.addEventListener("afterprint",()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())}))}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(lb))}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(ub),n.fc(q_),n.fc(a))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(ub),Object(n.fc)(q_),Object(n.fc)(a))},token:e,providedIn:"root"}),e})();class _b{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(pb),e.sort(lb),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function bb(e){for(let t in e){let i=e[t]||"";switch(t){case"display":e.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=i;break;case"flex-direction":i=i||"row",e["-webkit-flex-direction"]=i,e["flex-direction"]=i;break;case"order":e.order=e["-webkit-"+t]=isNaN(+i)?"0":i}}return e}let gb=(()=>{class e{constructor(e,t,i,n){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=i,this.layoutConfig=n}applyStyleToElement(e,t,i=null){let n={};"string"==typeof t&&(n[t]=i,t=n),n=this.layoutConfig.disableVendorPrefixes?t:bb(t),this._applyMultiValueStyleToElement(n,e)}applyStyleToElements(e,t=[]){const i=this.layoutConfig.disableVendorPrefixes?e:bb(e);t.forEach(e=>{this._applyMultiValueStyleToElement(i,e)})}getFlowDirection(e){let t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||$(this._platformId)&&this._serverModuleLoaded?t:""]}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return q(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,i=!1){let n="";return e&&((n=this.lookupInlineStyle(e,t))||(q(this._platformId)?i||(n=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(n=this._serverStylesheet.getStyleForElement(e,t)))),n?n.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(i=>{const n=e[i],r=Array.isArray(n)?n:[n];r.sort();for(let e of r)e=e?e+"":"",q(this._platformId)||!this._serverModuleLoaded?q(this._platformId)?t.style.setProperty(i,e):this._setServerStyle(t,i,e):this._serverStylesheet.addStyleToElement(t,i,e)})}_setServerStyle(e,t,i){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const n=this._readStyleAttribute(e);n[t]=i||"",this._writeStyleAttribute(e,n)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},i=e.getAttribute("style");if(i){const e=i.split(/;+/g);for(let i=0;i0){const e=n.indexOf(":");if(-1===e)throw new Error(`Invalid CSS style: ${n}`);t[n.substr(0,e).trim()]=n.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let i="";for(const n in t)t[n]&&(i+=n+":"+t[n]+";");e.setAttribute("style",i)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(N_),n.fc($_),n.fc(n.C),n.fc(q_))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(N_),Object(n.fc)($_),Object(n.fc)(n.C),Object(n.fc)(q_))},token:e,providedIn:"root"}),e})();class yb{constructor(){this.shouldCache=!0}sideEffect(e,t,i){}}function vb(e,t="1",i="1"){let n=[t,i,e],r=e.indexOf("calc");if(r>0){n[2]=wb(e.substring(r).trim());let t=e.substr(0,r).trim().split(" ");2==t.length&&(n[0]=t[0],n[1]=t[1])}else if(0==r)n[2]=wb(e.trim());else{let r=e.split(" ");n=3===r.length?r:[t,i,e]}return n}function wb(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Cb=(()=>{class e{constructor(e,t,i){this.matchMedia=e,this.breakpoints=t,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new an.a,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=K_(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(lb),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(lb),this.updateStyles()))}init(e,t,i,n,r=[]){Sb(this.updateMap,e,t,i),Sb(this.clearMap,e,t,n),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}getValue(e,t,i){const n=this.elementMap.get(e);if(n){const e=void 0!==i?n.get(i):this.getActivatedValues(n,t);if(e)return e.get(t)}}hasValue(e,t){const i=this.elementMap.get(e);if(i){const e=this.getActivatedValues(i,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,i,n){let r=this.elementMap.get(e);if(r){const s=(r.get(n)||new Map).set(t,i);r.set(n,s),this.elementMap.set(e,r)}else r=(new Map).set(n,(new Map).set(t,i)),this.elementMap.set(e,r);const s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)}trackValue(e,t){return this.subject.asObservable().pipe(ki(i=>i.element===e&&i.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const i=new Set(this.elementKeyMap.get(t));let n=this.getActivatedValues(e);n&&n.forEach((e,n)=>{this.updateElement(t,n,e),i.delete(n)}),i.forEach(i=>{if(n=this.getActivatedValues(e,i),n){const e=n.get(i);this.updateElement(t,i,e)}else this.clearElement(t,i)})})}clearElement(e,t){const i=this.clearMap.get(e);if(i){const n=i.get(t);n&&(n(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,i){const n=this.updateMap.get(e);if(n){const r=n.get(t);r&&(r(i),this.subject.next({element:e,key:t,value:i}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const i=this.elementMap.get(e);i&&(i.forEach((e,t)=>i.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const i=this.elementMap.get(e);if(i){const n=this.getActivatedValues(i,t);n&&(t?this.updateElement(e,t,n.get(t)):n.forEach((t,i)=>this.updateElement(e,i,t)))}}buildElementKeyMap(e,t){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(t)}watchExtraTriggers(e,t,i){if(i&&i.length){let n=this.watcherMap.get(e);if(n||(n=new Map,this.watcherMap.set(e,n)),!n.get(t)){const r=Object(sd.a)(...i).subscribe(()=>{const i=this.getValue(e,t);this.updateElement(e,t,i)});n.set(t,r)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let n=0;ne.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(tr(this.hook.interceptEvents(this)),ki(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(hb),n.fc(ub),n.fc(mb))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(hb),Object(n.fc)(ub),Object(n.fc)(mb))},token:e,providedIn:"root"}),e})();function Sb(e,t,i,n){if(void 0!==n){let r=e.get(t);r||(r=new Map,e.set(t,r)),r.set(i,n)}}const kb=["row","column","row-reverse","column-reverse"];function xb(e){e=e?e.toLowerCase():"";let[t,i,n]=e.split(" ");return kb.find(e=>e===t)||(t=kb[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[t,Db(i),!!n]}function Mb(e){let[t]=xb(e);return t.indexOf("row")>-1}function Db(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let Lb=(()=>{class e extends yb{buildStyles(e){return function(e){let[t,i,n]=xb(e);return function(e,t=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,i,n)}(e)}}return e.\u0275fac=function(t){return Tb(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Tb=n.Zb(Lb),Eb=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let Ab=(()=>{class e extends X_{constructor(e,t,i,n){super(e,i,t,n),this.DIRECTIVE_KEY="layout",this.styleCache=Ib,this.init()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(gb),n.Pb(Lb),n.Pb(Cb))},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})(),Ob=(()=>{class e extends Ab{constructor(){super(...arguments),this.inputs=Eb}}return e.\u0275fac=function(t){return Pb(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[n.zb]}),e})();const Pb=n.Zb(Ob),Ib=new Map;function Rb(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let i of t)if(null!=i)for(let t in i)i.hasOwnProperty(t)&&(e[t]=i[t]);return e}let jb=(()=>{class e extends yb{constructor(e){super(),this.layoutConfig=e}buildStyles(e,t){let[i,n,...r]=e.split(" "),s=r.join(" ");const a=t.direction.indexOf("column")>-1?"column":"row",o=Mb(a)?"max-width":"max-height",c=Mb(a)?"min-width":"min-height",l=String(s).indexOf("calc")>-1,d=l||"auto"===s,u=String(s).indexOf("%")>-1&&!l,h=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let f=l||h;i="0"==i?0:i,n="0"==n?0:n;const p=!i&&!n;let m={};const _={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":const e=!1!==this.layoutConfig.useColumnBasisZero;s="row"===a?"0%":e?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,s="auto";break;case"grow":s="100%";break;case"noshrink":n=0,s="auto";break;case"auto":break;case"none":i=0,n=0,s="auto";break;default:f||u||isNaN(s)||(s+="%"),"0%"===s&&(f=!0),"0px"===s&&(s="0%"),m=Rb(_,l?{"flex-grow":i,"flex-shrink":n,"flex-basis":f?s:"100%"}:{flex:`${i} ${n} ${f?s:"100%"}`})}return m.flex||m["flex-grow"]||(m=Rb(_,l?{"flex-grow":i,"flex-shrink":n,"flex-basis":s}:{flex:`${i} ${n} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(m[c]=p||f&&i?s:null,m[o]=p||!d&&n?s:null),m[c]||m[o]?t.hasWrap&&(m[l?"flex-basis":"flex"]=m[o]?l?m[o]:`${i} ${n} ${m[o]}`:l?m[c]:`${i} ${n} ${m[c]}`):m=Rb(_,l?{"flex-grow":i,"flex-shrink":n,"flex-basis":s}:{flex:`${i} ${n} ${s}`}),Rb(m,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(q_))},e.\u0275prov=Object(n.Lb)({factory:function(){return new e(Object(n.fc)(q_))},token:e,providedIn:"root"}),e})();const Yb=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let Vb=(()=>{class e extends X_{constructor(e,t,i,n,r){super(e,n,t,r),this.layoutConfig=i,this.DIRECTIVE_KEY="flex",this.direction="",this.wrap=!1,this.flexGrow="1",this.flexShrink="1",this.init(),this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Ho(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Ho(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}onLayoutChange(e){const t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}updateWithValue(e){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));const t=this.direction,i=t.startsWith("row"),n=this.wrap;i&&n?this.styleCache=zb:i&&!n?this.styleCache=Hb:!i&&n?this.styleCache=Nb:i||n||(this.styleCache=Bb);const r=vb(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(r.join(" "),{direction:t,hasWrap:n})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const t=vb(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(gb),n.Pb(q_),n.Pb(jb),n.Pb(Cb))},e.\u0275dir=n.Kb({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[n.zb]}),e})(),Wb=(()=>{class e extends Vb{constructor(){super(...arguments),this.inputs=Yb}}return e.\u0275fac=function(t){return Fb(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[n.zb]}),e})();const Fb=n.Zb(Wb),Hb=new Map,Bb=new Map,zb=new Map,Nb=new Map;let Ub=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[B_,Ao]]}),e})();var qb;qb=$localize`:@@login_title␟c8f0af331f13cd58311dfb3c4bc2a9ea7a9dc2de␟1769638224126160393:Admin Login`;const $b=["placeholder",$localize`:@@username␟08c74dc9762957593b91f6eb5d65efdfc975bf48␟5248717555542428023:Username`],Jb=["placeholder",$localize`:@@password␟c32ef07f8803a223a83ed17024b38e8d82292407␟1431416938026210429:Password`];var Kb;Kb=$localize`:@@submit␟71c77bb8cecdf11ec3eead24dd1ba506573fa9cd␟935187492052582731:Submit`;const Gb=["placeholder",$localize`:@@authenticator_code␟1bf5326a94db10ce1ad68246a29e195f265e96e0␟4444315150361605281:Authenticator Code`,"matTooltip",$localize`:@@authenticator_code_tip␟2441698cb011ad14e78a25cfb6c439ba0767d84c␟7766260635644722072:000000 for first use`];function Zb(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",9),n.dc(2,Gb),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).login_user.totp_key=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.login_user.totp_key)}}function Xb(e,t){if(1&e&&(n.Wb(0,"div",10),n.Wb(1,"a",11),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.tc("href",e.oauth.entrance_url,n.Dc),n.Cb(1),n.Kc(e.oauth.display_name)}}function Qb(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",3),n.Wb(1,"h1"),n.bc(2,qb),n.Vb(),n.Wb(3,"mat-form-field"),n.Wb(4,"input",4),n.dc(5,$b),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().login_user.username=t})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",5),n.dc(8,Jb),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().password=t})),n.Vb(),n.Vb(),n.Ic(9,Zb,3,1,"mat-form-field",6),n.Wb(10,"button",7),n.jc("click",(function(t){return n.Cc(e),n.nc().onSubmit(t)})),n.bc(11,Kb),n.Vb(),n.Ic(12,Xb,3,2,"div",8),n.Vb()}if(2&e){const e=n.nc();n.Cb(4),n.sc("ngModel",e.login_user.username),n.Cb(3),n.sc("ngModel",e.password),n.Cb(2),n.sc("ngIf",e.oauth.authenticator_enabled),n.Cb(3),n.sc("ngIf",1==e.oauth.use_oauth)}}let eg=(()=>{class e{constructor(e,t,i,n){this.rpcService=e,this.messageService=t,this.http=i,this.router=n,this.submitted=!1,this.oauth=new po,this.login_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1}}onSubmit(e){if(!this.login_user.username||!this.password)return this.messageService.add("Please input your username and password!"),void(this.submitted=!1);this.messageService.clear();let t="$2a$12$"+String(W_.SHA256("Janusec"+this.login_user.username+this.password)).substring(0,22),i=V_.hashSync(this.password,t);this.login_user.passwd=i;var n=this;this.rpcService.getResponse("login",(function(e){null!=e&&(n.rpcService.auth_user=e,n.submitted=!0,n.router.navigate(n.oauth.authenticator_enabled&&!n.rpcService.auth_user.logged?["/authcode-register"]:["/"]))}),null,this.login_user)}ngOnInit(){let e=this;this.messageService.clear(),this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(t){null!=t&&(e.oauth=t)}))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o),n.Pb(zi),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-login-form"]],decls:4,vars:1,consts:[["fxLayout","row wrap"],["fxFlex","30%"],["fxFlex","40%","class","container",4,"ngIf"],["fxFlex","40%",1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],[4,"ngIf"],["mat-button","",1,"submit",3,"click"],["class","oauth",4,"ngIf"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","ngModelChange",6,"placeholder","matTooltip"],[1,"oauth"],[3,"href"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Rb(1,"div",1),n.Ic(2,Qb,13,4,"div",2),n.Rb(3,"div",1),n.Vb()),2&e&&(n.Cb(2),n.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[Ob,Wb,P,Mu,Bu,Qe,hi,st,ci,Nd,If],styles:[".submit[_ngcontent-%COMP%]{background-color:#e5e5e5}.oauth[_ngcontent-%COMP%]{margin-top:20px}"]}),e})();var tg;tg=$localize`:@@cert_detail_title␟3a8e0f16f7165047ad86550d9fcb9a33ab4aa990␟6818330678688793635:Certificate Details`;const ig=["placeholder",$localize`:@@cert_common_name␟e1a70760a341b9e84d107f44a2437df2bf479227␟2203571163881366181:Common Name or Subject Alternative Name`],ng=["placeholder",$localize`:@@cert_public␟538c1b9766ffa86fbfb9d04696076111d210e534␟8674187039503057623:Public Certificate Content Begin with: -----BEGIN CERTIFICATE-----`],rg=["placeholder",$localize`:@@cert_priv␟c50c9aa3a8ba742bdd7f3b5ba33748335acd3ab3␟7811278187914733773:Private Key Content (begin with: -----BEGIN PRIVATE KEY-----)`],sg=["placeholder",$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`];var ag;ag=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`;const og=["placeholder",$localize`:@@cert_expire␟45eecb6161ef0b26bc67532463515ce497e6ecd7␟103471684912655286:Expire time`];function cg(e,t){if(1&e&&(n.Wb(0,"mat-form-field"),n.Wb(1,"input",15),n.dc(2,og),n.Vb(),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.sc("value",e.getDate(e.certificate.expire_time))("readonly",!0)}}function lg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc(2).changeEditable()})),n.Jc(1),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.readOnlyButtonText)}}var dg,ug;function hg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",12),n.jc("click",(function(){return n.Cc(e),n.nc(2).deleteCertificate()})),n.bc(1,dg),n.Vb()}if(2&e){const e=n.nc(2);n.sc("disabled",e.readOnlyValue)}}function fg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc(2).selfSignCertificate()})),n.bc(1,ug),n.Vb()}}function pg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,tg),n.Vb(),n.Wb(4,"mat-form-field"),n.Wb(5,"input",2,3),n.dc(7,ig),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.common_name=t})),n.Vb(),n.Wb(8,"mat-hint",4),n.Jc(9),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"textarea",5,6),n.dc(13,ng),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.cert_content=t})),n.Jc(14," "),n.Vb(),n.Wb(15,"input",7),n.jc("change",(function(t){return n.Cc(e),n.nc().readCertificateFile(t)})),n.Vb(),n.Wb(16,"mat-hint",4),n.Jc(17),n.Vb(),n.Vb(),n.Wb(18,"mat-form-field"),n.Wb(19,"textarea",8,9),n.dc(21,rg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.priv_key_content=t})),n.Jc(22," "),n.Vb(),n.Wb(23,"input",7),n.jc("change",(function(t){return n.Cc(e),n.nc().readPrivKeyFile(t)})),n.Vb(),n.Wb(24,"mat-hint",4),n.Jc(25),n.Vb(),n.Vb(),n.Ic(26,cg,3,2,"mat-form-field",0),n.Wb(27,"mat-form-field"),n.Wb(28,"input",10,11),n.dc(30,sg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().certificate.description=t})),n.Vb(),n.Wb(31,"mat-hint",4),n.Jc(32),n.Vb(),n.Vb(),n.Wb(33,"div"),n.Wb(34,"button",12),n.jc("click",(function(){return n.Cc(e),n.nc().setCertificate()})),n.bc(35,ag),n.Vb(),n.Ic(36,lg,2,1,"button",13),n.Ic(37,hg,2,1,"button",14),n.Ic(38,fg,2,0,"button",13),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(6),t=n.Ac(12),i=n.Ac(20),r=n.Ac(29),s=n.nc();n.Cb(5),n.sc("ngModel",s.certificate.common_name)("readonly",s.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",s.certificate.cert_content)("readonly",s.readOnlyValue),n.Cb(4),n.sc("disabled",s.readOnlyValue),n.Cb(2),n.Lc("",(null==t.value?null:t.value.length)||0,"/16384"),n.Cb(2),n.sc("ngModel",s.certificate.priv_key_content)("readonly",s.readOnlyValue),n.Cb(4),n.sc("disabled",s.readOnlyValue),n.Cb(2),n.Lc("",(null==i.value?null:i.value.length)||0,"/4096"),n.Cb(1),n.sc("ngIf",s.certificate.id>0),n.Cb(2),n.sc("ngModel",s.certificate.description)("readonly",s.readOnlyValue),n.Cb(4),n.Lc("",(null==r.value?null:r.value.length)||0,"/256"),n.Cb(2),n.sc("disabled",s.readOnlyValue),n.Cb(2),n.sc("ngIf",1==s.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",s.certificate.id>0),n.Cb(1),n.sc("ngIf",0==s.certificate.id&&s.certificate.common_name)}}dg=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,ug=$localize`:@@cert_self_sign␟f254bfa4d1c9673fdbd69479ce607339c4bc8f09␟4311221339245365144:Self-Sign Certificate`;let mg=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.http=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",e.params.forEach(e=>{this.startDate=new Date,this.getCertificate()})}getCertificate(){let e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_cert",(function(e){null!=e&&(t.certificate=e)}),e)}else this.certificate=new Xa,this.certificate.id="0",this.certificate.common_name="*.yourdomain.com",this.certificate.description="New certificate",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}setCertificate(){var e=this;this.rpcService.getResponse("update_cert",(function(t){if(null!=t){let i=t.id;e.certificate.id==i?e.certificate=t:e.router.navigate(["/certificate/"+i]),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Certificate "+t.common_name+" saved.")}}),null,e.certificate)}deleteCertificate(){if(confirm("Are you sure to delete certificate: "+this.certificate.common_name+"?")){var e=this;this.rpcService.getResponse("del_cert",(function(){e.messageService.add(e.certificate.common_name+" deleted."),e.router.navigate(["/certificates"])}),this.certificate.id,null)}}selfSignCertificate(){var e=this;this.rpcService.getResponse("self_sign_cert",(function(t){null!=t&&(e.certificate.cert_content=t.cert_content,e.certificate.priv_key_content=t.priv_key_content)}),null,{common_name:this.certificate.common_name})}ngOnInit(){this.startDate=new Date,this.getCertificate()}changeEditable(){0!=this.rpcService.auth_user.is_super_admin&&(this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel")}getDate(e){return this.rpcService.getDateString(e)}readCertificateFile(e){if(e.target.files&&e.target.files.length>0){let t=e.target.files[0],i=new FileReader;i.onload=e=>{this.certificate.cert_content=i.result},i.readAsText(t)}}readPrivKeyFile(e){if(e.target.files&&e.target.files.length>0){let t=e.target.files[0],i=new FileReader;i.onload=e=>{this.certificate.priv_key_content=i.result},i.readAsText(t)}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(zi))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-certificate-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["common_name",""],["align","end"],["matInput","","rows","5","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["cert_content",""],["type","file",3,"disabled","change"],["matInput","","rows","5",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["priv_key_content",""],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","",3,"value","readonly",6,"placeholder"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&n.Ic(0,pg,39,19,"div",0),2&e&&n.sc("ngIf",t.certificate)},directives:[P,Mu,Bu,Qe,pi,hi,st,ci,bu,Nd],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:3px;margin-bottom:3px;background-color:#f0f0f0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}button[_ngcontent-%COMP%]{margin-right:5px}']}),e})();const _g=["userPaginator"];var bg,gg,yg,vg,wg,Cg;function Sg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",20),n.jc("click",(function(){return n.Cc(e),n.nc().addAdmin()})),n.bc(2,gg),n.Vb(),n.Vb()}}function kg(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function xg(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",21),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/appuser/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function Mg(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,yg),n.Vb())}function Dg(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",21),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/appuser/",e.id,""),n.Cb(1),n.Lc(" ",e.username," ")}}function Lg(e,t){1&e&&(n.Wb(0,"mat-header-cell",22),n.bc(1,vg),n.Vb())}function Tg(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"check_circle_outline"),n.Vb())}function Eg(e,t){if(1&e&&(n.Wb(0,"mat-cell",22),n.Ic(1,Tg,2,0,"mat-icon",23),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_super_admin)}}function Ag(e,t){1&e&&(n.Wb(0,"mat-header-cell",22),n.bc(1,wg),n.Vb())}function Og(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"check_circle_outline"),n.Vb())}function Pg(e,t){if(1&e&&(n.Wb(0,"mat-cell",22),n.Ic(1,Og,2,0,"mat-icon",23),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_cert_admin)}}function Ig(e,t){1&e&&(n.Wb(0,"mat-header-cell",22),n.bc(1,Cg),n.Vb())}function Rg(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"check_circle_outline"),n.Vb())}function jg(e,t){if(1&e&&(n.Wb(0,"mat-cell",22),n.Ic(1,Rg,2,0,"mat-icon",23),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_app_admin)}}function Yg(e,t){1&e&&n.Rb(0,"mat-header-row")}function Vg(e,t){1&e&&n.Rb(0,"mat-row")}bg=$localize`:@@user_mgmt␟ddbd16ea0d9d8831b1897ff0936e91cd10a1aedd␟6362392309535777035:Users Management`,gg=$localize`:@@add_user␟94be6ae6ec1f87bedc67020629343b27fdbece0a␟2941198503117307737:Add User`,yg=$localize`:@@username␟fec8de042d9645af8886e515b9c4e6334d4ab2c8␟5381513611853730068: Username `,vg=$localize`:@@is_super_admin␟d067e1ef48b7ff76e7889f6e84d3ed3252730153␟2499232325983554725: Super Admin `,wg=$localize`:@@is_cert_admin␟a926226a016de0a6048b0c02b420dd5d1f3f68b2␟8070005005515015318: Certificate Admin `,Cg=$localize`:@@is_app_admin␟4e0bf711f10ff5de36176a884f3ffd6a88945d9a␟1152691990915327597: Application Admin `;const Wg=function(){return[10,20,50]};let Fg=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.displayedColumns=["id","username","is_super_admin","is_cert_admin","is_app_admin"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getAppUsers(),setTimeout(()=>{this.userDataSource=new Dd(this.rpcService.admins),this.userLength=this.rpcService.admins.length},500)):this.router.navigate(["/"])}addAdmin(){this.router.navigate(["/appuser/0"])}applyFilter(e){this.userDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-usermgmt"]],viewQuery:function(e,t){var i;1&e&&n.Sc(_g,!0),2&e&&n.zc(i=n.kc())&&(t.userPaginator=i.first)},decls:33,vars:8,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","username"],["matColumnDef","is_super_admin"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","is_cert_admin"],["matColumnDef","is_app_admin"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["userPaginator",""],["mat-stroked-button","",3,"click"],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,bg),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Ic(6,Sg,3,0,"span",1),n.Wb(7,"span"),n.Jc(8,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(9,"mat-form-field",2),n.Wb(10,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(11,"div",4),n.Wb(12,"mat-table",5,6),n.Ub(14,7),n.Ic(15,kg,2,0,"mat-header-cell",8),n.Ic(16,xg,3,2,"mat-cell",9),n.Tb(),n.Ub(17,10),n.Ic(18,Mg,2,0,"mat-header-cell",8),n.Ic(19,Dg,3,2,"mat-cell",9),n.Tb(),n.Ub(20,11),n.Ic(21,Lg,2,0,"mat-header-cell",12),n.Ic(22,Eg,2,1,"mat-cell",13),n.Tb(),n.Ub(23,14),n.Ic(24,Ag,2,0,"mat-header-cell",12),n.Ic(25,Pg,2,1,"mat-cell",13),n.Tb(),n.Ub(26,15),n.Ic(27,Ig,2,0,"mat-header-cell",12),n.Ic(28,jg,2,1,"mat-cell",13),n.Tb(),n.Ic(29,Yg,1,0,"mat-header-row",16),n.Ic(30,Vg,1,0,"mat-row",17),n.Vb(),n.Rb(31,"mat-paginator",18,19),n.Vb(),n.Vb()),2&e&&(n.Cb(6),n.sc("ngIf",1==t.rpcService.auth_user.is_super_admin),n.Cb(6),n.sc("dataSource",t.userDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.userLength)("pageSize",20)("pageSizeOptions",n.wc(7,Wg)))},directives:[jd,P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Nd,_d,bd,ka,up,Cd,kd],styles:['mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),e})();var Hg;Hg=$localize`:@@user_details␟b4a0bf59944eeabcb65e19f512620c16ac91bb5c␟8296640497525814291:User Details`;const Bg=["placeholder",$localize`:@@username␟08c74dc9762957593b91f6eb5d65efdfc975bf48␟5248717555542428023:Username`],zg=["placeholder",$localize`:@@password␟c32ef07f8803a223a83ed17024b38e8d82292407␟1431416938026210429:Password`],Ng=["placeholder",$localize`:@@confirm_password␟c1b7e6d75ff4285c7636c67e5ef259629b81725b␟3241357959735682038:Confirm Password`],Ug=["placeholder",$localize`:@@email␟810f7a8d7b821853cbe16735237ba0e9a9afa2a1␟8482524874284138132:Email (Used for alarms)`];var qg,$g,Jg,Kg,Gg;function Zg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",10),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).appUser.is_super_admin=t})),n.bc(2,Jg),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.appUser.is_super_admin)("disabled",e.readOnlyValue)}}function Xg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",10),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).appUser.is_cert_admin=t})),n.bc(2,Kg),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.appUser.is_cert_admin)("disabled",e.readOnlyValue)}}function Qg(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",10),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).appUser.is_app_admin=t})),n.bc(2,Gg),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.appUser.is_app_admin)("disabled",e.readOnlyValue)}}function ey(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",1),n.Wb(1,"h2"),n.Wb(2,"span"),n.bc(3,Hg),n.Vb(),n.Vb(),n.Wb(4,"div"),n.Wb(5,"mat-form-field"),n.Wb(6,"input",2,3),n.dc(8,Bg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().appUser.username=t})),n.Vb(),n.Wb(9,"mat-hint",4),n.Jc(10),n.Vb(),n.Vb(),n.Wb(11,"mat-form-field"),n.Wb(12,"input",5),n.dc(13,zg),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().plainpwd=t})),n.Vb(),n.Vb(),n.Wb(14,"mat-form-field"),n.Wb(15,"input",5),n.dc(16,Ng),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().plainpwd2=t})),n.Vb(),n.Vb(),n.Wb(17,"mat-form-field"),n.Wb(18,"input",2,6),n.dc(20,Ug),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().appUser.email=t})),n.Vb(),n.Wb(21,"mat-hint",4),n.Jc(22),n.Vb(),n.Vb(),n.Ic(23,Zg,3,2,"section",7),n.Ic(24,Xg,3,2,"section",7),n.Ic(25,Qg,3,2,"section",7),n.Vb(),n.Wb(26,"div"),n.Wb(27,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().onSave()})),n.bc(28,qg),n.Vb(),n.Wb(29,"button",9),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(30),n.Vb(),n.Wb(31,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().onDelete()})),n.bc(32,$g),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(7),t=n.Ac(19),i=n.nc();n.Cb(6),n.sc("ngModel",i.appUser.username)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",i.plainpwd)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.plainpwd2)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.appUser.email)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==t.value?null:t.value.length)||0,"/128"),n.Cb(1),n.sc("ngIf",1==i.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==i.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==i.rpcService.auth_user.is_super_admin),n.Cb(2),n.sc("disabled",i.readOnlyValue),n.Cb(3),n.Kc(i.readOnlyButtonText),n.Cb(1),n.sc("disabled","admin"==i.appUser.username||0==i.appUser.id||i.readOnlyValue)}}qg=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,$g=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,Jg=$localize`:@@super_admin␟5697206d5987632ce8252fa4f99af67e42838ba7␟1474561519790538294: Super Administrator (Authorization and WAF Management) `,Kg=$localize`:@@certificate_admin␟15549249b3bac8ee826d76fc8b9a0e73f67ee299␟8385209030340792999: Certificate Administrator `,Gg=$localize`:@@application_admin␟7961d808f0d34e673d2b98762a00d7f113e6c5f3␟3215911346408530352: Application Administrator `;let ty=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.http=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}ngOnInit(){this.appUser=new $a,this.getAppUser()}getAppUser(){let e=this.route.snapshot.paramMap.get("id");if("0"!=e){let t=this;this.rpcService.getResponse("get_app_user",(function(e){null!=e&&(t.appUser=e),t.appUser.need_modify_pwd&&(t.readOnlyValue=!1)}),e,null)}else this.appUser=new $a,this.appUser.id="0",this.appUser.is_super_admin=!1,this.appUser.is_cert_admin=!1,this.appUser.is_app_admin=!1,this.appUser.need_modify_pwd=!0,this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}onDelete(){if(!confirm("Are you sure to delete user: "+this.appUser.username+"?"))return;let e=this;this.rpcService.getResponse("del_app_user",(function(){e.messageService.add(e.appUser.username+" deleted."),e.router.navigate(["/usermgmt"])}),this.appUser.id,null)}onSave(){if(this.plainpwd!=this.plainpwd2)return void this.messageService.add("Password mismatch");if(this.plainpwd){let e="$2a$12$"+String(W_.SHA256("Janusec"+this.appUser.username+this.plainpwd)).substring(0,22),t=V_.hashSync(this.plainpwd,e);this.appUser.password=t}else this.appUser.password="";let e=this;this.rpcService.getResponse("update_app_user",(function(t){if(null==t)return;let i=t.id;e.appUser.id==i?e.appUser=t:e.router.navigate(["/appuser/"+i]),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add(e.appUser.username+" saved."),e.rpcService.getAuthUser((function(){}))}),null,this.appUser)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(zi))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-user-detail"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["username",""],["align","end"],["matInput","","type","password",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["email",""],[4,"ngIf"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[3,"ngModel","disabled","ngModelChange"]],template:function(e,t){1&e&&n.Ic(0,ey,33,16,"div",0),2&e&&n.sc("ngIf",t.appUser)},directives:[P,Mu,Bu,Qe,pi,hi,st,ci,bu,Nd,Hm],styles:['button[_ngcontent-%COMP%]{margin-top:10px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{display:block;margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();const iy=["paginator"],ny=["ipPaginator"],ry=["fileInput"];var sy,ay,oy,cy,ly;function dy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc().newGroupPolicy()})),n.bc(2,sy),n.Vb(),n.Vb()}}function uy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc().exportWAF()})),n.bc(2,ay),n.Vb(),n.Vb()}}function hy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"span"),n.Wb(1,"button",16),n.jc("click",(function(){return n.Cc(e),n.nc().importWAF()})),n.bc(2,oy),n.Vb(),n.Wb(3,"input",17,18),n.jc("change",(function(t){return n.Cc(e),n.nc().readFile(t)})),n.Vb(),n.Vb()}}function fy(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function py(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/policy/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function my(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,cy),n.Vb())}function _y(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function by(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,ly),n.Vb())}function gy(e,t){1&e&&(n.Wb(0,"mat-icon",22),n.Jc(1,"check_circle_outline"),n.Vb())}function yy(e,t){1&e&&(n.Wb(0,"mat-icon",23),n.Jc(1,"highlight_off"),n.Vb())}function vy(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Ic(1,gy,2,0,"mat-icon",20),n.Ic(2,yy,2,0,"mat-icon",21),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_enabled),n.Cb(1),n.sc("ngIf",!e.is_enabled)}}function wy(e,t){1&e&&n.Rb(0,"mat-header-row")}function Cy(e,t){1&e&&n.Rb(0,"mat-row")}sy=$localize`:@@add_policy␟b77042030ceb629838381322ceb84c7864347767␟3048951785216363434:Add Policy`,ay=$localize`:@@export_policies␟97ed31580aee081fa502f5e46eb6ca2f9b643969␟3541288010151194377:Export Policies`,oy=$localize`:@@import_policies␟d49a8a7115dc1a6b069222c3ad18de6800662d08␟6736990121547304968:Import Policies`,cy=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,ly=$localize`:@@enabled␟abe44b93ca347e46a9b8cb48178c884672111ee4␟6151416851572883297: Enabled `;const Sy=function(){return[10,20,50]};let ky=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.group_policies=[],this.enum_action_values=[],this.displayedColumns=["id","description","is_enabled"],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.dynamicDownload=null,this.global_cc_policy=new io,this.app_cc_policy=new io,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getGroupPolicies())}ngOnInit(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e});else this.router.navigate(["/"])}getCCPolicy(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(i){null!=i&&("0"==e?t.global_cc_policy=i:(t.app_cc_policy=i,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}newCCPolicy(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}updateCCPolicy(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);let i=this;this.rpcService.getResponse("update_cc_policy",(function(){i.messageService.add("CC policy updated!")}),e,t)}deleteCCPolicy(e){if("0"==e)return;this.has_custom_cc_policy=!1;let t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}onSelectApp(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}getGroupPolicies(){var e=this;this.rpcService.getResponse("get_group_policies",(function(t){if(null!=t){e.group_policies=t;for(let t of e.group_policies)t.unique_hash=e.calcUniqueHash(t);e.globalRegexDataSource=new Dd(e.group_policies),e.globalRegexDataSource.paginator=e.paginator,e.regexLength=e.group_policies.length,e.paginator.pageIndex=0}}))}getVulnNameByID(e){return this.rpcService.vulntypemap[e]}newGroupPolicy(){this.router.navigate(["/policy/0"])}applyFilter(e){this.globalRegexDataSource.filter=e.trim().toLowerCase()}exportWAF(){vi(this.group_policies).subscribe(e=>{let t=JSON.stringify(e);this.dynamicDownload=document.createElement("a"),this.dynamicDownload.setAttribute("href",`data:text/json;charset=utf-8,${encodeURIComponent(t)}`),this.dynamicDownload.setAttribute("download","JANUSEC-WAF.json");var i=new MouseEvent("click");this.dynamicDownload.dispatchEvent(i)})}importWAF(){this.fileInput.nativeElement.click()}readFile(e){if(e.target.files&&e.target.files.length>0){let t=e.target.files[0],i=new FileReader;i.onload=e=>{let t=JSON.parse(i.result);this.importWAFData(t)},i.readAsText(t)}}importWAFData(e){for(let t of e)this.isInCurrentGroupPolicies(t)||(t.id="0",this.setGroupPolicy(t));setTimeout(()=>{this.getGroupPolicies(),this.messageService.add("Import WAF policies finished!")},3e3)}isInCurrentGroupPolicies(e){let t=this.calcUniqueHash(e);for(let i of this.group_policies)if(t==i.unique_hash)return!0;return!1}calcUniqueHash(e){let t=""+e.app_id+e.description+e.vuln_id+e.hit_value+e.action;for(let i of e.check_items)t+="^"+i.check_point+i.operation+i.key_name+i.regex_policy;return String(W_.SHA256(t))}setGroupPolicy(e){this.rpcService.getResponse("update_group_policy",(function(t){if(null!=t){e=t;for(let t of e.check_items)t.id="0",t.group_policy_id=e.id}}),null,e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-waf"]],viewQuery:function(e,t){var i;1&e&&(n.Sc(iy,!0),n.Sc(ny,!0),n.Sc(ry,!0)),2&e&&(n.zc(i=n.kc())&&(t.paginator=i.first),n.zc(i=n.kc())&&(t.ipPaginator=i.first),n.zc(i=n.kc())&&(t.fileInput=i.first))},decls:26,vars:10,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","description"],["matColumnDef","is_enabled"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["paginator",""],["mat-stroked-button","",3,"click"],["type","file",2,"display","none",3,"change"],["fileInput",""],[3,"routerLink"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"div"),n.Ic(3,dy,3,0,"span",1),n.Ic(4,uy,3,0,"span",1),n.Ic(5,hy,5,0,"span",1),n.Wb(6,"span"),n.Jc(7,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(8,"mat-form-field",2),n.Wb(9,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(10,"div",4),n.Wb(11,"mat-table",5,6),n.Ub(13,7),n.Ic(14,fy,2,0,"mat-header-cell",8),n.Ic(15,py,3,2,"mat-cell",9),n.Tb(),n.Ub(16,10),n.Ic(17,my,2,0,"mat-header-cell",8),n.Ic(18,_y,2,1,"mat-cell",9),n.Tb(),n.Ub(19,11),n.Ic(20,by,2,0,"mat-header-cell",8),n.Ic(21,vy,3,2,"mat-cell",9),n.Tb(),n.Ic(22,wy,1,0,"mat-header-row",12),n.Ic(23,Cy,1,0,"mat-row",13),n.Vb(),n.Rb(24,"mat-paginator",14,15),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(3),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(6),n.sc("dataSource",t.globalRegexDataSource),n.Cb(11),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.regexLength)("pageSize",20)("pageSizeOptions",n.wc(9,Sy)))},directives:[P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Nd,_d,bd,ka,up,Cd,kd],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.float_right[_ngcontent-%COMP%]{display:-webkit-box;display:flex;float:right}']}),e})();var xy;xy=$localize`:@@policy_detail␟36915f58289a0994bfbdc5688a19cb0f4760c01f␟5634039722621641041:Policy Details`;const My=["placeholder",$localize`:@@policy_description␟f31fb6bfd7cb675e7e0b7279985ea202467f4527␟7653179075669619700:Name or Description`],Dy=["placeholder",$localize`:@@apply_to␟16c0f258e8457e1e7bda6d7ecc2c82b1e14dff2b␟8188398788637486228:Applies to`];var Ly;Ly=$localize`:@@all␟255cb5b41f7a18a13adc9ae75c8a2335275f31e4␟1726267335244559659:All applications`;const Ty=["placeholder",$localize`:@@vulnerability␟09ffc759b49382fc087edfb83b506d794011c73f␟7471386395532815020:Vulnerability`],Ey=["placeholder",$localize`:@@action␟1bd5e17c9582661e20763a7634ef07881e33bbd7␟9216117865911519658:Action`];var Ay,Oy,Py,Iy;Ay=$localize`:@@enable_policy␟3c96c2317e63c35d320da3e998ad4a229deb283b␟6507213648773489188: Enable this policy `,Oy=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,Py=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,Iy=$localize`:@@regex_test_tool␟cf2c05cddea7ec1e1ca957a48d69f1c8fd2e08a9␟6782308648328086424:Regex Test Tool`;const Ry=["placeholder",$localize`:@@regex_pattern␟b45d2529e755cb6dd269c6707d729853e474483b␟549098991873584918:Policy Pattern (Google RE2 Regex Expression, Single-Line Mode)`],jy=["placeholder",$localize`:@@payload_to_test␟394e2ed7fbf53e923e14db4f2fe1eb42f4c2e4e8␟6330309368981945523:Payload Value to Test`],Yy=["placeholder",$localize`:@@matched_result␟12f14ec5e3a85a44e38a2cb956b83a5b9f299870␟3569221976704549973:Match Result`];var Vy,Wy;function Fy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function Hy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}Vy=$localize`:@@regex_preprocess␟8f696da263d6cb723d97134d90c3ce857ab17fad␟6813516149374090999: Preprocess Payload Value by Janusec (Selected, Remove " ' , replace /**/ with backspace.) `,Wy=$localize`:@@test␟a79d938b5ed20249b4ab6bef86c12633d2f346a0␟6563391987554512024:Test`;const By=["placeholder",$localize`:@@check_point␟232559ea95cb5a6c69126d3fd08ef3f166005136␟1979121568078297259:Check Point`],zy=["placeholder",$localize`:@@operation␟787e44bf8fb991dfb43b1c7eb7056090514d6905␟1283895920974679461:Operation`],Ny=["placeholder",$localize`:@@value_or_regex␟32e898250fff8ba6252504e25304dcd25b328be6␟2229369941918828209:Value or RegexPolicy (Google RE2,start with (?i) if CaseInsensitive required)`],Uy=["matTooltip",$localize`:@@add_new_checkpoint␟f7863b5f48230785099c5e20bd07beaed017a0e6␟1234834535205391304:Add new check point`];function qy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}function $y(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}const Jy=["placeholder",$localize`:@@designated_headerkey␟c4f7eed1c3e5685140e5eb2d94c0f28dfa632650␟3116812232264639239:Designated HeaderKey (optional)`];function Ky(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",19),n.dc(2,Jy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().$implicit.key_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc().$implicit,t=n.nc(2);n.Cb(1),n.sc("ngModel",e.key_name)("disabled",t.readOnlyValue)}}function Gy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",20),n.jc("click",(function(){n.Cc(e);const t=n.nc().index;return n.nc(2).delCheckItem(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function Zy(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",15),n.Wb(1,"mat-form-field"),n.Wb(2,"mat-select",16),n.dc(3,By),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).group_policy.check_items[r].check_point=i})),n.Ic(4,qy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Wb(5,"mat-form-field"),n.Wb(6,"mat-select",16),n.dc(7,zy),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).group_policy.check_items[r].operation=i})),n.Ic(8,$y,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Ic(9,Ky,3,2,"mat-form-field",0),n.Wb(10,"mat-form-field"),n.Wb(11,"input",2),n.dc(12,Ny),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.regex_policy=i})),n.Vb(),n.Vb(),n.Wb(13,"div"),n.Wb(14,"mat-icon",17),n.dc(15,Uy),n.jc("click",(function(){return n.Cc(e),n.nc(2).addCheckItem()})),n.Jc(16,"add_circle_outline"),n.Vb(),n.Ic(17,Gy,2,0,"mat-icon",18),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc(2);n.Cb(2),n.sc("ngModel",r.group_policy.check_items[i].check_point)("disabled",r.readOnlyValue),n.Cb(2),n.sc("ngForOf",r.enum_check_values),n.Cb(2),n.sc("ngModel",r.group_policy.check_items[i].operation)("disabled",r.readOnlyValue),n.Cb(2),n.sc("ngForOf",r.enum_operation_values),n.Cb(1),n.sc("ngIf",e.check_point==r.chkpointHeadValue),n.Cb(2),n.sc("ngModel",e.regex_policy)("disabled",r.readOnlyValue),n.Cb(6),n.sc("ngIf",r.group_policy.check_items.length>1)}}function Xy(e,t){if(1&e&&(n.Wb(0,"mat-option",14),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}const Qy=["placeholder",$localize`:@@update_time␟fdaf3f57f2fdd07676eaabb17a98403f277356c3␟663069680804731405:Latest Update Time`];function ev(e,t){if(1&e&&(n.Wb(0,"mat-form-field"),n.Wb(1,"input",21),n.dc(2,Qy),n.Vb(),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.sc("value",e.getDate(e.group_policy.update_time))}}function tv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",13),n.jc("click",(function(){return n.Cc(e),n.nc(2).changeEditable()})),n.Jc(1),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.Kc(e.readOnlyButtonText)}}function iv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"h2",1),n.bc(2,xy),n.Vb(),n.Wb(3,"div",1),n.Wb(4,"mat-form-field"),n.Wb(5,"input",2),n.dc(6,My),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.description=t})),n.Vb(),n.Vb(),n.Wb(7,"mat-form-field"),n.Wb(8,"mat-select",3),n.dc(9,Dy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.app_id=t})),n.Wb(10,"mat-option",4),n.bc(11,Ly),n.Vb(),n.Ic(12,Fy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"mat-select",3),n.dc(15,Ty),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.vuln_id=t})),n.Ic(16,Hy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Ic(17,Zy,18,10,"div",6),n.Wb(18,"mat-form-field"),n.Wb(19,"mat-select",3),n.dc(20,Ey),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.action=t})),n.Ic(21,Xy,2,2,"mat-option",5),n.Vb(),n.Vb(),n.Ic(22,ev,3,1,"mat-form-field",0),n.Wb(23,"section"),n.Wb(24,"mat-checkbox",7),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().group_policy.is_enabled=t})),n.bc(25,Ay),n.Vb(),n.Vb(),n.Wb(26,"div"),n.Rb(27,"br"),n.Wb(28,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().setGroupPolicy()})),n.bc(29,Oy),n.Vb(),n.Ic(30,tv,2,1,"button",9),n.Wb(31,"button",8),n.jc("click",(function(){return n.Cc(e),n.nc().delGroupPolicy()})),n.bc(32,Py),n.Vb(),n.Vb(),n.Vb(),n.Rb(33,"hr"),n.Wb(34,"div",1),n.Wb(35,"h3"),n.bc(36,Iy),n.Vb(),n.Wb(37,"mat-form-field"),n.Wb(38,"input",10),n.dc(39,Ry),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.pattern=t})),n.Vb(),n.Vb(),n.Wb(40,"mat-form-field"),n.Wb(41,"input",10),n.dc(42,jy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.payload=t})),n.Vb(),n.Vb(),n.Wb(43,"mat-form-field"),n.Wb(44,"input",11),n.dc(45,Yy),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.matched=t})),n.Vb(),n.Vb(),n.Wb(46,"section"),n.Wb(47,"mat-checkbox",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().regex_match.preprocess=t})),n.bc(48,Vy),n.Vb(),n.Vb(),n.Wb(49,"div"),n.Rb(50,"br"),n.Wb(51,"button",13),n.jc("click",(function(){return n.Cc(e),n.nc().testRegex()})),n.bc(52,Wy),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.sc("ngModel",e.group_policy.description)("disabled",e.readOnlyValue),n.Cb(3),n.sc("ngModel",e.group_policy.app_id)("disabled",e.readOnlyValue),n.Cb(4),n.sc("ngForOf",e.rpcService.applications),n.Cb(2),n.sc("ngModel",e.group_policy.vuln_id)("disabled",e.readOnlyValue),n.Cb(2),n.sc("ngForOf",e.rpcService.vulntypes),n.Cb(1),n.sc("ngForOf",e.group_policy.check_items)("ngForTrackBy",e.trackByFn),n.Cb(2),n.sc("ngModel",e.group_policy.action)("disabled",e.readOnlyValue),n.Cb(2),n.sc("ngForOf",e.enum_action_values),n.Cb(1),n.sc("ngIf",e.group_policy.id>0),n.Cb(2),n.sc("ngModel",e.group_policy.is_enabled)("disabled",e.readOnlyValue),n.Cb(4),n.sc("disabled",e.readOnlyValue),n.Cb(2),n.sc("ngIf",e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("disabled",e.readOnlyValue),n.Cb(7),n.sc("ngModel",e.regex_match.pattern),n.Cb(3),n.sc("ngModel",e.regex_match.payload),n.Cb(3),n.sc("ngModel",e.regex_match.matched),n.Cb(3),n.sc("ngModel",e.regex_match.preprocess)}}let nv=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.regex_match=new co,this.enum_check_values=[],this.enum_operation_values=[],this.enum_action_values=[],this.chkpointHeadValue=no.HeaderValue}getGroupPolicy(e){const t=this.route.snapshot.paramMap.get("id");if("0"==t)this.readOnlyValue=!1,this.group_policy=new so,this.group_policy.id="0",this.group_policy.app_id=null!=e?e:"0",this.group_policy.action=ro.BLOCK,this.group_policy.description="Custom",this.group_policy.check_items=[],this.addCheckItem(),this.group_policy.is_enabled=!0,this.readOnlyButtonText="Cancel";else{var i=this;this.rpcService.getResponse("get_group_policy",(function(e){null!=e&&(i.group_policy=e,i.regex_match.pattern=i.group_policy.check_items[0].regex_policy)}),t)}this.regex_match.preprocess=!0}setGroupPolicy(){var e=this;this.rpcService.getResponse("update_group_policy",(function(t){if(null==t)return;let i=t.id;e.group_policy.id==i?e.group_policy=t:(e.group_policy=t,e.router.navigate(["/policy/"+i])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Policy saved.")}),null,e.group_policy)}ngOnInit(){for(var e in this.getGroupPolicy(),0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),no)"number"==typeof no[e]&&this.enum_check_values.push({value:no[e],name:e});for(var e in ao)"number"==typeof ao[e]&&this.enum_operation_values.push({value:ao[e],name:e});for(var e in ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e})}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}getDate(e){return this.rpcService.getDateString(e)}testRegex(){this.regex_match.matched=null;var e=this;this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}addCheckItem(){if(!this.readOnlyValue){var e=new oo;e.id="0",e.operation=ao.Regex_Match,e.key_name="",e.regex_policy="",e.group_policy_id=this.group_policy.id,this.group_policy.check_items.push(e)}}delCheckItem(e){this.readOnlyValue||(1!=this.group_policy.check_items.length?this.group_policy.check_items.splice(e,1):alert("At least one checkpoint is required!"))}delGroupPolicy(){if(!this.readOnlyValue){var e=this;this.rpcService.getResponse("del_group_policy",(function(){e.router.navigate(["/waf"]),e.messageService.add("Policy Deleted.")}),this.group_policy.id,null)}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-policy"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["class","inner-container",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngModel","disabled","ngModelChange"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","readonly","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange"],["mat-stroked-button","",3,"click"],[3,"value"],[1,"inner-container"],["required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],["matTooltipPosition","right",3,"click",6,"matTooltip"],[3,"click",4,"ngIf"],["matInput","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"click"],["matInput","","disabled","true",3,"value",6,"placeholder"]],template:function(e,t){1&e&&n.Ic(0,iv,53,23,"div",0),2&e&&n.sc("ngIf",t.group_policy)},directives:[P,Mu,Bu,Qe,hi,st,ci,gf,td,A,Hm,Nd,up,If],styles:['button[_ngcontent-%COMP%]{margin-top:5px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();const rv=["*"],sv=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],av=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class ov{}const cv=ml(bl(ov));class lv{}const dv=bl(lv);let uv=(()=>{class e extends cv{constructor(){super(...arguments),this._stateChanges=new an.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return hv(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[n.zb,n.Ab()],ngContentSelectors:rv,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),e})();const hv=n.Zb(uv);let fv=(()=>{class e extends cv{constructor(e){super(),this._elementRef=e,this._stateChanges=new an.a,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[n.zb,n.Ab()],ngContentSelectors:rv,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),e})(),pv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e})(),mv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e})(),_v=(()=>{class e extends dv{constructor(e,t,i,n){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new an.a,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const r=this._getHostElement();"button"!==r.nodeName.toLowerCase()||r.hasAttribute("type")||r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Ho(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=yo(e)}ngAfterContentInit(){var e,t;t=this._element,(e=this._lines).changes.pipe(Jn(e)).subscribe(({length:e})=>{jl(t,"mat-2-line",!1),jl(t,"mat-3-line",!1),jl(t,"mat-multi-line",!1),2===e||3===e?jl(t,`mat-${e}-line`,!0):e>3&&jl(t,"mat-multi-line",!0)})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(uv,8),n.Pb(fv,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,pv,!0),n.Ib(i,mv,!0),n.Ib(i,Rl,!0)),2&e&&(n.zc(r=n.kc())&&(t._avatar=r.first),n.zc(r=n.kc())&&(t._icon=r.first),n.zc(r=n.kc())&&(t._lines=r))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&n.Gb("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[n.zb],ngContentSelectors:av,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(n.rc(sv),n.Wb(0,"div",0),n.Rb(1,"div",1),n.qc(2),n.Wb(3,"div",2),n.qc(4,1),n.Vb(),n.qc(5,2),n.Vb()),2&e&&(n.Cb(1),n.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[zl],encapsulation:2,changeDetection:0}),e})(),bv=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Yl,Nl,pl,ql,U],Yl,pl,ql,Ip]}),e})();const gv=["nodesPaginator"];var yv,vv,wv,Cv,Sv,kv,xv,Mv,Dv,Lv;function Tv(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Sv),n.Vb())}function Ev(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.last_ip," ")}}function Av(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,kv),n.Vb())}function Ov(e,t){1&e&&(n.Wb(0,"mat-icon",23),n.Jc(1,"check_circle_outline"),n.Vb())}function Pv(e,t){1&e&&(n.Wb(0,"mat-icon",24),n.Jc(1,"highlight_off"),n.Vb())}function Iv(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Ic(1,Ov,2,0,"mat-icon",21),n.Ic(2,Pv,2,0,"mat-icon",22),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.online),n.Cb(1),n.sc("ngIf",!e.online)}}function Rv(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,xv),n.Vb())}function jv(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.version," ")}}function Yv(e,t){1&e&&(n.Wb(0,"mat-header-cell",25),n.bc(1,Mv),n.Vb())}function Vv(e,t){if(1&e&&(n.Wb(0,"mat-cell",25),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.last_req_time)," ")}}function Wv(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,Dv),n.Vb())}function Fv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"button",1),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().deleteNode(i.id)})),n.bc(2,Lv),n.Vb(),n.Vb()}}function Hv(e,t){1&e&&n.Rb(0,"mat-header-row")}function Bv(e,t){1&e&&n.Rb(0,"mat-row")}yv=$localize`:@@node_mgmt␟7c79873448e91ed2609a9c9260490e4577c29517␟234012432003542018:Node Management`,vv=$localize`:@@refresh␟c8d1785038d461ec66b5799db21864182b35900a␟1102717806459547726:Refresh`,wv=$localize`:@@node_sync␟0e4898ccb7f74dc7411e66c783b249e9d95bd936␟3758475628515629380:Node Synchronization`,Cv=$localize`:@@node_notice␟98d0a9609caabf92a0f6928e3b5fcecaa20a3516␟5588654204421158929:Please copy the following node_key into config.json of all replica nodes. `,Sv=$localize`:@@last_ip␟de2ae53a235560ee7aa37145da929a18d70ea504␟7822607628884491209: IP `,kv=$localize`:@@online␟ee74fb7b4bab3ce4785bc0470a25ba7f49533cdb␟6381905842608823548: Online `,xv=$localize`:@@version␟55841e4bef36a1768906aa7555c43c31b7c61a3b␟5088286317508582496: Version `,Mv=$localize`:@@sync_time␟181c8e53f31dd255ba7495eea8996a954058ca01␟665365445806980314: Synchronization Time `,Dv=$localize`:@@action␟01a32bb7e93373cbc305329319efc67c0bd85226␟97940262148604706: Action `,Lv=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`;const zv=function(){return[10,20,50]};let Nv=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.nodes=[],this.displayedColumns=["last_ip","online","version","last_req_time","action"],this.rpcService.auth_user.logged&&(this.rpcService.getNodesKey(),this.getNodes())}ngOnInit(){0!=this.rpcService.auth_user.logged?this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]):this.router.navigate(["/"])}onSelect(e){this.selectedNode=e,this.router.navigate(["/node/"+this.selectedNode.id])}getDate(e){return this.rpcService.getDateString(e)}getNodes(){var e=this;this.rpcService.getResponse("get_nodes",(function(t){if(e.nodes=t,e.nodesDataSource=new Dd(e.nodes),e.nodesLength=e.nodes.length,null!=e.nodes){var i=(new Date).getTime();for(let t of e.nodes){let e=i-new Date(1e3*t.last_req_time).getTime();t.online=e<36e4}}}))}deleteNode(e){let t=this;this.rpcService.getResponse("del_node",(function(){t.getNodes()}),e,null)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-nodes"]],viewQuery:function(e,t){var i;1&e&&n.Sc(gv,!0),2&e&&n.zc(i=n.kc())&&(t.nodesPaginator=i.first)},decls:44,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click"],["matListIcon",""],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","last_ip"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","online"],["matColumnDef","version"],["matColumnDef","last_req_time"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["nodesPaginator",""],["matLine",""],[1,"wrapkey"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"],[1,"center_column"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.Wb(4,"span"),n.bc(5,yv),n.Vb(),n.Wb(6,"span"),n.Jc(7," \xa0\xa0\xa0\xa0 "),n.Vb(),n.Wb(8,"span"),n.Wb(9,"button",1),n.jc("click",(function(){return t.getNodes()})),n.Wb(10,"mat-icon",2),n.Jc(11,"refresh"),n.Vb(),n.Wb(12,"span"),n.bc(13,vv),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(14,"div",3),n.Wb(15,"mat-table",4,5),n.Ub(17,6),n.Ic(18,Tv,2,0,"mat-header-cell",7),n.Ic(19,Ev,2,1,"mat-cell",8),n.Tb(),n.Ub(20,9),n.Ic(21,Av,2,0,"mat-header-cell",7),n.Ic(22,Iv,3,2,"mat-cell",8),n.Tb(),n.Ub(23,10),n.Ic(24,Rv,2,0,"mat-header-cell",7),n.Ic(25,jv,2,1,"mat-cell",8),n.Tb(),n.Ub(26,11),n.Ic(27,Yv,2,0,"mat-header-cell",12),n.Ic(28,Vv,2,1,"mat-cell",13),n.Tb(),n.Ub(29,14),n.Ic(30,Wv,2,0,"mat-header-cell",7),n.Ic(31,Fv,3,0,"mat-cell",8),n.Tb(),n.Ic(32,Hv,1,0,"mat-header-row",15),n.Ic(33,Bv,1,0,"mat-row",16),n.Vb(),n.Rb(34,"mat-paginator",17,18),n.Vb(),n.Rb(36,"br"),n.Wb(37,"mat-card"),n.Wb(38,"h3"),n.bc(39,wv),n.Vb(),n.Wb(40,"p",19),n.bc(41,Cv),n.Vb(),n.Wb(42,"span",20),n.Jc(43),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(15),n.sc("dataSource",t.nodesDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.nodesLength)("pageSize",20)("pageSizeOptions",n.wc(7,zv)),n.Cb(9),n.Kc(t.rpcService.hexNodesKey))},directives:[jd,Nd,up,mv,cd,pd,hd,dd,gd,vd,Jf,Rl,_d,bd,P,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.wrapkey[_ngcontent-%COMP%]{font-size:10px;font-family:Courier New,Courier,monospace;background-color:#f4f4f4;padding:5px;line-height:2em;word-break:break-all}"]}),e})();var Uv;function qv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",4),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).node.last_ip=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.node.last_ip)("readonly",!0)}}function $v(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).node.version=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.node.version)("readonly",!0)}}function Jv(e,t){if(1&e&&(n.Wb(0,"mat-form-field"),n.Rb(1,"input",6),n.Vb()),2&e){const e=n.nc(2);n.Cb(1),n.sc("value",e.getDate(e.node.last_req_time))("readonly",!0)}}function Kv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",7),n.jc("click",(function(){n.Cc(e);const t=n.nc(2);return t.deleteNode(t.node.id)})),n.Jc(1,"Delete"),n.Vb()}if(2&e){const e=n.nc(2);n.sc("disabled",e.readOnlyValue)}}function Gv(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,Uv),n.Vb(),n.Ic(4,qv,2,2,"mat-form-field",0),n.Ic(5,$v,2,2,"mat-form-field",0),n.Ic(6,Jv,2,2,"mat-form-field",0),n.Wb(7,"div"),n.Wb(8,"button",2),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(9),n.Vb(),n.Ic(10,Kv,2,1,"button",3),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(4),n.sc("ngIf",e.node.id>0),n.Cb(1),n.sc("ngIf",e.node.id>0),n.Cb(1),n.sc("ngIf",e.node.id>0),n.Cb(3),n.Kc(e.readOnlyButtonText),n.Cb(1),n.sc("ngIf",e.node.id>0)}}Uv=$localize`:@@node_detail␟2d653a3d7a3b48d501c08d3fe9376c1c4e24ed21␟7177990097443434093:Node Details`;let Zv=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}ngOnInit(){this.getNode()}getNode(){let e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_node",(function(e){null!=e&&(t.node=e)}),e)}else this.node=new lo,this.node.id="0",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}getDate(e){return this.rpcService.getDateString(e)}deleteNode(e){this.rpcService.getResponse("del_node",(function(){}),e,null),this.router.navigate(["/nodes"])}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-node-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","","placeholder","Node IP",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Node Version",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Last Sync time",3,"value","readonly"],["mat-stroked-button","",3,"disabled","click"]],template:function(e,t){1&e&&n.Ic(0,Gv,11,5,"div",0),2&e&&n.sc("ngIf",t.node)},directives:[P,Nd,Mu,Bu,Qe,st,ci],styles:["button[_ngcontent-%COMP%]{margin-right:5px}"]}),e})();var Xv=i("MO+k");const Qv=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`];var ew,tw;ew=$localize`:@@all␟255cb5b41f7a18a13adc9ae75c8a2335275f31e4␟1726267335244559659:All applications`,tw=$localize`:@@view␟6829218544e108e152f5fa72cb79c4ccb82e0d06␟2509141182388535183:View`;const iw=["placeholder",$localize`:@@vulnerability␟09ffc759b49382fc087edfb83b506d794011c73f␟7471386395532815020:Vulnerability`];var nw,rw,sw,aw;function ow(e,t){if(1&e&&(n.Wb(0,"mat-option",10),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function cw(e,t){if(1&e&&(n.Wb(0,"mat-option",10),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function lw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",2),n.Wb(1,"div",3),n.Wb(2,"mat-form-field"),n.Wb(3,"mat-select",4),n.dc(4,Qv),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().selected_app_id=t})),n.Wb(5,"mat-option",5),n.bc(6,ew),n.Vb(),n.Ic(7,ow,2,2,"mat-option",6),n.Vb(),n.Vb(),n.Wb(8,"button",7),n.jc("click",(function(){return n.Cc(e),n.nc().statByAppID()})),n.bc(9,tw),n.Vb(),n.Wb(10,"div",8),n.Wb(11,"canvas",9),n.Jc(12),n.Vb(),n.Vb(),n.Vb(),n.Wb(13,"div",3),n.Wb(14,"mat-form-field"),n.Wb(15,"mat-select",4),n.dc(16,iw),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().selected_vuln_id=t})),n.Wb(17,"mat-option",10),n.bc(18,nw),n.Vb(),n.Ic(19,cw,2,2,"mat-option",6),n.Vb(),n.Vb(),n.Wb(20,"button",7),n.jc("click",(function(){return n.Cc(e),n.nc().statByAppAndVuln()})),n.bc(21,rw),n.Vb(),n.Wb(22,"div",8),n.Wb(23,"canvas",11),n.Jc(24),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(3),n.sc("ngModel",e.selected_app_id),n.Cb(4),n.sc("ngForOf",e.rpcService.applications),n.Cb(5),n.Kc(e.todayVulnChart),n.Cb(3),n.sc("ngModel",e.selected_vuln_id),n.Cb(2),n.sc("value",0),n.Cb(2),n.sc("ngForOf",e.rpcService.vulntypes),n.Cb(5),n.Kc(e.weekCountChart)}}function dw(e,t){if(1&e&&(n.Wb(0,"div",2),n.Wb(1,"div",12),n.Wb(2,"div",13),n.Wb(3,"canvas",14),n.Jc(4),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(4),n.Kc(e.accessStatChart)}}function uw(e,t){if(1&e&&(n.Wb(0,"tr"),n.Wb(1,"td"),n.Jc(2),n.Vb(),n.Wb(3,"td"),n.Jc(4),n.Vb(),n.Wb(5,"td",21),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc(2);n.Cb(2),n.Lc(" ",i.getAppNameByID(e.app_id)," "),n.Cb(2),n.Lc(" ",e.url_path," "),n.Cb(2),n.Lc(" ",e.amount," ")}}function hw(e,t){if(1&e&&(n.Wb(0,"div",2),n.Wb(1,"div",15),n.Wb(2,"table",16),n.Wb(3,"caption"),n.bc(4,sw),n.Vb(),n.Wb(5,"tr"),n.Wb(6,"th",17),n.Jc(7,"Application"),n.Vb(),n.Wb(8,"th",18),n.Jc(9,"URL"),n.Vb(),n.Wb(10,"th",19),n.Jc(11,"Count"),n.Vb(),n.Vb(),n.Ic(12,uw,7,3,"tr",20),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(12),n.sc("ngForOf",e.pop_contents)}}function fw(e,t){if(1&e&&(n.Wb(0,"tr"),n.Wb(1,"td"),n.Wb(2,"a",23),n.Jc(3),n.Vb(),n.Vb(),n.Wb(4,"td",21),n.Jc(5),n.Vb(),n.Wb(6,"td",21),n.Jc(7),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc(2);n.Cb(2),n.vc("routerLink","/referring/",i.selected_app_id,"/",e.host,""),n.Cb(1),n.Lc(" ",e.host," "),n.Cb(2),n.Lc(" ",e.PV," "),n.Cb(2),n.Lc(" ",e.UV," ")}}function pw(e,t){if(1&e&&(n.Wb(0,"div",2),n.Wb(1,"div",15),n.Wb(2,"table",16),n.Wb(3,"caption"),n.bc(4,aw),n.Vb(),n.Wb(5,"tr"),n.Wb(6,"th",17),n.Jc(7,"Site"),n.Vb(),n.Wb(8,"th",22),n.Jc(9,"PV"),n.Vb(),n.Wb(10,"th",22),n.Jc(11,"UV"),n.Vb(),n.Vb(),n.Ic(12,fw,8,5,"tr",20),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(12),n.sc("ngForOf",e.referer_hosts)}}nw=$localize`:@@all␟dfc3c34e182ea73c5d784ff7c8135f087992dac1␟1616102757855967475:All`,rw=$localize`:@@view␟6829218544e108e152f5fa72cb79c4ccb82e0d06␟2509141182388535183:View`,sw=$localize`:@@popular_content_today␟330937b831f58f2b1e5abaaa25e2d2d3bb064263␟2482852217848403822:Popular Content Today`,aw=$localize`:@@referring_sites␟ec585bc47d5923492ce19460aae8bf3661fc081a␟1923109454628308267:Referring Sites (14 days)`;let mw=(()=>{class e{constructor(e,t,i){this.elementRef=e,this.rpcService=t,this.router=i,this.selected_app_id="0",this.selected_vuln_id=0}initTodayChart(){let e=this.elementRef.nativeElement.querySelector("#today_canvas");null!=this.todayVulnChart&&this.todayVulnChart.destroy(),this.todayVulnChart=new Xv.Chart(e,{type:"doughnut",data:{labels:this.today_stat_vuln_name,datasets:[{data:this.today_stat_count,backgroundColor:this.today_stat_bgcolor,borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Today Attack Statistics",display:!0},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]}}})}initWeekChart(){setTimeout(()=>{let e=this.elementRef.nativeElement.querySelector("#week_canvas");null!=this.weekCountChart&&this.weekCountChart.destroy(),this.weekCountChart=new Xv.Chart(e,{type:"bar",data:{labels:this.week_stat_date,datasets:[{label:"Count",data:this.week_stat_count,backgroundColor:"rgba(250,10,10,0.8)",borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Week Attack Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})},300)}initAccessStatChart(){setTimeout(()=>{let e=this.elementRef.nativeElement.querySelector("#stat_canvas");null!=this.accessStatChart&&this.accessStatChart.destroy(),this.accessStatChart=new Xv.Chart(e,{type:"line",data:{labels:this.access_stat_date,datasets:[{label:"Count",lineTension:0,fill:!1,data:this.access_stat_count,borderColor:"rgba(00, 95, 200, 1.0)",borderWidth:1}]},options:{maintainAspectRatio:!1,legend:{display:!0,position:"bottom"},title:{text:"Access Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})},300)}ngOnInit(){if(0!=this.rpcService.auth_user.logged){if(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),0==this.rpcService.vulntypes.length){let e=this;this.rpcService.getVulnTypes((function(){e.getTodayVulnStat("0"),e.getWeekStat("0",0),e.getAccessStat("0"),e.getPopContents("0"),e.getRefererHosts("0")}))}else this.getTodayVulnStat("0"),this.getWeekStat("0",0),this.getAccessStat("0"),this.getPopContents("0"),this.getRefererHosts("0");0==this.rpcService.applications.length&&this.rpcService.getApplications(),this.initWeekChart(),this.initAccessStatChart()}else this.router.navigate(["/"])}getVulnNameByID(e){return this.rpcService.vulntypemap[e]}getAppNameByID(e){return this.rpcService.appmap[e]}getTodayVulnStat(e){let t=new Date;t.setHours(0,0,0,0);let i=new Date;i.setHours(23,59,59,0);let n=t.getTime()/1e3,r=i.getTime()/1e3+1;this.today_stat_vuln_name=[],this.today_stat_count=[],this.today_stat_counts=0,this.today_stat_bgcolor=[];let s=this;this.rpcService.getResponseByCustomBody({action:"get_vuln_stat",app_id:e,start_time:n,end_time:r},(function(e){null==e&&(e=[]);for(let t of e){let e=s.getVulnNameByID(t.vuln_id);s.today_stat_vuln_name.push(e),s.today_stat_count.push(t.count),s.today_stat_counts+=t.count,s.today_stat_bgcolor.push(s.getColorString(t.vuln_id))}0==s.today_stat_counts&&(s.today_stat_vuln_name.push("None"),s.today_stat_count.push(1e-9)),s.initTodayChart()}))}getWeekStat(e,t){let i=new Date;i.setHours(0,0,0,0);let n=i.getTime()-5184e5;this.week_stat_date=[];for(let s=0;s<7;s++){let e=new Date(n+864e5*s);this.week_stat_date.push(e.toLocaleDateString())}let r=this;this.rpcService.getResponseByCustomBody({action:"get_week_stat",app_id:e,vuln_id:t,start_time:n/1e3},(function(e){null==e&&(e=[0,0,0,0,0,0,0]),r.week_stat_count=e,r.initWeekChart()}))}getAccessStat(e){let t=new Date;t.setHours(0,0,0,0);let i=t.getTime()-11232e5;this.access_stat_date=[];for(let r=0;r<14;r++){let e=new Date(i+864e5*r);this.access_stat_date.push(e.toLocaleDateString())}let n=this;this.rpcService.getResponseByCustomBody({action:"get_access_stat",app_id:e},(function(e){null==e&&(e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0]),n.access_stat_count=e,n.initAccessStatChart()}))}getPopContents(e){let t=this;this.rpcService.getResponseByCustomBody({action:"get_pop_contents",app_id:e},(function(e){t.pop_contents=e}))}getRefererHosts(e){let t=this;this.rpcService.getResponseByCustomBody({action:"get_referer_hosts",app_id:e},(function(e){t.referer_hosts=e}))}getColorString(e){return"rgba("+60*e%256+","+50*e%256+","+50*e%256+",0.9)"}statByAppID(){this.getTodayVulnStat(this.selected_app_id),this.statByAppAndVuln(),this.getAccessStat(this.selected_app_id),this.getPopContents(this.selected_app_id),this.getRefererHosts(this.selected_app_id)}statByAppAndVuln(){this.getWeekStat(this.selected_app_id,this.selected_vuln_id)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-dashboard"]],decls:6,vars:4,consts:[[1,"container"],["fxLayout","row wrap",4,"ngIf"],["fxLayout","row wrap"],["fxFlex","50%"],[3,"ngModel","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],[1,"myChart"],["id","today_canvas"],[3,"value"],["id","week_canvas"],["fxFlex","100%"],[1,"statChart"],["id","stat_canvas"],["fxFlex","100%",1,"access_div"],[1,"top_access_table"],["width","30%"],["width","60%"],["width","10%"],[4,"ngFor","ngForOf"],[1,"td-align-center"],["width","35%"],[3,"routerLink"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Ic(1,lw,25,7,"div",1),n.Ic(2,dw,5,1,"div",1),n.Ic(3,hw,13,1,"div",1),n.Rb(4,"br"),n.Ic(5,pw,13,1,"div",1),n.Vb()),2&e&&(n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(1),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(2),n.sc("ngIf",t.rpcService.auth_user.logged))},directives:[P,Ob,Wb,Mu,gf,st,ci,td,A,Nd,ka],styles:['.container[_ngcontent-%COMP%], .mat-form-field[_ngcontent-%COMP%], .mat-option[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%], button[_ngcontent-%COMP%], div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;font-size:14px}button[_ngcontent-%COMP%]{margin-left:10px}.myChart[_ngcontent-%COMP%], .statChart[_ngcontent-%COMP%]{background-color:#e5e5e5;margin:15px}.statChart[_ngcontent-%COMP%]{height:300px}.access_div[_ngcontent-%COMP%]{padding:0 15px}.top_access_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.top_access_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.top_access_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.top_access_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}']}),e})();function _w(e,t){}class bw{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const gw={dialogContainer:Object(De.n)("dialogContainer",[Object(De.k)("void, exit",Object(De.l)({opacity:0,transform:"scale(0.7)"})),Object(De.k)("enter",Object(De.l)({transform:"none"})),Object(De.m)("* => enter",Object(De.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({transform:"none",opacity:1}))),Object(De.m)("* => void, * => exit",Object(De.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(De.l)({opacity:0})))])};function yw(){throw Error("Attempting to attach dialog content after content is already attached")}let vw=(()=>{class e extends fh{constructor(e,t,i,r,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=i,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new n.o,this.attachDomPortal=e=>(this._portalOutlet.hasAttached()&&yw(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=r}attachComponentPortal(e){return this._portalOutlet.hasAttached()&&yw(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached()&&yw(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}_trapFocus(){const e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const t=this._document.activeElement;t===e||e.contains(t)||e.focus()}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,i=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==i&&!i.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Kc),n.Pb(n.h),n.Pb(a,8),n.Pb(bw))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var i;1&e&&n.Gc(_h,!0),2&e&&n.zc(i=n.kc())&&(t._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&n.Hb("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(n.Db("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),n.Rc("@dialogContainer",t._state))},features:[n.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&n.Ic(0,_w,0,0,"ng-template",0)},directives:[_h],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[gw.dialogContainer]}}),e})(),ww=0;class Cw{constructor(e,t,i=`mat-dialog-${ww++}`){this._overlayRef=e,this._containerInstance=t,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new an.a,this._afterClosed=new an.a,this._beforeClosed=new an.a,this._state=0,t._id=i,t._animationStateChanged.pipe(ki(e=>"done"===e.phaseName&&"enter"===e.toState),Vn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ki(e=>"done"===e.phaseName&&"exit"===e.toState),Vn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(ki(e=>27===e.keyCode&&!this.disableClose&&!Sc(e))).subscribe(e=>{e.preventDefault(),this.close()})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(ki(e=>"start"===e.phaseName),Vn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},t.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const Sw=new n.r("MatDialogData"),kw=new n.r("mat-dialog-default-options"),xw=new n.r("mat-dialog-scroll-strategy"),Mw={provide:xw,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.block()}};let Dw=(()=>{class e{constructor(e,t,i,n,r,s,a){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new an.a,this._afterOpenedAtThisLevel=new an.a,this._ariaHiddenElements=new Map,this.afterAllClosed=gn(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Jn(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}open(e,t){if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new bw)).id&&this.getDialogById(t.id))throw Error(`Dialog with id "${t.id}" exists already. The dialog id must be unique.`);const i=this._createOverlay(t),n=this._attachDialogContainer(i,t),r=this._attachDialogContent(e,n,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Th({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const i=new vh(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[bw,t]])),n=new dh(vw,t.viewContainerRef,i,t.componentFactoryResolver);return e.attach(n).instance}_attachDialogContent(e,t,i,r){const s=new Cw(i,t,r.id);if(r.hasBackdrop&&i.backdropClick().subscribe(()=>{s.disableClose||s.close()}),e instanceof n.M)t.attachTemplatePortal(new uh(e,null,{$implicit:r.data,dialogRef:s}));else{const i=this._createInjector(r,s,t),n=t.attachComponentPortal(new dh(e,r.viewContainerRef,i));s.componentInstance=n.instance}return s.updateSize(r.width,r.height).updatePosition(r.position),s}_createInjector(e,t,i){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=new WeakMap([[vw,i],[Sw,e.data],[Cw,t]]);return!e.direction||n&&n.get(Eo,null)||r.set(Eo,{value:e.direction,change:vi()}),new vh(n||this._injector,r)}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){let n=t[i];n===e||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(qh),n.fc(n.s),n.fc(w,8),n.fc(kw,8),n.fc(xw),n.fc(e,12),n.fc(jh))},e.\u0275prov=n.Lb({token:e,factory:e.\u0275fac}),e})(),Lw=0,Tw=(()=>{class e{constructor(e,t,i){this.dialogRef=e,this._elementRef=t,this._dialog=i,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Pw(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Cw,8),n.Pb(n.l),n.Pb(Dw))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("click",(function(){return t.dialogRef.close(t.dialogResult)})),2&e&&n.Db("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[n.Ab()]}),e})(),Ew=(()=>{class e{constructor(e,t,i){this._dialogRef=e,this._elementRef=t,this._dialog=i,this.id=`mat-dialog-title-${Lw++}`}ngOnInit(){this._dialogRef||(this._dialogRef=Pw(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Cw,8),n.Pb(n.l),n.Pb(Dw))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&n.ac("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),Aw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),Ow=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})();function Pw(e,t){let i=e.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?t.find(e=>e.id===i.id):null}let Iw=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Dw,Mw],imports:[[Xh,yh,pl],pl]}),e})();const Rw=["mat-calendar-body",""];function jw(e,t){if(1&e&&(n.Wb(0,"tr",2),n.Wb(1,"td",3),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=n.nc();n.Cb(1),n.Hc("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),n.Db("colspan",e.numCols),n.Cb(1),n.Lc(" ",e.label," ")}}function Yw(e,t){if(1&e&&(n.Wb(0,"td",7),n.Jc(1),n.Vb()),2&e){const e=n.nc(2);n.Hc("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),n.Db("colspan",e._firstRowOffset),n.Cb(1),n.Lc(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Vw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"td",8),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc(2)._cellClicked(i)})),n.Wb(1,"div",9),n.Jc(2),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc().index,s=n.nc();n.Hc("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),n.Gb("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",s._isActiveCell(r,i)),n.sc("ngClass",e.cssClasses)("tabindex",s._isActiveCell(r,i)?0:-1),n.Db("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",s.selectedValue===e.value),n.Cb(1),n.Gb("mat-calendar-body-selected",s.selectedValue===e.value)("mat-calendar-body-today",s.todayValue===e.value),n.Cb(1),n.Lc(" ",e.displayValue," ")}}function Ww(e,t){if(1&e&&(n.Wb(0,"tr",4),n.Ic(1,Yw,2,6,"td",5),n.Ic(2,Vw,3,20,"td",6),n.Vb()),2&e){const e=t.$implicit,i=t.index,r=n.nc();n.Cb(1),n.sc("ngIf",0===i&&r._firstRowOffset),n.Cb(1),n.sc("ngForOf",e)}}function Fw(e,t){if(1&e&&(n.Wb(0,"th",5),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Db("aria-label",e.long),n.Cb(1),n.Kc(e.narrow)}}const Hw=["*"];function Bw(e,t){}function zw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-month-view",5),n.jc("activeDateChange",(function(t){return n.Cc(e),n.nc().activeDate=t}))("selectedChange",(function(t){return n.Cc(e),n.nc()._dateSelected(t)}))("_userSelection",(function(){return n.Cc(e),n.nc()._userSelected()})),n.Vb()}if(2&e){const e=n.nc();n.sc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Nw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-year-view",6),n.jc("activeDateChange",(function(t){return n.Cc(e),n.nc().activeDate=t}))("monthSelected",(function(t){return n.Cc(e),n.nc()._monthSelectedInYearView(t)}))("selectedChange",(function(t){return n.Cc(e),n.nc()._goToDateInView(t,"month")})),n.Vb()}if(2&e){const e=n.nc();n.sc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}function Uw(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-multi-year-view",7),n.jc("activeDateChange",(function(t){return n.Cc(e),n.nc().activeDate=t}))("yearSelected",(function(t){return n.Cc(e),n.nc()._yearSelectedInMultiYearView(t)}))("selectedChange",(function(t){return n.Cc(e),n.nc()._goToDateInView(t,"year")})),n.Vb()}if(2&e){const e=n.nc();n.sc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}const qw=["button"];function $w(e,t){1&e&&(n.mc(),n.Wb(0,"svg",3),n.Rb(1,"path",4),n.Vb())}const Jw=[[["","matDatepickerToggleIcon",""]]],Kw=["[matDatepickerToggleIcon]"];function Gw(e){return Error(`MatDatepicker: No provider found for ${e}. You must import one of the following `+"modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}let Zw=(()=>{class e{constructor(){this.changes=new an.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();class Xw{constructor(e,t,i,n,r={}){this.value=e,this.displayValue=t,this.ariaLabel=i,this.enabled=n,this.cssClasses=r}}let Qw=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new n.o}_cellClicked(e){e.enabled&&this.selectedValueChange.emit(e.value)}ngOnChanges(e){const t=e.numCols,{rows:i,numCols:n}=this;(e.rows||t)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/n}%`),!t&&this._cellWidth||(this._cellWidth=`${100/n}%`)}_isActiveCell(e,t){let i=e*this.numCols+t;return e&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&e.focus()})})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A))},e.\u0275cmp=n.Jb({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[n.Ab()],attrs:Rw,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell mat-focus-indicator","role","button",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell","role","button",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(n.Ic(0,jw,3,6,"tr",0),n.Ic(1,Ww,3,2,"tr",1)),2&e&&(n.sc("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n"],encapsulation:2,changeDetection:0}),e})(),eC=(()=>{class e{constructor(e,t,i,r){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=rr.a.EMPTY,this.selectedChange=new n.o,this._userSelection=new n.o,this.activeDateChange=new n.o,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Jn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){if(this._selectedDate!=e){const t=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.createDate(t,i,e);this.selectedChange.emit(n)}this._userSelection.emit()}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((e,i)=>({long:e,narrow:t[i]}));this._weekdays=i.slice(e).concat(i.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Sl,8),n.Pb(Cl,8),n.Pb(Eo,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Qw,!0),2&e&&n.zc(i=n.kc())&&(t._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(n.Wb(0,"table",0),n.Wb(1,"thead",1),n.Wb(2,"tr"),n.Ic(3,Fw,2,2,"th",2),n.Vb(),n.Wb(4,"tr"),n.Rb(5,"th",3),n.Vb(),n.Vb(),n.Wb(6,"tbody",4),n.jc("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),n.Vb(),n.Vb()),2&e&&(n.Cb(3),n.sc("ngForOf",t._weekdays),n.Cb(3),n.sc("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[A,Qw],encapsulation:2,changeDetection:0}),e})(),tC=(()=>{class e{constructor(e,t,i){if(this._changeDetectorRef=e,this._dateAdapter=t,this._dir=i,this._rerenderSubscription=rr.a.EMPTY,this.selectedChange=new n.o,this.yearSelected=new n.o,this.activeDateChange=new n.o,!this._dateAdapter)throw Gw("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),iC(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Jn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,i=[];t<24;t++)i.push(e+t),4==i.length&&(this._years.push(i.map(e=>this._createCellForYear(e))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let t=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return nC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){let t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new Xw(e,t,t,this._shouldEnableYear(e))}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class e{constructor(e,t,i,r){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=rr.a.EMPTY,this.selectedChange=new n.o,this.monthSelected=new n.o,this.activeDateChange=new n.o,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Jn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(t);const i=this._dateAdapter.getNumDaysInMonth(t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){let i=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new Xw(e,t.toLocaleUpperCase(),i,this._shouldEnableMonth(e))}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return e>i||e===i&&t>n}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e{class e{constructor(e,t,i,n,r){this._intl=e,this.calendar=t,this._dateAdapter=i,this._dateFormats=n,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-nC(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+24-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(i,n)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):iC(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Zw),n.Pb(Object(n.U)(()=>oC)),n.Pb(Cl,8),n.Pb(Sl,8),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Hw,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0),n.Wb(1,"div",1),n.Wb(2,"button",2),n.jc("click",(function(){return t.currentPeriodClicked()})),n.Jc(3),n.Rb(4,"div",3),n.Vb(),n.Rb(5,"div",4),n.qc(6),n.Wb(7,"button",5),n.jc("click",(function(){return t.previousClicked()})),n.Vb(),n.Wb(8,"button",6),n.jc("click",(function(){return t.nextClicked()})),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(2),n.Db("aria-label",t.periodButtonLabel),n.Cb(1),n.Lc(" ",t.periodButtonText," "),n.Cb(1),n.Gb("mat-calendar-invert","month"!=t.calendar.currentView),n.Cb(3),n.sc("disabled",!t.previousEnabled()),n.Db("aria-label",t.prevButtonLabel),n.Cb(1),n.sc("disabled",!t.nextEnabled()),n.Db("aria-label",t.nextButtonLabel))},directives:[Nd,el],encapsulation:2,changeDetection:0}),e})(),oC=(()=>{class e{constructor(e,t,i,r){if(this._dateAdapter=t,this._dateFormats=i,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new n.o,this.yearSelected=new n.o,this.monthSelected=new n.o,this._userSelection=new n.o,this.stateChanges=new an.a,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._intlChanges=e.changes.subscribe(()=>{r.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new dh(this.headerComponent||aC),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t.ngAfterContentInit()}_dateSelected(e){e&&!this._dateAdapter.sameDate(e,this.selected)&&this.selectedChange.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_userSelected(){this._userSelection.emit()}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Zw),n.Pb(Cl,8),n.Pb(Sl,8),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){var i;1&e&&(n.Sc(eC,!0),n.Sc(sC,!0),n.Sc(tC,!0)),2&e&&(n.zc(i=n.kc())&&(t.monthView=i.first),n.zc(i=n.kc())&&(t.yearView=i.first),n.zc(i=n.kc())&&(t.multiYearView=i.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[n.Ab()],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(n.Ic(0,Bw,0,0,"ng-template",0),n.Wb(1,"div",1),n.Ic(2,zw,1,6,"mat-month-view",2),n.Ic(3,Nw,1,5,"mat-year-view",3),n.Ic(4,Uw,1,5,"mat-multi-year-view",4),n.Vb()),2&e&&(n.sc("cdkPortalOutlet",t._calendarHeaderPortal),n.Cb(1),n.sc("ngSwitch",t.currentView),n.Cb(1),n.sc("ngSwitchCase","month"),n.Cb(1),n.sc("ngSwitchCase","year"),n.Cb(1),n.sc("ngSwitchCase","multi-year"))},directives:[_h,nl,Y,V,eC,sC,tC],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e})();const cC={transformPanel:Object(De.n)("transformPanel",[Object(De.k)("void",Object(De.l)({opacity:0,transform:"scale(1, 0.8)"})),Object(De.m)("void => enter",Object(De.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({opacity:1,transform:"scale(1, 1)"}))),Object(De.m)("* => void",Object(De.e)("100ms linear",Object(De.l)({opacity:0})))]),fadeInCalendar:Object(De.n)("fadeInCalendar",[Object(De.k)("void",Object(De.l)({opacity:0})),Object(De.k)("enter",Object(De.l)({opacity:1})),Object(De.m)("void => *",Object(De.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let lC=0;const dC=new n.r("mat-datepicker-scroll-strategy"),uC={provide:dC,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class hC{constructor(e){this._elementRef=e}}const fC=_l(hC);let pC=(()=>{class e extends fC{constructor(e,t){super(e),this._changeDetectorRef=t,this._animationState="enter",this._animationDone=new an.a}ngAfterViewInit(){this._calendar.focusActiveCell()}ngOnDestroy(){this._animationDone.complete()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var i;1&e&&n.Sc(oC,!0),2&e&&n.zc(i=n.kc())&&(t._calendar=i.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&n.Hb("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(n.Rc("@transformPanel",t._animationState),n.Gb("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[n.zb],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(n.Wb(0,"mat-calendar",0),n.jc("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(){return t.datepicker.close()})),n.Vb()),2&e&&n.sc("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[oC,Gc,T],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[cC.transformPanel,cC.fadeInCalendar]},changeDetection:0}),e})(),mC=(()=>{class e{constructor(e,t,i,r,s,a,o,c){if(this._dialog=e,this._overlay=t,this._ngZone=i,this._viewContainerRef=r,this._dateAdapter=a,this._dir=o,this._document=c,this.startView="month",this._touchUi=!1,this.yearSelected=new n.o,this.monthSelected=new n.o,this.openedStream=new n.o,this.closedStream=new n.o,this._opened=!1,this.id=`mat-datepicker-${lC++}`,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=rr.a.EMPTY,this._disabledChange=new an.a,this._selectedChanged=new an.a,!this._dateAdapter)throw Gw("DateAdapter");this._scrollStrategy=s}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=yo(e)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(e){const t=yo(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}get opened(){return this._opened}set opened(e){e?this.open():this.close()}get _selected(){return this._validSelected}set _selected(e){this._validSelected=e}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}select(e){let t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_registerInput(e){if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe(e=>this._selected=e)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Vn(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(pC,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}_openAsPopup(){const e=new dh(pC,this._viewContainerRef);this._destroyPopup(),this._createPopup();const t=this._popupComponentRef=this._popupRef.attach(e);t.instance.datepicker=this,t.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>{this._popupRef.updatePosition()})}_createPopup(){const e=new Th({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(sd.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(ki(e=>27===e.keyCode||this._datepickerInput&&e.altKey&&38===e.keyCode))).subscribe(e=>{e&&e.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Dw),n.Pb(qh),n.Pb(n.A),n.Pb(n.P),n.Pb(dC),n.Pb(Cl,8),n.Pb(Eo,8),n.Pb(a,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const _C={provide:Je,useExisting:Object(n.U)(()=>yC),multi:!0},bC={provide:ot,useExisting:Object(n.U)(()=>yC),multi:!0};class gC{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let yC=(()=>{class e{constructor(e,t,i,r){if(this._elementRef=e,this._dateAdapter=t,this._dateFormats=i,this._formField=r,this.dateChange=new n.o,this.dateInput=new n.o,this._valueChange=new n.o,this._disabledChange=new n.o,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=rr.a.EMPTY,this._localeSubscription=rr.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.min||!t||this._dateAdapter.compareDate(this.min,t)<=0?null:{matDatepickerMin:{min:this.min,actual:t}}},this._maxValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.max||!t||this._dateAdapter.compareDate(this.max,t)>=0?null:{matDatepickerMax:{max:this.max,actual:t}}},this._filterValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return this._dateFilter&&t&&!this._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=dt.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw Gw("DateAdapter");if(!this._dateFormats)throw Gw("MAT_DATE_FORMATS");this._localeSubscription=t.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(e){e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(e=>{this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new gC(this,this._elementRef.nativeElement)),this.dateChange.emit(new gC(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const t=yo(e),i=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&i.blur&&i.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let i=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!i||this._dateAdapter.isValid(i),i=this._getValidDateOrNull(i),this._dateAdapter.sameDate(i,this._value)?t!==this._lastValueValid&&this._validatorOnChange():(this._value=i,this._cvaOnChange(i),this._valueChange.emit(i),this.dateInput.emit(new gC(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new gC(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Cl,8),n.Pb(Sl,8),n.Pb(Mu,8))},e.\u0275dir=n.Kb({type:e,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&n.jc("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(n.ac("disabled",t.disabled),n.Db("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[n.Bb([_C,bC,{provide:Yu,useExisting:e}])]}),e})(),vC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),wC=(()=>{class e{constructor(e,t,i){this._intl=e,this._changeDetectorRef=t,this._stateChanges=rr.a.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=yo(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker._disabledChange:vi(),t=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:vi(),i=this.datepicker?Object(sd.a)(this.datepicker.openedStream,this.datepicker.closedStream):vi();this._stateChanges.unsubscribe(),this._stateChanges=Object(sd.a)(this._intl.changes,e,t,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Zw),n.Pb(n.h),n.gc("tabindex"))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,vC,!0),2&e&&n.zc(r=n.kc())&&(t._customIcon=r.first)},viewQuery:function(e,t){var i;1&e&&n.Sc(qw,!0),2&e&&n.zc(i=n.kc())&&(t._button=i.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&n.jc("focus",(function(){return t._button.focus()})),2&e&&(n.Db("tabindex",t.disabled?null:-1),n.Gb("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[n.Ab()],ngContentSelectors:Kw,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(n.rc(Jw),n.Wb(0,"button",0,1),n.jc("click",(function(e){return t._open(e)})),n.Ic(2,$w,2,0,"svg",2),n.qc(3),n.Vb()),2&e&&(n.sc("disabled",t.disabled)("disableRipple",t.disableRipple),n.Db("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),n.Cb(2),n.sc("ngIf",!t._customIcon))},directives:[Nd,P],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),CC=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Zw,uC],imports:[[U,qd,Iw,Xh,al,yh]]}),e})();const SC=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`],kC=["placeholder",$localize`:@@begin_time␟7a80b3ae74e5b4b36f40df7c340d4368218f470c␟401349900922345298:Begin Time (00:00:00)`],xC=["placeholder",$localize`:@@end_time␟075d55ffb39ffc39d2603a64038db31cb862575a␟7277844754494375521:End Time (23:59:59)`];var MC;function DC(e,t){if(1&e&&(n.Wb(0,"mat-option",25),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function LC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function TC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",26),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/log/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function EC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Time "),n.Vb())}function AC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.request_time)," ")}}function OC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Client IP "),n.Vb())}function PC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.client_ip," ")}}function IC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Method "),n.Vb())}function RC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.method," ")}}function jC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Host "),n.Vb())}function YC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.host," ")}}function VC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," URL Path "),n.Vb())}function WC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.url_path," ")}}function FC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Action "),n.Vb())}function HC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getPolicyActionEnumString(e.action)," ")}}function BC(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," PolicyID "),n.Vb())}function zC(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.policy_id," ")}}function NC(e,t){1&e&&n.Rb(0,"mat-header-row")}function UC(e,t){1&e&&n.Rb(0,"mat-row")}MC=$localize`:@@query_waf_logs␟c6bb66ee2e4b8eade4eb0cd8042ad508e19eba57␟5406286306501075317:Query WAF Logs`;const qC=function(){return[10,20,50]};let $C=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.router=t,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action","policy_id"]}ngOnInit(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.regexLogDataSource=new JC(this.rpcService),this.rpcService.lastRegexLogs.length>0&&(this.regexLogDataSource.loadLast(),this.app_id=this.rpcService.lastRegexLogs.app_id,this.start_date=this.rpcService.lastRegexLogs.start_date,this.end_date=this.rpcService.lastRegexLogs.end_date,this.pageLength=this.rpcService.lastRegexLogs.length,this.pageIndex=this.rpcService.lastRegexLogs.page_index)}else this.router.navigate(["/"])}getRegexLogsCount(e,t,i){let n={action:"get_regex_logs_count",app_id:e,start_time:t,end_time:i};var r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(n,(function(e){null!=e&&(r.paginator.length=e.count,r.regexLogDataSource.loadLogs(r.app_id,t,i,0,r.request_count),r.rpcService.lastRegexLogs.length=e.count)}))}queryRegexLogs(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getRegexLogsCount(this.app_id,e,t)}pageChanged(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.regexLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}getDate(e){return this.rpcService.getDateString(e)}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-logs"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Jf,!0),2&e&&n.zc(i=n.kc())&&(t.paginator=i.first)},decls:51,vars:17,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageIndex","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-form-field"),n.Wb(3,"mat-select",1),n.dc(4,SC),n.jc("ngModelChange",(function(e){return t.app_id=e})),n.Ic(5,DC,2,2,"mat-option",2),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",3),n.dc(8,kC),n.jc("ngModelChange",(function(e){return t.start_date=e})),n.Vb(),n.Rb(9,"mat-datepicker-toggle",4),n.Rb(10,"mat-datepicker",null,5),n.Vb(),n.Wb(12,"mat-form-field"),n.Wb(13,"input",3),n.dc(14,xC),n.jc("ngModelChange",(function(e){return t.end_date=e})),n.Vb(),n.Rb(15,"mat-datepicker-toggle",4),n.Rb(16,"mat-datepicker",null,6),n.Vb(),n.Wb(18,"button",7),n.jc("click",(function(){return t.queryRegexLogs()})),n.bc(19,MC),n.Vb(),n.Vb(),n.Wb(20,"div",8),n.Wb(21,"mat-table",9,10),n.Ub(23,11),n.Ic(24,LC,2,0,"mat-header-cell",12),n.Ic(25,TC,3,2,"mat-cell",13),n.Tb(),n.Ub(26,14),n.Ic(27,EC,2,0,"mat-header-cell",12),n.Ic(28,AC,2,1,"mat-cell",13),n.Tb(),n.Ub(29,15),n.Ic(30,OC,2,0,"mat-header-cell",12),n.Ic(31,PC,2,1,"mat-cell",13),n.Tb(),n.Ub(32,16),n.Ic(33,IC,2,0,"mat-header-cell",12),n.Ic(34,RC,2,1,"mat-cell",13),n.Tb(),n.Ub(35,17),n.Ic(36,jC,2,0,"mat-header-cell",12),n.Ic(37,YC,2,1,"mat-cell",13),n.Tb(),n.Ub(38,18),n.Ic(39,VC,2,0,"mat-header-cell",12),n.Ic(40,WC,2,1,"mat-cell",13),n.Tb(),n.Ub(41,19),n.Ic(42,FC,2,0,"mat-header-cell",12),n.Ic(43,HC,2,1,"mat-cell",13),n.Tb(),n.Ub(44,20),n.Ic(45,BC,2,0,"mat-header-cell",12),n.Ic(46,zC,2,1,"mat-cell",13),n.Tb(),n.Ic(47,NC,1,0,"mat-header-row",21),n.Ic(48,UC,1,0,"mat-row",22),n.Vb(),n.Wb(49,"mat-paginator",23,24),n.jc("page",(function(){return t.pageChanged()})),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.Ac(11),i=n.Ac(17);n.Cb(3),n.sc("ngModel",t.app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(2),n.sc("ngModel",t.start_date)("matDatepicker",e),n.Cb(2),n.sc("for",e),n.Cb(4),n.sc("ngModel",t.end_date)("matDatepicker",i),n.Cb(2),n.sc("for",i),n.Cb(6),n.sc("dataSource",t.regexLogDataSource),n.Cb(26),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.pageLength)("pageSize",20)("pageIndex",t.pageIndex)("pageSizeOptions",n.wc(16,qC))("showFirstLastButtons",!0)}},directives:[Mu,gf,st,ci,A,Bu,Qe,yC,wC,wu,mC,Nd,cd,pd,hd,dd,gd,vd,Jf,td,_d,bd,ka,Cd,kd],styles:[""]}),e})();class JC{constructor(e){this.rpcService=e,this.logsSubject=new cn([]),this.loadingSubject=new cn(!1),this.loading$=this.loadingSubject.asObservable()}connect(e){return this.logsSubject.asObservable()}disconnect(e){this.logsSubject.complete(),this.loadingSubject.complete()}loadLogs(e,t,i,n=0,r){this.loadingSubject.next(!0);var s=this;this.rpcService.getResponseByCustomBody({action:"get_regex_logs",app_id:e,start_time:t,end_time:i,request_count:r,offset:n*r},(function(r){null!=r&&(s.logsSubject.next(r),s.rpcService.lastRegexLogs.app_id=e,s.rpcService.lastRegexLogs.start_date=new Date(1e3*t),s.rpcService.lastRegexLogs.end_date=new Date(1e3*(i-1)),s.rpcService.lastRegexLogs.page_index=n,s.rpcService.lastRegexLogs.regex_logs=r)}))}loadLast(){this.logsSubject.next(this.rpcService.lastRegexLogs.regex_logs)}}var KC,GC;function ZC(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,KC),n.Vb(),n.Wb(4,"mat-form-field"),n.Rb(5,"input",2),n.Vb(),n.Wb(6,"mat-form-field"),n.Rb(7,"input",3),n.Vb(),n.Wb(8,"mat-form-field"),n.Rb(9,"input",4),n.Vb(),n.Wb(10,"mat-form-field"),n.Rb(11,"input",5),n.Vb(),n.Wb(12,"mat-form-field"),n.Rb(13,"input",6),n.Vb(),n.Wb(14,"mat-form-field"),n.Rb(15,"input",7),n.Vb(),n.Wb(16,"mat-form-field"),n.Rb(17,"input",8),n.Vb(),n.Wb(18,"mat-form-field"),n.Rb(19,"textarea",9),n.Vb(),n.Wb(20,"mat-form-field"),n.Rb(21,"input",10),n.Vb(),n.Wb(22,"mat-form-field"),n.Rb(23,"textarea",11),n.Vb(),n.Wb(24,"mat-form-field"),n.Rb(25,"input",12),n.Vb(),n.Wb(26,"section"),n.Wb(27,"label"),n.Jc(28,"Policy"),n.Vb(),n.Wb(29,"a",13),n.Jc(30),n.Vb(),n.Vb(),n.Rb(31,"section"),n.Rb(32,"div"),n.Wb(33,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().goBack()})),n.bc(34,GC),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.sc("value",e.getDate(e.log.request_time)),n.Cb(2),n.sc("value",e.log.client_ip),n.Cb(2),n.sc("value",e.log.host),n.Cb(2),n.sc("value",e.log.method),n.Cb(2),n.sc("value",e.log.url_path),n.Cb(2),n.sc("value",e.log.url_query),n.Cb(2),n.sc("value",e.log.content_type),n.Cb(2),n.sc("value",e.log.user_agent),n.Cb(2),n.sc("value",e.log.cookies),n.Cb(2),n.sc("value",e.log.raw_request),n.Cb(2),n.sc("value",e.getPolicyActionEnumString(e.log.action)),n.Cb(4),n.uc("routerLink","/policy/",e.log.policy_id,""),n.Cb(1),n.Kc(e.log.policy_id)}}KC=$localize`:@@log_details␟6fae13efb6ab03e34f34fccd5f7d443c9b8c6623␟9120384987646329152:Log Details`,GC=$localize`:@@go_back␟3e6937fdbde4da7f8c6866d56182945437e2629e␟2960246622843217026:Go Back`;let XC=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.location=r}ngOnInit(){const e=this.route.snapshot.paramMap.get("id");var t=this;this.rpcService.getResponse("get_regex_log",(function(e){null!=e&&(t.log=e)}),e)}getDate(e){return this.rpcService.getDateString(e)}goBack(){this.location.back()}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(w))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-log-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],[3,"routerLink"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&n.Ic(0,ZC,35,13,"div",0),2&e&&n.sc("ngIf",t.log)},directives:[P,Mu,Bu,ka,Nd],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();const QC=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`],eS=["placeholder",$localize`:@@begin_time␟7a80b3ae74e5b4b36f40df7c340d4368218f470c␟401349900922345298:Begin Time (00:00:00)`],tS=["placeholder",$localize`:@@end_time␟075d55ffb39ffc39d2603a64038db31cb862575a␟7277844754494375521:End Time (23:59:59)`];var iS;function nS(e,t){if(1&e&&(n.Wb(0,"mat-option",25),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function rS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function sS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",26),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/cclog/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function aS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Time "),n.Vb())}function oS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getDate(e.request_time)," ")}}function cS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Client IP "),n.Vb())}function lS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.client_ip," ")}}function dS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Method "),n.Vb())}function uS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.method," ")}}function hS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Host "),n.Vb())}function fS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.host," ")}}function pS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," URL Path "),n.Vb())}function mS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.url_path," ")}}function _S(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," Action "),n.Vb())}function bS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(1),n.Lc(" ",i.getPolicyActionEnumString(e.action)," ")}}function gS(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," PolicyID "),n.Vb())}function yS(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.policy_id," ")}}function vS(e,t){1&e&&n.Rb(0,"mat-header-row")}function wS(e,t){1&e&&n.Rb(0,"mat-row")}iS=$localize`:@@query_cc_logs␟b096438669f2e42694b784dfeac680f3c4ef8b8d␟1240629564821051165:Query CC Logs`;const CS=function(){return[10,20,50]};let SS=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.router=t,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action"]}ngOnInit(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.ccLogDataSource=new kS(this.rpcService),this.rpcService.lastCCLogs.length>0&&(this.ccLogDataSource.loadLast(),this.app_id=this.rpcService.lastCCLogs.app_id,this.start_date=this.rpcService.lastCCLogs.start_date,this.end_date=this.rpcService.lastCCLogs.end_date,this.paginator.length=this.rpcService.lastCCLogs.length,this.paginator.pageIndex=this.rpcService.lastCCLogs.page_index)}else this.router.navigate(["/"])}getCCLogsCount(e,t,i){let n={action:"get_cc_logs_count",app_id:e,start_time:t,end_time:i};var r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(n,(function(e){null!=e&&(r.paginator.length=e.count,r.ccLogDataSource.loadLogs(r.app_id,t,i,0,r.request_count),r.rpcService.lastCCLogs.length=e.count)}))}queryCCLogs(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getCCLogsCount(this.app_id,e,t)}pageChanged(){let e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.ccLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}getDate(e){return this.rpcService.getDateString(e)}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-cclogs"]],viewQuery:function(e,t){var i;1&e&&n.Sc(Jf,!0),2&e&&n.zc(i=n.kc())&&(t.paginator=i.first)},decls:51,vars:15,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-form-field"),n.Wb(3,"mat-select",1),n.dc(4,QC),n.jc("ngModelChange",(function(e){return t.app_id=e})),n.Ic(5,nS,2,2,"mat-option",2),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",3),n.dc(8,eS),n.jc("ngModelChange",(function(e){return t.start_date=e})),n.Vb(),n.Rb(9,"mat-datepicker-toggle",4),n.Rb(10,"mat-datepicker",null,5),n.Vb(),n.Wb(12,"mat-form-field"),n.Wb(13,"input",3),n.dc(14,tS),n.jc("ngModelChange",(function(e){return t.end_date=e})),n.Vb(),n.Rb(15,"mat-datepicker-toggle",4),n.Rb(16,"mat-datepicker",null,6),n.Vb(),n.Wb(18,"button",7),n.jc("click",(function(){return t.queryCCLogs()})),n.bc(19,iS),n.Vb(),n.Vb(),n.Wb(20,"div",8),n.Wb(21,"mat-table",9,10),n.Ub(23,11),n.Ic(24,rS,2,0,"mat-header-cell",12),n.Ic(25,sS,3,2,"mat-cell",13),n.Tb(),n.Ub(26,14),n.Ic(27,aS,2,0,"mat-header-cell",12),n.Ic(28,oS,2,1,"mat-cell",13),n.Tb(),n.Ub(29,15),n.Ic(30,cS,2,0,"mat-header-cell",12),n.Ic(31,lS,2,1,"mat-cell",13),n.Tb(),n.Ub(32,16),n.Ic(33,dS,2,0,"mat-header-cell",12),n.Ic(34,uS,2,1,"mat-cell",13),n.Tb(),n.Ub(35,17),n.Ic(36,hS,2,0,"mat-header-cell",12),n.Ic(37,fS,2,1,"mat-cell",13),n.Tb(),n.Ub(38,18),n.Ic(39,pS,2,0,"mat-header-cell",12),n.Ic(40,mS,2,1,"mat-cell",13),n.Tb(),n.Ub(41,19),n.Ic(42,_S,2,0,"mat-header-cell",12),n.Ic(43,bS,2,1,"mat-cell",13),n.Tb(),n.Ub(44,20),n.Ic(45,gS,2,0,"mat-header-cell",12),n.Ic(46,yS,2,1,"mat-cell",13),n.Tb(),n.Ic(47,vS,1,0,"mat-header-row",21),n.Ic(48,wS,1,0,"mat-row",22),n.Vb(),n.Wb(49,"mat-paginator",23,24),n.jc("page",(function(){return t.pageChanged()})),n.Vb(),n.Vb(),n.Vb()),2&e){const e=n.Ac(11),i=n.Ac(17);n.Cb(3),n.sc("ngModel",t.app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(2),n.sc("ngModel",t.start_date)("matDatepicker",e),n.Cb(2),n.sc("for",e),n.Cb(4),n.sc("ngModel",t.end_date)("matDatepicker",i),n.Cb(2),n.sc("for",i),n.Cb(6),n.sc("dataSource",t.ccLogDataSource),n.Cb(26),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("pageSize",20)("pageSizeOptions",n.wc(14,CS))("showFirstLastButtons",!0)}},directives:[Mu,gf,st,ci,A,Bu,Qe,yC,wC,wu,mC,Nd,cd,pd,hd,dd,gd,vd,Jf,td,_d,bd,ka,Cd,kd],styles:[""]}),e})();class kS{constructor(e){this.rpcService=e,this.logsSubject=new cn([]),this.loadingSubject=new cn(!1),this.loading$=this.loadingSubject.asObservable()}connect(e){return this.logsSubject.asObservable()}disconnect(e){this.logsSubject.complete(),this.loadingSubject.complete()}loadLogs(e,t,i,n=0,r){this.loadingSubject.next(!0);var s=this;this.rpcService.getResponseByCustomBody({action:"get_cc_logs",app_id:e,start_time:t,end_time:i,request_count:r,offset:n*r},(function(r){null!=r&&(s.logsSubject.next(r),s.rpcService.lastCCLogs.app_id=e,s.rpcService.lastCCLogs.start_date=new Date(1e3*t),s.rpcService.lastCCLogs.end_date=new Date(1e3*(i-1)),s.rpcService.lastCCLogs.page_index=n,s.rpcService.lastCCLogs.cc_logs=r)}))}loadLast(){this.logsSubject.next(this.rpcService.lastCCLogs.cc_logs)}}var xS,MS;function DS(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"h2"),n.bc(3,xS),n.Vb(),n.Wb(4,"mat-form-field"),n.Rb(5,"input",2),n.Vb(),n.Wb(6,"mat-form-field"),n.Rb(7,"input",3),n.Vb(),n.Wb(8,"mat-form-field"),n.Rb(9,"input",4),n.Vb(),n.Wb(10,"mat-form-field"),n.Rb(11,"input",5),n.Vb(),n.Wb(12,"mat-form-field"),n.Rb(13,"input",6),n.Vb(),n.Wb(14,"mat-form-field"),n.Rb(15,"input",7),n.Vb(),n.Wb(16,"mat-form-field"),n.Rb(17,"input",8),n.Vb(),n.Wb(18,"mat-form-field"),n.Rb(19,"textarea",9),n.Vb(),n.Wb(20,"mat-form-field"),n.Rb(21,"input",10),n.Vb(),n.Wb(22,"mat-form-field"),n.Rb(23,"textarea",11),n.Vb(),n.Wb(24,"mat-form-field"),n.Rb(25,"input",12),n.Vb(),n.Rb(26,"section"),n.Rb(27,"div"),n.Wb(28,"button",13),n.jc("click",(function(){return n.Cc(e),n.nc().goBack()})),n.bc(29,MS),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.sc("value",e.getDate(e.log.request_time)),n.Cb(2),n.sc("value",e.log.client_ip),n.Cb(2),n.sc("value",e.log.host),n.Cb(2),n.sc("value",e.log.method),n.Cb(2),n.sc("value",e.log.url_path),n.Cb(2),n.sc("value",e.log.url_query),n.Cb(2),n.sc("value",e.log.content_type),n.Cb(2),n.sc("value",e.log.user_agent),n.Cb(2),n.sc("value",e.log.cookies),n.Cb(2),n.sc("value",e.log.raw_request),n.Cb(2),n.sc("value",e.getPolicyActionEnumString(e.log.action))}}xS=$localize`:@@cc_log_details␟1e017fb27295acc12ebb9688787b504cc47e8f3a␟2111462504113166168:CC Log Details`,MS=$localize`:@@go_back␟3e6937fdbde4da7f8c6866d56182945437e2629e␟2960246622843217026:Go Back`;let LS=(()=>{class e{constructor(e,t,i,n,r){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.location=r}ngOnInit(){const e=this.route.snapshot.paramMap.get("id");var t=this;this.rpcService.getResponse("get_cc_log",(function(e){null!=e&&(t.log=e)}),e)}getDate(e){return this.rpcService.getDateString(e)}goBack(){this.location.back()}getPolicyActionEnumString(e){return ro[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o),n.Pb(w))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-cclog-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&n.Ic(0,DS,30,11,"div",0),2&e&&n.sc("ngIf",t.log)},directives:[P,Mu,Bu,Nd],styles:[".container[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace}"]}),e})();function TS(e,t){1&e&&n.qc(0)}const ES=["*"];function AS(e,t){}const OS=function(e){return{animationDuration:e}},PS=function(e,t){return{value:e,params:t}},IS=["tabBodyWrapper"],RS=["tabHeader"];function jS(e,t){}function YS(e,t){if(1&e&&n.Ic(0,jS,0,0,"ng-template",9),2&e){const e=n.nc().$implicit;n.sc("cdkPortalOutlet",e.templateLabel)}}function VS(e,t){if(1&e&&n.Jc(0),2&e){const e=n.nc().$implicit;n.Kc(e.textLabel)}}function WS(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",6),n.jc("click",(function(){n.Cc(e);const i=t.$implicit,r=t.index,s=n.nc(),a=n.Ac(1);return s._handleClick(i,a,r)})),n.Wb(1,"div",7),n.Ic(2,YS,1,1,"ng-template",8),n.Ic(3,VS,1,1,"ng-template",8),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc();n.Gb("mat-tab-label-active",r.selectedIndex==i),n.sc("id",r._getTabLabelId(i))("disabled",e.disabled)("matRippleDisabled",e.disabled||r.disableRipple),n.Db("tabIndex",r._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),n.Cb(2),n.sc("ngIf",e.templateLabel),n.Cb(1),n.sc("ngIf",!e.templateLabel)}}function FS(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-tab-body",10),n.jc("_onCentered",(function(){return n.Cc(e),n.nc()._removeTabBodyWrapperHeight()}))("_onCentering",(function(t){return n.Cc(e),n.nc()._setTabBodyWrapperHeight(t)})),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc();n.Gb("mat-tab-body-active",r.selectedIndex==i),n.sc("id",r._getTabContentId(i))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration),n.Db("aria-labelledby",r._getTabLabelId(i))}}const HS=["tabListContainer"],BS=["tabList"],zS=["nextPaginator"],NS=["previousPaginator"],US=new n.r("MatInkBarPositioner",{providedIn:"root",factory:function(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});let qS=(()=>{class e{constructor(e,t,i,n){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=i,this._animationMode=n}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),i=this._elementRef.nativeElement;i.style.left=t.left,i.style.width=t.width}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(US),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e})(),$S=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTabContent",""]]}),e})(),JS=(()=>{class e extends mh{}return e.\u0275fac=function(t){return KS(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[n.zb]}),e})();const KS=n.Zb(JS);class GS{}const ZS=ml(GS),XS=new n.r("MAT_TAB_GROUP");let QS=(()=>{class e extends ZS{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new an.a,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){e&&(this._templateLabel=e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new uh(this._explicitContent||this._implicitContent,this._viewContainerRef)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.P),n.Pb(XS,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,JS,!0),n.Fc(i,$S,!0,n.M)),2&e&&(n.zc(r=n.kc())&&(t.templateLabel=r.first),n.zc(r=n.kc())&&(t._explicitContent=r.first))},viewQuery:function(e,t){var i;1&e&&n.Gc(n.M,!0),2&e&&n.zc(i=n.kc())&&(t._implicitContent=i.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[n.zb,n.Ab()],ngContentSelectors:ES,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.Ic(0,TS,1,0,"ng-template"))},encapsulation:2}),e})();const ek={translateTab:Object(De.n)("translateTab",[Object(De.k)("center, void, left-origin-center, right-origin-center",Object(De.l)({transform:"none"})),Object(De.k)("left",Object(De.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(De.k)("right",Object(De.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(De.m)("* => left, * => right, left => center, right => center",Object(De.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(De.m)("void => left-origin-center",[Object(De.l)({transform:"translate3d(-100%, 0, 0)"}),Object(De.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(De.m)("void => right-origin-center",[Object(De.l)({transform:"translate3d(100%, 0, 0)"}),Object(De.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let tk=(()=>{class e extends _h{constructor(e,t,i,n){super(e,t,n),this._host=i,this._centeringSub=rr.a.EMPTY,this._leavingSub=rr.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Jn(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.j),n.Pb(n.P),n.Pb(Object(n.U)(()=>nk)),n.Pb(a))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTabBodyHost",""]],features:[n.zb]}),e})(),ik=(()=>{class e{constructor(e,t,i){this._elementRef=e,this._dir=t,this._dirChangeSubscription=rr.a.EMPTY,this._translateTabComplete=new an.a,this._onCentering=new n.o,this._beforeCentering=new n.o,this._afterLeavingCenter=new n.o,this._onCentered=new n.o(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(e=>{this._computePositionAnimationState(e),i.markForCheck()})),this._translateTabComplete.pipe(Xu((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Eo,8),n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e})(),nk=(()=>{class e extends ik{constructor(e,t,i){super(e,t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Eo,8),n.Pb(n.h))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var i;1&e&&n.Sc(bh,!0),2&e&&n.zc(i=n.kc())&&(t._portalHost=i.first)},hostAttrs:[1,"mat-tab-body"],features:[n.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(n.Wb(0,"div",0,1),n.jc("@translateTab.start",(function(e){return t._onTranslateTabStarted(e)}))("@translateTab.done",(function(e){return t._translateTabComplete.next(e)})),n.Ic(2,AS,0,0,"ng-template",2),n.Vb()),2&e&&n.sc("@translateTab",n.yc(3,PS,t._position,n.xc(1,OS,t.animationDuration)))},directives:[tk],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[ek.translateTab]}}),e})();const rk=new n.r("MAT_TABS_CONFIG");let sk=0;class ak{}class ok{constructor(e){this._elementRef=e}}const ck=_l(bl(ok),"primary");let lk=(()=>{class e extends ck{constructor(e,t,i,r){super(e),this._changeDetectorRef=t,this._animationMode=r,this._tabs=new n.E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=rr.a.EMPTY,this._tabLabelSubscription=rr.a.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new n.o,this.focusChange=new n.o,this.animationDone=new n.o,this.selectedTabChange=new n.o(!0),this._groupId=sk++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=yo(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=vo(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;t||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(()=>{this._tabs.forEach((t,i)=>t.isActive=i===e),t||this.selectedIndexChange.emit(e)})}this._tabs.forEach((t,i)=>{t.position=i-e,null==this._selectedIndex||0!=t.position||t.origin||(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const e=this._tabs.toArray();for(let t=0;t{this._tabs.reset(e.filter(e=>!e._closestTabGroup||e._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new ak;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(sd.a)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,i){e.disabled||(this.selectedIndex=t.focusIndex=i)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(rk,8),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[n.zb]}),e})(),dk=(()=>{class e extends lk{constructor(e,t,i,n){super(e,t,i,n)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(rk,8),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab-group"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,QS,!0),2&e&&n.zc(r=n.kc())&&(t._allTabs=r)},viewQuery:function(e,t){var i;1&e&&(n.Sc(IS,!0),n.Sc(RS,!0)),2&e&&(n.zc(i=n.kc())&&(t._tabBodyWrapper=i.first),n.zc(i=n.kc())&&(t._tabHeader=i.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[n.Bb([{provide:XS,useExisting:e}]),n.zb],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(n.Wb(0,"mat-tab-header",0,1),n.jc("indexFocused",(function(e){return t._focusChanged(e)}))("selectFocusedIndex",(function(e){return t.selectedIndex=e})),n.Ic(2,WS,4,14,"div",2),n.Vb(),n.Wb(3,"div",3,4),n.Ic(5,FS,1,8,"mat-tab-body",5),n.Vb()),2&e&&(n.sc("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),n.Cb(2),n.sc("ngForOf",t._tabs),n.Cb(1),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode),n.Cb(2),n.sc("ngForOf",t._tabs))},directives:function(){return[bk,A,fk,zl,nl,P,_h,nk]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e})();class uk{}const hk=ml(uk);let fk=(()=>{class e extends hk{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l))},e.\u0275dir=n.Kb({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(n.Db("aria-disabled",!!t.disabled),n.Gb("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[n.zb]}),e})();const pk=Wo({passive:!0});let mk=(()=>{class e{constructor(e,t,i,r,s,a,o){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=i,this._dir=r,this._ngZone=s,this._platform=a,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new an.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new an.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new n.o,this.indexFocused=new n.o,s.runOutsideAngular(()=>{$d(e.nativeElement,"mouseleave").pipe(Ho(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=vo(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){$d(this._previousPaginator.nativeElement,"touchstart",pk).pipe(Ho(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),$d(this._nextPaginator.nativeElement,"touchstart",pk).pipe(Ho(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:vi(null),t=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Nc(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),Object(sd.a)(e,t,this._items.changes).pipe(Ho(this._destroyed)).subscribe(()=>{i(),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Ho(this._destroyed)).subscribe(e=>{this.indexFocused.emit(e),this._setTabFocus(e)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Sc(e))switch(e.keyCode){case 36:this._keyManager.setFirstItemActive(),e.preventDefault();break;case 35:this._keyManager.setLastItemActive(),e.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e);break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement,i=this._getLayoutDirection();t.scrollLeft="ltr"==i?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t=this._platform,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:r}=t.elementRef.nativeElement;let s,a;"ltr"==this._getLayoutDirection()?(s=n,a=s+r):(a=this._tabList.nativeElement.offsetWidth-n,s=a-r);const o=this.scrollDistance,c=this.scrollDistance+i;sc&&(this.scrollDistance+=a-c+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),Au(650,100).pipe(Ho(Object(sd.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:t,distance:i}=this._scrollHeader(e);(0===i||i>=t)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ah),n.Pb(Eo,8),n.Pb(n.A),n.Pb(Po),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),_k=(()=>{class e extends mk{constructor(e,t,i,n,r,s,a){super(e,t,i,n,r,s,a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=yo(e)}_itemSelected(e){e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ah),n.Pb(Eo,8),n.Pb(n.A),n.Pb(Po),n.Pb(Ye,8))},e.\u0275dir=n.Kb({type:e,inputs:{disableRipple:"disableRipple"},features:[n.zb]}),e})(),bk=(()=>{class e extends _k{constructor(e,t,i,n,r,s,a){super(e,t,i,n,r,s,a)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.h),n.Pb(ah),n.Pb(Eo,8),n.Pb(n.A),n.Pb(Po),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,fk,!1),2&e&&n.zc(r=n.kc())&&(t._items=r)},viewQuery:function(e,t){var i;1&e&&(n.Gc(qS,!0),n.Gc(HS,!0),n.Gc(BS,!0),n.Sc(zS,!0),n.Sc(NS,!0)),2&e&&(n.zc(i=n.kc())&&(t._inkBar=i.first),n.zc(i=n.kc())&&(t._tabListContainer=i.first),n.zc(i=n.kc())&&(t._tabList=i.first),n.zc(i=n.kc())&&(t._nextPaginator=i.first),n.zc(i=n.kc())&&(t._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[n.zb],ngContentSelectors:ES,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0,1),n.jc("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),n.Rb(2,"div",2),n.Vb(),n.Wb(3,"div",3,4),n.jc("keydown",(function(e){return t._handleKeydown(e)})),n.Wb(5,"div",5,6),n.jc("cdkObserveContent",(function(){return t._onContentChanges()})),n.Wb(7,"div",7),n.qc(8),n.Vb(),n.Rb(9,"mat-ink-bar"),n.Vb(),n.Vb(),n.Wb(10,"div",8,9),n.jc("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),n.Rb(12,"div",2),n.Vb()),2&e&&(n.Gb("mat-tab-header-pagination-disabled",t._disableScrollBefore),n.sc("matRippleDisabled",t._disableScrollBefore||t.disableRipple),n.Cb(5),n.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode),n.Cb(5),n.Gb("mat-tab-header-pagination-disabled",t._disableScrollAfter),n.sc("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[zl,Rc,qS],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e})(),gk=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl,yh,Nl,jc,al],pl]}),e})();const yk=["label",$localize`:@@security_auth␟ed72606056198896f46c65d0dbbe854d04f3de47␟8966698274727122602:Authentication`];var vk,wk;vk=$localize`:@@authenticator_enabled␟37790ea4efd9c7d87957a872ac4015c9eece3458␟1582371579996458286: Enable Authenticator (2-factor Authentication) for Gateway Management `,wk=$localize`:@@auth_enabled␟ba614120ed4b34e656777738ecda68c641d7e284␟8157486757764332727: Enable Single Sign On Authentication for Applications `;const Ck=["placeholder",$localize`:@@auth_provider␟6f02b16e074b7342981c93fcbd0c96c001c9db21␟7732709167286392666:Authentication Provider`];var Sk;Sk=$localize`:@@auth_provider_note␟cf568461d1b7c6c9da68460df401154c0694be15␟6013422074948837968: Note: Janusec on replica nodes need to be restarted if authentication provider changed. `;const kk=["label",$localize`:@@access_control␟5c6045daf544bdad844619af3fdcc0565555a1dd␟3594232496989819559:Access Control`];var xk,Mk,Dk,Lk,Tk,Ek,Ak,Ok,Pk;xk=$localize`:@@security_operation␟97fddb9e33f8b9e959568d8b26e749a4f2916d32␟3154101219665998296: Security Operation `,Mk=$localize`:@@webssh_enabled␟7ab07613d328eb7ca594a2d9d9cc4cd5d22d477e␟8262421472820038708: Enable Web-based SSH `,Dk=$localize`:@@seo_five_second_shield␟925698af8fe62fa69e71631c99caca4547c452c9␟342812371113703753:SEO and 5-second Shield`,Lk=$localize`:@@skip_se_enabled␟94e0d6f7b52478d2ea92597e59ea22f212f8aa4e␟943867907043347408: Allow search engines bypass 5-second shield. `,Tk=$localize`:@@search_engine_label␟421c69699ace2672ed11c3d4c5846397b5e9d16d␟8733801051348973968: Search Engines (not empty, case insensitive, seperated by | ) `,Ek=$localize`:@@five_second_shield_note␟8c4395de180cc70ce781050e668731ad3eee7762␟3241719635124552319: Note: When the 5-second shield is enabled for an application, it will affect SEO. You can set it to not block the search engines listed above (User-Agent). `,Ak=$localize`:@@custom_shield_html␟ad8a3cb8520a1035294809d9093ee232ed1ed962␟1604583272998190667:Custom 5-Shield HTML`,Ok=$localize`:@@shield_notice␟c5ed595f26075c6efdefaa31cebc9976434d383f␟7183550911754313685: Please do not modify the content in the above script. `,Pk=$localize`:@@custom_block_html␟343cc2b2487f9d2ab1e886c87b1d51043359cbf2␟743290849909577489:Custom WAF Block Content (HTML)`;const Ik=["label",$localize`:@@security_audit␟62f734ba974fd7e3fec3a6f4793a9696ce9e3f76␟5162040759776173662:Security Audit`],Rk=["placeholder",$localize`:@@waf_log_days␟3838d845a20449d0a8ff267219ad36ee1397ad79␟2485014493910251443:WAF Log Days`],jk=["placeholder",$localize`:@@cc_log_days␟2c213ab954959907e9a82eda40149065588ea58c␟8985708287306942071:CC Log Days`],Yk=["placeholder",$localize`:@@access_log_days␟8d0d70a0a748128d3b08b8518e0a8e4fd1522844␟607882647415630545:Access Log Days`],Vk=["label",$localize`:@@data_discovery␟b5e5fe40e652b17ba42055c924c59227e7013f5c␟4813722285684291098:Data Discovery`];var Wk,Fk,Hk,Bk;Wk=$localize`:@@enable_json_data_discovery␟dc509034970937d260591d54e23b5865310a1283␟6050811728770475351: Enable JSON Data Discovery (Only for WAF-enabled applications) `,Fk=$localize`:@@api_key␟258c041e93862316871096965e2d70579282fb1a␟8517109745758603034:API Key`,Hk=$localize`:@@manage_discovery_rules␟f230157c7e25dba7cac3563351337a5480971d3a␟4222471587241201690:Manage Discovery Rules`,Bk=$localize`:@@data_discovery_note␟663d8f4bd538c1248a3a7a3dcc43e0a2d24c6d02␟4902964772601694392: Note: Data discovery function module is integrated with JANUCAT (Compliance, Accountability and Transparency). `;const zk=["label",$localize`:@@email_notification␟4cebe31487853c9ec37b37605422941d9a343925␟3874237384974489918:Email Notification`];var Nk,Uk,qk,$k,Jk,Kk,Gk;Nk=$localize`:@@smtp_enabled␟4b0532a01c00ac2710f8a6d6e22c5d210445ec4b␟8104588569335395033: Enable SMTP Notification (certificate expire, server offline etc.) `,Uk=$localize`:@@smtp_server␟905882c0fe09eee755ee6730ecf10e3b85cb6d9c␟2188854519574316630:Server`,qk=$localize`:@@smtp_port␟b11ead88a8deb9cc9e1b8ba2decfaebf9eeeef2e␟1380824593217409510:Port (25, 587, 465)`,$k=$localize`:@@smtp_account␟4f711ab3889d50858db6b500b8f2106cb0611ab1␟5193620171962741987:Account (Sender's Email)`,Jk=$localize`:@@smtp_password␟8823373206ad3bce7b3139e2f6ad18c7ae5dd821␟4336953366599045226:Password (Access Token)`,Kk=$localize`:@@test_smtp␟68293cafb4cb89cbb236befb5a2836f4166df415␟6547422491485399366:Test SMTP`,Gk=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`;const Zk=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function Xk(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,Zk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.display_name)("readonly",e.readOnlyValue)}}const Qk=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function ex(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,Qk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.callback)("readonly",e.readOnlyValue)}}function tx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",24),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.corpid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.corpid)("readonly",e.readOnlyValue)}}function ix(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",25),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.agentid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.agentid)("readonly",e.readOnlyValue)}}function nx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",26),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).wxworkConfig.corpsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.wxworkConfig.corpsecret)("readonly",e.readOnlyValue)}}const rx=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function sx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,rx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.display_name)("readonly",e.readOnlyValue)}}const ax=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function ox(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,ax),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.callback)("readonly",e.readOnlyValue)}}function cx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",27),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.appid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.appid)("readonly",e.readOnlyValue)}}function lx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",28),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).dingtalkConfig.appsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.dingtalkConfig.appsecret)("readonly",e.readOnlyValue)}}const dx=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function ux(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,dx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.display_name)("readonly",e.readOnlyValue)}}const hx=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function fx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,hx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.callback)("readonly",e.readOnlyValue)}}function px(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",27),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.appid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.appid)("readonly",e.readOnlyValue)}}function mx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",28),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).feishuConfig.appsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.feishuConfig.appsecret)("readonly",e.readOnlyValue)}}const _x=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function bx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,_x),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.display_name)("readonly",e.readOnlyValue)}}const gx=["placeholder",$localize`:@@callback␟7643bd6ebf5ecf0680125ad2cede441acb4c9a5f␟7020686074831638682:Callback`];function yx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,gx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.callback)("readonly",e.readOnlyValue)}}function vx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",27),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.appid=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.appid)("readonly",e.readOnlyValue)}}function wx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",28),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).larkConfig.appsecret=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.larkConfig.appsecret)("readonly",e.readOnlyValue)}}const Cx=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function Sx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,Cx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.display_name)("readonly",e.readOnlyValue)}}function kx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",29),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.entrance=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.entrance)("readonly",e.readOnlyValue)}}function xx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",30),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.address=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.address)("readonly",e.readOnlyValue)}}function Mx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",31),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.dn=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.dn)("readonly",e.readOnlyValue)}}var Dx,Lx,Tx;function Ex(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.bind_required=t})),n.bc(2,Dx),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.bind_required)("disabled",e.readOnlyValue)}}function Ax(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",32),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.base_dn=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.base_dn)("readonly",e.readOnlyValue)}}function Ox(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"mat-label"),n.Jc(2,"Bind Username"),n.Vb(),n.Wb(3,"input",33),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.bind_username=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(3),n.sc("ngModel",e.ldapConfig.bind_username)("readonly",e.readOnlyValue)}}function Px(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"mat-label"),n.Jc(2,"Bind Password"),n.Vb(),n.Wb(3,"input",34),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.bind_password=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(3),n.sc("ngModel",e.ldapConfig.bind_password)("readonly",e.readOnlyValue)}}function Ix(e,t){1&e&&n.Rb(0,"mat-divider")}function Rx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.using_tls=t})),n.bc(2,Lx),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.using_tls)("disabled",e.readOnlyValue)}}function jx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"section"),n.Wb(1,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).ldapConfig.authenticator_enabled=t})),n.bc(2,Tx),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.ldapConfig.authenticator_enabled)("disabled",e.readOnlyValue)}}Dx=$localize`:@@bind_required␟36618dd9897fd792847976ff329e12f78dba3d52␟8177872427518750679: BindDN required (for Active Directory) `,Lx=$localize`:@@using_tls␟58e061b8f08210a594c451b4bbe12a91e501354d␟3436250795514999249: Using TLS Encryption `,Tx=$localize`:@@enable_authenticator␟a25c22ba34edd2156be5bae1588f221819070ea7␟358761306182775508: Enable Authenticator `;const Yx=["placeholder",$localize`:@@display_name␟e438ba78cbafdb5bcbce0820bfaad995a504f222␟3013055597615607317:Display Name`];function Vx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,Yx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).cas2Config.display_name=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.cas2Config.display_name)("readonly",e.readOnlyValue)}}function Wx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",29),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).cas2Config.entrance=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.cas2Config.entrance)("readonly",e.readOnlyValue)}}const Fx=["placeholder",$localize`:@@callback␟241d2d966382d34746dab5ea75bac39b86cbc376␟8861286084756285841:callback`];function Hx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-form-field"),n.Wb(1,"input",23),n.dc(2,Fx),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc(2).cas2Config.callback=t})),n.Vb(),n.Vb()}if(2&e){const e=n.nc(2);n.Cb(1),n.sc("ngModel",e.cas2Config.callback)("readonly",e.readOnlyValue)}}function Bx(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"mat-tab-group"),n.Wb(2,"mat-tab",1),n.dc(3,yk),n.Wb(4,"div",2),n.Wb(5,"section"),n.Wb(6,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.authenticator_enabled=t})),n.bc(7,vk),n.Vb(),n.Vb(),n.Wb(8,"section"),n.Wb(9,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.auth_enabled=t})),n.bc(10,wk),n.Vb(),n.Vb(),n.Rb(11,"br"),n.Wb(12,"mat-form-field"),n.Wb(13,"mat-select",4),n.dc(14,Ck),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.auth_provider=t}))("selectionChange",(function(){n.Cc(e);const t=n.nc();return t.loadAuthProvider(t.settings.auth_provider)})),n.Wb(15,"mat-option",5),n.Jc(16,"WxWork\uff08\u4f01\u4e1a\u5fae\u4fe1\u626b\u7801\uff09"),n.Vb(),n.Wb(17,"mat-option",6),n.Jc(18,"DingTalk\uff08\u9489\u9489\u626b\u7801\uff09"),n.Vb(),n.Wb(19,"mat-option",7),n.Jc(20,"Feishu\uff08\u98de\u4e66\u626b\u7801\uff09"),n.Vb(),n.Wb(21,"mat-option",8),n.Jc(22,"Lark\uff08Lark\u626b\u7801\uff09"),n.Vb(),n.Wb(23,"mat-option",9),n.Jc(24,"LDAP"),n.Vb(),n.Wb(25,"mat-option",10),n.Jc(26,"CAS 2.0 Protocol"),n.Vb(),n.Vb(),n.Vb(),n.Ic(27,Xk,3,2,"mat-form-field",0),n.Ic(28,ex,3,2,"mat-form-field",0),n.Ic(29,tx,2,2,"mat-form-field",0),n.Ic(30,ix,2,2,"mat-form-field",0),n.Ic(31,nx,2,2,"mat-form-field",0),n.Ic(32,sx,3,2,"mat-form-field",0),n.Ic(33,ox,3,2,"mat-form-field",0),n.Ic(34,cx,2,2,"mat-form-field",0),n.Ic(35,lx,2,2,"mat-form-field",0),n.Ic(36,ux,3,2,"mat-form-field",0),n.Ic(37,fx,3,2,"mat-form-field",0),n.Ic(38,px,2,2,"mat-form-field",0),n.Ic(39,mx,2,2,"mat-form-field",0),n.Ic(40,bx,3,2,"mat-form-field",0),n.Ic(41,yx,3,2,"mat-form-field",0),n.Ic(42,vx,2,2,"mat-form-field",0),n.Ic(43,wx,2,2,"mat-form-field",0),n.Ic(44,Sx,3,2,"mat-form-field",0),n.Ic(45,kx,2,2,"mat-form-field",0),n.Ic(46,xx,2,2,"mat-form-field",0),n.Ic(47,Mx,2,2,"mat-form-field",0),n.Ic(48,Ex,3,2,"section",0),n.Ic(49,Ax,2,2,"mat-form-field",0),n.Ic(50,Ox,4,2,"mat-form-field",0),n.Ic(51,Px,4,2,"mat-form-field",0),n.Ic(52,Ix,1,0,"mat-divider",0),n.Ic(53,Rx,3,2,"section",0),n.Ic(54,jx,3,2,"section",0),n.Ic(55,Vx,3,2,"mat-form-field",0),n.Ic(56,Wx,2,2,"mat-form-field",0),n.Ic(57,Hx,3,2,"mat-form-field",0),n.Rb(58,"br"),n.Rb(59,"mat-divider"),n.Wb(60,"div",11),n.bc(61,Sk),n.Vb(),n.Vb(),n.Vb(),n.Wb(62,"mat-tab",1),n.dc(63,kk),n.Wb(64,"div",2),n.Wb(65,"h2"),n.bc(66,xk),n.Vb(),n.Wb(67,"section"),n.Wb(68,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.webssh_enabled=t})),n.bc(69,Mk),n.Vb(),n.Vb(),n.Vb(),n.Wb(70,"div",2),n.Wb(71,"h2"),n.bc(72,Dk),n.Vb(),n.Wb(73,"section"),n.Wb(74,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.skip_se_enabled=t})),n.bc(75,Lk),n.Vb(),n.Vb(),n.Rb(76,"br"),n.Wb(77,"mat-form-field"),n.Wb(78,"mat-label"),n.bc(79,Tk),n.Vb(),n.Wb(80,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.search_engines=t})),n.Vb(),n.Wb(81,"mat-hint"),n.bc(82,Ek),n.Vb(),n.Vb(),n.Wb(83,"h4"),n.bc(84,Ak),n.Vb(),n.Wb(85,"mat-form-field"),n.Wb(86,"textarea",13,14),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.shield_html=t})),n.Jc(88," "),n.Vb(),n.Wb(89,"mat-hint",15),n.Jc(90),n.Vb(),n.Vb(),n.Wb(91,"div",11),n.bc(92,Ok),n.Vb(),n.Vb(),n.Wb(93,"div",2),n.Wb(94,"h2"),n.bc(95,Pk),n.Vb(),n.Wb(96,"mat-form-field"),n.Wb(97,"textarea",13,16),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.block_html=t})),n.Jc(99," "),n.Vb(),n.Wb(100,"mat-hint",15),n.Jc(101),n.Vb(),n.Vb(),n.Ub(102),n.Qb(),n.Wb(103,"div",11),n.Jc(104," Built-in variables: "),n.Wb(105,"ul"),n.Wb(106,"li"),n.Jc(107," {{ .PolicyID }} : the id of WAF policy/rule."),n.Vb(),n.Wb(108,"li"),n.Jc(109," {{ .VulnName }} : the vulnerability name. "),n.Vb(),n.Vb(),n.Vb(),n.Xb(),n.Tb(),n.Vb(),n.Vb(),n.Wb(110,"mat-tab",1),n.dc(111,Ik),n.Wb(112,"div",2),n.Wb(113,"mat-form-field"),n.Wb(114,"input",17),n.dc(115,Rk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.waf_log_days=t})),n.Vb(),n.Vb(),n.Wb(116,"mat-form-field"),n.Wb(117,"input",17),n.dc(118,jk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.cc_log_days=t})),n.Vb(),n.Vb(),n.Wb(119,"mat-form-field"),n.Wb(120,"input",17),n.dc(121,Yk),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.access_log_days=t})),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(122,"mat-tab",1),n.dc(123,Vk),n.Wb(124,"div",2),n.Wb(125,"section"),n.Wb(126,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_enabled=t})),n.bc(127,Wk),n.Vb(),n.Vb(),n.Wb(128,"mat-form-field"),n.Wb(129,"mat-label"),n.Jc(130,"API"),n.Vb(),n.Wb(131,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_api=t})),n.Vb(),n.Vb(),n.Wb(132,"mat-form-field"),n.Wb(133,"mat-label"),n.Jc(134,"Tenant ID"),n.Vb(),n.Wb(135,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_tenant_id=t})),n.Vb(),n.Vb(),n.Wb(136,"mat-form-field"),n.Wb(137,"mat-label"),n.bc(138,Fk),n.Vb(),n.Wb(139,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.data_discovery_key=t})),n.Vb(),n.Vb(),n.Wb(140,"section"),n.Wb(141,"a",18),n.bc(142,Hk),n.Vb(),n.Vb(),n.Rb(143,"br"),n.Rb(144,"mat-divider"),n.Wb(145,"div",11),n.bc(146,Bk),n.Vb(),n.Vb(),n.Vb(),n.Wb(147,"mat-tab",1),n.dc(148,zk),n.Wb(149,"div",2),n.Wb(150,"section"),n.Wb(151,"mat-checkbox",3),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_enabled=t})),n.bc(152,Nk),n.Vb(),n.Vb(),n.Wb(153,"mat-form-field"),n.Wb(154,"mat-label"),n.bc(155,Uk),n.Vb(),n.Wb(156,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_server=t})),n.Vb(),n.Vb(),n.Wb(157,"mat-form-field"),n.Wb(158,"mat-label"),n.bc(159,qk),n.Vb(),n.Wb(160,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_port=t})),n.Vb(),n.Vb(),n.Wb(161,"mat-form-field"),n.Wb(162,"mat-label"),n.bc(163,$k),n.Vb(),n.Wb(164,"input",12),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_account=t})),n.Vb(),n.Vb(),n.Wb(165,"mat-form-field"),n.Wb(166,"mat-label"),n.bc(167,Jk),n.Vb(),n.Wb(168,"input",19),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().settings.smtp.smtp_password=t})),n.Vb(),n.Vb(),n.Wb(169,"section"),n.Wb(170,"button",20),n.jc("click",(function(){return n.Cc(e),n.nc().testSMTP()})),n.bc(171,Kk),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(172,"div",2),n.Wb(173,"section"),n.Wb(174,"button",21),n.jc("click",(function(){return n.Cc(e),n.nc().saveSettings()})),n.bc(175,Gk),n.Vb(),n.Wb(176,"button",22),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(177),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(87),t=n.Ac(98),i=n.nc();n.Cb(6),n.sc("ngModel",i.settings.authenticator_enabled)("disabled",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.settings.auth_enabled)("disabled",i.readOnlyValue),n.Cb(4),n.sc("ngModel",i.settings.auth_provider)("disabled",i.readOnlyValue),n.Cb(14),n.sc("ngIf","wxwork"==i.settings.auth_provider&&i.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==i.settings.auth_provider&&i.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==i.settings.auth_provider&&i.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==i.settings.auth_provider&&i.wxworkConfig),n.Cb(1),n.sc("ngIf","wxwork"==i.settings.auth_provider&&i.wxworkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==i.settings.auth_provider&&i.dingtalkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==i.settings.auth_provider&&i.dingtalkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==i.settings.auth_provider&&i.dingtalkConfig),n.Cb(1),n.sc("ngIf","dingtalk"==i.settings.auth_provider&&i.dingtalkConfig),n.Cb(1),n.sc("ngIf","feishu"==i.settings.auth_provider&&i.feishuConfig),n.Cb(1),n.sc("ngIf","feishu"==i.settings.auth_provider&&i.feishuConfig),n.Cb(1),n.sc("ngIf","feishu"==i.settings.auth_provider&&i.feishuConfig),n.Cb(1),n.sc("ngIf","feishu"==i.settings.auth_provider&&i.feishuConfig),n.Cb(1),n.sc("ngIf","lark"==i.settings.auth_provider&&i.larkConfig),n.Cb(1),n.sc("ngIf","lark"==i.settings.auth_provider&&i.larkConfig),n.Cb(1),n.sc("ngIf","lark"==i.settings.auth_provider&&i.larkConfig),n.Cb(1),n.sc("ngIf","lark"==i.settings.auth_provider&&i.larkConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig&&i.ldapConfig.bind_required),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig&&i.ldapConfig.bind_required),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig&&i.ldapConfig.bind_required),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","ldap"==i.settings.auth_provider&&i.ldapConfig),n.Cb(1),n.sc("ngIf","cas2"==i.settings.auth_provider&&i.cas2Config),n.Cb(1),n.sc("ngIf","cas2"==i.settings.auth_provider&&i.cas2Config),n.Cb(1),n.sc("ngIf","cas2"==i.settings.auth_provider&&i.cas2Config),n.Cb(11),n.sc("ngModel",i.settings.webssh_enabled)("disabled",i.readOnlyValue),n.Cb(6),n.sc("ngModel",i.settings.skip_se_enabled)("disabled",i.readOnlyValue),n.Cb(6),n.sc("ngModel",i.settings.search_engines)("readonly",i.readOnlyValue),n.Cb(6),n.sc("ngModel",i.settings.shield_html)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/4096"),n.Cb(7),n.sc("ngModel",i.settings.block_html)("readonly",i.readOnlyValue),n.Cb(4),n.Lc("",(null==t.value?null:t.value.length)||0,"/4096"),n.Cb(13),n.sc("ngModel",i.settings.waf_log_days)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.settings.cc_log_days)("readonly",i.readOnlyValue),n.Cb(3),n.sc("ngModel",i.settings.access_log_days)("readonly",i.readOnlyValue),n.Cb(6),n.sc("ngModel",i.settings.data_discovery_enabled)("disabled",i.readOnlyValue),n.Cb(5),n.sc("ngModel",i.settings.data_discovery_api)("readonly",i.readOnlyValue),n.Cb(4),n.sc("ngModel",i.settings.data_discovery_tenant_id)("readonly",i.readOnlyValue),n.Cb(4),n.sc("ngModel",i.settings.data_discovery_key)("readonly",i.readOnlyValue),n.Cb(12),n.sc("ngModel",i.settings.smtp.smtp_enabled)("disabled",i.readOnlyValue),n.Cb(5),n.sc("ngModel",i.settings.smtp.smtp_server)("readonly",i.readOnlyValue),n.Cb(4),n.sc("ngModel",i.settings.smtp.smtp_port)("readonly",i.readOnlyValue),n.Cb(4),n.sc("ngModel",i.settings.smtp.smtp_account)("readonly",i.readOnlyValue),n.Cb(4),n.sc("ngModel",i.settings.smtp.smtp_password)("readonly",i.readOnlyValue),n.Cb(6),n.sc("disabled",i.readOnlyValue),n.Cb(3),n.Kc(i.readOnlyButtonText)}}let zx=(()=>{class e{constructor(e,t){this.rpcService=e,this.messageService=t,this.readOnlyValue=!0,this.readOnlyButtonText="Edit";let i=this;this.rpcService.getResponse("get_primary_setting",(function(e){i.settings=e,i.loadAuthProvider(i.settings.auth_provider)}))}ngOnInit(){}loadAuthProvider(e){let t=this;switch(this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("get_wxwork_config",(function(e){t.wxworkConfig=e}));break;case"dingtalk":this.rpcService.getResponse("get_dingtalk_config",(function(e){t.dingtalkConfig=e}));break;case"feishu":this.rpcService.getResponse("get_feishu_config",(function(e){t.feishuConfig=e}));break;case"lark":this.rpcService.getResponse("get_lark_config",(function(e){t.larkConfig=e}));break;case"ldap":this.rpcService.getResponse("get_ldap_config",(function(e){t.ldapConfig=e}));break;case"cas2":this.rpcService.getResponse("get_cas2_config",(function(e){t.cas2Config=e}))}}saveSettings(){let e=this;switch(this.rpcService.getResponse("update_primary_setting",(function(t){e.settings=t,e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Settings saved.")}),null,this.settings),this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("update_wxwork_config",(function(t){e.wxworkConfig=t}),"0",this.wxworkConfig);break;case"dingtalk":this.rpcService.getResponse("update_dingtalk_config",(function(t){e.dingtalkConfig=t}),"0",this.dingtalkConfig);break;case"feishu":this.rpcService.getResponse("update_feishu_config",(function(t){e.feishuConfig=t}),"0",this.feishuConfig);break;case"lark":this.rpcService.getResponse("update_lark_config",(function(t){e.larkConfig=t}),"0",this.larkConfig);break;case"ldap":this.rpcService.getResponse("update_ldap_config",(function(t){e.ldapConfig=t}),"0",this.ldapConfig);break;case"cas2":this.rpcService.getResponse("update_cas2_config",(function(t){e.cas2Config=t}),"0",this.cas2Config)}}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}testSMTP(){let e=this;this.rpcService.getResponse("test_smtp",(function(){e.messageService.add("Email sent, please check your inbox. If not, check your information under user management.")}),"0",this.settings.smtp)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-settings"]],decls:1,vars:1,consts:[[4,"ngIf"],[6,"label"],[1,"container"],[3,"ngModel","disabled","ngModelChange"],[3,"ngModel","disabled","ngModelChange","selectionChange",6,"placeholder"],["value","wxwork"],["value","dingtalk"],["value","feishu"],["value","lark"],["value","ldap"],["value","cas2"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matInput","","rows","30","required","",3,"ngModel","readonly","ngModelChange"],["shield_html",""],["align","end"],["block_html",""],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["mat-stroked-button","","routerLink","/discovery-rules"],["matInput","","type","password","required","",3,"ngModel","readonly","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","corpid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","agentid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","corpsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","entrance",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","address",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","dn",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","BaseDN",3,"ngModel","readonly","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange"],["type","password","matInput","",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&n.Ic(0,Bx,178,75,"div",0),2&e&&n.sc("ngIf",t.settings)},directives:[P,dk,QS,Hm,st,ci,Mu,gf,td,Pp,gu,Bu,Qe,hi,bu,bt,Ud,ka,Nd],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{margin-left:0}']}),e})();var Nx,Ux,qx,$x,Jx,Kx,Gx,Zx,Xx,Qx;Nx=$localize`:@@product_name␟dd69878b4a52722f9526a6896d270a0057f67a7b␟777814678817001056:Janusec Application Gateway`,Ux=$localize`:@@product_desc␟2485fdffa30bc87a1dce48312ac9e6ee601766e3␟3856266118762267302: Janusec Application Gateway, a Golang based application security solution which provides WAF (Web Application Firewall), CC attack defense, LDAP and OAuth2 Authentication, unified web administration portal, private key protection, web routing and scalable load balancing. `,qx=$localize`:@@feature_title␟6c9acac01658fd0c91f25bd4fbe0106ff30d4f9d␟5882086698205675997: Features of Janusec Application Gateway `,$x=$localize`:@@feature_waf␟b90eb92766b2a7e71d8d02fd8959677c17decebc␟2580428788447058936:WAF (Web Application Firewall) and CC denfense`,Jx=$localize`:@@feature_full_site_https␟7b0df9ccfb872f1f45a092776ce5fb9795fe8b0f␟7023757491218403743:Full Site HTTPS: Certificate Management, and Encryption of Private Key`,Kx=$localize`:@@feature_oauth␟3329b2759f77ae6be071e913f7369722da3f4390␟8436038435583012574:Authentication: LDAP, CAS2, WxWork, DingTalk, Feishu, Lark`,Gx=$localize`:@@support␟b081eb2b01cad6cb19318dcca5509ccca4edac2d␟4611971993576521428: Support `,Zx=$localize`:@@official_site␟a1a16c0655a2532346be77d5581e842c01df8d2a␟8585481223049876955:Official Site`,Xx=$localize`:@@source_code␟76b8339d5b6a70b6871600727ac3a9510e59d26f␟4352526755847379280:Source Code`,Qx=$localize`:@@user_agreement␟73546446e442c1b3861297089d5436ee268b4866␟2785927571630251176:User Agreement`;let eM=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.messageService=t,this.router=i}ngOnInit(){let e=this;this.rpcService.getAuthUser((function(t){if(t.logged)return t.need_modify_pwd?(e.messageService.add("Please modify your password before next step!"),void e.router.navigate(["/appuser/"+t.user_id])):void e.rpcService.getResponse("get_license",(function(t){if(e.rpcService.license=t,null!=t&&"Trial"==t.edition){let i=e.getDate(t.expire_time);e.messageService.add("This is a trial edition, and will expire at "+i+". Limitation: max number of users: "+t.max_users_count+", max number of applications: "+t.max_apps_count+", max concurrency: "+t.max_concurrency)}}));e.router.navigate(["/login"])})),setTimeout(()=>{0==this.rpcService.auth_user.logged&&this.router.navigate(["/login"])},500)}getDate(e){return this.rpcService.getDateString(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-frontpage"]],decls:51,vars:0,consts:[[1,"container"],[1,"card-content"],["mat-card-image","","src","/janusec-admin/assets/images/gateway.png",1,"card-image"],["mat-card-avatar",""],["mat-list-item","","href","https://www.janusec.com/","target","_blank"],["mat-list-item","","href","https://janusec.github.io/","target","_blank"],["mat-list-item","","href","https://doc.janusec.com/cn/","target","_blank"],["mat-list-item","","href","https://github.com/Janusec/janusec","target","_blank"],["mat-list-item","","href","https://janusec.github.io/documentation/user-agreement/","target","_blank"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"mat-card"),n.Wb(2,"h2"),n.bc(3,Nx),n.Vb(),n.Vb(),n.Wb(4,"mat-card"),n.Wb(5,"mat-card-content",1),n.Rb(6,"img",2),n.Wb(7,"p"),n.bc(8,Ux),n.Vb(),n.Vb(),n.Vb(),n.Wb(9,"mat-card"),n.Wb(10,"mat-card-header"),n.Wb(11,"mat-card-title"),n.bc(12,qx),n.Vb(),n.Vb(),n.Wb(13,"mat-card-content"),n.Wb(14,"mat-list"),n.Wb(15,"mat-list-item"),n.Wb(16,"mat-icon",3),n.Jc(17,"done"),n.Vb(),n.Wb(18,"span"),n.Jc(19,"HTTP, HTTPS, HTTP2, Web Socket, TCP, UDP"),n.Vb(),n.Vb(),n.Wb(20,"mat-list-item"),n.Wb(21,"mat-icon",3),n.Jc(22,"done"),n.Vb(),n.Wb(23,"span"),n.bc(24,$x),n.Vb(),n.Vb(),n.Wb(25,"mat-list-item"),n.Wb(26,"mat-icon",3),n.Jc(27,"done"),n.Vb(),n.Wb(28,"span"),n.bc(29,Jx),n.Vb(),n.Vb(),n.Wb(30,"mat-list-item"),n.Wb(31,"mat-icon",3),n.Jc(32,"done"),n.Vb(),n.Wb(33,"span"),n.bc(34,Kx),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(35,"mat-card"),n.Wb(36,"mat-card-header"),n.Wb(37,"mat-card-title"),n.bc(38,Gx),n.Vb(),n.Vb(),n.Wb(39,"mat-card-content"),n.Wb(40,"mat-nav-list"),n.Wb(41,"a",4),n.bc(42,Zx),n.Vb(),n.Wb(43,"a",5),n.Jc(44,"User Guide (English)"),n.Vb(),n.Wb(45,"a",6),n.Jc(46,"\u7528\u6237\u624b\u518c\uff08\u4e2d\u6587\uff09"),n.Vb(),n.Wb(47,"a",7),n.bc(48,Xx),n.Vb(),n.Wb(49,"a",8),n.bc(50,Qx),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb())},directives:[jd,Od,Id,Yd,Pd,fv,_v,up,Rd,uv],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:7px;border-radius:0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.card-content[_ngcontent-%COMP%]{padding-top:15px}.card-image[_ngcontent-%COMP%]{width:70%;margin-left:15%}.mat-list-item[_ngcontent-%COMP%]{font-size:14px}.mat-nav-list[_ngcontent-%COMP%]{display:-webkit-box;display:flex}']}),e})();var tM=i("/POA"),iM=i("Fzww");const nM=["terminalDiv"];var rM;rM=$localize`:@@web_ssh_term␟13a25c64ec9f41a297a2bb15bd8c14661882752c␟6630465543638873694:Web SSH Term`;const sM=["placeholder",$localize`:@@ip_address␟1c1113c07fe4f7008c667f8fb1c5d397fa2055b1␟1827245616056417685:IP Address`],aM=["placeholder",$localize`:@@port␟cb2741a46e3560f6bc6dfd99d385e86b08b26d72␟6117946241126833991:Port`],oM=["placeholder",$localize`:@@username␟08c74dc9762957593b91f6eb5d65efdfc975bf48␟5248717555542428023:Username`],cM=["placeholder",$localize`:@@password␟c32ef07f8803a223a83ed17024b38e8d82292407␟1431416938026210429:Password`];let lM=(()=>{class e{constructor(){this.server=new fo("127.0.0.1","22","root","")}ngOnInit(){}SSHConnect(){var e,t=window.location;e="https:"===t.protocol?"wss://":"ws://",e+=t.host+"/janusec-admin/webssh",this.term.reset();const i=new WebSocket(e),n=new iM.AttachAddon(i);this.term.loadAddon(n);let r=this;i.onopen=function(){i.send(JSON.stringify(r.server))}}ngAfterViewInit(){this.term=new tM.Terminal,this.term.open(this.terminalDiv.nativeElement)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["app-webssh"]],viewQuery:function(e,t){var i;1&e&&n.Sc(nM,!0),2&e&&n.zc(i=n.kc())&&(t.terminalDiv=i.first)},inputs:{server:"server"},decls:23,vars:4,consts:[[1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],["mat-stroked-button","",3,"click"],["terminalDiv",""]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"h2"),n.Wb(2,"mat-icon"),n.Jc(3,"computer"),n.Vb(),n.Wb(4,"span"),n.bc(5,rM),n.Vb(),n.Vb(),n.Wb(6,"div"),n.Wb(7,"mat-form-field"),n.Wb(8,"input",1),n.dc(9,sM),n.jc("ngModelChange",(function(e){return t.server.ip=e})),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"input",1),n.dc(12,aM),n.jc("ngModelChange",(function(e){return t.server.port=e})),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"input",1),n.dc(15,oM),n.jc("ngModelChange",(function(e){return t.server.username=e})),n.Vb(),n.Vb(),n.Wb(16,"mat-form-field"),n.Wb(17,"input",2),n.dc(18,cM),n.jc("ngModelChange",(function(e){return t.server.password=e})),n.Vb(),n.Vb(),n.Wb(19,"button",3),n.jc("click",(function(){return t.SSHConnect()})),n.Jc(20,"SSH"),n.Vb(),n.Vb(),n.Rb(21,"div",null,4),n.Vb()),2&e&&(n.Cb(8),n.sc("ngModel",t.server.ip),n.Cb(3),n.sc("ngModel",t.server.port),n.Cb(3),n.sc("ngModel",t.server.username),n.Cb(3),n.sc("ngModel",t.server.password))},directives:[up,Mu,Bu,Qe,hi,st,ci,Nd],styles:['.xterm{font-feature-settings:"liga" 0;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}'],encapsulation:2}),e})();const dM=["label",$localize`:@@gateway_status␟77bd5b2151a7e6f63b4ce5645926608358fda653␟5500591070135419387:Gateway Status`],uM=["label",$localize`:@@hosts_status␟e4880fac90cf65b170bafe46834ec4c5b5240f9e␟6105676681289214831:Hosts Status`];var hM,fM,pM;hM=$localize`:@@offline_hosts␟eb40c1096a1e1e6866b5a139b57ae1ca8ce1b54b␟3307196589296956987:Offline Hosts`,fM=$localize`:@@unvisited_hosts␟933e3a20f0afb28b267d5f374f7761986ef70fc4␟9134872526760691454:Zero Access Hosts within 24 hours`,pM=$localize`:@@refresh␟c8d1785038d461ec66b5799db21864182b35900a␟1102717806459547726:Refresh`;const mM=["label",$localize`:@@host_status_by_application␟f21a06f977113fb6a1e7857752c35428fddaa7c9␟4466788601899143199:Hosts Status by Application`],_M=["placeholder",$localize`:@@application␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`];var bM,gM,yM,vM,wM,CM,SM,kM,xM,MM,DM,LM,TM;function EM(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"mat-list",4),n.Wb(2,"mat-list-item"),n.Wb(3,"span"),n.bc(4,gM),n.Vb(),n.Jc(5),n.Vb(),n.Wb(6,"mat-list-item"),n.Wb(7,"span"),n.bc(8,yM),n.Vb(),n.Jc(9),n.Vb(),n.Wb(10,"mat-list-item"),n.Wb(11,"span"),n.bc(12,vM),n.Vb(),n.Jc(13),n.Vb(),n.Wb(14,"mat-list-item"),n.Wb(15,"span"),n.bc(16,wM),n.Vb(),n.Jc(17),n.Vb(),n.Wb(18,"mat-list-item"),n.Wb(19,"span"),n.bc(20,CM),n.Vb(),n.Jc(21),n.Vb(),n.Wb(22,"mat-list-item"),n.Wb(23,"span"),n.bc(24,SM),n.Vb(),n.Jc(25),n.Vb(),n.Wb(26,"mat-list-item"),n.Wb(27,"span"),n.bc(28,kM),n.Vb(),n.Jc(29),n.Vb(),n.Wb(30,"mat-list-item"),n.Wb(31,"span"),n.bc(32,xM),n.Vb(),n.Jc(33),n.Vb(),n.Wb(34,"mat-list-item"),n.Wb(35,"span"),n.bc(36,MM),n.Vb(),n.Jc(37),n.Vb(),n.Wb(38,"mat-list-item"),n.Wb(39,"span"),n.bc(40,DM),n.Vb(),n.Jc(41),n.Vb(),n.Wb(42,"mat-list-item"),n.Wb(43,"span"),n.bc(44,LM),n.Vb(),n.Jc(45),n.Vb(),n.Wb(46,"button",6),n.jc("click",(function(){return n.Cc(e),n.nc().getGatewayHealth()})),n.Wb(47,"mat-icon",7),n.Jc(48,"refresh"),n.Vb(),n.Wb(49,"span"),n.bc(50,TM),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(5),n.Lc(": ",e.getDate(e.gate_health.start_time)," "),n.Cb(4),n.Lc(": ",e.getDate(e.gate_health.cur_time)," "),n.Cb(4),n.Mc(": ",e.gate_health.time_zone," ",e.gate_health.time_offset," "),n.Cb(4),n.Lc(": ",e.gate_health.version," "),n.Cb(4),n.Lc(": ",e.gate_health.concurrency," "),n.Cb(4),n.Lc(": ",e.gate_health.cpu_percent.toFixed(2),"% "),n.Cb(4),n.Nc(": ",e.gate_health.cpu_load1.toFixed(2)," ",e.gate_health.cpu_load5.toFixed(2)," ",e.gate_health.cpu_load15.toFixed(2)," "),n.Cb(4),n.Lc(": ",(e.gate_health.mem_used/1073741824).toFixed(2)," GB "),n.Cb(4),n.Lc(": ",(e.gate_health.mem_total/1073741824).toFixed(2)," GB "),n.Cb(4),n.Lc(": ",(e.gate_health.disk_used/1073741824).toFixed(2)," GB "),n.Cb(4),n.Lc(": ",(e.gate_health.disk_total/1073741824).toFixed(2)," GB ")}}function AM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",11),n.Jc(2,"error"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getAppNameByID(e.app_id),") "),n.Cb(2),n.Lc(" Offline Time: ",i.getDate(e.check_time)," ")}}function OM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",11),n.Jc(2,"error"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getVipAppNameByID(e.vip_app_id),") "),n.Cb(2),n.Lc(" Offline Time: ",i.getDate(e.check_time)," ")}}function PM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",12),n.Jc(2,"help"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getAppNameByID(e.app_id),") "),n.Cb(2),n.Lc(" Last Access Time: ",i.getDate(e.check_time)," ")}}function IM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"mat-icon",12),n.Jc(2,"help"),n.Vb(),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc();n.Cb(4),n.Mc(" ",e.destination," (",i.getVipAppNameByID(e.vip_app_id),") "),n.Cb(2),n.Lc(" Last Access Time: ",i.getDate(e.check_time)," ")}}function RM(e,t){if(1&e&&(n.Wb(0,"mat-option",13),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}function jM(e,t){1&e&&(n.Wb(0,"mat-icon",11),n.Jc(1,"error"),n.Vb())}function YM(e,t){1&e&&(n.Wb(0,"mat-icon",16),n.Jc(1,"check_circle_outline"),n.Vb())}function VM(e,t){if(1&e&&(n.Wb(0,"mat-list-item"),n.Ic(1,jM,2,0,"mat-icon",14),n.Ic(2,YM,2,0,"mat-icon",15),n.Wb(3,"h3",3),n.Jc(4),n.Vb(),n.Wb(5,"p",3),n.Jc(6),n.Vb(),n.Vb()),2&e){const e=t.$implicit,i=n.nc(2);n.Cb(1),n.sc("ngIf",0==e.online),n.Cb(1),n.sc("ngIf",1==e.online),n.Cb(2),n.Mc(" ",e.destination," (",i.selected_app.name,") "),n.Cb(2),n.Lc(" Check Time: ",i.getDate(e.check_time)," ")}}function WM(e,t){if(1&e&&(n.Wb(0,"mat-list",4),n.Ic(1,VM,7,5,"mat-list-item",5),n.Vb()),2&e){const e=n.nc();n.Cb(1),n.sc("ngForOf",e.selected_app.destinations)}}bM=$localize`:@@view␟ad817cf4269e54829d82b4224d36766ad5f0b3e6␟9041078670559726454:Check`,gM=$localize`:@@start_time␟7c0a71d337783e527c1c8e91e433b301c5b1d8a8␟4204880191779081093:Start Time`,yM=$localize`:@@current_time␟4c6af4b06c43a9223010f8f0d50fb58e8d4eda98␟5927565365227316396:Current Time`,vM=$localize`:@@time_zone␟a2e48645755a13a5fb547cb5446d4b33ad6ef897␟3204725360923694745:Time Zone`,wM=$localize`:@@version␟8fe73a4787b8068b2ba61f54ab7e0f9af2ea1fc9␟2724055831234181057:Version`,CM=$localize`:@@concurrency␟28b80e1edc25a686f67fa5fd409af659614ab025␟5419498400359535937:Concurrency`,SM=$localize`:@@cpu_percent␟88ddf1784c2514f32c8843fe8fb1086568be3da5␟1779561025143910931:CPU Percent`,kM=$localize`:@@cpu_load1_5_15␟103f6aa6d3cf5888a5391e5317936b8fcf3e614e␟7402126300765101235:CPU Load (1/5/15 Minutes)`,xM=$localize`:@@mem_used␟815de8480fe5cfeb9901a306873590d38168a754␟3965710386570662641:Memory Used`,MM=$localize`:@@mem_total␟335f607f026f84a95a839395e9dacc92202189e0␟2746802394039410947:Memory Total`,DM=$localize`:@@disk_used␟ae1fb05bb99a0fb884c37cde5f7829101bf85789␟3600558956582093461:Storage Used`,LM=$localize`:@@disk_total␟183b9511c62e680bbbe5bed40d07e0b95b68a878␟6405327325552491671:Storage Total`,TM=$localize`:@@refresh␟c8d1785038d461ec66b5799db21864182b35900a␟1102717806459547726:Refresh`;let FM=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.getGatewayHealth(),this.updateDestinations()):this.router.navigate(["/"])}updateDestinations(){this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[];let e=this;var t=(new Date).getTime();this.rpcService.getResponse("get_apps",(function(i){e.rpcService.applications=i;for(let t of e.rpcService.applications)e.rpcService.appmap[t.id]=t.name;for(let n of e.rpcService.applications)for(let i of n.destinations)i.route_type==Qa.Reverse_Proxy&&(0==i.online?e.offlineDestinations.push(i):t-1e3*i.check_time>864e5&&e.unvisitedDestinations.push(i))})),this.rpcService.getResponse("get_vip_apps",(function(i){e.rpcService.vip_apps=i;for(let n of e.rpcService.vip_apps){e.rpcService.vip_app_map[n.id]=n.name;for(let i of n.targets)0==i.online?e.offlineVipTargets.push(i):t-1e3*i.check_time>864e5&&e.unvisitedVipTargets.push(i)}}))}getAppNameByID(e){return this.rpcService.appmap[e]}getVipAppNameByID(e){return this.rpcService.vip_app_map[e]}health_check_by_app_id(){for(let e of this.rpcService.applications)if(e.id==this.selected_app_id)return void(this.selected_app=e)}getDate(e){return this.rpcService.getDateString(e)}getGatewayHealth(){let e=this;this.rpcService.getResponse("get_gateway_health",(function(t){e.gate_health=t}))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-health-check"]],decls:40,vars:10,consts:[[1,"container"],[6,"label"],[4,"ngIf"],["matLine",""],[1,"mat-list-item-list-stacked"],[4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],["matListIcon",""],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["class","mat-list-item-list-stacked",4,"ngIf"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn"],["matListIcon","","color","accent"],[3,"value"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"mat-tab-group"),n.Wb(2,"mat-tab",1),n.dc(3,dM),n.Ic(4,EM,51,14,"div",2),n.Vb(),n.Wb(5,"mat-tab",1),n.dc(6,uM),n.Wb(7,"div"),n.Wb(8,"h3",3),n.Wb(9,"span"),n.bc(10,hM),n.Vb(),n.Jc(11),n.Vb(),n.Vb(),n.Wb(12,"div"),n.Wb(13,"mat-list",4),n.Ic(14,AM,7,3,"mat-list-item",5),n.Ic(15,OM,7,3,"mat-list-item",5),n.Vb(),n.Vb(),n.Wb(16,"div"),n.Wb(17,"h3",3),n.Wb(18,"span"),n.bc(19,fM),n.Vb(),n.Jc(20),n.Vb(),n.Vb(),n.Wb(21,"div"),n.Wb(22,"mat-list",4),n.Ic(23,PM,7,3,"mat-list-item",5),n.Ic(24,IM,7,3,"mat-list-item",5),n.Vb(),n.Vb(),n.Wb(25,"button",6),n.jc("click",(function(){return t.updateDestinations()})),n.Wb(26,"mat-icon",7),n.Jc(27,"refresh"),n.Vb(),n.Wb(28,"span"),n.bc(29,pM),n.Vb(),n.Vb(),n.Vb(),n.Wb(30,"mat-tab",1),n.dc(31,mM),n.Wb(32,"mat-form-field"),n.Wb(33,"mat-select",8),n.dc(34,_M),n.jc("ngModelChange",(function(e){return t.selected_app_id=e})),n.Ic(35,RM,2,2,"mat-option",9),n.Vb(),n.Vb(),n.Wb(36,"button",6),n.jc("click",(function(){return t.health_check_by_app_id()})),n.bc(37,bM),n.Vb(),n.Wb(38,"div"),n.Ic(39,WM,2,1,"mat-list",10),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(4),n.sc("ngIf",t.gate_health),n.Cb(7),n.Lc(": ",t.offlineDestinations.length+t.offlineVipTargets.length,""),n.Cb(3),n.sc("ngForOf",t.offlineDestinations),n.Cb(1),n.sc("ngForOf",t.offlineVipTargets),n.Cb(5),n.Lc(": ",t.unvisitedDestinations.length+t.unvisitedVipTargets.length,""),n.Cb(3),n.sc("ngForOf",t.unvisitedDestinations),n.Cb(1),n.sc("ngForOf",t.unvisitedVipTargets),n.Cb(9),n.sc("ngModel",t.selected_app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(4),n.sc("ngIf",t.selected_app))},directives:[dk,QS,P,Rl,fv,A,Nd,up,mv,Mu,gf,st,ci,_v,If,td],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px 0}.refresh_pointer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#e0e0e0}"]}),e})();const HM=["appPaginator"];var BM,zM,NM,UM,qM,$M,JM;function KM(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",18),n.jc("click",(function(){return n.Cc(e),n.nc().addVipApp()})),n.bc(1,NM),n.Vb()}}function GM(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," ID "),n.Vb())}function ZM(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/vip/",e.id,""),n.Cb(1),n.Lc(" ",e.id," ")}}function XM(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,UM),n.Vb())}function QM(e,t){1&e&&(n.Wb(0,"span",21),n.Jc(1,"TCP"),n.Vb())}function eD(e,t){1&e&&(n.Wb(0,"span",21),n.Jc(1,"UDP"),n.Vb())}function tD(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Ic(1,QM,2,0,"span",20),n.Ic(2,eD,2,0,"span",20),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.is_tcp),n.Cb(1),n.sc("ngIf",!e.is_tcp)}}function iD(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,qM),n.Vb())}function nD(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/vip/",e.id,""),n.Cb(1),n.Lc(" ",e.listen_port," ")}}function rD(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,$M),n.Vb())}function sD(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Wb(1,"a",19),n.Jc(2),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.uc("routerLink","/vip/",e.id,""),n.Cb(1),n.Lc(" ",e.name," ")}}function aD(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,JM),n.Vb())}function oD(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function cD(e,t){1&e&&n.Rb(0,"mat-header-row")}function lD(e,t){1&e&&n.Rb(0,"mat-row")}BM=$localize`:@@port_forwarding␟12bb8fbf00bb4b46a43fc70230de633d147c57c7␟6848902813628453884:Port Forwarding`,zM=$localize`:@@vip_note␟811838870bdbf5bfa022af056d4a4005df4e5201␟929706042584219383: Note: Layer-4 TCP/UDP Port forwarding (No WAF/CC protection). `,NM=$localize`:@@add_vip␟fba47cbea5354ecc5178f3efd70342ea218a3f6e␟2431827976905058381:Add Port Forwarding`,UM=$localize`:@@protocol␟fd1a334caa945c369664060d16c4231397a3ae6d␟8116972897687649774: Protocol `,qM=$localize`:@@listen_port2␟39c09b0c2b65288546e266dee9d2c34a9fdc36bb␟3614688088249806000: Listen Port `,$M=$localize`:@@app_name␟20371277706eedf7fd8a3f51633ca5d801cd4fc2␟8778616811237742446: Name `,JM=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `;const dD=function(){return[10,20,50]};let uD=(()=>{class e{constructor(e,t){this.rpcService=e,this.router=t,this.displayedColumns=["id","is_tcp","listen_port","name","description"]}ngOnInit(){0!=this.rpcService.auth_user.logged?(this.rpcService.getVipApps(),setTimeout(()=>{this.appDataSource=new Dd(this.rpcService.vip_apps),this.appLength=this.rpcService.vip_apps.length},500)):this.router.navigate(["/"])}addVipApp(){this.router.navigate(["/vip/0"])}applyFilter(e){this.appDataSource.filter=e.trim().toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-vip-apps"]],viewQuery:function(e,t){var i;1&e&&n.Sc(HM,!0),2&e&&n.zc(i=n.kc())&&(t.appPaginator=i.first)},decls:38,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click",4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8",3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_tcp"],["matColumnDef","listen_port"],["matColumnDef","name"],["matColumnDef","description"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["appPaginator",""],[1,"notes"],["mat-stroked-button","",3,"click"],[3,"routerLink"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,BM),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Wb(6,"span"),n.Ic(7,KM,2,0,"button",1),n.Vb(),n.Wb(8,"span"),n.Jc(9,"\xa0\xa0\xa0\xa0"),n.Vb(),n.Wb(10,"mat-form-field",2),n.Wb(11,"input",3),n.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),n.Vb(),n.Vb(),n.Vb(),n.Wb(12,"div"),n.Wb(13,"mat-table",4,5),n.Ub(15,6),n.Ic(16,GM,2,0,"mat-header-cell",7),n.Ic(17,ZM,3,2,"mat-cell",8),n.Tb(),n.Ub(18,9),n.Ic(19,XM,2,0,"mat-header-cell",7),n.Ic(20,tD,3,2,"mat-cell",8),n.Tb(),n.Ub(21,10),n.Ic(22,iD,2,0,"mat-header-cell",7),n.Ic(23,nD,3,2,"mat-cell",8),n.Tb(),n.Ub(24,11),n.Ic(25,rD,2,0,"mat-header-cell",7),n.Ic(26,sD,3,2,"mat-cell",8),n.Tb(),n.Ub(27,12),n.Ic(28,aD,2,0,"mat-header-cell",7),n.Ic(29,oD,2,1,"mat-cell",8),n.Tb(),n.Ic(30,cD,1,0,"mat-header-row",13),n.Ic(31,lD,1,0,"mat-row",14),n.Vb(),n.Rb(32,"mat-paginator",15,16),n.Vb(),n.Rb(34,"br"),n.Rb(35,"mat-divider"),n.Wb(36,"div",17),n.bc(37,zM),n.Vb(),n.Vb()),2&e&&(n.Cb(7),n.sc("ngIf",t.rpcService.auth_user.is_super_admin),n.Cb(6),n.sc("dataSource",t.appDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("length",t.appLength)("pageSize",20)("pageSizeOptions",n.wc(7,dD)))},directives:[jd,P,Mu,Bu,cd,pd,hd,dd,gd,vd,Jf,Pp,Nd,_d,bd,ka,Cd,kd],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}"]}),e})();const hD=["input"],fD=function(){return{enterDuration:150}},pD=["*"],mD=new n.r("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let _D=0;const bD={provide:Je,useExisting:Object(n.U)(()=>yD),multi:!0};class gD{constructor(e,t){this.source=e,this.value=t}}let yD=(()=>{class e{constructor(e){this._changeDetector=e,this._value=null,this._name=`mat-radio-group-${_D++}`,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.o}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=yo(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=yo(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(e=>{e.checked=this.value===e.value,e.checked&&(this._selected=e)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new gD(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,selectors:[["mat-radio-group"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,CD,!0),2&e&&n.zc(r=n.kc())&&(t._radios=r)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[n.Bb([bD])]}),e})();class vD{constructor(e){this._elementRef=e}}const wD=bl(gl(vD));let CD=(()=>{class e extends wD{constructor(e,t,i,r,s,a,o){super(t),this._changeDetector=i,this._focusMonitor=r,this._radioDispatcher=s,this._animationMode=a,this._providerOverride=o,this._uniqueId=`mat-radio-${++_D}`,this.id=this._uniqueId,this.change=new n.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._removeUniqueSelectionListener=s.listen((e,t)=>{e!==this.id&&t===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=yo(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(yo(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=yo(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new gD(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputChange(e){e.stopPropagation();const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(yD,8),n.Pb(n.l),n.Pb(n.h),n.Pb(il),n.Pb(Do),n.Pb(Ye,8),n.Pb(mD,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-radio-button"]],viewQuery:function(e,t){var i;1&e&&n.Sc(hD,!0),2&e&&n.zc(i=n.kc())&&(t._inputElement=i.first)},hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&n.jc("focus",(function(){return t._inputElement.nativeElement.focus()})),2&e&&(n.Db("tabindex",-1)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.Gb("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},exportAs:["matRadioButton"],features:[n.zb],ngContentSelectors:pD,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(n.rc(),n.Wb(0,"label",0,1),n.Wb(2,"div",2),n.Rb(3,"div",3),n.Rb(4,"div",4),n.Wb(5,"div",5),n.Rb(6,"div",6),n.Vb(),n.Wb(7,"input",7,8),n.jc("change",(function(e){return t._onInputChange(e)}))("click",(function(e){return t._onInputClick(e)})),n.Vb(),n.Vb(),n.Wb(9,"div",9),n.Wb(10,"span",10),n.Jc(11,"\xa0"),n.Vb(),n.qc(12),n.Vb(),n.Vb()),2&e){const e=n.Ac(1);n.Db("for",t.inputId),n.Cb(5),n.sc("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.wc(18,fD)),n.Cb(2),n.sc("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),n.Db("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),n.Cb(2),n.Gb("mat-radio-label-before","before"==t.labelPosition)}},directives:[zl],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e})(),SD=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Nl,pl],pl]}),e})();var kD,xD;kD=$localize`:@@port_forwarding␟12bb8fbf00bb4b46a43fc70230de633d147c57c7␟6848902813628453884:Port Forwarding`,xD=$localize`:@@port_forwarding_warning␟34f747a5758cd09ddd062048c852a0482bf8cdd4␟8582057483155413428: Caution: Port forwarding may bring serious security risks and can only be used for non-web application publishing. Please follow the internal security management regulations when using it. `;const MD=["placeholder",$localize`:@@app_name␟7e2abed312d91f24b07b1c21982bf0ab5bda6675␟2887251461858216261:Application Name`],DD=["placeholder",$localize`:@@listen_port␟d2e79fe4bc1237f166600a562592b632cfdb8d0c␟4176968710654271933:Listen Port (1025-65535)`];var LD,TD;LD=$localize`:@@forward_note␟4cfe40cb8f194c53f0e7f125e0de3ab7337d7b23␟452055469951542456:Note: Only support services which respond directly from the listening port. Multiple ports or reverse connections are not supported.`,TD=$localize`:@@target_configuration␟000353943c654d653e34d84bfe8289ebf14ebbc0␟2142433279538164084:Target Configuration`;const ED=["placeholder",$localize`:@@vip_owner␟02afaff74daa82a8877966a267df371e8220d22f␟4709669786209672837:Application Owner`],AD=["placeholder",$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`];var OD,PD,ID,RD;OD=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,PD=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`,ID=$localize`:@@forward_mode␟fb78ea3d1ccb29d5b96512c9572a307082c47dc5␟7104964915409047271:Forward Mode`,RD=$localize`:@@target␟639672f61f16b7d9c3d022685becb756faf2def3␟7592174351973511057:Target (IP:Port)`;const jD=["matTooltip",$localize`:@@add_new_target␟ecb1fef543db12c99453a054dd2e623964005bd5␟3578726587253769109:Add New Target`];function YD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",24),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delTarget(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function VD(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",20),n.Wb(2,"mat-label"),n.bc(3,RD),n.Vb(),n.Wb(4,"input",21),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).vip_app.targets[i].destination=t})),n.Vb(),n.Wb(5,"mat-icon",22),n.dc(6,jD),n.jc("click",(function(){return n.Cc(e),n.nc(3).addTarget()})),n.Jc(7,"add_circle_outline"),n.Vb(),n.Ic(8,YD,2,0,"mat-icon",23),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.vip_app.targets[e].destination)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngIf",t.vip_app.targets.length>1)}}const WD=["matTooltip",$localize`:@@add_new_routing␟9d5dc2eb534e384f4613a9a9fa85a443176b5421␟3105577272767442961:Add new routing`];function FD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",24),n.jc("click",(function(){n.Cc(e);const t=n.nc(2).index;return n.nc(2).delTarget(t)})),n.Jc(1,"remove_circle_outline"),n.Vb()}}function HD(e,t){if(1&e){const e=n.Yb();n.Ub(0),n.Wb(1,"mat-form-field",25),n.Wb(2,"mat-label"),n.Jc(3,"K8S Pods API"),n.Vb(),n.Wb(4,"input",26),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).vip_app.targets[i].pods_api=t})),n.Vb(),n.Vb(),n.Wb(5,"mat-form-field",17),n.Wb(6,"mat-label"),n.Jc(7,"K8S Pod Port"),n.Vb(),n.Wb(8,"input",27),n.jc("ngModelChange",(function(t){n.Cc(e);const i=n.nc().index;return n.nc(2).vip_app.targets[i].pod_port=t})),n.Vb(),n.Wb(9,"mat-icon",22),n.dc(10,WD),n.jc("click",(function(){return n.Cc(e),n.nc(3).addTarget()})),n.Jc(11,"add_circle_outline"),n.Vb(),n.Ic(12,FD,2,0,"mat-icon",23),n.Vb(),n.Tb()}if(2&e){const e=n.nc().index,t=n.nc(2);n.Cb(4),n.sc("ngModel",t.vip_app.targets[e].pods_api)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngModel",t.vip_app.targets[e].pod_port)("readonly",t.readOnlyValue),n.Cb(4),n.sc("ngIf",t.vip_app.targets.length>1)}}function BD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",16),n.Wb(1,"mat-form-field",17),n.Wb(2,"mat-label"),n.bc(3,ID),n.Vb(),n.Wb(4,"mat-select",18),n.jc("ngModelChange",(function(i){n.Cc(e);const r=t.index;return n.nc(2).vip_app.targets[r].route_type=i})),n.Wb(5,"mat-option",9),n.Jc(6," Reverse Proxy "),n.Vb(),n.Wb(7,"mat-option",9),n.Jc(8," K8S Ingress "),n.Vb(),n.Vb(),n.Vb(),n.Ic(9,VD,9,3,"ng-container",19),n.Ic(10,HD,13,5,"ng-container",19),n.Vb()}if(2&e){const e=t.$implicit,i=t.index,r=n.nc(2);n.Cb(4),n.sc("ngModel",r.vip_app.targets[i].route_type)("disabled",r.readOnlyValue),n.Cb(1),n.sc("value",r.reverseProxyMode),n.Cb(2),n.sc("value",r.k8sMode),n.Cb(2),n.sc("ngIf",e.route_type==r.reverseProxyMode),n.Cb(1),n.sc("ngIf",e.route_type==r.k8sMode)}}function zD(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",1),n.Wb(1,"div"),n.Wb(2,"h2"),n.bc(3,kD),n.Vb(),n.Wb(4,"div",2),n.bc(5,xD),n.Vb(),n.Vb(),n.Wb(6,"div"),n.Wb(7,"mat-form-field"),n.Wb(8,"input",3,4),n.dc(10,MD),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.name=t})),n.Vb(),n.Wb(11,"mat-hint",5),n.Jc(12),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"input",6,7),n.dc(16,DD),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.listen_port=t})),n.Vb(),n.Wb(17,"mat-hint",5),n.Jc(18),n.Vb(),n.Vb(),n.Wb(19,"mat-radio-group",8),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.is_tcp=t})),n.Wb(20,"mat-radio-button",9),n.Jc(21,"TCP"),n.Vb(),n.Wb(22,"mat-radio-button",9),n.Jc(23,"UDP"),n.Vb(),n.Vb(),n.Wb(24,"div",2),n.bc(25,LD),n.Vb(),n.Wb(26,"mat-expansion-panel",10),n.Wb(27,"mat-expansion-panel-header"),n.Wb(28,"mat-panel-title"),n.Wb(29,"h3"),n.bc(30,TD),n.Vb(),n.Vb(),n.Vb(),n.Ic(31,BD,11,6,"div",11),n.Vb(),n.Wb(32,"mat-form-field"),n.Wb(33,"input",12),n.dc(34,ED),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.owner=t})),n.Vb(),n.Vb(),n.Wb(35,"mat-form-field"),n.Wb(36,"input",12,13),n.dc(38,AD),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().vip_app.description=t})),n.Vb(),n.Wb(39,"mat-hint",5),n.Jc(40),n.Vb(),n.Vb(),n.Wb(41,"div"),n.Wb(42,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().updateVipApp()})),n.bc(43,OD),n.Vb(),n.Wb(44,"button",15),n.jc("click",(function(){return n.Cc(e),n.nc().changeEditable()})),n.Jc(45),n.Vb(),n.Wb(46,"button",14),n.jc("click",(function(){return n.Cc(e),n.nc().deleteVipApp()})),n.bc(47,PD),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.Ac(9),t=n.Ac(15),i=n.Ac(37),r=n.nc();n.Cb(8),n.sc("ngModel",r.vip_app.name)("readonly",r.readOnlyValue),n.Cb(4),n.Lc("",(null==e.value?null:e.value.length)||0,"/128"),n.Cb(2),n.sc("ngModel",r.vip_app.listen_port)("readonly",r.readOnlyValue),n.Cb(4),n.Lc("",(null==t.value?null:t.value.length)||0,"/5"),n.Cb(1),n.sc("ngModel",r.vip_app.is_tcp)("disabled",r.readOnlyValue),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1),n.Cb(4),n.sc("expanded",!0),n.Cb(5),n.sc("ngForOf",r.vip_app.targets)("ngForTrackBy",r.trackByFn),n.Cb(2),n.sc("ngModel",r.vip_app.owner)("readonly",r.readOnlyValue),n.Cb(3),n.sc("ngModel",r.vip_app.description)("readonly",r.readOnlyValue),n.Cb(4),n.Lc("",(null==i.value?null:i.value.length)||0,"/256"),n.Cb(2),n.sc("disabled",r.readOnlyValue),n.Cb(3),n.Kc(r.readOnlyButtonText),n.Cb(1),n.sc("disabled",r.readOnlyValue)}}let ND=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n,this.reverseProxyMode=Qa.Reverse_Proxy,this.k8sMode=Qa.K8S_Ingress,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}ngOnInit(){this.getVipApp()}getVipApp(){const e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_vip_app",(function(e){null!=e&&(t.vip_app=e)}),e)}else this.readOnlyValue=!1,this.vip_app=new Ka,this.vip_app.id="0",this.vip_app.name="XXX",this.vip_app.listen_port=8001,this.vip_app.is_tcp=!0,this.vip_app.targets=[],this.vip_app.owner=this.rpcService.auth_user.username,this.vip_app.description="Used for YYY",this.addTarget()}addTarget(){if(!this.readOnlyValue){var e=new Ga;e.id="0",e.vip_app_id=this.vip_app.id,e.route_type=Qa.Reverse_Proxy,e.destination="127.0.0.1:4001",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",this.vip_app.targets.push(e)}}delTarget(e){this.readOnlyValue||(1!=this.vip_app.targets.length?this.vip_app.targets.splice(e,1):alert("At least one item is required!"))}updateVipApp(){var e=this;this.rpcService.getResponse("update_vip_app",(function(t){if(null==t)return void e.messageService.add("Update failed.");let i=t.id;e.vip_app.id==i?e.vip_app=t:(e.vip_app.id=i,e.router.navigate(["/vip/"+i])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Port forwarding "+t.name+" saved.")}),null,e.vip_app)}deleteVipApp(){if(confirm("Are you sure to delete application: "+this.vip_app.name+"?")){var e=this;this.rpcService.getResponse("del_vip_app",(function(){e.messageService.add(e.vip_app.name+" deleted."),e.router.navigate(["/forwarding"])}),this.vip_app.id,null)}}changeEditable(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-vip-app"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],["matInput","","type","number","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["listen_port",""],["aria-label","Protocol",3,"ngModel","disabled","ngModelChange"],[3,"value"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["required","",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],[1,"inline-form-field-80"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],[1,"inline-form-field-60"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&n.Ic(0,zD,48,21,"div",0),2&e&&n.sc("ngIf",t.vip_app)},directives:[P,Mu,Bu,Qe,hi,st,ci,bu,bt,yD,CD,xm,Mm,Dm,A,Nd,gu,gf,td,up,wu,If],styles:['.required[_ngcontent-%COMP%]{color:red}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;width:100%}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}.detail_panel[_ngcontent-%COMP%]{margin-top:20px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;margin-top:5px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-60[_ngcontent-%COMP%]{width:55%;margin-right:5px}.inline-form-field-80[_ngcontent-%COMP%]{width:75%;margin-right:5px}']}),e})();var UD,qD,$D;function JD(e,t){if(1&e&&(n.Wb(0,"tr"),n.Wb(1,"td"),n.Wb(2,"a",7),n.Jc(3),n.Vb(),n.Vb(),n.Wb(4,"td",8),n.Jc(5),n.Vb(),n.Wb(6,"td",8),n.Jc(7),n.Vb(),n.Vb()),2&e){const e=t.$implicit;n.Cb(2),n.tc("href",e.url,n.Dc),n.Cb(1),n.Lc(" ",e.url," "),n.Cb(2),n.Lc(" ",e.PV," "),n.Cb(2),n.Lc(" ",e.UV," ")}}UD=$localize`:@@referring_site␟56e20e97f32fccfa6c94aad6f33e4735689d16b4␟1891403958688141467:Referring site`,qD=$localize`:@@target_site␟a2ebd38e40ac032d44d74c5204673f3e3e3f6c67␟5531534430589766613:Target site`,$D=$localize`:@@referring_link␟25bb807edcb491dd296a08d7fb097854709bbffc␟1107133793118657967:Referring Link`;let KD=(()=>{class e{constructor(e,t,i,n){this.route=e,this.rpcService=t,this.router=i,this.messageService=n}ngOnInit(){this.app_id=this.route.snapshot.paramMap.get("app_id"),this.host=this.route.snapshot.paramMap.get("host"),this.getRefererURLs(this.app_id,this.host)}getRefererURLs(e,t){let i=this;this.rpcService.getResponseByCustomBody({action:"get_referer_urls",app_id:e,host:t},(function(e){i.referer_urls=e}))}getAppNameByID(e){return"0"==e?"All":this.rpcService.appmap[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(ms),n.Pb(go),n.Pb(Sa),n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-referer"]],decls:23,vars:3,consts:[[1,"container"],["fxLayout","row wrap"],["fxFlex","100%",1,"access_div"],[1,"referer_table"],["width","60%"],["width","20%"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"td-align-center"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"div"),n.Wb(4,"span"),n.bc(5,UD),n.Vb(),n.Jc(6),n.Vb(),n.Wb(7,"div"),n.Wb(8,"span"),n.bc(9,qD),n.Vb(),n.Jc(10),n.Vb(),n.Vb(),n.Vb(),n.Rb(11,"br"),n.Wb(12,"div",1),n.Wb(13,"div",2),n.Wb(14,"table",3),n.Wb(15,"tr"),n.Wb(16,"th",4),n.bc(17,$D),n.Vb(),n.Wb(18,"th",5),n.Jc(19,"PV (14 days)"),n.Vb(),n.Wb(20,"th",5),n.Jc(21,"UV (14 days)"),n.Vb(),n.Vb(),n.Ic(22,JD,8,4,"tr",6),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(6),n.Lc(": ",t.host," "),n.Cb(4),n.Lc(": ",t.getAppNameByID(t.app_id)," "),n.Cb(12),n.sc("ngForOf",t.referer_urls))},directives:[jd,Ob,Wb,A],styles:['.referer_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#ddd}.referer_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.referer_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),e})();var GD=i("0FX9");const ZD=["qrcElement"];let XD=(()=>{let e=class{constructor(e,t){this.renderer=e,this.platformId=t,this.colordark="",this.colorlight="",this.level="",this.hidetitle=!1,this.size=0,this.usesvg=!1,this.allowEmptyString=!1,this.qrdata="",this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.scale=4,this.width=10,this.qrcode=null,this.isValidQrCodeText=e=>!1===this.allowEmptyString?!(void 0===e||""===e||"null"===e||null===e):!(void 0===e),""!==this.colordark&&console.warn("[angularx-qrcode] colordark is deprecated, use colorDark."),""!==this.colorlight&&console.warn("[angularx-qrcode] colorlight is deprecated, use colorLight."),""!==this.level&&console.warn("[angularx-qrcode] level is deprecated, use errorCorrectionLevel."),!1!==this.hidetitle&&console.warn("[angularx-qrcode] hidetitle is deprecated."),0!==this.size&&console.warn("[angularx-qrcode] size is deprecated, use `width`. Defaults to 10."),!1!==this.usesvg&&console.warn("[angularx-qrcode] usesvg is deprecated, use [elementType]=\"'img'\".")}ngAfterViewInit(){$(this.platformId)||this.createQRCode()}ngOnChanges(){this.createQRCode()}toDataURL(){return new Promise((e,t)=>{Object(GD.toDataURL)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},(i,n)=>{i?t(i):e(n)})})}toCanvas(e){return new Promise((t,i)=>{Object(GD.toCanvas)(e,this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},e=>{e?i(e):t("success")})})}toSVG(){return new Promise((e,t)=>{Object(GD.toString)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,type:"svg",version:this.version,width:this.width},(i,n)=>{i?t(i):e(n)})})}renderElement(e){for(const t of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,t);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):void 0!==this.version&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto"),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty");let e;switch(this.elementType){case"canvas":e=this.renderer.createElement("canvas"),this.toCanvas(e).then(()=>{this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] canvas error: ",e)});break;case"svg":e=this.renderer.createElement("svg","svg"),this.toSVG().then(t=>{e.innerHTML=t,this.renderer.setAttribute(e,"height",`${this.width}`),this.renderer.setAttribute(e,"width",`${this.width}`),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] svg error: ",e)});break;case"url":case"img":default:e=this.renderer.createElement("img"),this.toDataURL().then(t=>{e.setAttribute("src",t),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] img/url error: ",e)})}}catch(e){console.error("[angularx-qrcode] Error generating QR Code: ",e.message)}}};return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.F),n.Pb(n.C))},e.\u0275cmp=n.Jb({type:e,selectors:[["qrcode"]],viewQuery:function(e,t){var i;1&e&&n.Gc(ZD,!0),2&e&&n.zc(i=n.kc())&&(t.qrcElement=i.first)},inputs:{colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",size:"size",usesvg:"usesvg",allowEmptyString:"allowEmptyString",qrdata:"qrdata",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",margin:"margin",scale:"scale",width:"width",version:"version"},features:[n.Ab()],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,t){1&e&&n.Rb(0,"div",null,0),2&e&&n.Eb(t.cssClass)},encapsulation:2,changeDetection:0}),e})(),QD=(()=>{let e=class{};return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[]}),e})();var eL,tL,iL,nL,rL;eL=$localize`:@@authenticator_register␟e63ad8355fe8bf46bc37e9ca4aca1f8fde944bd3␟5969208796545941505:Authenticator Registration`,tL=$localize`:@@authenticator_notice␟1f830b294f7117f2353aa8a45f88fc329c57288f␟5133033014201784485: Please scan the following QRCode with Google Authenticator, or Microsoft Authenticator: `,iL=$localize`:@@input_key_notice␟4307a4d3132d90e7629582a429b92beede51b064␟3711585289156562892: Or input the Secret Key in your mobile app: `,nL=$localize`:@@input_code_notice␟5d322b9b58b5d26e5b9e218d90d5c09b9e1a3e1f␟5487583822487337611:Input 6-digit Code`,rL=$localize`:@@verify␟b39189bdad1461d0b25ab2bbbfd3f8988116058c␟8057635354960539736:Verify and Register`;let sL=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.messageService=t,this.router=i}ngOnInit(){this.qrData="otpauth://totp/"+this.rpcService.auth_user.username+"?secret="+this.rpcService.auth_user.totp_key+"&issuer=JANUSEC"}verify(){var e=this;this.rpcService.getResponseByCustomBody({action:"verify_totp",uid:this.rpcService.auth_user.username,code:this.code},(function(){e.messageService.add("verify ok, please login"),e.router.navigate(["/login"])}))}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(_o),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-authcode-register"]],decls:18,vars:5,consts:[[1,"container"],[1,"notes"],[3,"qrdata","width","errorCorrectionLevel"],["matInput","","required","",3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"h1"),n.bc(2,eL),n.Vb(),n.Wb(3,"div",1),n.bc(4,tL),n.Vb(),n.Rb(5,"qrcode",2),n.Wb(6,"div"),n.Wb(7,"span"),n.bc(8,iL),n.Vb(),n.Jc(9),n.Vb(),n.Rb(10,"br"),n.Wb(11,"mat-form-field"),n.Wb(12,"mat-label"),n.bc(13,nL),n.Vb(),n.Wb(14,"input",3),n.jc("ngModelChange",(function(e){return t.code=e})),n.Vb(),n.Vb(),n.Wb(15,"section"),n.Wb(16,"button",4),n.jc("click",(function(){return t.verify()})),n.bc(17,rL),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(5),n.sc("qrdata",t.qrData)("width",256)("errorCorrectionLevel","M"),n.Cb(4),n.Lc(" ",t.rpcService.auth_user.totp_key," "),n.Cb(5),n.sc("ngModel",t.code))},directives:[XD,Mu,gu,Bu,Qe,hi,st,ci,Nd],styles:[""]}),e})();const aL=["label",$localize`:@@global_cc_policy␟85b89d3f97c8cfc9a22297dab6f3ebe3e88a54eb␟8185795483098629630:Global CC Policy`];var oL;oL=$localize`:@@global_cc_title␟80df0b7adb6f3cdfd2e0553bd6e9899f07783b9b␟6623469599976426156:Global CC Policy (Priority is lower than custom policy)`;const cL=["placeholder",$localize`:@@interval_milliseconds␟c67377cf3a7553d095461ae62b535cb0edbe5f87␟5333209757526234081:Time Window (100 ms)`],lL=["placeholder",$localize`:@@max_count␟b6dfba48f89c2284c1141bfda88f2e90330bc708␟3630794273078022397:Max Requests Count (6)`],dL=["placeholder",$localize`:@@block_seconds␟f18354d7c5284259f574b92b85e4ff4adc4cfeae␟3553848666220343841:Block Seconds (900)`],uL=["placeholder",$localize`:@@action␟1bd5e17c9582661e20763a7634ef07881e33bbd7␟9216117865911519658:Action`];var hL,fL,pL,mL,_L,bL;hL=$localize`:@@count_each_url␟37a3ab18bb110b8e75023ceb0865f07fbebc2e5a␟710768478920804943:Count each URL separately (default: selected)`,fL=$localize`:@@count_each_ua␟47db0222a6df7dc3c196ceb5f048b88768ab07d9␟5743571863130741572:Count each User-Agent separately (default: not selected)`,pL=$localize`:@@count_each_cookie␟99e06ecde46232b08aa36c131322a752e7e254eb␟832962717517678565:Count different Cookies separately (default: not selected)`,mL=$localize`:@@enable_policy␟c1a5f913d3e4333026c42bf940238aed1e95154f␟591469843136255470:Enabled this CC block policy (default: selected)`,_L=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,bL=$localize`:@@slow_cc_notice␟c17427b71184ebc32fae608d40d648dd77c351f6␟6706756055351880040: Note: Slow CC detection is also enabled using 15 time windows (other parameters are the same). `;const gL=["label",$localize`:@@custom_cc_policy␟5ac736ae976f63be80aa6e2d36bf2e600fd6e089␟9096686161247344163:Custom CC Policy`];var yL;yL=$localize`:@@custom_cc_title␟e5f406f1527a1bedcc6ed8178ab4998a46127470␟100944363597393702:Custom CC Policy (Only show when an application selected)`;const vL=["placeholder",$localize`:@@select_application␟5e310a28af710db10832c9756459f0e14072ca63␟5427239173611242637:Select the Application`];function wL(e,t){if(1&e&&(n.Wb(0,"mat-option",11),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}function CL(e,t){if(1&e&&(n.Wb(0,"mat-option",11),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.id),n.Cb(1),n.Lc(" ",e.name," ")}}var SL;function kL(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"button",12),n.jc("click",(function(){n.Cc(e);const t=n.nc();return t.newCCPolicy(t.selected_app_id)})),n.bc(2,SL),n.Vb(),n.Vb()}}SL=$localize`:@@add_custom_cc_policy␟337931a440e7dc8e8b5db54b20b906408dbc7749␟1242276401010012994:Add Custom CC Policy`;const xL=["placeholder",$localize`:@@interval_milliseconds␟c67377cf3a7553d095461ae62b535cb0edbe5f87␟5333209757526234081:Time Window (100 ms)`],ML=["placeholder",$localize`:@@max_count␟b6dfba48f89c2284c1141bfda88f2e90330bc708␟3630794273078022397:Max Requests Count (6)`],DL=["placeholder",$localize`:@@block_seconds␟f18354d7c5284259f574b92b85e4ff4adc4cfeae␟3553848666220343841:Block Seconds (900)`],LL=["placeholder",$localize`:@@action␟1bd5e17c9582661e20763a7634ef07881e33bbd7␟9216117865911519658:Action`];var TL,EL,AL,OL,PL,IL;function RL(e,t){if(1&e&&(n.Wb(0,"mat-option",11),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.sc("value",e.value),n.Cb(1),n.Lc(" ",e.name," ")}}function jL(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"h3"),n.Jc(2),n.Vb(),n.Wb(3,"mat-form-field"),n.Wb(4,"input",2),n.dc(5,xL),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.interval_milliseconds=t})),n.Vb(),n.Vb(),n.Wb(6,"mat-form-field"),n.Wb(7,"input",2),n.dc(8,ML),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.max_count=t})),n.Vb(),n.Vb(),n.Wb(9,"mat-form-field"),n.Wb(10,"input",2),n.dc(11,DL),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.block_seconds=t})),n.Vb(),n.Vb(),n.Wb(12,"mat-form-field"),n.Wb(13,"mat-select",3),n.dc(14,LL),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.action=t})),n.Ic(15,RL,2,2,"mat-option",4),n.Vb(),n.Vb(),n.Wb(16,"section"),n.Wb(17,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.stat_by_url=t})),n.bc(18,TL),n.Vb(),n.Vb(),n.Wb(19,"section"),n.Wb(20,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.stat_by_ua=t})),n.bc(21,EL),n.Vb(),n.Vb(),n.Wb(22,"section"),n.Wb(23,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.stat_by_cookie=t})),n.bc(24,AL),n.Vb(),n.Vb(),n.Wb(25,"section"),n.Wb(26,"mat-checkbox",5),n.jc("ngModelChange",(function(t){return n.Cc(e),n.nc().app_cc_policy.is_enabled=t})),n.bc(27,OL),n.Vb(),n.Vb(),n.Wb(28,"div"),n.Wb(29,"button",6),n.jc("click",(function(){n.Cc(e);const t=n.nc();return t.updateCCPolicy(t.selected_app_id)})),n.bc(30,PL),n.Vb(),n.Wb(31,"button",12),n.jc("click",(function(){n.Cc(e);const t=n.nc();return t.deleteCCPolicy(t.selected_app_id)})),n.bc(32,IL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(2),n.Lc("",e.application.name," CC Policy"),n.Cb(2),n.sc("ngModel",e.app_cc_policy.interval_milliseconds),n.Cb(3),n.sc("ngModel",e.app_cc_policy.max_count),n.Cb(3),n.sc("ngModel",e.app_cc_policy.block_seconds),n.Cb(3),n.sc("ngModel",e.app_cc_policy.action),n.Cb(2),n.sc("ngForOf",e.enum_action_values),n.Cb(2),n.sc("ngModel",e.app_cc_policy.stat_by_url),n.Cb(3),n.sc("ngModel",e.app_cc_policy.stat_by_ua),n.Cb(3),n.sc("ngModel",e.app_cc_policy.stat_by_cookie),n.Cb(3),n.sc("ngModel",e.app_cc_policy.is_enabled)}}TL=$localize`:@@count_each_url␟85ded74a7837149fa16cfd814ccfd0c7f2fac0bc␟284133628696784148:Count each URL separately`,EL=$localize`:@@count_each_ua␟01f54b088928f791fc92d1ae241c411aa06940fc␟6976258656448014735:Count each User-Agent separately`,AL=$localize`:@@count_each_cookie␟cad4728674cfe9ad5249a40b9e4a7fc8a9108097␟8316237512627864188:Count different Cookies separately`,OL=$localize`:@@enable_policy␟8b0da17b127a0b9ab1883ee945a3ae6c4ab52087␟5864582010366176989:Enabled this CC block policy`,PL=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,IL=$localize`:@@delete␟826b25211922a1b46436589233cb6f1a163d89b7␟7022070615528435141:Delete`;let YL=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.enum_action_values=[],this.global_cc_policy=new io,this.app_cc_policy=new io,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getCCPolicy("0"))}ngOnInit(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e});else this.router.navigate(["/"])}getCCPolicy(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(i){null!=i&&("0"==e?t.global_cc_policy=i:(t.app_cc_policy=i,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}newCCPolicy(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}updateCCPolicy(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);let i=this;this.rpcService.getResponse("update_cc_policy",(function(){i.messageService.add("CC policy updated!")}),e,t)}deleteCCPolicy(e){if("0"==e)return;this.has_custom_cc_policy=!1;let t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}onSelectApp(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}getVulnNameByID(e){return this.rpcService.vulntypemap[e]}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-cc"]],decls:48,vars:13,consts:[[1,"container"],[6,"label"],["matInput","","type","number","required","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],[1,"notes"],[1,"fullrow"],[3,"ngModel","ngModelChange","selectionChange",6,"placeholder"],[4,"ngIf"],[3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"mat-tab-group"),n.Wb(2,"mat-tab",1),n.dc(3,aL),n.Wb(4,"div"),n.Wb(5,"h2"),n.bc(6,oL),n.Vb(),n.Wb(7,"mat-form-field"),n.Wb(8,"input",2),n.dc(9,cL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.interval_milliseconds=e})),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"input",2),n.dc(12,lL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.max_count=e})),n.Vb(),n.Vb(),n.Wb(13,"mat-form-field"),n.Wb(14,"input",2),n.dc(15,dL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.block_seconds=e})),n.Vb(),n.Vb(),n.Wb(16,"mat-form-field"),n.Wb(17,"mat-select",3),n.dc(18,uL),n.jc("ngModelChange",(function(e){return t.global_cc_policy.action=e})),n.Ic(19,wL,2,2,"mat-option",4),n.Vb(),n.Vb(),n.Wb(20,"section"),n.Wb(21,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_url=e})),n.bc(22,hL),n.Vb(),n.Vb(),n.Wb(23,"section"),n.Wb(24,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_ua=e})),n.bc(25,fL),n.Vb(),n.Vb(),n.Wb(26,"section"),n.Wb(27,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_cookie=e})),n.bc(28,pL),n.Vb(),n.Vb(),n.Wb(29,"section"),n.Wb(30,"mat-checkbox",5),n.jc("ngModelChange",(function(e){return t.global_cc_policy.is_enabled=e})),n.bc(31,mL),n.Vb(),n.Vb(),n.Wb(32,"button",6),n.jc("click",(function(){return t.updateCCPolicy("0")})),n.bc(33,_L),n.Vb(),n.Rb(34,"hr"),n.Wb(35,"div",7),n.bc(36,bL),n.Vb(),n.Vb(),n.Vb(),n.Wb(37,"mat-tab",1),n.dc(38,gL),n.Wb(39,"div"),n.Wb(40,"h2"),n.bc(41,yL),n.Vb(),n.Wb(42,"mat-form-field",8),n.Wb(43,"mat-select",9),n.dc(44,vL),n.jc("ngModelChange",(function(e){return t.selected_app_id=e}))("selectionChange",(function(){return t.onSelectApp()})),n.Ic(45,CL,2,2,"mat-option",4),n.Vb(),n.Vb(),n.Ic(46,kL,3,0,"div",10),n.Vb(),n.Ic(47,jL,33,10,"div",10),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(8),n.sc("ngModel",t.global_cc_policy.interval_milliseconds),n.Cb(3),n.sc("ngModel",t.global_cc_policy.max_count),n.Cb(3),n.sc("ngModel",t.global_cc_policy.block_seconds),n.Cb(3),n.sc("ngModel",t.global_cc_policy.action),n.Cb(2),n.sc("ngForOf",t.enum_action_values),n.Cb(2),n.sc("ngModel",t.global_cc_policy.stat_by_url),n.Cb(3),n.sc("ngModel",t.global_cc_policy.stat_by_ua),n.Cb(3),n.sc("ngModel",t.global_cc_policy.stat_by_cookie),n.Cb(3),n.sc("ngModel",t.global_cc_policy.is_enabled),n.Cb(13),n.sc("ngModel",t.selected_app_id),n.Cb(2),n.sc("ngForOf",t.rpcService.applications),n.Cb(1),n.sc("ngIf",t.selected_app_id&&!t.has_custom_cc_policy),n.Cb(1),n.sc("ngIf",t.has_custom_cc_policy&&t.application))},directives:[dk,QS,Mu,Bu,bt,Qe,hi,st,ci,gf,A,Hm,Nd,P,td],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),e})();const VL=["ipPaginator"];var WL,FL,HL,BL,zL,NL,UL,qL,$L,JL,KL,GL,ZL;function XL(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,zL),n.Vb())}function QL(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"input",18),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.ip_addr=i})),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.ip_addr)("disabled",!e.editable)}}function eT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,NL),n.Vb())}function tT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-select",19),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.is_allow=i})),n.Wb(2,"mat-option",20),n.bc(3,UL),n.Vb(),n.Wb(4,"mat-option",20),n.bc(5,qL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.is_allow)("disabled",!e.editable),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1)}}function iT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," WAF "),n.Vb())}function nT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-select",19),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.apply_to_waf=i})),n.Wb(2,"mat-option",20),n.bc(3,$L),n.Vb(),n.Wb(4,"mat-option",20),n.bc(5,JL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.apply_to_waf)("disabled",!e.editable),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1)}}function rT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.Jc(1," CC "),n.Vb())}function sT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-select",19),n.jc("ngModelChange",(function(i){return n.Cc(e),t.$implicit.apply_to_cc=i})),n.Wb(2,"mat-option",20),n.bc(3,KL),n.Vb(),n.Wb(4,"mat-option",20),n.bc(5,GL),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngModel",e.apply_to_cc)("disabled",!e.editable),n.Cb(1),n.sc("value",!0),n.Cb(2),n.sc("value",!1)}}function aT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,ZL),n.Vb())}function oT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",24),n.jc("click",(function(){n.Cc(e);const t=n.nc().index;return n.nc().saveIP(t)})),n.Jc(1,"save"),n.Vb()}}function cT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-icon",25),n.jc("click",(function(){return n.Cc(e),n.nc().$implicit.editable=!0})),n.Jc(1,"edit"),n.Vb()}}function lT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Ic(1,oT,2,0,"mat-icon",21),n.Ic(2,cT,2,0,"mat-icon",22),n.Wb(3,"span"),n.Jc(4,"\xa0\xa0\xa0"),n.Vb(),n.Wb(5,"mat-icon",23),n.jc("click",(function(){n.Cc(e);const i=t.index;return n.nc().deleteIP(i)})),n.Jc(6," delete_outline"),n.Vb(),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.sc("ngIf",e.editable),n.Cb(1),n.sc("ngIf",!e.editable)}}function dT(e,t){1&e&&n.Rb(0,"mat-header-row")}function uT(e,t){1&e&&n.Rb(0,"mat-row")}WL=$localize`:@@ip_policy␟8f9f517abd64c0696ff319aefd501c8d6bfbcdae␟1030481121539161597:IP Policy`,FL=$localize`:@@ip_policy_allow␟e3829f126dc17e33e15c1925f7a78f6fea5cc8ea␟1085219955609485961: Allow: allow security testing if WAF applicable, allow high frequency access if CC applicable. `,HL=$localize`:@@ip_policy_block␟f35fc8ec5c92eb592fa753565b736ba5c22e0791␟1454906982648768569: Block: show block information if WAF applicable only, block access if CC applicable. `,BL=$localize`:@@add_ip␟b218bf288eb626ef504db58843c379e1026ef5e1␟1038456613595221490:Add IP`,zL=$localize`:@@ip_addr␟e8129ddc9c3593ea666e127d21a357ace16d57cf␟7175831147405774690: IP Address `,NL=$localize`:@@is_allow␟01a32bb7e93373cbc305329319efc67c0bd85226␟97940262148604706: Action `,UL=$localize`:@@allow␟df30bc0856e61ba596fc22fba03c409537bc055c␟340639236808573336:Allow`,qL=$localize`:@@block␟7f5d0c10614e8a34f0e2dad33a0568277c50cf69␟420763834450076269:Block`,$L=$localize`:@@applicable␟c62b0c1e9ec036c84e2c060ad471f0b73ce41652␟111090786407836768:Applicable`,JL=$localize`:@@not_applicable␟8f95b2e1fc78f85e52f385faebcece7d9a009b3b␟1575742678514522985:Not Applicable`,KL=$localize`:@@applicable␟c62b0c1e9ec036c84e2c060ad471f0b73ce41652␟111090786407836768:Applicable`,GL=$localize`:@@not_applicable␟8f95b2e1fc78f85e52f385faebcece7d9a009b3b␟1575742678514522985:Not Applicable`,ZL=$localize`:@@ip_operation␟f3e8908987e623d7428b64122fd5379f75392cf5␟5928868080162558607: Operation `;const hT=function(){return[10,20,50]};let fT=(()=>{class e{constructor(e,t,i){this.messageService=e,this.rpcService=t,this.router=i,this.enum_action_values=[],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getIPPolicies())}ngOnInit(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),ro)"number"==typeof ro[e]&&this.enum_action_values.push({value:ro[e],name:e});else this.router.navigate(["/"])}getIPPolicies(){var e=this;this.rpcService.getResponse("get_ip_policies",(function(t){e.ip_policies=t,e.ipPolicyDataSource=new Dd(e.ip_policies),e.ipPolicyDataSource.paginator=e.ipPaginator,e.ipPaginator.pageIndex=0,e.ipPageLength=e.ip_policies.length}))}addIPPolicy(){let e=new mo;e.id="0",e.ip_addr="127.0.0.1",e.is_allow=!0,e.apply_to_waf=!0,e.apply_to_cc=!0,e.editable=!0,this.ip_policies.splice(0,0,e),this.ipPolicyDataSource.data=this.ip_policies}saveIP(e){let t=this;this.rpcService.getResponse("update_ip_policy",(function(i){t.ip_policies[e]=i,t.ip_policies[e].editable=!1,t.ipPolicyDataSource.data=t.ip_policies}),"0",this.ip_policies[e])}deleteIP(e){let t=this,i=this.ip_policies[e];"0"==i.id?(t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies):this.rpcService.getResponse("del_ip_policy",(function(){t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies}),i.id,null)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o),n.Pb(go),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-ip-policy"]],viewQuery:function(e,t){var i;1&e&&n.Sc(VL,!0),2&e&&n.zc(i=n.kc())&&(t.ipPaginator=i.first)},decls:35,vars:8,consts:[[1,"container"],[1,"notes"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","ip_addr"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_allow"],["matColumnDef","apply_to_waf"],["matColumnDef","apply_to_cc"],["matColumnDef","editable"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","showFirstLastButtons"],["ipPaginator",""],["mat-stroked-button","",3,"click"],["matListIcon",""],["matInput","","placeholder","IP Address","required","",3,"ngModel","disabled","ngModelChange"],[1,"custom_select",3,"ngModel","disabled","ngModelChange"],[3,"value"],["class","btn_icon","inline","true","matTooltip","Save","matTooltipPosition","left",3,"click",4,"ngIf"],["class","btn_icon","inline","true","matTooltip","Edit","matTooltipPosition","left",3,"click",4,"ngIf"],["inline","true","matTooltip","Delete","matTooltipPosition","right",1,"btn_icon",3,"click"],["inline","true","matTooltip","Save","matTooltipPosition","left",1,"btn_icon",3,"click"],["inline","true","matTooltip","Edit","matTooltipPosition","left",1,"btn_icon",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"h2"),n.bc(2,WL),n.Vb(),n.Wb(3,"ul",1),n.Wb(4,"li"),n.bc(5,FL),n.Vb(),n.Wb(6,"li"),n.bc(7,HL),n.Vb(),n.Vb(),n.Wb(8,"div",2),n.Wb(9,"mat-table",3,4),n.Ub(11,5),n.Ic(12,XL,2,0,"mat-header-cell",6),n.Ic(13,QL,2,2,"mat-cell",7),n.Tb(),n.Ub(14,8),n.Ic(15,eT,2,0,"mat-header-cell",6),n.Ic(16,tT,6,4,"mat-cell",7),n.Tb(),n.Ub(17,9),n.Ic(18,iT,2,0,"mat-header-cell",6),n.Ic(19,nT,6,4,"mat-cell",7),n.Tb(),n.Ub(20,10),n.Ic(21,rT,2,0,"mat-header-cell",6),n.Ic(22,sT,6,4,"mat-cell",7),n.Tb(),n.Ub(23,11),n.Ic(24,aT,2,0,"mat-header-cell",6),n.Ic(25,lT,7,2,"mat-cell",7),n.Tb(),n.Ic(26,dT,1,0,"mat-header-row",12),n.Ic(27,uT,1,0,"mat-row",13),n.Vb(),n.Rb(28,"mat-paginator",14,15),n.Vb(),n.Wb(30,"button",16),n.jc("click",(function(){return t.addIPPolicy()})),n.Wb(31,"mat-icon",17),n.Jc(32,"add_circle_outline"),n.Vb(),n.Wb(33,"span"),n.bc(34,BL),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(9),n.sc("dataSource",t.ipPolicyDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.ipDisplayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.ipDisplayedColumns),n.Cb(1),n.sc("length",t.ipPageLength)("pageSize",20)("pageSizeOptions",n.wc(7,hT))("showFirstLastButtons",!0))},directives:[cd,pd,hd,dd,gd,vd,Jf,Nd,up,mv,_d,bd,Bu,Qe,hi,st,ci,gf,td,P,If,Cd,kd],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),e})();var pT,mT,_T,bT,gT,yT,vT;function wT(e,t){1&e&&(n.Wb(0,"mat-icon",15),n.Jc(1,"check_circle_outline"),n.Vb())}function CT(e,t){1&e&&(n.Wb(0,"mat-icon",16),n.Jc(1,"highlight_off"),n.Vb())}pT=$localize`:@@data_discovery_rule␟2b5f9e63dd6a70dfbd4f41131cfd3e724c21f6db␟6424898335834367633:Data Discovery Rule`,mT=$localize`:@@field_name␟87b5a4b1c81f74c0937d7ee1f9714d6fe67270ec␟1301244316831267771:Field Name`,_T=$localize`:@@sample␟86bd4c895bf70b35a58305b7d107a2f1b67b141c␟1238358838717941284:Sample`,bT=$localize`:@@regex_pattern␟6e2a02c5ad298613a2936a91c00d5acbb3a1ab1a␟3673538476717951874:Regular Expression Pattern`,gT=$localize`:@@description␟eec715de352a6b114713b30b640d319fa78207a0␟4902817035128594900:Description`,yT=$localize`:@@save␟52c9a103b812f258bcddc3d90a6e3f46871d25fe␟3768927257183755959:Save`,vT=$localize`:@@cancel␟d7b35c384aecd25a516200d6921836374613dfe7␟2159130950882492111:Cancel`;let ST=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.dialogRef=t,this.data=i,this.regex_match=new co,this.discovery_rule=i.discovery_rule}testRegex(){this.regex_match.matched=null,this.regex_match.preprocess=!1,this.regex_match.payload=this.discovery_rule.sample,this.regex_match.pattern=this.discovery_rule.regex;var e=this;0!=this.regex_match.payload.length&&0!=this.regex_match.pattern.length&&this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}saveDiscoveryRule(){var e=this;this.rpcService.getResponse("update_discovery_rule",(function(t){e.discovery_rule=t}),this.discovery_rule.id,this.discovery_rule),this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Cw),n.Pb(Sw))},e.\u0275cmp=n.Jb({type:e,selectors:[["discovery-rule-dialog"]],decls:38,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matInput","","required","",3,"ngModel","ngModelChange"],["field_name",""],["align","end"],["sample",""],["matInput","","required","",3,"ngModel","ngModelChange","focusout"],["regex_pattern",""],["matSuffix","","color","primary",4,"ngIf"],["matSuffix","","color","warn",4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],["description",""],["mat-dialog-actions",""],["mat-stroked-button","",3,"click"],["mat-stroked-button","","mat-dialog-close",""],["matSuffix","","color","primary"],["matSuffix","","color","warn"]],template:function(e,t){if(1&e&&(n.Wb(0,"h1",0),n.bc(1,pT),n.Vb(),n.Wb(2,"div",1),n.Wb(3,"mat-form-field"),n.Wb(4,"mat-label"),n.bc(5,mT),n.Vb(),n.Wb(6,"input",2,3),n.jc("ngModelChange",(function(e){return t.discovery_rule.field_name=e})),n.Vb(),n.Wb(8,"mat-hint",4),n.Jc(9),n.Vb(),n.Vb(),n.Wb(10,"mat-form-field"),n.Wb(11,"mat-label"),n.bc(12,_T),n.Vb(),n.Wb(13,"input",2,5),n.jc("ngModelChange",(function(e){return t.discovery_rule.sample=e})),n.Vb(),n.Wb(15,"mat-hint",4),n.Jc(16),n.Vb(),n.Vb(),n.Wb(17,"mat-form-field"),n.Wb(18,"mat-label"),n.bc(19,bT),n.Vb(),n.Wb(20,"input",6,7),n.jc("ngModelChange",(function(e){return t.discovery_rule.regex=e}))("focusout",(function(){return t.testRegex()})),n.Vb(),n.Ic(22,wT,2,0,"mat-icon",8),n.Ic(23,CT,2,0,"mat-icon",9),n.Wb(24,"mat-hint",4),n.Jc(25),n.Vb(),n.Vb(),n.Wb(26,"mat-form-field"),n.Wb(27,"mat-label"),n.bc(28,gT),n.Vb(),n.Wb(29,"input",10,11),n.jc("ngModelChange",(function(e){return t.discovery_rule.description=e})),n.Vb(),n.Wb(31,"mat-hint",4),n.Jc(32),n.Vb(),n.Vb(),n.Vb(),n.Wb(33,"div",12),n.Wb(34,"button",13),n.jc("click",(function(){return t.saveDiscoveryRule()})),n.bc(35,yT),n.Vb(),n.Wb(36,"button",14),n.bc(37,vT),n.Vb(),n.Vb()),2&e){const e=n.Ac(7),i=n.Ac(14),r=n.Ac(21),s=n.Ac(30);n.Cb(6),n.sc("ngModel",t.discovery_rule.field_name),n.Cb(3),n.Lc("",(null==e.value?null:e.value.length)||0,"/256"),n.Cb(4),n.sc("ngModel",t.discovery_rule.sample),n.Cb(3),n.Lc("",(null==i.value?null:i.value.length)||0,"/512"),n.Cb(4),n.sc("ngModel",t.discovery_rule.regex),n.Cb(2),n.sc("ngIf",t.regex_match.matched),n.Cb(1),n.sc("ngIf",null!=t.regex_match.matched&&!t.regex_match.matched),n.Cb(2),n.Lc("",(null==r.value?null:r.value.length)||0,"/512"),n.Cb(4),n.sc("ngModel",t.discovery_rule.description),n.Cb(3),n.Lc("",(null==s.value?null:s.value.length)||0,"/512")}},directives:[Ew,Aw,Mu,gu,Bu,Qe,hi,st,ci,bu,P,Ow,Nd,Tw,up,wu],styles:[".container[_ngcontent-%COMP%]{margin:5px}mat-form-field[_ngcontent-%COMP%]{width:100%;background-color:#fefefe;border:3px solid #fff;box-sizing:border-box}.width50[_ngcontent-%COMP%]{width:50%!important;box-sizing:border-box}button[_ngcontent-%COMP%]{margin-top:20px;margin-right:5px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}.notice[_ngcontent-%COMP%]{font-size:small;background-color:#f5f5f5;padding:5px}"]}),e})();const kT=["*",[["mat-toolbar-row"]]],xT=["*","mat-toolbar-row"];class MT{constructor(e){this._elementRef=e}}const DT=_l(MT);let LT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Kb({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),TT=(()=>{class e extends DT{constructor(e,t,i){super(e),this._platform=t,this._document=i}ngAfterViewInit(){Object(n.W)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(e=>!(e.classList&&e.classList.contains("mat-toolbar-row"))).filter(e=>e.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(e=>!(!e.textContent||!e.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Po),n.Pb(a))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,i){var r;1&e&&n.Ib(i,LT,!0),2&e&&n.zc(r=n.kc())&&(t._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&n.Gb("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.zb],ngContentSelectors:xT,decls:2,vars:0,template:function(e,t){1&e&&(n.rc(kT),n.qc(0),n.qc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),e})(),ET=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl],pl]}),e})();const AT=["rulesPaginator"];var OT,PT,IT,RT,jT,YT,VT,WT;function FT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,RT),n.Vb())}function HT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell",19),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().editDataDiscoveryRule(i)})),n.Jc(1),n.Vb()}if(2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.field_name," ")}}function BT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,jT),n.Vb())}function zT(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.sample," ")}}function NT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,YT),n.Vb())}function UT(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.regex," ")}}function qT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,VT),n.Vb())}function $T(e,t){if(1&e&&(n.Wb(0,"mat-cell"),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e.description," ")}}function JT(e,t){1&e&&(n.Wb(0,"mat-header-cell"),n.bc(1,WT),n.Vb())}function KT(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-cell"),n.Wb(1,"mat-icon",20),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().editDataDiscoveryRule(i)})),n.Jc(2,"edit "),n.Vb(),n.Wb(3,"span"),n.Jc(4,"\xa0\xa0"),n.Vb(),n.Wb(5,"mat-icon",20),n.jc("click",(function(){n.Cc(e);const i=t.$implicit;return n.nc().deleteDataDiscoveryRule(i)})),n.Jc(6,"delete "),n.Vb(),n.Vb()}}function GT(e,t){1&e&&n.Rb(0,"mat-header-row")}function ZT(e,t){1&e&&n.Rb(0,"mat-row")}OT=$localize`:@@data_discovery␟63d49137f582ee027b1111855e04f02113ca761e␟8653649989113143059: Data Discovery`,PT=$localize`:@@add_discovery_rule␟44c6d7c1c2877426b48bcb42c05ad171983dc8b6␟56354631367414212: Add Discovery Rule `,IT=$localize`:@@back_to_settings␟d48dad8800fb5a0ce2f82b0e8fa88991613f112c␟3523968380696217863:Back to Settings`,RT=$localize`:@@field_name␟1bf30b8df5c68b8f1fbb8c03fa743feaabbcbfc8␟1115020147403727753: Field Name `,jT=$localize`:@@sample␟a5f2a7e435565569aef5e4c5d98ff4c088f565d9␟5897011278848801710: Sample `,YT=$localize`:@@regex␟20a714e8d63d241d9883d9c05ae16b5cdb8e106f␟6998370669475808931: Regex `,VT=$localize`:@@description␟3137d67bb771eeb9ae636670d73bd706258ad1a7␟3563823504206575540: Description `,WT=$localize`:@@action␟01a32bb7e93373cbc305329319efc67c0bd85226␟97940262148604706: Action `;const XT=function(){return[10,20,50]};var QT,eE,tE,iE,nE;QT=$localize`:@@api_interface␟ddd6dd9c3c3538836b10ad075dab5f569c229144␟6709824683221194532:API Interface`,eE=$localize`:@@api_notice␟e6daf73f39075b414128f781b7e501c69fc5b20e␟6547220350357958382:Please copy the following API Key string if you want to manage this gateway by external control panel.`,tE=$localize`:@@1_introduction_to_api␟8a82f6f74cbd3502c0631a71f404f1850cc4ed10␟3128266290694603421:1 Introduction to API Interface`,iE=$localize`:@@2_parameters␟44251a53f0471d4f3e64776caca1a78e1ac0e811␟4732772961672778896:2 Parameters`,nE=$localize`:@@3_example␟9881457edfadcc8100f1c7e9e3fadca72ac929d4␟481521859943191501:3 Example`;const rE=[{path:"",redirectTo:"/index.html",pathMatch:"full"},{path:"index.html",component:eM},{path:"dashboard",component:mw},{path:"application/:id",component:Y_},{path:"applications",component:Op},{path:"forwarding",component:uD},{path:"vip/:id",component:ND},{path:"certificates",component:sm},{path:"certificate/:id",component:mg},{path:"usermgmt",component:Fg},{path:"appuser/:id",component:ty},{path:"waf",component:ky},{path:"cc",component:YL},{path:"ip-policy",component:fT},{path:"policy/:id",component:nv},{path:"nodes",component:Nv},{path:"node/:id",component:Zv},{path:"logs",component:$C},{path:"cclogs",component:SS},{path:"settings",component:zx},{path:"log/:id",component:XC},{path:"cclog/:id",component:LS},{path:"login",component:eg},{path:"webssh",component:lM},{path:"health",component:FM},{path:"referring/:app_id/:host",component:KD},{path:"authcode-register",component:sL},{path:"discovery-rules",component:(()=>{class e{constructor(e,t){this.rpcService=e,this.dialog=t,this.discovery_rules=[],this.displayedColumns=["field_name","sample","regex","description","action"],this.getDiscoveryRules()}ngOnInit(){}addDataDiscoveryRule(){this.editDataDiscoveryRule({id:"0",field_name:"",sample:"",regex:"",description:"",editor:this.rpcService.auth_user.username,update_time:0})}editDataDiscoveryRule(e){this.dialog.open(ST,{width:"500px",data:{discovery_rule:e}}).afterClosed().subscribe(e=>{this.getDiscoveryRules()})}getDiscoveryRules(){let e=this;this.rpcService.getResponse("get_discovery_rules",(function(t){null==t&&(t=[]),e.discovery_rules=t,e.discoveryRulesDataSource=new Dd(e.discovery_rules),e.discoveryRulesDataSource.paginator=e.rulesPaginator}))}deleteDataDiscoveryRule(e){if(!confirm("Are you sure to delete discovery rule for: "+e.field_name+"?"))return;let t=this;this.rpcService.getResponse("del_discovery_rule",(function(e){t.getDiscoveryRules()}),e.id)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(Dw))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-discovery-rules"]],viewQuery:function(e,t){var i;1&e&&n.Sc(AT,!0),2&e&&n.zc(i=n.kc())&&(t.rulesPaginator=i.first)},decls:33,vars:6,consts:[[1,"container"],["mat-stroked-button","",3,"click"],[1,"spacer"],["mat-stroked-button","","routerLink","/settings",1,"back_link"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","field_name"],[4,"matHeaderCellDef"],["class","pointer",3,"click",4,"matCellDef"],["matColumnDef","sample"],[4,"matCellDef"],["matColumnDef","regex"],["matColumnDef","description"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions"],["rulesPaginator",""],[1,"pointer",3,"click"],["inline","true",1,"pointer",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,OT),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"mat-toolbar"),n.Wb(6,"button",1),n.jc("click",(function(){return t.addDataDiscoveryRule()})),n.bc(7,PT),n.Vb(),n.Rb(8,"span",2),n.Wb(9,"a",3),n.bc(10,IT),n.Vb(),n.Vb(),n.Wb(11,"div",4),n.Wb(12,"mat-table",5,6),n.Ub(14,7),n.Ic(15,FT,2,0,"mat-header-cell",8),n.Ic(16,HT,2,1,"mat-cell",9),n.Tb(),n.Ub(17,10),n.Ic(18,BT,2,0,"mat-header-cell",8),n.Ic(19,zT,2,1,"mat-cell",11),n.Tb(),n.Ub(20,12),n.Ic(21,NT,2,0,"mat-header-cell",8),n.Ic(22,UT,2,1,"mat-cell",11),n.Tb(),n.Ub(23,13),n.Ic(24,qT,2,0,"mat-header-cell",8),n.Ic(25,$T,2,1,"mat-cell",11),n.Tb(),n.Ub(26,14),n.Ic(27,JT,2,0,"mat-header-cell",8),n.Ic(28,KT,7,0,"mat-cell",11),n.Tb(),n.Ic(29,GT,1,0,"mat-header-row",15),n.Ic(30,ZT,1,0,"mat-row",16),n.Vb(),n.Rb(31,"mat-paginator",17,18),n.Vb(),n.Vb()),2&e&&(n.Cb(12),n.sc("dataSource",t.discoveryRulesDataSource),n.Cb(17),n.sc("matHeaderRowDef",t.displayedColumns),n.Cb(1),n.sc("matRowDefColumns",t.displayedColumns),n.Cb(1),n.sc("pageSize",20)("pageSizeOptions",n.wc(5,XT)))},directives:[jd,TT,Nd,Ud,ka,cd,pd,hd,dd,gd,vd,Jf,_d,bd,up,Cd,kd],styles:[".spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e})()},{path:"api-interface",component:(()=>{class e{constructor(e){this.rpcService=e}ngOnInit(){this.rpcService.getAPIKey()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-api-interface"]],decls:122,vars:43,consts:[[1,"container"],["matLine",""],[1,"wrapkey"]],template:function(e,t){1&e&&(n.Wb(0,"div",0),n.Wb(1,"div"),n.Wb(2,"mat-card"),n.Wb(3,"h2"),n.bc(4,QT),n.Vb(),n.Vb(),n.Vb(),n.Wb(5,"div"),n.Wb(6,"h3",1),n.bc(7,eE),n.Vb(),n.Wb(8,"span",2),n.Jc(9),n.Vb(),n.Wb(10,"div"),n.Wb(11,"h2"),n.bc(12,tE),n.Vb(),n.Wb(13,"h4"),n.Jc(14,"1.1 Interface Address"),n.Vb(),n.Wb(15,"p"),n.Jc(16,' All operations of the API use the POST method. If "primary_node" -> "admin" -> "listen" in config.json is false, then remove the ":9080". '),n.Vb(),n.Wb(17,"code"),n.Jc(18," POST http://IP_or_Domain_Name:9080/janusec-admin/ui-api "),n.Vb(),n.Wb(19,"h4"),n.Jc(20,"1.2 Content-Type"),n.Vb(),n.Wb(21,"code"),n.Jc(22," Content-Type: application/json "),n.Vb(),n.Wb(23,"h4"),n.Jc(24,"1.3 JSON Body for get object(s)"),n.Vb(),n.Wb(25,"code"),n.Jc(26),n.Vb(),n.Wb(27,"p"),n.Jc(28," id is a snowflake id string, not a number, because it exceeds the range of number. id is required for one object, not required for objects list. "),n.Vb(),n.Wb(29,"h4"),n.Jc(30,"1.4 Response of objects list"),n.Vb(),n.Wb(31,"code"),n.Jc(32),n.Vb(),n.Wb(33,"h4"),n.Jc(34,"1.5 Response of one object"),n.Vb(),n.Wb(35,"code"),n.Jc(36),n.Vb(),n.Wb(37,"h4"),n.Jc(38,"1.6 JSON Body for creating or updating an object"),n.Vb(),n.Wb(39,"p"),n.Jc(40," Let id = '0' for creating an object."),n.Vb(),n.Wb(41,"code"),n.Jc(42),n.Vb(),n.Wb(43,"h4"),n.Jc(44,"1.7 Response of updation one object"),n.Vb(),n.Wb(45,"p"),n.Jc(46,"Please keep the format of the object the same with you get it, and if the object has a time parameter, skip it or set it to 0."),n.Vb(),n.Wb(47,"code"),n.Jc(48),n.Vb(),n.Wb(49,"h4"),n.Jc(50,"1.8 JSON Body for deletion an object"),n.Vb(),n.Wb(51,"code"),n.Jc(52),n.Vb(),n.Wb(53,"h4"),n.Jc(54,"1.9 Response of deletion one object"),n.Vb(),n.Wb(55,"code"),n.Jc(56),n.Vb(),n.Wb(57,"h2"),n.bc(58,iE),n.Vb(),n.Wb(59,"h4"),n.Jc(60,"2.1 Parameter: auth_key"),n.Vb(),n.Wb(61,"p"),n.Jc(62," The auth_key is a time-related parameter, please make sure the time is correct. The auth_key needs to be regenerated every time a request is submitted, it is generated by function GenAuthKey(hex.DecodeString(APIKey)) and it is used to verify the identity of the requester. "),n.Vb(),n.Wb(63,"code"),n.Wb(64,"pre"),n.Jc(65),n.Vb(),n.Vb(),n.Wb(66,"h4"),n.Jc(67,"2.2 Parameter: action"),n.Vb(),n.Wb(68,"p"),n.Jc(69,"The parameter action can take the following values (string):"),n.Vb(),n.Wb(70,"ul"),n.Wb(71,"li"),n.Jc(72," get_certs: get all digital certificates, not include acme automatic certificates. The result will not include the private key of certificates. "),n.Vb(),n.Wb(73,"li"),n.Jc(74," get_cert: get digital certificate with designated id, parameter id (string) is required. "),n.Vb(),n.Wb(75,"li"),n.Jc(76," get_apps: get all web applications. "),n.Vb(),n.Wb(77,"li"),n.Jc(78," get_app: get the web application with designated id, parameter id (string) is required. "),n.Vb(),n.Wb(79,"li"),n.Jc(80," get_vip_apps: get all virtual IP applications, i.e. TCP/UDP port forwarding applications. "),n.Vb(),n.Wb(81,"li"),n.Jc(82," get_vip_app: get the virtual IP applications with designated id (string). "),n.Vb(),n.Wb(83,"li"),n.Jc(84," get_vuln_types: get all vulnerability types. "),n.Vb(),n.Wb(85,"li"),n.Jc(86," get_group_policies: get all group policies/rules for WAF. "),n.Vb(),n.Wb(87,"li"),n.Jc(88," get_group_policy: get the group policy/rule for WAF with designated id (string). "),n.Vb(),n.Wb(89,"li"),n.Jc(90," get_cc_policy: get CC policy with designated application id, parameter id is required and use application id string here, '0' for all applications. "),n.Vb(),n.Wb(91,"li"),n.Jc(92," update_cert: update the digital certificate with designated id (string), if id = '0' then create a new digital certificate. "),n.Vb(),n.Wb(93,"li"),n.Jc(94," update_app: update the web application with designated id (string), if id = '0' then create a new web application. "),n.Vb(),n.Wb(95,"li"),n.Jc(96," update_vip_app: update the virtual IP application, if id = '0' then create a new port forwarding. "),n.Vb(),n.Wb(97,"li"),n.Jc(98," del_cert: delete the digital certificate with designated id (string). "),n.Vb(),n.Wb(99,"li"),n.Jc(100," del_app: delete the web application with designated id (string). "),n.Vb(),n.Wb(101,"li"),n.Jc(102," del_vip_app: delete the virtual IP application with designated id (string). "),n.Vb(),n.Wb(103,"li"),n.Jc(104," del_group_policy: delete the group policy/rule for WAF with designated id (string). "),n.Vb(),n.Wb(105,"li"),n.Jc(106," del_cc_policy: delete the CC policy/rule for designated web application. "),n.Vb(),n.Vb(),n.Wb(107,"h2"),n.bc(108,nE),n.Vb(),n.Wb(109,"p"),n.Jc(110,"To update a web application, the body would like the following (Its format should be single line, without spaces or line breaks):"),n.Vb(),n.Wb(111,"code"),n.Wb(112,"pre"),n.Jc(113),n.Vb(),n.Vb(),n.Wb(114,"p"),n.Jc(115," Parameter route_type: 1 for Reverse_Proxy (default), 2 for Local_FastCGI, 4 for Static_Website, 8 for K8S_Ingress. "),n.Vb(),n.Wb(116,"p"),n.Jc(117," Parameter node_id is not used now. "),n.Vb(),n.Wb(118,"p"),n.Jc(119," Parameter ip_method: 1 for REMOTE_ADDR (default), 2 for X_Forwarded_For, 4 for X_REAL_IP, 8 for REAL_IP "),n.Vb(),n.Wb(120,"p"),n.Jc(121," Please set id = '0' for new object (such as certificate, application, virtual ip application, destination, domain, group policy, cc policy etc.). "),n.Vb(),n.Vb(),n.Vb(),n.Vb()),2&e&&(n.Cb(9),n.Kc(t.rpcService.hexAPIKey),n.Cb(17),n.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),n.Cb(6),n.Mc(" ","{",'"err":null,"object":[...]',"}"," "),n.Cb(4),n.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),n.Cb(6),n.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"...", "object":...',"}"," "),n.Cb(6),n.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),n.Cb(4),n.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),n.Cb(4),n.Mc(" ","{",'"err":null',"}"," "),n.Cb(9),n.Qc([" auth_key := GenAuthKey(hex.DecodeString(APIKey)) \n\n func GenAuthKey(key []byte) string ","{","\n authTime := AuthTime","{","\n CurTime: time.Now().Unix()\n ","}","\n authTimeBytes, err := json.Marshal(authTime)\n if err != nil ","{",'\n fmt.Println("GenAuthKey", err)\n ',"}","\n encryptedAuthBytes := EncryptWithKey(authTimeBytes, key)\n return hex.EncodeToString(encryptedAuthBytes)\n ","}","\n\n type AuthTime struct ","{",'\n CurTime int64 `json:"cur_time"`\n ',"}","\n\n func EncryptWithKey(plaintext []byte, key []byte) []byte ","{","\n block, err := aes.NewCipher(key)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewCipher", err)\n ',"}","\n nonce := make([]byte, 12)\n _, err = io.ReadFull(rand.Reader, nonce)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey ReadFull", err)\n ',"}","\n aesgcm, err := cipher.NewGCM(block)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewGCM", err)\n ',"}","\n ciphertext := aesgcm.Seal(nonce, nonce, plaintext, nil)\n return ciphertext\n ","}","\n\n "]),n.Cb(48),n.Pc(" ","{",'\n "auth_key":"...",\n "action":"update_app",\n "id":"1642051816726204416",\n "object":',"{",'\n "id":"1642051816726204416",\n "name":"Test",\n "internal_scheme":"http",\n "destinations":[',"{",'\n "id":"1642051816839450624",\n "route_type":1,\n "request_route":"/",\n "backend_route":"/",\n "destination":"127.0.0.1:5000",\n "pods_api":"",\n "pod_port":"80",\n "pods":"",\n "app_id":"1642051816726204416",\n "node_id":"0",\n "online":true,\n "check_time":0\n ',"}",'],\n "domains":[',"{",'\n "id":"1642051816931725312",\n "name":"www.example.com",\n "app_id":"1642051816726204416",\n "cert_id":"1642094823705939968",\n "redirect":false,\n "location":""\n ',"}",'],\n "redirect_https":false,\n "hsts_enabled":false,\n "waf_enabled":true,\n "shield_enabled":false,\n "ip_method":1,\n "description":"Test",\n "oauth_required":false,\n "session_seconds":7200,\n "owner":"admin",\n "csp_enabled":false,\n "csp":"",\n "cache_enabled":true\n ',"}","\n ","}","\n "))},directives:[jd,Rl],styles:[""]}),e})()}];let sE=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Va.forRoot(rE)],Va]}),e})();function aE(e,t=Lc){var i;const n=(i=e)instanceof Date&&!isNaN(+i)?+e-t.now():Math.abs(e);return e=>e.lift(new oE(n,t))}class oE{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new cE(e,this.delay,this.scheduler))}}class cE extends Si.a{constructor(e,t,i){super(e),this.delay=t,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,i=t.queue,n=e.scheduler,r=e.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(r);if(i.length>0){const t=Math.max(0,i[0].time-n.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(cE.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,i=new lE(t.now()+this.delay,e);this.queue.push(i),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(nh.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(nh.createComplete()),this.unsubscribe()}}class lE{constructor(e,t){this.time=e,this.notification=t}}const dE=["mat-menu-item",""],uE=["*"];function hE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",0),n.jc("keydown",(function(t){return n.Cc(e),n.nc()._handleKeydown(t)}))("click",(function(){return n.Cc(e),n.nc().closed.emit("click")}))("@transformMenu.start",(function(t){return n.Cc(e),n.nc()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return n.Cc(e),n.nc()._onAnimationDone(t)})),n.Wb(1,"div",1),n.qc(2),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),n.Db("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const fE={transformMenu:Object(De.n)("transformMenu",[Object(De.k)("void",Object(De.l)({opacity:0,transform:"scale(0.8)"})),Object(De.m)("void => enter",Object(De.g)([Object(De.i)(".mat-menu-content, .mat-mdc-menu-content",Object(De.e)("100ms linear",Object(De.l)({opacity:1}))),Object(De.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(De.l)({transform:"scale(1)"}))])),Object(De.m)("* => void",Object(De.e)("100ms 25ms linear",Object(De.l)({opacity:0})))]),fadeInItems:Object(De.n)("fadeInItems",[Object(De.k)("showing",Object(De.l)({opacity:1})),Object(De.m)("void => *",[Object(De.l)({opacity:0}),Object(De.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pE=(()=>{class e{constructor(e,t,i,n,r,s,a){this._template=e,this._componentFactoryResolver=t,this._appRef=i,this._injector=n,this._viewContainerRef=r,this._document=s,this._changeDetectorRef=a,this._attached=new an.a}attach(e={}){this._portal||(this._portal=new uh(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ph(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.M),n.Pb(n.j),n.Pb(n.g),n.Pb(n.s),n.Pb(n.P),n.Pb(a),n.Pb(n.h))},e.\u0275dir=n.Kb({type:e,selectors:[["ng-template","matMenuContent",""]]}),e})();const mE=new n.r("MAT_MENU_PANEL");class _E{}const bE=bl(ml(_E));let gE=(()=>{class e extends bE{constructor(e,t,i,n){super(),this._elementRef=e,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new an.a,this._focused=new an.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.monitor(this._elementRef,!1),n&&n.addItem&&n.addItem(this),this._document=t}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3;let i="";if(e.childNodes){const n=e.childNodes.length;for(let r=0;r{class e{constructor(e,t,i){this._elementRef=e,this._ngZone=t,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new n.E,this._tabSubscription=rr.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new an.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new n.o,this.close=this.closed,this.panelId=`mat-menu-panel-${vE++}`}get xPosition(){return this._xPosition}set xPosition(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=yo(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=yo(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Nc(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Jn(this._directDescendantItems),Nn(e=>Object(sd.a)(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Jn(this._directDescendantItems),Nn(e=>Object(sd.a)(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,i=this._keyManager;switch(t){case 27:Sc(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:Sc(e)||(36===t?i.setFirstItemActive():i.setLastItemActive(),e.preventDefault());break;default:38!==t&&40!==t||i.setFocusOrigin("keyboard"),i.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(Vn(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=`mat-elevation-z${Math.min(4+e,24)}`,i=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===e,i["mat-menu-after"]="after"===e,i["mat-menu-above"]="above"===t,i["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Jn(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(yE))},e.\u0275dir=n.Kb({type:e,contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,pE,!0),n.Ib(i,gE,!0),n.Ib(i,gE,!1)),2&e&&(n.zc(r=n.kc())&&(t.lazyContent=r.first),n.zc(r=n.kc())&&(t._allItems=r),n.zc(r=n.kc())&&(t.items=r))},viewQuery:function(e,t){var i;1&e&&n.Sc(n.M,!0),2&e&&n.zc(i=n.kc())&&(t.templateRef=i.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),CE=(()=>{class e extends wE{}return e.\u0275fac=function(t){return SE(t||e)},e.\u0275dir=n.Kb({type:e,features:[n.zb]}),e})();const SE=n.Zb(CE);let kE=(()=>{class e extends CE{constructor(e,t,i){super(e,t,i)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(n.A),n.Pb(yE))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[n.Bb([{provide:mE,useExisting:CE},{provide:CE,useExisting:e}]),n.zb],ngContentSelectors:uE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(n.rc(),n.Ic(0,hE,3,6,"ng-template"))},directives:[T],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[fE.transformMenu,fE.fadeInItems]},changeDetection:0}),e})();const xE=new n.r("mat-menu-scroll-strategy"),ME={provide:xE,deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},DE=Wo({passive:!0});let LE=(()=>{class e{constructor(e,t,i,r,s,a,o,c){this._overlay=e,this._element=t,this._viewContainerRef=i,this._parentMenu=s,this._menuItemInstance=a,this._dir=o,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=rr.a.EMPTY,this._hoverSubscription=rr.a.EMPTY,this._menuCloseSubscription=rr.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new n.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.o,this.onMenuClose=this.menuClosed,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,DE),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe(e=>{this._destroyMenu(),"click"!==e&&"tab"!==e||!this._parentMenu||this._parentMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,DE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof CE&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof CE?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(ki(e=>"void"===e.toState),Vn(1),Ho(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Th({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,a]=[n,r],[o,c]=[t,i],l=0;this.triggersSubmenu()?(c=t="before"===this.menu.xPosition?"start":"end",i=o="end"===t?"start":"end",l="bottom"===n?8:-8):this.menu.overlapTrigger||(s="top"===n?"bottom":"top",a="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:o,overlayY:n,offsetY:l},{originX:i,originY:s,overlayX:c,overlayY:n,offsetY:l},{originX:t,originY:a,overlayX:o,overlayY:r,offsetY:-l},{originX:i,originY:a,overlayX:c,overlayY:r,offsetY:-l}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),i=this._parentMenu?this._parentMenu.closed:vi(),n=this._parentMenu?this._parentMenu._hovered().pipe(ki(e=>e!==this._menuItemInstance),ki(()=>this._menuOpen)):vi();return Object(sd.a)(e,i,n,t)}_handleMousedown(e){rl(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&this.openMenu()}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(ki(e=>e===this._menuItemInstance&&!e.disabled),aE(0,Zu)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof CE&&this.menu._isAnimating?this.menu._animationDone.pipe(Vn(1),aE(0,Zu),Ho(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new uh(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(qh),n.Pb(n.l),n.Pb(n.P),n.Pb(xE),n.Pb(CE,8),n.Pb(gE,10),n.Pb(Eo,8),n.Pb(il))},e.\u0275dir=n.Kb({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&n.jc("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&n.Db("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),TE=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[ME],imports:[pl]}),e})(),EE=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[ME],imports:[[U,pl,Nl,Xh,TE],TE]}),e})();var AE,OE;function PE(e,t){if(1&e&&(n.Wb(0,"button",9),n.Wb(1,"mat-icon",0),n.Jc(2,"account_circle"),n.Vb(),n.Jc(3),n.Vb()),2&e){const e=n.nc(),t=n.Ac(9);n.sc("matMenuTriggerFor",t),n.Cb(3),n.Lc(" ",e.rpcService.auth_user.username," ")}}function IE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"button",10),n.jc("click",(function(){return n.Cc(e),n.nc().navigate("/login")})),n.bc(1,OE),n.Vb()}}AE=$localize`:@@lang␟c63cfd6ff79615ec6c9b8b389abb4ffee8c8fcd7␟2118856116169775514:中文`,OE=$localize`:@@login␟12910217fdcdbca64bee06f511639b653d5428ea␟7329323998926911298: Login `;let RE=(()=>{class e{constructor(e,t,i){this.rpcService=e,this.http=t,this.router=i,this.logoPath="assets/images/logo.png",this.personIcon="assets/images/person_1x.png"}navigate(e){this.router.navigate([e])}ngOnInit(){null==localStorage.getItem("lang")&&navigator.language.indexOf("zh")>-1&&(localStorage.setItem("lang","zh-cn"),window.location.reload())}switchLanguage(){var e=localStorage.getItem("lang");null==e||""==e||"en"==e?localStorage.setItem("lang","zh-cn"):localStorage.setItem("lang","en"),window.location.reload()}logout(){this.rpcService.getResponse("logout",(function(){}),null,null),this.rpcService.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.router.navigate(["/login"])}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(go),n.Pb(zi),n.Pb(Sa))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-navbar"]],decls:21,vars:3,consts:[["color","secondary"],["src","assets/images/logo.png","alt","JANUSEC",1,"logo"],["routerLink","/",1,"text-logo"],[1,"spacer"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(n.Wb(0,"mat-toolbar",0),n.Wb(1,"span"),n.Rb(2,"img",1),n.Vb(),n.Wb(3,"span"),n.Wb(4,"a",2),n.Jc(5,"JANUSEC"),n.Vb(),n.Vb(),n.Rb(6,"span",3),n.Ic(7,PE,4,2,"button",4),n.Wb(8,"mat-menu",5,6),n.Wb(10,"button",7),n.jc("click",(function(){return t.switchLanguage()})),n.Wb(11,"mat-icon"),n.Jc(12,"language"),n.Vb(),n.Wb(13,"span"),n.bc(14,AE),n.Vb(),n.Vb(),n.Rb(15,"mat-divider"),n.Wb(16,"button",7),n.jc("click",(function(){return t.logout()})),n.Wb(17,"mat-icon"),n.Jc(18,"exit_to_app"),n.Vb(),n.Jc(19," Exit "),n.Vb(),n.Vb(),n.Ic(20,IE,2,0,"button",8),n.Vb()),2&e&&(n.Cb(7),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(1),n.sc("overlapTrigger",!1),n.Cb(12),n.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[TT,ka,P,kE,gE,up,Pp,Nd,LE],styles:[".icon[_ngcontent-%COMP%]{padding:0 14px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.mat-toolbar[_ngcontent-%COMP%]{height:40px;padding-left:1px;padding-top:1px}.logo-span[_ngcontent-%COMP%]{height:38px}.logo[_ngcontent-%COMP%]{width:24px;height:24px;margin:5px 0 0 5px}.text-logo[_ngcontent-%COMP%]{display:block;font-family:Arial,Helvetica,sans-serif;font-size:24px;color:#f5f5f5;width:174px;text-decoration:none;text-shadow:2px 2px 4px #000;box-shadow:1px 1px 1px #d5d5d5;padding-left:5px}"]}),e})();function jE(e,t){if(1&e&&(n.Wb(0,"mat-list-item",6),n.Jc(1),n.Vb()),2&e){const e=t.$implicit;n.Cb(1),n.Lc(" ",e," ")}}function YE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"div",1),n.Wb(2,"div",2),n.Wb(3,"mat-list",3),n.Ic(4,jE,2,1,"mat-list-item",4),n.Vb(),n.Vb(),n.Wb(5,"div",5),n.jc("click",(function(){return n.Cc(e),n.nc().messageService.clear()})),n.Wb(6,"mat-icon"),n.Jc(7,"clear"),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.Cb(4),n.sc("ngForOf",e.messageService.messages)}}let VE=(()=>{class e{constructor(e){this.messageService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(_o))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-messages"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"flex-row"],[1,"flex-90"],["role","list"],["class","alert",4,"ngFor","ngForOf"],["title","Clear",1,"flex-10","middle",3,"click"],[1,"alert"]],template:function(e,t){1&e&&n.Ic(0,YE,8,1,"div",0),2&e&&n.sc("ngIf",t.messageService.messages.length)},directives:[P,fv,A,up,_v],styles:[".messagelist[_ngcontent-%COMP%]{margin:0}"]}),e})();const WE=["*"];function FE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",2),n.jc("click",(function(){return n.Cc(e),n.nc()._onBackdropClicked()})),n.Vb()}if(2&e){const e=n.nc();n.Gb("mat-drawer-shown",e._isShowingBackdrop())}}function HE(e,t){1&e&&(n.Wb(0,"mat-drawer-content"),n.qc(1,2),n.Vb())}const BE=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],zE=["mat-drawer","mat-drawer-content","*"];function NE(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div",2),n.jc("click",(function(){return n.Cc(e),n.nc()._onBackdropClicked()})),n.Vb()}if(2&e){const e=n.nc();n.Gb("mat-drawer-shown",e._isShowingBackdrop())}}function UE(e,t){1&e&&(n.Wb(0,"mat-sidenav-content",3),n.qc(1,2),n.Vb())}const qE=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],$E=["mat-sidenav","mat-sidenav-content","*"],JE={transformDrawer:Object(De.n)("transform",[Object(De.k)("open, open-instant",Object(De.l)({transform:"none",visibility:"visible"})),Object(De.k)("void",Object(De.l)({"box-shadow":"none",visibility:"hidden"})),Object(De.m)("void => open-instant",Object(De.e)("0ms")),Object(De.m)("void <=> open, open-instant => void",Object(De.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function KE(e){throw Error(`A drawer was already declared for 'position="${e}"'`)}const GE=new n.r("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),ZE=new n.r("MAT_DRAWER_CONTAINER");let XE=(()=>{class e extends sh{constructor(e,t,i,n,r){super(i,n,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Object(n.U)(()=>eA)),n.Pb(n.l),n.Pb(rh),n.Pb(n.A))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&n.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[n.zb],ngContentSelectors:WE,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},encapsulation:2,changeDetection:0}),e})(),QE=(()=>{class e{constructor(e,t,i,r,s,a,o){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=i,this._platform=r,this._ngZone=s,this._doc=a,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new an.a,this._animationEnd=new an.a,this._animationState="void",this.openedChange=new n.o(!0),this._destroyed=new an.a,this.onPositionChanged=new n.o,this._modeChanged=new an.a,this.openedChange.subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{$d(this._elementRef.nativeElement,"keydown").pipe(ki(e=>27===e.keyCode&&!this.disableClose&&!Sc(e)),Ho(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.pipe(Xu((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{const{fromState:t,toState:i}=e;(0===i.indexOf("open")&&"void"===t||"void"===i&&0===t.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=yo(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"!==this.mode:e}set autoFocus(e){this._autoFocus=yo(e)}get opened(){return this._opened}set opened(e){this.toggle(yo(e))}get _openedStream(){return this.openedChange.pipe(ki(e=>e),Object(ze.a)(()=>{}))}get openedStart(){return this._animationStarted.pipe(ki(e=>e.fromState!==e.toState&&0===e.toState.indexOf("open")),Object(ze.a)(()=>{}))}get _closedStream(){return this.openedChange.pipe(ki(e=>!e),Object(ze.a)(()=>{}))}get closedStart(){return this._animationStarted.pipe(ki(e=>e.fromState!==e.toState&&"void"===e.toState),Object(ze.a)(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(e=>{e||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}toggle(e=!this.opened,t="program"){return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=t):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(e=>{this.openedChange.pipe(Vn(1)).subscribe(t=>e(t?"open":"close"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(e){this._animationStarted.next(e)}_animationDoneListener(e){this._animationEnd.next(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.l),n.Pb(Kc),n.Pb(il),n.Pb(Po),n.Pb(n.A),n.Pb(a,8),n.Pb(ZE,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&n.Hb("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(n.Db("align",null),n.Rc("@transform",t._animationState),n.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:WE,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0),n.qc(1),n.Vb())},encapsulation:2,data:{animation:[JE.transformDrawer]},changeDetection:0}),e})(),eA=(()=>{class e{constructor(e,t,i,r,s,a=!1,o){this._dir=e,this._element=t,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=o,this._drawers=new n.E,this.backdropClick=new n.o,this._destroyed=new an.a,this._doCheckSubject=new an.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new an.a,e&&e.change.pipe(Ho(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Ho(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=yo(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:yo(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Jn(this._allDrawers),Ho(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(e=>!e._container||e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Jn(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Tc(10),Ho(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._width;else if("push"==this._left.mode){const i=this._left._width;e+=i,t-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._width;else if("push"==this._right.mode){const i=this._right._width;t+=i,e-=i}e=e||null,t=t||null,e===this._contentMargins.left&&t===this._contentMargins.right||(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(ki(e=>e.fromState!==e.toState),Ho(this._drawers.changes)).subscribe(e=>{"open-instant"!==e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(Ho(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(Ho(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Vn(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(Ho(Object(sd.a)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,i="mat-drawer-container-has-open";e?t.add(i):t.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?(null!=this._end&&KE("end"),this._end=e):(null!=this._start&&KE("start"),this._start=e)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Eo,8),n.Pb(n.l),n.Pb(n.A),n.Pb(n.h),n.Pb(ah),n.Pb(GE),n.Pb(Ye,8))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,XE,!0),n.Ib(i,QE,!0)),2&e&&(n.zc(r=n.kc())&&(t._content=r.first),n.zc(r=n.kc())&&(t._allDrawers=r))},viewQuery:function(e,t){var i;1&e&&n.Sc(XE,!0),2&e&&n.zc(i=n.kc())&&(t._userContent=i.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[n.Bb([{provide:ZE,useExisting:e}])],ngContentSelectors:zE,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(n.rc(BE),n.Ic(0,FE,1,2,"div",0),n.qc(1),n.qc(2,1),n.Ic(3,HE,2,0,"mat-drawer-content",1)),2&e&&(n.sc("ngIf",t.hasBackdrop),n.Cb(3),n.sc("ngIf",!t._content))},directives:[P,XE],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),e})(),tA=(()=>{class e extends XE{constructor(e,t,i,n,r){super(e,t,i,n,r)}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(n.h),n.Pb(Object(n.U)(()=>rA)),n.Pb(n.l),n.Pb(rh),n.Pb(n.A))},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&n.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[n.zb],ngContentSelectors:WE,decls:1,vars:0,template:function(e,t){1&e&&(n.rc(),n.qc(0))},encapsulation:2,changeDetection:0}),e})(),iA=(()=>{class e extends QE{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=yo(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=vo(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=vo(e)}}return e.\u0275fac=function(t){return nA(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(n.Db("align",null),n.Hc("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),n.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[n.zb],ngContentSelectors:WE,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(n.rc(),n.Wb(0,"div",0),n.qc(1),n.Vb())},encapsulation:2,data:{animation:[JE.transformDrawer]},changeDetection:0}),e})();const nA=n.Zb(iA);let rA=(()=>{class e extends eA{}return e.\u0275fac=function(t){return sA(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,i){var r;1&e&&(n.Ib(i,tA,!0),n.Ib(i,iA,!0)),2&e&&(n.zc(r=n.kc())&&(t._content=r.first),n.zc(r=n.kc())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&n.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[n.Bb([{provide:ZE,useExisting:e}]),n.zb],ngContentSelectors:$E,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(n.rc(qE),n.Ic(0,NE,1,2,"div",0),n.qc(1),n.qc(2,1),n.Ic(3,UE,2,0,"mat-sidenav-content",1)),2&e&&(n.sc("ngIf",t.hasBackdrop),n.Cb(3),n.sc("ngIf",!t._content))},directives:[P,tA,sh],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),e})();const sA=n.Zb(rA);let aA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl,oh,Io],pl]}),e})(),oA=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Jb({type:e,selectors:[["app-footer"]],decls:3,vars:0,consts:[[1,"footer"]],template:function(e,t){1&e&&(n.Wb(0,"mat-toolbar"),n.Wb(1,"div",0),n.Jc(2," All Rights Reserved by \xa9JANUSEC "),n.Vb(),n.Vb())},directives:[TT],styles:[".mat-toolbar[_ngcontent-%COMP%]{font-size:14px;height:36px;font-family:Arial Narrow,Arial,sans-serif;text-align:center}.footer[_ngcontent-%COMP%]{text-align:center;-webkit-box-flex:1;flex:1 1 auto}"]}),e})();var cA,lA,dA,uA,hA,fA,pA,mA,_A,bA,gA,yA,vA,wA,CA,SA,kA,xA,MA,DA;function LA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",16),n.Wb(2,"mat-icon"),n.Jc(3,"forward"),n.Vb(),n.Wb(4,"span"),n.bc(5,vA),n.Vb(),n.Vb(),n.Vb())}function TA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",17),n.Wb(2,"mat-icon"),n.Jc(3,"blur_on"),n.Vb(),n.Wb(4,"span"),n.bc(5,wA),n.Vb(),n.Vb(),n.Vb())}function EA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",18),n.Wb(2,"mat-icon"),n.Jc(3,"blur_on"),n.Vb(),n.Wb(4,"span"),n.bc(5,CA),n.Vb(),n.Vb(),n.Vb())}function AA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",19),n.Wb(2,"mat-icon"),n.Jc(3,"blur_on"),n.Vb(),n.Wb(4,"span"),n.bc(5,SA),n.Vb(),n.Vb(),n.Vb())}function OA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",20),n.Wb(2,"mat-icon"),n.Jc(3,"games"),n.Vb(),n.Wb(4,"span"),n.bc(5,kA),n.Vb(),n.Vb(),n.Vb())}function PA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",21),n.Wb(2,"mat-icon"),n.Jc(3,"blur_circular"),n.Vb(),n.Wb(4,"span"),n.bc(5,xA),n.Vb(),n.Vb(),n.Vb())}function IA(e,t){1&e&&(n.Wb(0,"mat-list-item"),n.Wb(1,"a",22),n.Wb(2,"mat-icon"),n.Jc(3,"settings"),n.Vb(),n.Wb(4,"span"),n.bc(5,MA),n.Vb(),n.Vb(),n.Vb())}function RA(e,t){if(1&e){const e=n.Yb();n.Wb(0,"mat-sidenav",4,5),n.jc("openedChange",(function(t){return n.Cc(e),n.nc().showSidenav=t})),n.Wb(2,"mat-nav-list"),n.Wb(3,"mat-list-item"),n.Wb(4,"a",6),n.Wb(5,"mat-icon"),n.Jc(6,"dashboard"),n.Vb(),n.Wb(7,"span"),n.bc(8,cA),n.Vb(),n.Vb(),n.Vb(),n.Wb(9,"mat-accordion"),n.Wb(10,"mat-expansion-panel",7),n.Wb(11,"mat-expansion-panel-header"),n.Wb(12,"mat-panel-title"),n.Wb(13,"mat-icon"),n.Jc(14,"list"),n.Vb(),n.Wb(15,"span"),n.bc(16,lA),n.Vb(),n.Vb(),n.Vb(),n.Wb(17,"mat-list-item"),n.Wb(18,"a",8),n.Wb(19,"mat-icon"),n.Jc(20,"lock_outline"),n.Vb(),n.Wb(21,"span"),n.bc(22,dA),n.Vb(),n.Vb(),n.Vb(),n.Wb(23,"mat-list-item"),n.Wb(24,"a",9),n.Wb(25,"mat-icon"),n.Jc(26,"explore"),n.Vb(),n.Wb(27,"span"),n.bc(28,uA),n.Vb(),n.Vb(),n.Vb(),n.Ic(29,LA,6,0,"mat-list-item",3),n.Wb(30,"mat-list-item"),n.Wb(31,"a",10),n.Wb(32,"mat-icon"),n.Jc(33,"supervisor_account"),n.Vb(),n.Wb(34,"span"),n.bc(35,hA),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(36,"mat-accordion"),n.Wb(37,"mat-expansion-panel",7),n.Wb(38,"mat-expansion-panel-header"),n.Wb(39,"mat-panel-title"),n.Wb(40,"mat-icon"),n.Jc(41,"security"),n.Vb(),n.Wb(42,"span"),n.bc(43,fA),n.Vb(),n.Vb(),n.Vb(),n.Ic(44,TA,6,0,"mat-list-item",3),n.Ic(45,EA,6,0,"mat-list-item",3),n.Ic(46,AA,6,0,"mat-list-item",3),n.Vb(),n.Vb(),n.Wb(47,"mat-accordion"),n.Wb(48,"mat-expansion-panel",7),n.Wb(49,"mat-expansion-panel-header"),n.Wb(50,"mat-panel-title"),n.Wb(51,"mat-icon"),n.Jc(52,"cloud_queue"),n.Vb(),n.Wb(53,"span"),n.bc(54,pA),n.Vb(),n.Vb(),n.Vb(),n.Wb(55,"mat-list-item"),n.Wb(56,"a",11),n.Wb(57,"mat-icon"),n.Jc(58,"computer"),n.Vb(),n.Wb(59,"span"),n.Jc(60,"Web SSH"),n.Vb(),n.Vb(),n.Vb(),n.Ic(61,OA,6,0,"mat-list-item",3),n.Ic(62,PA,6,0,"mat-list-item",3),n.Wb(63,"mat-list-item"),n.Wb(64,"a",12),n.Wb(65,"mat-icon"),n.Jc(66,"check_circle_outline"),n.Vb(),n.Wb(67,"span"),n.bc(68,mA),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Wb(69,"mat-accordion"),n.Wb(70,"mat-expansion-panel",7),n.Wb(71,"mat-expansion-panel-header"),n.Wb(72,"mat-panel-title"),n.Wb(73,"mat-icon"),n.Jc(74,"assignment"),n.Vb(),n.Wb(75,"span"),n.bc(76,_A),n.Vb(),n.Vb(),n.Vb(),n.Wb(77,"mat-list-item"),n.Wb(78,"a",13),n.Wb(79,"mat-icon"),n.Jc(80,"blur_on"),n.Vb(),n.Wb(81,"span"),n.bc(82,bA),n.Vb(),n.Vb(),n.Vb(),n.Wb(83,"mat-list-item"),n.Wb(84,"a",14),n.Wb(85,"mat-icon"),n.Jc(86,"blur_on"),n.Vb(),n.Wb(87,"span"),n.bc(88,gA),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Rb(89,"mat-divider"),n.Ic(90,IA,6,0,"mat-list-item",3),n.Rb(91,"mat-divider"),n.Wb(92,"mat-list-item"),n.Wb(93,"a",15),n.jc("click",(function(){return n.Cc(e),n.nc().toggleSidenav()})),n.Wb(94,"mat-icon"),n.Jc(95,"navigate_before"),n.Vb(),n.Wb(96,"span"),n.bc(97,yA),n.Vb(),n.Vb(),n.Vb(),n.Vb(),n.Vb()}if(2&e){const e=n.nc();n.sc("opened",e.showSidenav),n.Cb(10),n.sc("expanded",!0),n.Cb(19),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(8),n.sc("expanded",!0),n.Cb(7),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(2),n.sc("expanded",!0),n.Cb(13),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(1),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin),n.Cb(8),n.sc("expanded",!0),n.Cb(20),n.sc("ngIf",1==e.rpcService.auth_user.is_super_admin)}}function jA(e,t){if(1&e){const e=n.Yb();n.Wb(0,"div"),n.Wb(1,"button",23),n.jc("click",(function(){return n.Cc(e),n.nc().toggleSidenav()})),n.Wb(2,"mat-icon"),n.Jc(3,"navigate_next"),n.Vb(),n.Wb(4,"span"),n.bc(5,DA),n.Vb(),n.Vb(),n.Vb()}}cA=$localize`:@@dashboard␟f65253954b66e929a8b4d5ecaf61f9129f8cec64␟6570363013146073520:Dashboard`,lA=$localize`:@@basic_configuration␟23806dc993d2bf333cc17bd3f7e7af272cdbf608␟398997111288379761:Basic Configuration`,dA=$localize`:@@cert_mgmt␟9e37e0d06148c7708e88b4a1eb412babbe1a4afc␟7164856686778871055:Certificate`,uA=$localize`:@@app_mgmt␟cba4c170355f67defdb328b44f86ebd4f30255fb␟5710550455494461439:Application`,hA=$localize`:@@user_mgmt␟6ad31729632818476420bb0f698d617436263675␟2550377588620126747:User Management`,fA=$localize`:@@security_defense␟2b9d7d80b9eea6c5022b035216ca8945704d0b02␟8584970246374393625:Security Defense`,pA=$localize`:@@security_operation␟4f177621b86881c75ae5457014ed233b40170b6a␟6147966477423117693:Security Operation`,mA=$localize`:@@health_check␟d2bcd3296d2850de762fb943060b7e086a893181␟2041675390931385838:Health`,_A=$localize`:@@security_audit␟62f734ba974fd7e3fec3a6f4793a9696ce9e3f76␟5162040759776173662:Security Audit`,bA=$localize`:@@waf_logs␟883316cd7f2c17dcdec2000aef1291926486f046␟3148404375286852836:WAF Logs`,gA=$localize`:@@cc_logs␟0ad2a8104beb81ddecf67d9ba489f1a2fcbb5edf␟1306645041164281806:CC Logs`,yA=$localize`:@@hide_menu␟500e3a4d45805fc2037f7a2a3af2b6a09f6c16fd␟7823247950378652155:Hide Menu`,vA=$localize`:@@vip_app␟4fd4861fa4b326a79a6bb3e86b0c9e57d8bfcc26␟2223283913032152637:Forwarding`,wA=$localize`:@@waf_mgmt␟f3b763d582085f00aefea6aeeab04b157ceeb814␟5576729792646843752:WAF`,CA=$localize`:@@cc_defense␟5920b79b0e0c7f6ca6128c386be77946ad53ade9␟6556497464821373460:CC Defense`,SA=$localize`:@@ip_policy␟8f9f517abd64c0696ff319aefd501c8d6bfbcdae␟1030481121539161597:IP Policy`,kA=$localize`:@@node_mgmt␟f738b840b92bf81637cc77a10cd2b2f2c6e09796␟3971614543116674506:Node`,xA=$localize`:@@api_interface␟ddd6dd9c3c3538836b10ad075dab5f569c229144␟6709824683221194532:API Interface`,MA=$localize`:@@global_settings␟9ad6cb3f49ff69d3715e3a31461ca3a196c1a0c9␟4468741256615440810:Global Settings`,DA=$localize`:@@show_menu␟de54f7fef2294c31aec9103d3dcc375ef20e6de1␟409723564111664560:Show Menu`;let YA=(()=>{class e{constructor(e,t){this.router=e,this.rpcService=t,this.position="right",this.showSidenav=!0}ngOnInit(){}toggleSidenav(){this.showSidenav=!this.showSidenav}}return e.\u0275fac=function(t){return new(t||e)(n.Pb(Sa),n.Pb(go))},e.\u0275cmp=n.Jb({type:e,selectors:[["app-root"]],decls:9,vars:2,consts:[[1,"sidenav-container"],["mode","side","class","sidenav","role","navigation",3,"opened","openedChange",4,"ngIf"],["role","region",1,"content"],[4,"ngIf"],["mode","side","role","navigation",1,"sidenav",3,"opened","openedChange"],["sidenav",""],["routerLink","/dashboard"],[1,"nav-panel",3,"expanded"],["routerLink","/certificates"],["routerLink","/applications"],["routerLink","/usermgmt"],["routerLink","/webssh"],["routerLink","/health"],["routerLink","/logs"],["routerLink","/cclogs"],[3,"click"],["routerLink","/forwarding"],["routerLink","/waf"],["routerLink","/cc"],["routerLink","/ip-policy"],["routerLink","/nodes"],["routerLink","/api-interface"],["routerLink","/settings"],[1,"btn_shownav",3,"click"]],template:function(e,t){1&e&&(n.Ub(0),n.Rb(1,"app-navbar"),n.Rb(2,"app-messages"),n.Wb(3,"mat-sidenav-container",0),n.Ic(4,RA,98,12,"mat-sidenav",1),n.Wb(5,"mat-sidenav-content",2),n.Ic(6,jA,6,0,"div",3),n.Rb(7,"router-outlet"),n.Vb(),n.Vb(),n.Rb(8,"app-footer"),n.Tb()),2&e&&(n.Cb(4),n.sc("ngIf",t.rpcService.auth_user.logged),n.Cb(2),n.sc("ngIf",0==t.showSidenav))},directives:[RE,VE,rA,P,tA,La,oA,iA,uv,_v,ka,up,Lm,xm,Mm,Dm,Pp],styles:[".sidenav-container[_ngcontent-%COMP%]{min-height:800px}.sidenav[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:top;align-items:top;-webkit-box-pack:center;justify-content:center;width:210px}mat-icon[_ngcontent-%COMP%]{font-size:14px;vertical-align:middle}.mat-sidenav[_ngcontent-%COMP%]{background-color:#e5e5e5}.mat-list-item[_ngcontent-%COMP%]{font-size:12px;font-family:Arial Narrow,Arial,sans-serif;padding-top:1px}.btn_shownav[_ngcontent-%COMP%]{margin-top:2px;padding:10px 5px;border:0;height:36px}.mat-sidenav[_ngcontent-%COMP%], .nav-panel[_ngcontent-%COMP%]{background-color:#f5f5f5}.nav-panel[_ngcontent-%COMP%]{padding:0}.sub_list[_ngcontent-%COMP%]{margin:0}.mat-expansion-panel-header[_ngcontent-%COMP%]{padding:0 16px;font-size:12px}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:last-of-type{border-radius:0}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{height:32px} .mat-expansion-panel-body{padding:0 12px!important}mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none!important}"]}),e})(),VA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl,Nl],pl]}),e})();const WA={provide:new n.r("mat-autocomplete-scroll-strategy"),deps:[qh],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let FA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[WA],imports:[[nd,Xh,pl,U],nd,pl]}),e})();const HA=new n.r("mat-chips-default-options"),BA={separatorKeyCodes:[13]};let zA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[Il,{provide:HA,useValue:BA}]}),e})(),NA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Yl,pl],Yl,pl]}),e})(),UA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl],pl]}),e})(),qA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[pl,U],pl]}),e})(),$A=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[U,pl],pl]}),e})(),JA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)}}),e})(),KA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[JA,Nl,pl,jc],JA,pl]}),e})(),GA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Xh,yh,U,qd,pl],pl]}),e})(),ZA=(()=>{class e{constructor(){this.changes=new an.a,this.sortButtonLabel=e=>`Change sorting for ${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const XA={provide:ZA,deps:[[new n.B,new n.K,ZA]],useFactory:function(e){return e||new ZA}};let QA=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[XA],imports:[[U]]}),e})(),eO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[Ao]]}),e})(),tO=(()=>{class e{constructor(){this.changes=new an.a,this.optionalLabel="Optional"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Lb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const iO={provide:tO,deps:[[new n.B,new n.K,tO]],useFactory:function(e){return e||new tO}};let nO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[iO,Il],imports:[[pl,U,yh,qd,eO,hp,Nl],pl]}),e})(),rO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[B_]]}),e})(),sO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[[B_]]}),e})(),aO=(()=>{class e{constructor(e,t){$(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,i=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:q_,useValue:Object.assign(Object.assign({},U_),t)},{provide:J_,useValue:i,multi:!0},{provide:$_,useValue:!0}]:[{provide:q_,useValue:Object.assign(Object.assign({},U_),t)},{provide:J_,useValue:i,multi:!0}]}}}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)(n.fc($_),n.fc(n.C))},imports:[[Ub,rO,sO],Ub,rO,sO]}),e})(),oO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},imports:[Cc,FA,qd,VA,Vd,zm,zA,CC,Iw,Em,Du,NA,hp,zu,bv,EE,Pl,Kf,UA,qA,SD,Nl,yf,aA,$A,KA,GA,QA,Md,gk,ET,jf,nO]}),e})(),cO=(()=>{class e{}return e.\u0275mod=n.Nb({type:e,bootstrap:[YA]}),e.\u0275inj=n.Mb({factory:function(t){return new(t||e)},providers:[_o,go,{provide:_,useClass:v}],imports:[[oO,Me,Fe,aO,_i,sn,sE,QD]]}),e})();Object(n.T)(),ke().bootstrapModule(cO).catch(e=>console.log(e))},zZGF:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},zavE:function(e,t,i){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},zx6S:function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var r=t.words[n];return 1===n.length?i?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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] [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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))}},[[0,0]]]); \ No newline at end of file diff --git a/static/janusec-admin/main-es5.098172721d6d09a63b25.js b/static/janusec-admin/main-es5.098172721d6d09a63b25.js deleted file mode 100644 index 362c8d6..0000000 --- a/static/janusec-admin/main-es5.098172721d6d09a63b25.js +++ /dev/null @@ -1 +0,0 @@ -function _templateObject324(){var e=_taggedTemplateLiteral([":@@show_menu\u241fde54f7fef2294c31aec9103d3dcc375ef20e6de1\u241f409723564111664560:Show Menu"]);return _templateObject324=function(){return e},e}function _templateObject323(){var e=_taggedTemplateLiteral([":@@global_settings\u241f9ad6cb3f49ff69d3715e3a31461ca3a196c1a0c9\u241f4468741256615440810:Global Settings"]);return _templateObject323=function(){return e},e}function _templateObject322(){var e=_taggedTemplateLiteral([":@@api_interface\u241fddd6dd9c3c3538836b10ad075dab5f569c229144\u241f6709824683221194532:API Interface"]);return _templateObject322=function(){return e},e}function _templateObject321(){var e=_taggedTemplateLiteral([":@@node_mgmt\u241ff738b840b92bf81637cc77a10cd2b2f2c6e09796\u241f3971614543116674506:Node"]);return _templateObject321=function(){return e},e}function _templateObject320(){var e=_taggedTemplateLiteral([":@@ip_policy\u241f8f9f517abd64c0696ff319aefd501c8d6bfbcdae\u241f1030481121539161597:IP Policy"]);return _templateObject320=function(){return e},e}function _templateObject319(){var e=_taggedTemplateLiteral([":@@cc_defense\u241f5920b79b0e0c7f6ca6128c386be77946ad53ade9\u241f6556497464821373460:CC Defense"]);return _templateObject319=function(){return e},e}function _templateObject318(){var e=_taggedTemplateLiteral([":@@waf_mgmt\u241ff3b763d582085f00aefea6aeeab04b157ceeb814\u241f5576729792646843752:WAF"]);return _templateObject318=function(){return e},e}function _templateObject317(){var e=_taggedTemplateLiteral([":@@vip_app\u241f4fd4861fa4b326a79a6bb3e86b0c9e57d8bfcc26\u241f2223283913032152637:Forwarding"]);return _templateObject317=function(){return e},e}function _templateObject316(){var e=_taggedTemplateLiteral([":@@hide_menu\u241f500e3a4d45805fc2037f7a2a3af2b6a09f6c16fd\u241f7823247950378652155:Hide Menu"]);return _templateObject316=function(){return e},e}function _templateObject315(){var e=_taggedTemplateLiteral([":@@cc_logs\u241f0ad2a8104beb81ddecf67d9ba489f1a2fcbb5edf\u241f1306645041164281806:CC Logs"]);return _templateObject315=function(){return e},e}function _templateObject314(){var e=_taggedTemplateLiteral([":@@waf_logs\u241f883316cd7f2c17dcdec2000aef1291926486f046\u241f3148404375286852836:WAF Logs"]);return _templateObject314=function(){return e},e}function _templateObject313(){var e=_taggedTemplateLiteral([":@@security_audit\u241f62f734ba974fd7e3fec3a6f4793a9696ce9e3f76\u241f5162040759776173662:Security Audit"]);return _templateObject313=function(){return e},e}function _templateObject312(){var e=_taggedTemplateLiteral([":@@health_check\u241fd2bcd3296d2850de762fb943060b7e086a893181\u241f2041675390931385838:Health"]);return _templateObject312=function(){return e},e}function _templateObject311(){var e=_taggedTemplateLiteral([":@@security_operation\u241f4f177621b86881c75ae5457014ed233b40170b6a\u241f6147966477423117693:Security Operation"]);return _templateObject311=function(){return e},e}function _templateObject310(){var e=_taggedTemplateLiteral([":@@security_defense\u241f2b9d7d80b9eea6c5022b035216ca8945704d0b02\u241f8584970246374393625:Security Defense"]);return _templateObject310=function(){return e},e}function _templateObject309(){var e=_taggedTemplateLiteral([":@@user_mgmt\u241f6ad31729632818476420bb0f698d617436263675\u241f2550377588620126747:User Management"]);return _templateObject309=function(){return e},e}function _templateObject308(){var e=_taggedTemplateLiteral([":@@app_mgmt\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject308=function(){return e},e}function _templateObject307(){var e=_taggedTemplateLiteral([":@@cert_mgmt\u241f9e37e0d06148c7708e88b4a1eb412babbe1a4afc\u241f7164856686778871055:Certificate"]);return _templateObject307=function(){return e},e}function _templateObject306(){var e=_taggedTemplateLiteral([":@@basic_configuration\u241f23806dc993d2bf333cc17bd3f7e7af272cdbf608\u241f398997111288379761:Basic Configuration"]);return _templateObject306=function(){return e},e}function _templateObject305(){var e=_taggedTemplateLiteral([":@@dashboard\u241ff65253954b66e929a8b4d5ecaf61f9129f8cec64\u241f6570363013146073520:Dashboard"]);return _templateObject305=function(){return e},e}function _templateObject304(){var e=_taggedTemplateLiteral([":@@login\u241f12910217fdcdbca64bee06f511639b653d5428ea\u241f7329323998926911298: Login "]);return _templateObject304=function(){return e},e}function _templateObject303(){var e=_taggedTemplateLiteral([":@@lang\u241fc63cfd6ff79615ec6c9b8b389abb4ffee8c8fcd7\u241f2118856116169775514:\u4e2d\u6587"]);return _templateObject303=function(){return e},e}function _templateObject302(){var e=_taggedTemplateLiteral([":@@3_example\u241f9881457edfadcc8100f1c7e9e3fadca72ac929d4\u241f481521859943191501:3 Example"]);return _templateObject302=function(){return e},e}function _templateObject301(){var e=_taggedTemplateLiteral([":@@2_parameters\u241f44251a53f0471d4f3e64776caca1a78e1ac0e811\u241f4732772961672778896:2 Parameters"]);return _templateObject301=function(){return e},e}function _templateObject300(){var e=_taggedTemplateLiteral([":@@1_introduction_to_api\u241f8a82f6f74cbd3502c0631a71f404f1850cc4ed10\u241f3128266290694603421:1 Introduction to API Interface"]);return _templateObject300=function(){return e},e}function _templateObject299(){var e=_taggedTemplateLiteral([":@@api_notice\u241fe6daf73f39075b414128f781b7e501c69fc5b20e\u241f6547220350357958382:Please copy the following API Key string if you want to manage this gateway by external control panel."]);return _templateObject299=function(){return e},e}function _templateObject298(){var e=_taggedTemplateLiteral([":@@api_interface\u241fddd6dd9c3c3538836b10ad075dab5f569c229144\u241f6709824683221194532:API Interface"]);return _templateObject298=function(){return e},e}function _templateObject297(){var e=_taggedTemplateLiteral([":@@action\u241f01a32bb7e93373cbc305329319efc67c0bd85226\u241f97940262148604706: Action "]);return _templateObject297=function(){return e},e}function _templateObject296(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject296=function(){return e},e}function _templateObject295(){var e=_taggedTemplateLiteral([":@@regex\u241f20a714e8d63d241d9883d9c05ae16b5cdb8e106f\u241f6998370669475808931: Regex "]);return _templateObject295=function(){return e},e}function _templateObject294(){var e=_taggedTemplateLiteral([":@@sample\u241fa5f2a7e435565569aef5e4c5d98ff4c088f565d9\u241f5897011278848801710: Sample "]);return _templateObject294=function(){return e},e}function _templateObject293(){var e=_taggedTemplateLiteral([":@@field_name\u241f1bf30b8df5c68b8f1fbb8c03fa743feaabbcbfc8\u241f1115020147403727753: Field Name "]);return _templateObject293=function(){return e},e}function _templateObject292(){var e=_taggedTemplateLiteral([":@@back_to_settings\u241fd48dad8800fb5a0ce2f82b0e8fa88991613f112c\u241f3523968380696217863:Back to Settings"]);return _templateObject292=function(){return e},e}function _templateObject291(){var e=_taggedTemplateLiteral([":@@add_discovery_rule\u241f44c6d7c1c2877426b48bcb42c05ad171983dc8b6\u241f56354631367414212: Add Discovery Rule "]);return _templateObject291=function(){return e},e}function _templateObject290(){var e=_taggedTemplateLiteral([":@@data_discovery\u241f63d49137f582ee027b1111855e04f02113ca761e\u241f8653649989113143059: Data Discovery"]);return _templateObject290=function(){return e},e}function _templateObject289(){var e=_taggedTemplateLiteral([":@@cancel\u241fd7b35c384aecd25a516200d6921836374613dfe7\u241f2159130950882492111:Cancel"]);return _templateObject289=function(){return e},e}function _templateObject288(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject288=function(){return e},e}function _templateObject287(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject287=function(){return e},e}function _templateObject286(){var e=_taggedTemplateLiteral([":@@regex_pattern\u241f6e2a02c5ad298613a2936a91c00d5acbb3a1ab1a\u241f3673538476717951874:Regular Expression Pattern"]);return _templateObject286=function(){return e},e}function _templateObject285(){var e=_taggedTemplateLiteral([":@@sample\u241f86bd4c895bf70b35a58305b7d107a2f1b67b141c\u241f1238358838717941284:Sample"]);return _templateObject285=function(){return e},e}function _templateObject284(){var e=_taggedTemplateLiteral([":@@field_name\u241f87b5a4b1c81f74c0937d7ee1f9714d6fe67270ec\u241f1301244316831267771:Field Name"]);return _templateObject284=function(){return e},e}function _templateObject283(){var e=_taggedTemplateLiteral([":@@data_discovery_rule\u241f2b5f9e63dd6a70dfbd4f41131cfd3e724c21f6db\u241f6424898335834367633:Data Discovery Rule"]);return _templateObject283=function(){return e},e}function _templateObject282(){var e=_taggedTemplateLiteral([":@@ip_operation\u241ff3e8908987e623d7428b64122fd5379f75392cf5\u241f5928868080162558607: Operation "]);return _templateObject282=function(){return e},e}function _templateObject281(){var e=_taggedTemplateLiteral([":@@not_applicable\u241f8f95b2e1fc78f85e52f385faebcece7d9a009b3b\u241f1575742678514522985:Not Applicable"]);return _templateObject281=function(){return e},e}function _templateObject280(){var e=_taggedTemplateLiteral([":@@applicable\u241fc62b0c1e9ec036c84e2c060ad471f0b73ce41652\u241f111090786407836768:Applicable"]);return _templateObject280=function(){return e},e}function _templateObject279(){var e=_taggedTemplateLiteral([":@@not_applicable\u241f8f95b2e1fc78f85e52f385faebcece7d9a009b3b\u241f1575742678514522985:Not Applicable"]);return _templateObject279=function(){return e},e}function _templateObject278(){var e=_taggedTemplateLiteral([":@@applicable\u241fc62b0c1e9ec036c84e2c060ad471f0b73ce41652\u241f111090786407836768:Applicable"]);return _templateObject278=function(){return e},e}function _templateObject277(){var e=_taggedTemplateLiteral([":@@block\u241f7f5d0c10614e8a34f0e2dad33a0568277c50cf69\u241f420763834450076269:Block"]);return _templateObject277=function(){return e},e}function _templateObject276(){var e=_taggedTemplateLiteral([":@@allow\u241fdf30bc0856e61ba596fc22fba03c409537bc055c\u241f340639236808573336:Allow"]);return _templateObject276=function(){return e},e}function _templateObject275(){var e=_taggedTemplateLiteral([":@@is_allow\u241f01a32bb7e93373cbc305329319efc67c0bd85226\u241f97940262148604706: Action "]);return _templateObject275=function(){return e},e}function _templateObject274(){var e=_taggedTemplateLiteral([":@@ip_addr\u241fe8129ddc9c3593ea666e127d21a357ace16d57cf\u241f7175831147405774690: IP Address "]);return _templateObject274=function(){return e},e}function _templateObject273(){var e=_taggedTemplateLiteral([":@@add_ip\u241fb218bf288eb626ef504db58843c379e1026ef5e1\u241f1038456613595221490:Add IP"]);return _templateObject273=function(){return e},e}function _templateObject272(){var e=_taggedTemplateLiteral([":@@ip_policy_block\u241ff35fc8ec5c92eb592fa753565b736ba5c22e0791\u241f1454906982648768569: Block: show block information if WAF applicable only, block access if CC applicable. "]);return _templateObject272=function(){return e},e}function _templateObject271(){var e=_taggedTemplateLiteral([":@@ip_policy_allow\u241fe3829f126dc17e33e15c1925f7a78f6fea5cc8ea\u241f1085219955609485961: Allow: allow security testing if WAF applicable, allow high frequency access if CC applicable. "]);return _templateObject271=function(){return e},e}function _templateObject270(){var e=_taggedTemplateLiteral([":@@ip_policy\u241f8f9f517abd64c0696ff319aefd501c8d6bfbcdae\u241f1030481121539161597:IP Policy"]);return _templateObject270=function(){return e},e}function _templateObject269(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject269=function(){return e},e}function _templateObject268(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject268=function(){return e},e}function _templateObject267(){var e=_taggedTemplateLiteral([":@@enable_policy\u241f8b0da17b127a0b9ab1883ee945a3ae6c4ab52087\u241f5864582010366176989:Enabled this CC block policy"]);return _templateObject267=function(){return e},e}function _templateObject266(){var e=_taggedTemplateLiteral([":@@count_each_cookie\u241fcad4728674cfe9ad5249a40b9e4a7fc8a9108097\u241f8316237512627864188:Count different Cookies separately"]);return _templateObject266=function(){return e},e}function _templateObject265(){var e=_taggedTemplateLiteral([":@@count_each_ua\u241f01f54b088928f791fc92d1ae241c411aa06940fc\u241f6976258656448014735:Count each User-Agent separately"]);return _templateObject265=function(){return e},e}function _templateObject264(){var e=_taggedTemplateLiteral([":@@count_each_url\u241f85ded74a7837149fa16cfd814ccfd0c7f2fac0bc\u241f284133628696784148:Count each URL separately"]);return _templateObject264=function(){return e},e}function _templateObject263(){var e=_taggedTemplateLiteral([":@@action\u241f1bd5e17c9582661e20763a7634ef07881e33bbd7\u241f9216117865911519658:Action"]);return _templateObject263=function(){return e},e}function _templateObject262(){var e=_taggedTemplateLiteral([":@@block_seconds\u241ff18354d7c5284259f574b92b85e4ff4adc4cfeae\u241f3553848666220343841:Block Seconds (900)"]);return _templateObject262=function(){return e},e}function _templateObject261(){var e=_taggedTemplateLiteral([":@@max_count\u241fb6dfba48f89c2284c1141bfda88f2e90330bc708\u241f3630794273078022397:Max Requests Count (6)"]);return _templateObject261=function(){return e},e}function _templateObject260(){var e=_taggedTemplateLiteral([":@@interval_milliseconds\u241fc67377cf3a7553d095461ae62b535cb0edbe5f87\u241f5333209757526234081:Time Window (100 ms)"]);return _templateObject260=function(){return e},e}function _templateObject259(){var e=_taggedTemplateLiteral([":@@add_custom_cc_policy\u241f337931a440e7dc8e8b5db54b20b906408dbc7749\u241f1242276401010012994:Add Custom CC Policy"]);return _templateObject259=function(){return e},e}function _templateObject258(){var e=_taggedTemplateLiteral([":@@select_application\u241f5e310a28af710db10832c9756459f0e14072ca63\u241f5427239173611242637:Select the Application"]);return _templateObject258=function(){return e},e}function _templateObject257(){var e=_taggedTemplateLiteral([":@@custom_cc_title\u241fe5f406f1527a1bedcc6ed8178ab4998a46127470\u241f100944363597393702:Custom CC Policy (Only show when an application selected)"]);return _templateObject257=function(){return e},e}function _templateObject256(){var e=_taggedTemplateLiteral([":@@custom_cc_policy\u241f5ac736ae976f63be80aa6e2d36bf2e600fd6e089\u241f9096686161247344163:Custom CC Policy"]);return _templateObject256=function(){return e},e}function _templateObject255(){var e=_taggedTemplateLiteral([":@@slow_cc_notice\u241fc17427b71184ebc32fae608d40d648dd77c351f6\u241f6706756055351880040: Note: Slow CC detection is also enabled using 15 time windows (other parameters are the same). "]);return _templateObject255=function(){return e},e}function _templateObject254(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject254=function(){return e},e}function _templateObject253(){var e=_taggedTemplateLiteral([":@@enable_policy\u241fc1a5f913d3e4333026c42bf940238aed1e95154f\u241f591469843136255470:Enabled this CC block policy (default: selected)"]);return _templateObject253=function(){return e},e}function _templateObject252(){var e=_taggedTemplateLiteral([":@@count_each_cookie\u241f99e06ecde46232b08aa36c131322a752e7e254eb\u241f832962717517678565:Count different Cookies separately (default: not selected)"]);return _templateObject252=function(){return e},e}function _templateObject251(){var e=_taggedTemplateLiteral([":@@count_each_ua\u241f47db0222a6df7dc3c196ceb5f048b88768ab07d9\u241f5743571863130741572:Count each User-Agent separately (default: not selected)"]);return _templateObject251=function(){return e},e}function _templateObject250(){var e=_taggedTemplateLiteral([":@@count_each_url\u241f37a3ab18bb110b8e75023ceb0865f07fbebc2e5a\u241f710768478920804943:Count each URL separately (default: selected)"]);return _templateObject250=function(){return e},e}function _templateObject249(){var e=_taggedTemplateLiteral([":@@action\u241f1bd5e17c9582661e20763a7634ef07881e33bbd7\u241f9216117865911519658:Action"]);return _templateObject249=function(){return e},e}function _templateObject248(){var e=_taggedTemplateLiteral([":@@block_seconds\u241ff18354d7c5284259f574b92b85e4ff4adc4cfeae\u241f3553848666220343841:Block Seconds (900)"]);return _templateObject248=function(){return e},e}function _templateObject247(){var e=_taggedTemplateLiteral([":@@max_count\u241fb6dfba48f89c2284c1141bfda88f2e90330bc708\u241f3630794273078022397:Max Requests Count (6)"]);return _templateObject247=function(){return e},e}function _templateObject246(){var e=_taggedTemplateLiteral([":@@interval_milliseconds\u241fc67377cf3a7553d095461ae62b535cb0edbe5f87\u241f5333209757526234081:Time Window (100 ms)"]);return _templateObject246=function(){return e},e}function _templateObject245(){var e=_taggedTemplateLiteral([":@@global_cc_title\u241f80df0b7adb6f3cdfd2e0553bd6e9899f07783b9b\u241f6623469599976426156:Global CC Policy (Priority is lower than custom policy)"]);return _templateObject245=function(){return e},e}function _templateObject244(){var e=_taggedTemplateLiteral([":@@global_cc_policy\u241f85b89d3f97c8cfc9a22297dab6f3ebe3e88a54eb\u241f8185795483098629630:Global CC Policy"]);return _templateObject244=function(){return e},e}function _templateObject243(){var e=_taggedTemplateLiteral([":@@verify\u241fb39189bdad1461d0b25ab2bbbfd3f8988116058c\u241f8057635354960539736:Verify and Register"]);return _templateObject243=function(){return e},e}function _templateObject242(){var e=_taggedTemplateLiteral([":@@input_code_notice\u241f5d322b9b58b5d26e5b9e218d90d5c09b9e1a3e1f\u241f5487583822487337611:Input 6-digit Code"]);return _templateObject242=function(){return e},e}function _templateObject241(){var e=_taggedTemplateLiteral([":@@input_key_notice\u241f4307a4d3132d90e7629582a429b92beede51b064\u241f3711585289156562892: Or input the Secret Key in your mobile app: "]);return _templateObject241=function(){return e},e}function _templateObject240(){var e=_taggedTemplateLiteral([":@@authenticator_notice\u241f1f830b294f7117f2353aa8a45f88fc329c57288f\u241f5133033014201784485: Please scan the following QRCode with Google Authenticator, or Microsoft Authenticator: "]);return _templateObject240=function(){return e},e}function _templateObject239(){var e=_taggedTemplateLiteral([":@@authenticator_register\u241fe63ad8355fe8bf46bc37e9ca4aca1f8fde944bd3\u241f5969208796545941505:Authenticator Registration"]);return _templateObject239=function(){return e},e}function _templateObject238(){var e=_taggedTemplateLiteral([":@@referring_link\u241f25bb807edcb491dd296a08d7fb097854709bbffc\u241f1107133793118657967:Referring Link"]);return _templateObject238=function(){return e},e}function _templateObject237(){var e=_taggedTemplateLiteral([":@@target_site\u241fa2ebd38e40ac032d44d74c5204673f3e3e3f6c67\u241f5531534430589766613:Target site"]);return _templateObject237=function(){return e},e}function _templateObject236(){var e=_taggedTemplateLiteral([":@@referring_site\u241f56e20e97f32fccfa6c94aad6f33e4735689d16b4\u241f1891403958688141467:Referring site"]);return _templateObject236=function(){return e},e}function _templateObject235(){var e=_taggedTemplateLiteral([":@@add_new_routing\u241f9d5dc2eb534e384f4613a9a9fa85a443176b5421\u241f3105577272767442961:Add new routing"]);return _templateObject235=function(){return e},e}function _templateObject234(){var e=_taggedTemplateLiteral([":@@add_new_target\u241fecb1fef543db12c99453a054dd2e623964005bd5\u241f3578726587253769109:Add New Target"]);return _templateObject234=function(){return e},e}function _templateObject233(){var e=_taggedTemplateLiteral([":@@target\u241f639672f61f16b7d9c3d022685becb756faf2def3\u241f7592174351973511057:Target (IP:Port)"]);return _templateObject233=function(){return e},e}function _templateObject232(){var e=_taggedTemplateLiteral([":@@forward_mode\u241ffb78ea3d1ccb29d5b96512c9572a307082c47dc5\u241f7104964915409047271:Forward Mode"]);return _templateObject232=function(){return e},e}function _templateObject231(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject231=function(){return e},e}function _templateObject230(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject230=function(){return e},e}function _templateObject229(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject229=function(){return e},e}function _templateObject228(){var e=_taggedTemplateLiteral([":@@vip_owner\u241f02afaff74daa82a8877966a267df371e8220d22f\u241f4709669786209672837:Application Owner"]);return _templateObject228=function(){return e},e}function _templateObject227(){var e=_taggedTemplateLiteral([":@@target_configuration\u241f000353943c654d653e34d84bfe8289ebf14ebbc0\u241f2142433279538164084:Target Configuration"]);return _templateObject227=function(){return e},e}function _templateObject226(){var e=_taggedTemplateLiteral([":@@forward_note\u241f4cfe40cb8f194c53f0e7f125e0de3ab7337d7b23\u241f452055469951542456:Note: Only support services which respond directly from the listening port. Multiple ports or reverse connections are not supported."]);return _templateObject226=function(){return e},e}function _templateObject225(){var e=_taggedTemplateLiteral([":@@listen_port\u241fd2e79fe4bc1237f166600a562592b632cfdb8d0c\u241f4176968710654271933:Listen Port (1025-65535)"]);return _templateObject225=function(){return e},e}function _templateObject224(){var e=_taggedTemplateLiteral([":@@app_name\u241f7e2abed312d91f24b07b1c21982bf0ab5bda6675\u241f2887251461858216261:Application Name"]);return _templateObject224=function(){return e},e}function _templateObject223(){var e=_taggedTemplateLiteral([":@@port_forwarding_warning\u241f34f747a5758cd09ddd062048c852a0482bf8cdd4\u241f8582057483155413428: Caution: Port forwarding may bring serious security risks and can only be used for non-web application publishing. Please follow the internal security management regulations when using it. "]);return _templateObject223=function(){return e},e}function _templateObject222(){var e=_taggedTemplateLiteral([":@@port_forwarding\u241f12bb8fbf00bb4b46a43fc70230de633d147c57c7\u241f6848902813628453884:Port Forwarding"]);return _templateObject222=function(){return e},e}function _templateObject221(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject221=function(){return e},e}function _templateObject220(){var e=_taggedTemplateLiteral([":@@app_name\u241f20371277706eedf7fd8a3f51633ca5d801cd4fc2\u241f8778616811237742446: Name "]);return _templateObject220=function(){return e},e}function _templateObject219(){var e=_taggedTemplateLiteral([":@@listen_port2\u241f39c09b0c2b65288546e266dee9d2c34a9fdc36bb\u241f3614688088249806000: Listen Port "]);return _templateObject219=function(){return e},e}function _templateObject218(){var e=_taggedTemplateLiteral([":@@protocol\u241ffd1a334caa945c369664060d16c4231397a3ae6d\u241f8116972897687649774: Protocol "]);return _templateObject218=function(){return e},e}function _templateObject217(){var e=_taggedTemplateLiteral([":@@add_vip\u241ffba47cbea5354ecc5178f3efd70342ea218a3f6e\u241f2431827976905058381:Add Port Forwarding"]);return _templateObject217=function(){return e},e}function _templateObject216(){var e=_taggedTemplateLiteral([":@@vip_note\u241f811838870bdbf5bfa022af056d4a4005df4e5201\u241f929706042584219383: Note: Layer-4 TCP/UDP Port forwarding (No WAF/CC protection). "]);return _templateObject216=function(){return e},e}function _templateObject215(){var e=_taggedTemplateLiteral([":@@port_forwarding\u241f12bb8fbf00bb4b46a43fc70230de633d147c57c7\u241f6848902813628453884:Port Forwarding"]);return _templateObject215=function(){return e},e}function _templateObject214(){var e=_taggedTemplateLiteral([":@@refresh\u241fc8d1785038d461ec66b5799db21864182b35900a\u241f1102717806459547726:Refresh"]);return _templateObject214=function(){return e},e}function _templateObject213(){var e=_taggedTemplateLiteral([":@@disk_total\u241f183b9511c62e680bbbe5bed40d07e0b95b68a878\u241f6405327325552491671:Storage Total"]);return _templateObject213=function(){return e},e}function _templateObject212(){var e=_taggedTemplateLiteral([":@@disk_used\u241fae1fb05bb99a0fb884c37cde5f7829101bf85789\u241f3600558956582093461:Storage Used"]);return _templateObject212=function(){return e},e}function _templateObject211(){var e=_taggedTemplateLiteral([":@@mem_total\u241f335f607f026f84a95a839395e9dacc92202189e0\u241f2746802394039410947:Memory Total"]);return _templateObject211=function(){return e},e}function _templateObject210(){var e=_taggedTemplateLiteral([":@@mem_used\u241f815de8480fe5cfeb9901a306873590d38168a754\u241f3965710386570662641:Memory Used"]);return _templateObject210=function(){return e},e}function _templateObject209(){var e=_taggedTemplateLiteral([":@@cpu_load1_5_15\u241f103f6aa6d3cf5888a5391e5317936b8fcf3e614e\u241f7402126300765101235:CPU Load (1/5/15 Minutes)"]);return _templateObject209=function(){return e},e}function _templateObject208(){var e=_taggedTemplateLiteral([":@@cpu_percent\u241f88ddf1784c2514f32c8843fe8fb1086568be3da5\u241f1779561025143910931:CPU Percent"]);return _templateObject208=function(){return e},e}function _templateObject207(){var e=_taggedTemplateLiteral([":@@concurrency\u241f28b80e1edc25a686f67fa5fd409af659614ab025\u241f5419498400359535937:Concurrency"]);return _templateObject207=function(){return e},e}function _templateObject206(){var e=_taggedTemplateLiteral([":@@version\u241f8fe73a4787b8068b2ba61f54ab7e0f9af2ea1fc9\u241f2724055831234181057:Version"]);return _templateObject206=function(){return e},e}function _templateObject205(){var e=_taggedTemplateLiteral([":@@time_zone\u241fa2e48645755a13a5fb547cb5446d4b33ad6ef897\u241f3204725360923694745:Time Zone"]);return _templateObject205=function(){return e},e}function _templateObject204(){var e=_taggedTemplateLiteral([":@@current_time\u241f4c6af4b06c43a9223010f8f0d50fb58e8d4eda98\u241f5927565365227316396:Current Time"]);return _templateObject204=function(){return e},e}function _templateObject203(){var e=_taggedTemplateLiteral([":@@start_time\u241f7c0a71d337783e527c1c8e91e433b301c5b1d8a8\u241f4204880191779081093:Start Time"]);return _templateObject203=function(){return e},e}function _templateObject202(){var e=_taggedTemplateLiteral([":@@view\u241fad817cf4269e54829d82b4224d36766ad5f0b3e6\u241f9041078670559726454:Check"]);return _templateObject202=function(){return e},e}function _templateObject201(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject201=function(){return e},e}function _templateObject200(){var e=_taggedTemplateLiteral([":@@host_status_by_application\u241ff21a06f977113fb6a1e7857752c35428fddaa7c9\u241f4466788601899143199:Hosts Status by Application"]);return _templateObject200=function(){return e},e}function _templateObject199(){var e=_taggedTemplateLiteral([":@@refresh\u241fc8d1785038d461ec66b5799db21864182b35900a\u241f1102717806459547726:Refresh"]);return _templateObject199=function(){return e},e}function _templateObject198(){var e=_taggedTemplateLiteral([":@@unvisited_hosts\u241f933e3a20f0afb28b267d5f374f7761986ef70fc4\u241f9134872526760691454:Zero Access Hosts within 24 hours"]);return _templateObject198=function(){return e},e}function _templateObject197(){var e=_taggedTemplateLiteral([":@@offline_hosts\u241feb40c1096a1e1e6866b5a139b57ae1ca8ce1b54b\u241f3307196589296956987:Offline Hosts"]);return _templateObject197=function(){return e},e}function _templateObject196(){var e=_taggedTemplateLiteral([":@@hosts_status\u241fe4880fac90cf65b170bafe46834ec4c5b5240f9e\u241f6105676681289214831:Hosts Status"]);return _templateObject196=function(){return e},e}function _templateObject195(){var e=_taggedTemplateLiteral([":@@gateway_status\u241f77bd5b2151a7e6f63b4ce5645926608358fda653\u241f5500591070135419387:Gateway Status"]);return _templateObject195=function(){return e},e}function _templateObject194(){var e=_taggedTemplateLiteral([":@@password\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return _templateObject194=function(){return e},e}function _templateObject193(){var e=_taggedTemplateLiteral([":@@username\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return _templateObject193=function(){return e},e}function _templateObject192(){var e=_taggedTemplateLiteral([":@@port\u241fcb2741a46e3560f6bc6dfd99d385e86b08b26d72\u241f6117946241126833991:Port"]);return _templateObject192=function(){return e},e}function _templateObject191(){var e=_taggedTemplateLiteral([":@@ip_address\u241f1c1113c07fe4f7008c667f8fb1c5d397fa2055b1\u241f1827245616056417685:IP Address"]);return _templateObject191=function(){return e},e}function _templateObject190(){var e=_taggedTemplateLiteral([":@@web_ssh_term\u241f13a25c64ec9f41a297a2bb15bd8c14661882752c\u241f6630465543638873694:Web SSH Term"]);return _templateObject190=function(){return e},e}function _templateObject189(){var e=_taggedTemplateLiteral([":@@user_agreement\u241f73546446e442c1b3861297089d5436ee268b4866\u241f2785927571630251176:User Agreement"]);return _templateObject189=function(){return e},e}function _templateObject188(){var e=_taggedTemplateLiteral([":@@source_code\u241f76b8339d5b6a70b6871600727ac3a9510e59d26f\u241f4352526755847379280:Source Code"]);return _templateObject188=function(){return e},e}function _templateObject187(){var e=_taggedTemplateLiteral([":@@official_site\u241fa1a16c0655a2532346be77d5581e842c01df8d2a\u241f8585481223049876955:Official Site"]);return _templateObject187=function(){return e},e}function _templateObject186(){var e=_taggedTemplateLiteral([":@@support\u241fb081eb2b01cad6cb19318dcca5509ccca4edac2d\u241f4611971993576521428: Support "]);return _templateObject186=function(){return e},e}function _templateObject185(){var e=_taggedTemplateLiteral([":@@feature_oauth\u241f3329b2759f77ae6be071e913f7369722da3f4390\u241f8436038435583012574:Authentication: LDAP, CAS2, WxWork, DingTalk, Feishu, Lark"]);return _templateObject185=function(){return e},e}function _templateObject184(){var e=_taggedTemplateLiteral([":@@feature_full_site_https\u241f7b0df9ccfb872f1f45a092776ce5fb9795fe8b0f\u241f7023757491218403743:Full Site HTTPS: Certificate Management, and Encryption of Private Key"]);return _templateObject184=function(){return e},e}function _templateObject183(){var e=_taggedTemplateLiteral([":@@feature_waf\u241fb90eb92766b2a7e71d8d02fd8959677c17decebc\u241f2580428788447058936:WAF (Web Application Firewall) and CC denfense"]);return _templateObject183=function(){return e},e}function _templateObject182(){var e=_taggedTemplateLiteral([":@@feature_title\u241f6c9acac01658fd0c91f25bd4fbe0106ff30d4f9d\u241f5882086698205675997: Features of Janusec Application Gateway "]);return _templateObject182=function(){return e},e}function _templateObject181(){var e=_taggedTemplateLiteral([":@@product_desc\u241f2485fdffa30bc87a1dce48312ac9e6ee601766e3\u241f3856266118762267302: Janusec Application Gateway, a Golang based application security solution which provides WAF (Web Application Firewall), CC attack defense, LDAP and OAuth2 Authentication, unified web administration portal, private key protection, web routing and scalable load balancing. "]);return _templateObject181=function(){return e},e}function _templateObject180(){var e=_taggedTemplateLiteral([":@@product_name\u241fdd69878b4a52722f9526a6896d270a0057f67a7b\u241f777814678817001056:Janusec Application Gateway"]);return _templateObject180=function(){return e},e}function _templateObject179(){var e=_taggedTemplateLiteral([":@@callback\u241f241d2d966382d34746dab5ea75bac39b86cbc376\u241f8861286084756285841:callback"]);return _templateObject179=function(){return e},e}function _templateObject178(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject178=function(){return e},e}function _templateObject177(){var e=_taggedTemplateLiteral([":@@enable_authenticator\u241fa25c22ba34edd2156be5bae1588f221819070ea7\u241f358761306182775508: Enable Authenticator "]);return _templateObject177=function(){return e},e}function _templateObject176(){var e=_taggedTemplateLiteral([":@@using_tls\u241f58e061b8f08210a594c451b4bbe12a91e501354d\u241f3436250795514999249: Using TLS Encryption "]);return _templateObject176=function(){return e},e}function _templateObject175(){var e=_taggedTemplateLiteral([":@@bind_required\u241f36618dd9897fd792847976ff329e12f78dba3d52\u241f8177872427518750679: BindDN required (for Active Directory) "]);return _templateObject175=function(){return e},e}function _templateObject174(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject174=function(){return e},e}function _templateObject173(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject173=function(){return e},e}function _templateObject172(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject172=function(){return e},e}function _templateObject171(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject171=function(){return e},e}function _templateObject170(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject170=function(){return e},e}function _templateObject169(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject169=function(){return e},e}function _templateObject168(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject168=function(){return e},e}function _templateObject167(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject167=function(){return e},e}function _templateObject166(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject166=function(){return e},e}function _templateObject165(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject165=function(){return e},e}function _templateObject164(){var e=_taggedTemplateLiteral([":@@test_smtp\u241f68293cafb4cb89cbb236befb5a2836f4166df415\u241f6547422491485399366:Test SMTP"]);return _templateObject164=function(){return e},e}function _templateObject163(){var e=_taggedTemplateLiteral([":@@smtp_password\u241f8823373206ad3bce7b3139e2f6ad18c7ae5dd821\u241f4336953366599045226:Password (Access Token)"]);return _templateObject163=function(){return e},e}function _templateObject162(){var e=_taggedTemplateLiteral([":@@smtp_account\u241f4f711ab3889d50858db6b500b8f2106cb0611ab1\u241f5193620171962741987:Account (Sender's Email)"]);return _templateObject162=function(){return e},e}function _templateObject161(){var e=_taggedTemplateLiteral([":@@smtp_port\u241fb11ead88a8deb9cc9e1b8ba2decfaebf9eeeef2e\u241f1380824593217409510:Port (25, 587, 465)"]);return _templateObject161=function(){return e},e}function _templateObject160(){var e=_taggedTemplateLiteral([":@@smtp_server\u241f905882c0fe09eee755ee6730ecf10e3b85cb6d9c\u241f2188854519574316630:Server"]);return _templateObject160=function(){return e},e}function _templateObject159(){var e=_taggedTemplateLiteral([":@@smtp_enabled\u241f4b0532a01c00ac2710f8a6d6e22c5d210445ec4b\u241f8104588569335395033: Enable SMTP Notification (certificate expire, server offline etc.) "]);return _templateObject159=function(){return e},e}function _templateObject158(){var e=_taggedTemplateLiteral([":@@email_notification\u241f4cebe31487853c9ec37b37605422941d9a343925\u241f3874237384974489918:Email Notification"]);return _templateObject158=function(){return e},e}function _templateObject157(){var e=_taggedTemplateLiteral([":@@data_discovery_note\u241f663d8f4bd538c1248a3a7a3dcc43e0a2d24c6d02\u241f4902964772601694392: Note: Data discovery function module is integrated with JANUCAT (Compliance, Accountability and Transparency). "]);return _templateObject157=function(){return e},e}function _templateObject156(){var e=_taggedTemplateLiteral([":@@manage_discovery_rules\u241ff230157c7e25dba7cac3563351337a5480971d3a\u241f4222471587241201690:Manage Discovery Rules"]);return _templateObject156=function(){return e},e}function _templateObject155(){var e=_taggedTemplateLiteral([":@@api_key\u241f258c041e93862316871096965e2d70579282fb1a\u241f8517109745758603034:API Key"]);return _templateObject155=function(){return e},e}function _templateObject154(){var e=_taggedTemplateLiteral([":@@enable_json_data_discovery\u241fdc509034970937d260591d54e23b5865310a1283\u241f6050811728770475351: Enable JSON Data Discovery (Only for WAF-enabled applications) "]);return _templateObject154=function(){return e},e}function _templateObject153(){var e=_taggedTemplateLiteral([":@@data_discovery\u241fb5e5fe40e652b17ba42055c924c59227e7013f5c\u241f4813722285684291098:Data Discovery"]);return _templateObject153=function(){return e},e}function _templateObject152(){var e=_taggedTemplateLiteral([":@@access_log_days\u241f8d0d70a0a748128d3b08b8518e0a8e4fd1522844\u241f607882647415630545:Access Log Days"]);return _templateObject152=function(){return e},e}function _templateObject151(){var e=_taggedTemplateLiteral([":@@cc_log_days\u241f2c213ab954959907e9a82eda40149065588ea58c\u241f8985708287306942071:CC Log Days"]);return _templateObject151=function(){return e},e}function _templateObject150(){var e=_taggedTemplateLiteral([":@@waf_log_days\u241f3838d845a20449d0a8ff267219ad36ee1397ad79\u241f2485014493910251443:WAF Log Days"]);return _templateObject150=function(){return e},e}function _templateObject149(){var e=_taggedTemplateLiteral([":@@security_audit\u241f62f734ba974fd7e3fec3a6f4793a9696ce9e3f76\u241f5162040759776173662:Security Audit"]);return _templateObject149=function(){return e},e}function _templateObject148(){var e=_taggedTemplateLiteral([":@@custom_block_html\u241f74d42545afba4fda389a9a23191f77932d684583\u241f8648578220720713943:Custom Block Content (HTML)"]);return _templateObject148=function(){return e},e}function _templateObject147(){var e=_taggedTemplateLiteral([":@@webssh_enabled\u241f7ab07613d328eb7ca594a2d9d9cc4cd5d22d477e\u241f8262421472820038708: Enable Web-based SSH "]);return _templateObject147=function(){return e},e}function _templateObject146(){var e=_taggedTemplateLiteral([":@@security_operation\u241f97fddb9e33f8b9e959568d8b26e749a4f2916d32\u241f3154101219665998296: Security Operation "]);return _templateObject146=function(){return e},e}function _templateObject145(){var e=_taggedTemplateLiteral([":@@five_second_shield_note\u241f9fb7eebdf2608f3c5ec005133f36cf2e74ea8aa4\u241f4223310860706491830: Note: When the 5-second shield is enabled for an application, it will affect SEO. You can set it to not block the search engines listed above (User-Agent). "]);return _templateObject145=function(){return e},e}function _templateObject144(){var e=_taggedTemplateLiteral([":@@search_engine_label\u241f421c69699ace2672ed11c3d4c5846397b5e9d16d\u241f8733801051348973968: Search Engines (not empty, case insensitive, seperated by | ) "]);return _templateObject144=function(){return e},e}function _templateObject143(){var e=_taggedTemplateLiteral([":@@skip_se_enabled\u241f94e0d6f7b52478d2ea92597e59ea22f212f8aa4e\u241f943867907043347408: Allow search engines bypass 5-second shield. "]);return _templateObject143=function(){return e},e}function _templateObject142(){var e=_taggedTemplateLiteral([":@@seo_five_second_shield\u241f925698af8fe62fa69e71631c99caca4547c452c9\u241f342812371113703753:SEO and 5-second Shield"]);return _templateObject142=function(){return e},e}function _templateObject141(){var e=_taggedTemplateLiteral([":@@access_control\u241f5c6045daf544bdad844619af3fdcc0565555a1dd\u241f3594232496989819559:Access Control"]);return _templateObject141=function(){return e},e}function _templateObject140(){var e=_taggedTemplateLiteral([":@@auth_provider_note\u241fcf568461d1b7c6c9da68460df401154c0694be15\u241f6013422074948837968: Note: Janusec on replica nodes need to be restarted if authentication provider changed. "]);return _templateObject140=function(){return e},e}function _templateObject139(){var e=_taggedTemplateLiteral([":@@auth_provider\u241f6f02b16e074b7342981c93fcbd0c96c001c9db21\u241f7732709167286392666:Authentication Provider"]);return _templateObject139=function(){return e},e}function _templateObject138(){var e=_taggedTemplateLiteral([":@@auth_enabled\u241fba614120ed4b34e656777738ecda68c641d7e284\u241f8157486757764332727: Enable Single Sign On Authentication for Applications "]);return _templateObject138=function(){return e},e}function _templateObject137(){var e=_taggedTemplateLiteral([":@@authenticator_enabled\u241f37790ea4efd9c7d87957a872ac4015c9eece3458\u241f1582371579996458286: Enable Authenticator (2-factor Authentication) for Gateway Management "]);return _templateObject137=function(){return e},e}function _templateObject136(){var e=_taggedTemplateLiteral([":@@security_auth\u241fed72606056198896f46c65d0dbbe854d04f3de47\u241f8966698274727122602:Authentication"]);return _templateObject136=function(){return e},e}function _templateObject135(){var e=_taggedTemplateLiteral([":@@go_back\u241f3e6937fdbde4da7f8c6866d56182945437e2629e\u241f2960246622843217026:Go Back"]);return _templateObject135=function(){return e},e}function _templateObject134(){var e=_taggedTemplateLiteral([":@@cc_log_details\u241f1e017fb27295acc12ebb9688787b504cc47e8f3a\u241f2111462504113166168:CC Log Details"]);return _templateObject134=function(){return e},e}function _templateObject133(){var e=_taggedTemplateLiteral([":@@query_cc_logs\u241fb096438669f2e42694b784dfeac680f3c4ef8b8d\u241f1240629564821051165:Query CC Logs"]);return _templateObject133=function(){return e},e}function _templateObject132(){var e=_taggedTemplateLiteral([":@@end_time\u241f075d55ffb39ffc39d2603a64038db31cb862575a\u241f7277844754494375521:End Time (23:59:59)"]);return _templateObject132=function(){return e},e}function _templateObject131(){var e=_taggedTemplateLiteral([":@@begin_time\u241f7a80b3ae74e5b4b36f40df7c340d4368218f470c\u241f401349900922345298:Begin Time (00:00:00)"]);return _templateObject131=function(){return e},e}function _templateObject130(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject130=function(){return e},e}function _templateObject129(){var e=_taggedTemplateLiteral([":@@go_back\u241f3e6937fdbde4da7f8c6866d56182945437e2629e\u241f2960246622843217026:Go Back"]);return _templateObject129=function(){return e},e}function _templateObject128(){var e=_taggedTemplateLiteral([":@@log_details\u241f6fae13efb6ab03e34f34fccd5f7d443c9b8c6623\u241f9120384987646329152:Log Details"]);return _templateObject128=function(){return e},e}function _templateObject127(){var e=_taggedTemplateLiteral([":@@query_waf_logs\u241fc6bb66ee2e4b8eade4eb0cd8042ad508e19eba57\u241f5406286306501075317:Query WAF Logs"]);return _templateObject127=function(){return e},e}function _templateObject126(){var e=_taggedTemplateLiteral([":@@end_time\u241f075d55ffb39ffc39d2603a64038db31cb862575a\u241f7277844754494375521:End Time (23:59:59)"]);return _templateObject126=function(){return e},e}function _templateObject125(){var e=_taggedTemplateLiteral([":@@begin_time\u241f7a80b3ae74e5b4b36f40df7c340d4368218f470c\u241f401349900922345298:Begin Time (00:00:00)"]);return _templateObject125=function(){return e},e}function _templateObject124(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject124=function(){return e},e}function _templateObject123(){var e=_taggedTemplateLiteral([":@@referring_sites\u241fec585bc47d5923492ce19460aae8bf3661fc081a\u241f1923109454628308267:Referring Sites (14 days)"]);return _templateObject123=function(){return e},e}function _templateObject122(){var e=_taggedTemplateLiteral([":@@popular_content_today\u241f330937b831f58f2b1e5abaaa25e2d2d3bb064263\u241f2482852217848403822:Popular Content Today"]);return _templateObject122=function(){return e},e}function _templateObject121(){var e=_taggedTemplateLiteral([":@@view\u241f6829218544e108e152f5fa72cb79c4ccb82e0d06\u241f2509141182388535183:View"]);return _templateObject121=function(){return e},e}function _templateObject120(){var e=_taggedTemplateLiteral([":@@all\u241fdfc3c34e182ea73c5d784ff7c8135f087992dac1\u241f1616102757855967475:All"]);return _templateObject120=function(){return e},e}function _templateObject119(){var e=_taggedTemplateLiteral([":@@vulnerability\u241f09ffc759b49382fc087edfb83b506d794011c73f\u241f7471386395532815020:Vulnerability"]);return _templateObject119=function(){return e},e}function _templateObject118(){var e=_taggedTemplateLiteral([":@@view\u241f6829218544e108e152f5fa72cb79c4ccb82e0d06\u241f2509141182388535183:View"]);return _templateObject118=function(){return e},e}function _templateObject117(){var e=_taggedTemplateLiteral([":@@all\u241f255cb5b41f7a18a13adc9ae75c8a2335275f31e4\u241f1726267335244559659:All applications"]);return _templateObject117=function(){return e},e}function _templateObject116(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject116=function(){return e},e}function _templateObject115(){var e=_taggedTemplateLiteral([":@@node_detail\u241f2d653a3d7a3b48d501c08d3fe9376c1c4e24ed21\u241f7177990097443434093:Node Details"]);return _templateObject115=function(){return e},e}function _templateObject114(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject114=function(){return e},e}function _templateObject113(){var e=_taggedTemplateLiteral([":@@action\u241f01a32bb7e93373cbc305329319efc67c0bd85226\u241f97940262148604706: Action "]);return _templateObject113=function(){return e},e}function _templateObject112(){var e=_taggedTemplateLiteral([":@@sync_time\u241f181c8e53f31dd255ba7495eea8996a954058ca01\u241f665365445806980314: Synchronization Time "]);return _templateObject112=function(){return e},e}function _templateObject111(){var e=_taggedTemplateLiteral([":@@version\u241f55841e4bef36a1768906aa7555c43c31b7c61a3b\u241f5088286317508582496: Version "]);return _templateObject111=function(){return e},e}function _templateObject110(){var e=_taggedTemplateLiteral([":@@online\u241fee74fb7b4bab3ce4785bc0470a25ba7f49533cdb\u241f6381905842608823548: Online "]);return _templateObject110=function(){return e},e}function _templateObject109(){var e=_taggedTemplateLiteral([":@@last_ip\u241fde2ae53a235560ee7aa37145da929a18d70ea504\u241f7822607628884491209: IP "]);return _templateObject109=function(){return e},e}function _templateObject108(){var e=_taggedTemplateLiteral([":@@node_notice\u241f98d0a9609caabf92a0f6928e3b5fcecaa20a3516\u241f5588654204421158929:Please copy the following node_key into config.json of all replica nodes. "]);return _templateObject108=function(){return e},e}function _templateObject107(){var e=_taggedTemplateLiteral([":@@node_sync\u241f0e4898ccb7f74dc7411e66c783b249e9d95bd936\u241f3758475628515629380:Node Synchronization"]);return _templateObject107=function(){return e},e}function _templateObject106(){var e=_taggedTemplateLiteral([":@@refresh\u241fc8d1785038d461ec66b5799db21864182b35900a\u241f1102717806459547726:Refresh"]);return _templateObject106=function(){return e},e}function _templateObject105(){var e=_taggedTemplateLiteral([":@@node_mgmt\u241f7c79873448e91ed2609a9c9260490e4577c29517\u241f234012432003542018:Node Management"]);return _templateObject105=function(){return e},e}function _templateObject104(){var e=_taggedTemplateLiteral([":@@update_time\u241ffdaf3f57f2fdd07676eaabb17a98403f277356c3\u241f663069680804731405:Latest Update Time"]);return _templateObject104=function(){return e},e}function _templateObject103(){var e=_taggedTemplateLiteral([":@@designated_headerkey\u241fc4f7eed1c3e5685140e5eb2d94c0f28dfa632650\u241f3116812232264639239:Designated HeaderKey (optional)"]);return _templateObject103=function(){return e},e}function _templateObject102(){var e=_taggedTemplateLiteral([":@@add_new_checkpoint\u241ff7863b5f48230785099c5e20bd07beaed017a0e6\u241f1234834535205391304:Add new check point"]);return _templateObject102=function(){return e},e}function _templateObject101(){var e=_taggedTemplateLiteral([":@@value_or_regex\u241f32e898250fff8ba6252504e25304dcd25b328be6\u241f2229369941918828209:Value or RegexPolicy (Google RE2,start with (?i) if CaseInsensitive required)"]);return _templateObject101=function(){return e},e}function _templateObject100(){var e=_taggedTemplateLiteral([":@@operation\u241f787e44bf8fb991dfb43b1c7eb7056090514d6905\u241f1283895920974679461:Operation"]);return _templateObject100=function(){return e},e}function _templateObject99(){var e=_taggedTemplateLiteral([":@@check_point\u241f232559ea95cb5a6c69126d3fd08ef3f166005136\u241f1979121568078297259:Check Point"]);return _templateObject99=function(){return e},e}function _templateObject98(){var e=_taggedTemplateLiteral([":@@test\u241fa79d938b5ed20249b4ab6bef86c12633d2f346a0\u241f6563391987554512024:Test"]);return _templateObject98=function(){return e},e}function _templateObject97(){var e=_taggedTemplateLiteral([":@@regex_preprocess\u241f8f696da263d6cb723d97134d90c3ce857ab17fad\u241f6813516149374090999: Preprocess Payload Value by Janusec (Selected, Remove \" ' , replace /**/ with backspace.) "]);return _templateObject97=function(){return e},e}function _templateObject96(){var e=_taggedTemplateLiteral([":@@matched_result\u241f12f14ec5e3a85a44e38a2cb956b83a5b9f299870\u241f3569221976704549973:Match Result"]);return _templateObject96=function(){return e},e}function _templateObject95(){var e=_taggedTemplateLiteral([":@@payload_to_test\u241f394e2ed7fbf53e923e14db4f2fe1eb42f4c2e4e8\u241f6330309368981945523:Payload Value to Test"]);return _templateObject95=function(){return e},e}function _templateObject94(){var e=_taggedTemplateLiteral([":@@regex_pattern\u241fb45d2529e755cb6dd269c6707d729853e474483b\u241f549098991873584918:Policy Pattern (Google RE2 Regex Expression, Single-Line Mode)"]);return _templateObject94=function(){return e},e}function _templateObject93(){var e=_taggedTemplateLiteral([":@@regex_test_tool\u241fcf2c05cddea7ec1e1ca957a48d69f1c8fd2e08a9\u241f6782308648328086424:Regex Test Tool"]);return _templateObject93=function(){return e},e}function _templateObject92(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject92=function(){return e},e}function _templateObject91(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject91=function(){return e},e}function _templateObject90(){var e=_taggedTemplateLiteral([":@@enable_policy\u241f3c96c2317e63c35d320da3e998ad4a229deb283b\u241f6507213648773489188: Enable this policy "]);return _templateObject90=function(){return e},e}function _templateObject89(){var e=_taggedTemplateLiteral([":@@action\u241f1bd5e17c9582661e20763a7634ef07881e33bbd7\u241f9216117865911519658:Action"]);return _templateObject89=function(){return e},e}function _templateObject88(){var e=_taggedTemplateLiteral([":@@vulnerability\u241f09ffc759b49382fc087edfb83b506d794011c73f\u241f7471386395532815020:Vulnerability"]);return _templateObject88=function(){return e},e}function _templateObject87(){var e=_taggedTemplateLiteral([":@@all\u241f255cb5b41f7a18a13adc9ae75c8a2335275f31e4\u241f1726267335244559659:All applications"]);return _templateObject87=function(){return e},e}function _templateObject86(){var e=_taggedTemplateLiteral([":@@apply_to\u241f16c0f258e8457e1e7bda6d7ecc2c82b1e14dff2b\u241f8188398788637486228:Applies to"]);return _templateObject86=function(){return e},e}function _templateObject85(){var e=_taggedTemplateLiteral([":@@policy_description\u241ff31fb6bfd7cb675e7e0b7279985ea202467f4527\u241f7653179075669619700:Name or Description"]);return _templateObject85=function(){return e},e}function _templateObject84(){var e=_taggedTemplateLiteral([":@@policy_detail\u241f36915f58289a0994bfbdc5688a19cb0f4760c01f\u241f5634039722621641041:Policy Details"]);return _templateObject84=function(){return e},e}function _templateObject83(){var e=_taggedTemplateLiteral([":@@enabled\u241fabe44b93ca347e46a9b8cb48178c884672111ee4\u241f6151416851572883297: Enabled "]);return _templateObject83=function(){return e},e}function _templateObject82(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject82=function(){return e},e}function _templateObject81(){var e=_taggedTemplateLiteral([":@@import_policies\u241fd49a8a7115dc1a6b069222c3ad18de6800662d08\u241f6736990121547304968:Import Policies"]);return _templateObject81=function(){return e},e}function _templateObject80(){var e=_taggedTemplateLiteral([":@@export_policies\u241f97ed31580aee081fa502f5e46eb6ca2f9b643969\u241f3541288010151194377:Export Policies"]);return _templateObject80=function(){return e},e}function _templateObject79(){var e=_taggedTemplateLiteral([":@@add_policy\u241fb77042030ceb629838381322ceb84c7864347767\u241f3048951785216363434:Add Policy"]);return _templateObject79=function(){return e},e}function _templateObject78(){var e=_taggedTemplateLiteral([":@@application_admin\u241f7961d808f0d34e673d2b98762a00d7f113e6c5f3\u241f3215911346408530352: Application Administrator "]);return _templateObject78=function(){return e},e}function _templateObject77(){var e=_taggedTemplateLiteral([":@@certificate_admin\u241f15549249b3bac8ee826d76fc8b9a0e73f67ee299\u241f8385209030340792999: Certificate Administrator "]);return _templateObject77=function(){return e},e}function _templateObject76(){var e=_taggedTemplateLiteral([":@@super_admin\u241f5697206d5987632ce8252fa4f99af67e42838ba7\u241f1474561519790538294: Super Administrator (Authorization and WAF Management) "]);return _templateObject76=function(){return e},e}function _templateObject75(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject75=function(){return e},e}function _templateObject74(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject74=function(){return e},e}function _templateObject73(){var e=_taggedTemplateLiteral([":@@email\u241f810f7a8d7b821853cbe16735237ba0e9a9afa2a1\u241f8482524874284138132:Email (Used for alarms)"]);return _templateObject73=function(){return e},e}function _templateObject72(){var e=_taggedTemplateLiteral([":@@confirm_password\u241fc1b7e6d75ff4285c7636c67e5ef259629b81725b\u241f3241357959735682038:Confirm Password"]);return _templateObject72=function(){return e},e}function _templateObject71(){var e=_taggedTemplateLiteral([":@@password\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return _templateObject71=function(){return e},e}function _templateObject70(){var e=_taggedTemplateLiteral([":@@username\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return _templateObject70=function(){return e},e}function _templateObject69(){var e=_taggedTemplateLiteral([":@@user_details\u241fb4a0bf59944eeabcb65e19f512620c16ac91bb5c\u241f8296640497525814291:User Details"]);return _templateObject69=function(){return e},e}function _templateObject68(){var e=_taggedTemplateLiteral([":@@is_app_admin\u241f4e0bf711f10ff5de36176a884f3ffd6a88945d9a\u241f1152691990915327597: Application Admin "]);return _templateObject68=function(){return e},e}function _templateObject67(){var e=_taggedTemplateLiteral([":@@is_cert_admin\u241fa926226a016de0a6048b0c02b420dd5d1f3f68b2\u241f8070005005515015318: Certificate Admin "]);return _templateObject67=function(){return e},e}function _templateObject66(){var e=_taggedTemplateLiteral([":@@is_super_admin\u241fd067e1ef48b7ff76e7889f6e84d3ed3252730153\u241f2499232325983554725: Super Admin "]);return _templateObject66=function(){return e},e}function _templateObject65(){var e=_taggedTemplateLiteral([":@@username\u241ffec8de042d9645af8886e515b9c4e6334d4ab2c8\u241f5381513611853730068: Username "]);return _templateObject65=function(){return e},e}function _templateObject64(){var e=_taggedTemplateLiteral([":@@add_user\u241f94be6ae6ec1f87bedc67020629343b27fdbece0a\u241f2941198503117307737:Add User"]);return _templateObject64=function(){return e},e}function _templateObject63(){var e=_taggedTemplateLiteral([":@@user_mgmt\u241fddbd16ea0d9d8831b1897ff0936e91cd10a1aedd\u241f6362392309535777035:Users Management"]);return _templateObject63=function(){return e},e}function _templateObject62(){var e=_taggedTemplateLiteral([":@@cert_self_sign\u241ff254bfa4d1c9673fdbd69479ce607339c4bc8f09\u241f4311221339245365144:Self-Sign Certificate"]);return _templateObject62=function(){return e},e}function _templateObject61(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject61=function(){return e},e}function _templateObject60(){var e=_taggedTemplateLiteral([":@@cert_expire\u241f45eecb6161ef0b26bc67532463515ce497e6ecd7\u241f103471684912655286:Expire time"]);return _templateObject60=function(){return e},e}function _templateObject59(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject59=function(){return e},e}function _templateObject58(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject58=function(){return e},e}function _templateObject57(){var e=_taggedTemplateLiteral([":@@cert_priv\u241fc50c9aa3a8ba742bdd7f3b5ba33748335acd3ab3\u241f7811278187914733773:Private Key Content (begin with: -----BEGIN PRIVATE KEY-----)"]);return _templateObject57=function(){return e},e}function _templateObject56(){var e=_taggedTemplateLiteral([":@@cert_public\u241f538c1b9766ffa86fbfb9d04696076111d210e534\u241f8674187039503057623:Public Certificate Content Begin with: -----BEGIN CERTIFICATE-----"]);return _templateObject56=function(){return e},e}function _templateObject55(){var e=_taggedTemplateLiteral([":@@cert_common_name\u241fe1a70760a341b9e84d107f44a2437df2bf479227\u241f2203571163881366181:Common Name or Subject Alternative Name"]);return _templateObject55=function(){return e},e}function _templateObject54(){var e=_taggedTemplateLiteral([":@@cert_detail_title\u241f3a8e0f16f7165047ad86550d9fcb9a33ab4aa990\u241f6818330678688793635:Certificate Details"]);return _templateObject54=function(){return e},e}function _templateObject53(){var e=_taggedTemplateLiteral([":@@authenticator_code_tip\u241f2441698cb011ad14e78a25cfb6c439ba0767d84c\u241f7766260635644722072:000000 for first use"]);return _templateObject53=function(){return e},e}function _templateObject52(){var e=_taggedTemplateLiteral([":@@authenticator_code\u241f1bf5326a94db10ce1ad68246a29e195f265e96e0\u241f4444315150361605281:Authenticator Code"]);return _templateObject52=function(){return e},e}function _templateObject51(){var e=_taggedTemplateLiteral([":@@submit\u241f71c77bb8cecdf11ec3eead24dd1ba506573fa9cd\u241f935187492052582731:Submit"]);return _templateObject51=function(){return e},e}function _templateObject50(){var e=_taggedTemplateLiteral([":@@password\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return _templateObject50=function(){return e},e}function _templateObject49(){var e=_taggedTemplateLiteral([":@@username\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return _templateObject49=function(){return e},e}function _templateObject48(){var e=_taggedTemplateLiteral([":@@login_title\u241fc8f0af331f13cd58311dfb3c4bc2a9ea7a9dc2de\u241f1769638224126160393:Admin Login"]);return _templateObject48=function(){return e},e}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_nonIterableRest()}function _templateObject47(){var e=_taggedTemplateLiteral([":@@session_seconds\u241ff76c9bcda8d5e05dc737c94afe6983ea0c325947\u241f8409085772541297676:Session Expire Seconds for OAuth2"]);return _templateObject47=function(){return e},e}function _templateObject46(){var e=_taggedTemplateLiteral([":@@add_domain\u241f7ab63115aecfd8e50213144ecb0110f9c56f8c79\u241f3144242076022355294:Add new domain"]);return _templateObject46=function(){return e},e}function _templateObject45(){var e=_taggedTemplateLiteral([":@@redirect\u241fdf9b04356740fa3c69d58d35f93acb23be5253a1\u241f3451145344605364071: (Disabled by default) Redirect to (308): \xa0 "]);return _templateObject45=function(){return e},e}function _templateObject44(){var e=_taggedTemplateLiteral([":@@automated_certificate\u241fa7b361ce6079ec07fdeb1e2848ce75e57123a0d2\u241f7835843245541578986:ACME Automated Certificate"]);return _templateObject44=function(){return e},e}function _templateObject43(){var e=_taggedTemplateLiteral([":@@acme_requirement\u241faadabdabc9f9c926181d6207e39dc0e7cd307354\u241f3385432567489797291:If ACME automated certificate used, default port 80/443, open to Internet, and single node are required."]);return _templateObject43=function(){return e},e}function _templateObject42(){var e=_taggedTemplateLiteral([":@@certificate\u241f9e37e0d06148c7708e88b4a1eb412babbe1a4afc\u241f7164856686778871055:Certificate"]);return _templateObject42=function(){return e},e}function _templateObject41(){var e=_taggedTemplateLiteral([":@@domain_name_tooltip\u241f58603a2700c6043c532f54c1678b0ef2ba836417\u241f4582161848423782090:Required, format: www.your-domain.com"]);return _templateObject41=function(){return e},e}function _templateObject40(){var e=_taggedTemplateLiteral([":@@domain_name\u241ffa5ce9087b488893fb601b5596bcd33d1dfc7a16\u241f2332461354438777072:Domain name (required)"]);return _templateObject40=function(){return e},e}function _templateObject39(){var e=_taggedTemplateLiteral([":@@add_new_routing\u241f9d5dc2eb534e384f4613a9a9fa85a443176b5421\u241f3105577272767442961:Add new routing"]);return _templateObject39=function(){return e},e}function _templateObject38(){var e=_taggedTemplateLiteral([":@@add_new_routing\u241f9d5dc2eb534e384f4613a9a9fa85a443176b5421\u241f3105577272767442961:Add new routing"]);return _templateObject38=function(){return e},e}function _templateObject37(){var e=_taggedTemplateLiteral([":@@backend_routing_tooltip\u241fd58e7a0c4ca99de9da4d5f8228b0bec632baa826\u241f5055285045902212680:Default /, using /xyz/ if the backend is using different URL Path. Please fill in absolute path (/path/to/www/) if the routing type is Static_Website or Local_FastCGI."]);return _templateObject37=function(){return e},e}function _templateObject36(){var e=_taggedTemplateLiteral([":@@backend_routing\u241ffda26bd262b92796a0439695dd22bcd02404649a\u241f6384067608517852147:Backend Routing"]);return _templateObject36=function(){return e},e}function _templateObject35(){var e=_taggedTemplateLiteral([":@@destination_tooltip\u241fb1de75694e2fd829b5188c5c4b19d54f77d37e7c\u241f7090249157165623120:Default IP:Port (such as 10.0.0.1:80), or default file (such as index.html) if Static_Website was selected."]);return _templateObject35=function(){return e},e}function _templateObject34(){var e=_taggedTemplateLiteral([":@@destination\u241fa7369891e88cd613e45a39b55a282c97776d05f5\u241f1866048779551574162:Destination"]);return _templateObject34=function(){return e},e}function _templateObject33(){var e=_taggedTemplateLiteral([":@@routing_type_tooltip\u241ff8b1e1acd107f4da45b4dc6a0143e0f31427a592\u241f5345810443905749306:Default: Reverse_Proxy, other options: Local_FastCGI used for PHP/Python etc., Static_Website used for local static resources without backend servers, K8S_Ingress used for K8S Pods."]);return _templateObject33=function(){return e},e}function _templateObject32(){var e=_taggedTemplateLiteral([":@@routing_type\u241ffb423aa11a87f6a5920a39a3805653ab2662485d\u241f4291238413537579254:Routing Type"]);return _templateObject32=function(){return e},e}function _templateObject31(){var e=_taggedTemplateLiteral([":@@request_location_tooltip\u241f0ad81c05c83c7438f4fea9d57cb91daa9fd270b4\u241f1086158971731286851:Default: / , options: /abc/ .php / , ordered from highest priority to lowest, and /abc/def/ is not supported."]);return _templateObject31=function(){return e},e}function _templateObject30(){var e=_taggedTemplateLiteral([":@@request_location\u241f061e64501c9652e68385c2d4490f050a6fadc834\u241f1675516276525936556:Request Location"]);return _templateObject30=function(){return e},e}function _templateObject29(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject29=function(){return e},e}function _templateObject28(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject28=function(){return e},e}function _templateObject27(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject27=function(){return e},e}function _templateObject26(){var e=_taggedTemplateLiteral([":@@owner\u241f02afaff74daa82a8877966a267df371e8220d22f\u241f4709669786209672837:Application Owner"]);return _templateObject26=function(){return e},e}function _templateObject25(){var e=_taggedTemplateLiteral([":@@csp_enabled\u241f1bf2cdd64c89a77d08ad8236ce73df0ed9e8aff4\u241f8050337485292058380: Enable CSP (Content-Security-Policy, example: default-src 'self', disabled by default) "]);return _templateObject25=function(){return e},e}function _templateObject24(){var e=_taggedTemplateLiteral([":@@oauth_required\u241f7bf22c25043d2f834ada0dd4fb1919d3e289ce48\u241f1615126847134965216: Enable Authentication (The provider needs to be registered and enabled in the settings, used for Internal Employees and Internal Applications. ",":INTERPOLATION:) "]);return _templateObject24=function(){return e},e}function _templateObject23(){var e=_taggedTemplateLiteral([":@@shield_enabled\u241f69d5e784e80ab6526a53f57b8aab742f9ddb9a69\u241f9109307501335766971: Enable 5-second shield (Please check the search engines list in settings, disabled by default) "]);return _templateObject23=function(){return e},e}function _templateObject22(){var e=_taggedTemplateLiteral([":@@cache_enabled\u241f37b8e7a7cedc9973504d04324d3bedcd839c4271\u241f5421804331364988662: Enable caching for static files less than 10MB (brotli, gzip compression supported) "]);return _templateObject22=function(){return e},e}function _templateObject21(){var e=_taggedTemplateLiteral([":@@waf_enabled\u241fe94cc89eff52dc58039fc5c95cb63c9f457a5f38\u241f2235317324002281227: Enable WAF (Web Application Firewall) "]);return _templateObject21=function(){return e},e}function _templateObject20(){var e=_taggedTemplateLiteral([":@@hsts_enabled\u241f58e1b3279df0d8a8fc8178c05cc8b171b26cb2e9\u241f797501638700667876: Enable HSTS for HTTPS (Add Response Header: Strict-Transport-Security) "]);return _templateObject20=function(){return e},e}function _templateObject19(){var e=_taggedTemplateLiteral([":@@redirect_https\u241f1dbe171223e649c6a0dc253cb379529688801b43\u241f6409732758263767205: Redirect HTTP to HTTPS (Certificate Required) "]);return _templateObject19=function(){return e},e}function _templateObject18(){var e=_taggedTemplateLiteral([":@@ip_for_waf\u241f80441c39aaa90eee8f39967829fa7478e2f079c8\u241f4538667619332294181:Client IP for WAF"]);return _templateObject18=function(){return e},e}function _templateObject17(){var e=_taggedTemplateLiteral([":@@domain_configuration\u241f2cfa697d0ea1de10e87fa50250ec0e48d0fe8e92\u241f1500695871126868301:Domain Configuration"]);return _templateObject17=function(){return e},e}function _templateObject16(){var e=_taggedTemplateLiteral([":@@routing_configuration\u241f5493b4d2549eeb51ac3bb5ef73500cdeb5bf0cd2\u241f6653700099992265561:Routing Configuration"]);return _templateObject16=function(){return e},e}function _templateObject15(){var e=_taggedTemplateLiteral([":@@app_internal_scheme\u241fe4060889fa7dfa1cee1cfc1003e363a3cc6add34\u241f2359896606808000859:Backend or Internal Scheme"]);return _templateObject15=function(){return e},e}function _templateObject14(){var e=_taggedTemplateLiteral([":@@app_name\u241f7e2abed312d91f24b07b1c21982bf0ab5bda6675\u241f2887251461858216261:Application Name"]);return _templateObject14=function(){return e},e}function _templateObject13(){var e=_taggedTemplateLiteral([":@@app_detail\u241ffe9c0bbcb9ca68b6161d6ce6e9828aa5a27b4773\u241f6323294930337585583:Application Detail"]);return _templateObject13=function(){return e},e}function _templateObject12(){var e=_taggedTemplateLiteral([":@@cert_status\u241f6d1cddbe2f61020230280a0543a70e48e43d9832\u241f4282587102956396340: Status "]);return _templateObject12=function(){return e},e}function _templateObject11(){var e=_taggedTemplateLiteral([":@@expire_time\u241fe8a206cd8b22430ba0c01746a7c19db6a858642b\u241f8219491832239345526: Expire Time "]);return _templateObject11=function(){return e},e}function _templateObject10(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject10=function(){return e},e}function _templateObject9(){var e=_taggedTemplateLiteral([":@@common_name\u241f9043be6967386201047a2ac697914c0528b1b3b1\u241f7596435725983670097: Common Name "]);return _templateObject9=function(){return e},e}function _templateObject8(){var e=_taggedTemplateLiteral([":@@add_cert\u241fc921699d04972f3342aea874ca2b5590bc770f36\u241f6891864300492956841:Add Certificate"]);return _templateObject8=function(){return e},e}function _templateObject7(){var e=_taggedTemplateLiteral([":@@acme_note\u241f3b3a0718d29106ad927a99656a7bf2e47be92494\u241f3858518482223069301: Note: The private key imported here will be stored encrypted. ACME automatic certificates are automatically managed by the file system (not listed here). "]);return _templateObject7=function(){return e},e}function _templateObject6(){var e=_taggedTemplateLiteral([":@@cert_mgmt\u241f89d74c661c7a4ff5bb596e5c9da09ffb5f8f5e1b\u241f7592328498683031180:Certificate Management"]);return _templateObject6=function(){return e},e}function _templateObject5(){var e=_taggedTemplateLiteral([":@@waf_enabled2\u241f4e5b591c045f8048c70afdfe2cbd69f2f70b24c1\u241f4031094814875691100: WAF Enabled "]);return _templateObject5=function(){return e},e}function _templateObject4(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject4=function(){return e},e}function _templateObject3(){var e=_taggedTemplateLiteral([":@@app_name\u241f20371277706eedf7fd8a3f51633ca5d801cd4fc2\u241f8778616811237742446: Name "]);return _templateObject3=function(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral([":@@add_app\u241f6371056b2b9e430f6eaca5ecc1c9b5f4b9245d08\u241f8171450067602583729:Add Application"]);return _templateObject2=function(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral([":@@app_mgmt\u241fafd29a25da1cb399758a8391f1220a126f69d398\u241f6498259039196827528:Application Management"]);return _templateObject=function(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(c){r=!0,a=c}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&o.length>r&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,console&&console.warn&&console.warn(s)}return e}function h(){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(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=h.bind(i);return r.listener=n,i.wrapFn=r,r}function p(e,t,n){var i=e._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var c=r[e];if(void 0===c)return!1;if("function"==typeof c)a(c,this,t);else{var l=c.length,u=_(c,l);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,r=a;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;i--)this.removeListener(e,t[i]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".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\u017ees",past:"ma\u014bit %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\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/POA":function(e,t,n){window,e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,(function(t){return e[t]}).bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(14);t.IBufferService=i.createDecorator("BufferService"),t.ICoreMouseService=i.createDecorator("CoreMouseService"),t.ICoreService=i.createDecorator("CoreService"),t.ICharsetService=i.createDecorator("CharsetService"),t.IDirtyRowService=i.createDecorator("DirtyRowService"),t.IInstantiationService=i.createDecorator("InstantiationService"),t.ILogService=i.createDecorator("LogService"),t.IOptionsService=i.createDecorator("OptionsService"),t.IUnicodeService=i.createDecorator("UnicodeService")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var n=0;n>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?a.stringFromCodePoint(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[o.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[o.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[o.CHAR_DATA_CHAR_INDEX].length){var n=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var i=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=i&&i<=57343?this.content=1024*(n-55296)+i-56320+65536|e[o.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[o.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[o.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[o.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(n(6).AttributeData);t.CellData=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.fg=0,this.bg=0}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e}();t.AttributeData=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i="",r=t;r65535?(a-=65536,i+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):i+=String.fromCharCode(a)}return i};var i=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i=0,r=0;this._interim&&(56320<=(s=e.charCodeAt(r++))&&s<=57343?t[i++]=1024*(this._interim-55296)+s-56320+65536:(t[i++]=this._interim,t[i++]=s),this._interim=0);for(var a=r;a=n)return this._interim=o,i;var s;56320<=(s=e.charCodeAt(a))&&s<=57343?t[i++]=1024*(o-55296)+s-56320+65536:(t[i++]=o,t[i++]=s)}else t[i++]=o}return i},e}();t.StringToUtf32=i;var r=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i,r,a,o,s=0,c=0,l=0;if(this.interim[0]){var u=!1,d=this.interim[0];d&=192==(224&d)?31:224==(240&d)?15:7;for(var h=0,f=void 0;(f=63&this.interim[++h])&&h<4;)d<<=6,d|=f;for(var p=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=p-h;l=n)return 0;if(128!=(192&(f=e[l++]))){l--,u=!0;break}this.interim[h++]=f,d<<=6,d|=63&f}u||(2===p?d<128?l--:t[s++]=d:3===p?d<2048||d>=55296&&d<=57343||(t[s++]=d):d<65536||d>1114111||(t[s++]=d)),this.interim.fill(0)}for(var _=n-4,b=l;b=n)return this.interim[0]=i,s;if(128!=(192&(r=e[b++]))){b--;continue}if((c=(31&i)<<6|63&r)<128){b--;continue}t[s++]=c}else if(224==(240&i)){if(b>=n)return this.interim[0]=i,s;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=n)return this.interim[0]=i,this.interim[1]=r,s;if(128!=(192&(a=e[b++]))){b--;continue}if((c=(15&i)<<12|(63&r)<<6|63&a)<2048||c>=55296&&c<=57343)continue;t[s++]=c}else if(240==(248&i)){if(b>=n)return this.interim[0]=i,s;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=n)return this.interim[0]=i,this.interim[1]=r,s;if(128!=(192&(a=e[b++]))){b--;continue}if(b>=n)return this.interim[0]=i,this.interim[1]=r,this.interim[2]=a,s;if(128!=(192&(o=e[b++]))){b--;continue}if((c=(7&i)<<18|(63&r)<<12|(63&a)<<6|63&o)<65536||c>1114111)continue;t[s++]=c}}return s},e}();t.Utf8ToUtf32=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=function(e,t,n,i){e.addEventListener(t,n,i);var r=!1;return{dispose:function(){r&&(r=!0,e.removeEventListener(t,n,i))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,n){"use strict";var i,r,a,o;function s(e){var t=e.toString(16);return t.length<2?"0"+t:t}function c(e,t){return e>>0}}(i=t.channels||(t.channels={})),(r=t.color||(t.color={})).blend=function(e,t){var n=(255&t.rgba)/255;if(1===n)return{css:t.css,rgba:t.rgba};var r=t.rgba>>16&255,a=t.rgba>>8&255,o=e.rgba>>24&255,s=e.rgba>>16&255,c=e.rgba>>8&255,l=o+Math.round(((t.rgba>>24&255)-o)*n),u=s+Math.round((r-s)*n),d=c+Math.round((a-c)*n);return{css:i.toCss(l,u,d),rgba:i.toRgba(l,u,d)}},r.ensureContrastRatio=function(e,t,n){var i=o.ensureContrastRatio(e.rgba,t.rgba,n);if(i)return o.toColor(i>>24&255,i>>16&255,i>>8&255)},r.opaque=function(e){var t=(255|e.rgba)>>>0,n=o.toChannels(t);return{css:i.toCss(n[0],n[1],n[2]),rgba:t}},(t.css||(t.css={})).toColor=function(e){return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0}},function(e){function t(e,t,n){var i=e/255,r=t/255,a=n/255;return.2126*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(a=t.rgb||(t.rgb={})),function(e){function t(e,t,n){for(var i=e>>24&255,r=e>>16&255,o=e>>8&255,s=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(a.relativeLuminance2(s,u,l),a.relativeLuminance2(i,r,o));d0||l>0||u>0);)s-=Math.max(0,Math.ceil(.1*s)),l-=Math.max(0,Math.ceil(.1*l)),u-=Math.max(0,Math.ceil(.1*u)),d=c(a.relativeLuminance2(s,u,l),a.relativeLuminance2(i,r,o));return(s<<24|l<<16|u<<8|255)>>>0}function n(e,t,n){for(var i=e>>24&255,r=e>>16&255,o=e>>8&255,s=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(a.relativeLuminance2(s,u,l),a.relativeLuminance2(i,r,o));d>>0}e.ensureContrastRatio=function(e,i,r){var o=a.relativeLuminance(e>>8),s=a.relativeLuminance(i>>8);if(c(o,s)>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,n){return{css:i.toCss(e,t,n),rgba:i.toRgba(e,t,n)}}}(o=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="undefined"==typeof navigator,r=i?"node":navigator.userAgent,a=i?"node":navigator.platform;function o(e,t){return e.indexOf(t)>=0}t.isFirefox=!!~r.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(r),t.isMac=o(["Macintosh","MacIntel","MacPPC","Mac68K"],a),t.isIpad="iPad"===a,t.isIphone="iPhone"===a,t.isWindows=o(["Windows","Win16","Win32","WinCE"],a),t.isLinux=a.indexOf("Linux")>=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.NUL="\0",e.SOH="\x01",e.STX="\x02",e.ETX="\x03",e.EOT="\x04",e.ENQ="\x05",e.ACK="\x06",e.BEL="\x07",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="\x0e",e.SI="\x0f",e.DLE="\x10",e.DC1="\x11",e.DC2="\x12",e.DC3="\x13",e.DC4="\x14",e.NAK="\x15",e.SYN="\x16",e.ETB="\x17",e.CAN="\x18",e.EM="\x19",e.SUB="\x1a",e.ESC="\x1b",e.FS="\x1c",e.GS="\x1d",e.RS="\x1e",e.US="\x1f",e.SP=" ",e.DEL="\x7f"}(t.C0||(t.C0={})),function(e){e.PAD="\x80",e.HOP="\x81",e.BPH="\x82",e.NBH="\x83",e.IND="\x84",e.NEL="\x85",e.SSA="\x86",e.ESA="\x87",e.HTS="\x88",e.HTJ="\x89",e.VTS="\x8a",e.PLD="\x8b",e.PLU="\x8c",e.RI="\x8d",e.SS2="\x8e",e.SS3="\x8f",e.DCS="\x90",e.PU1="\x91",e.PU2="\x92",e.STS="\x93",e.CCH="\x94",e.MW="\x95",e.SPA="\x96",e.EPA="\x97",e.SOS="\x98",e.SGCI="\x99",e.SCI="\x9a",e.CSI="\x9b",e.ST="\x9c",e.OSC="\x9d",e.PM="\x9e",e.APC="\x9f"}(t.C1||(t.C1={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),r=n(9),a=n(23),o=n(6),s=n(26),c=n(10),l=function(){function e(e,t,n,i,r,a,o,s){this._container=e,this._alpha=i,this._colors=r,this._rendererId=a,this._bufferService=o,this._optionsService=s,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;this._container.removeChild(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=s.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1)},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=a.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype._fillCells=function(e,t,n,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight)},e.prototype._fillBottomLineAtCells=function(e,t,n){void 0===n&&(n=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*n,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,n,i){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,n*this._scaledCellWidth-window.devicePixelRatio,i*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,n,i){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,n){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(n),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},e.prototype._drawChars=function(e,t,n){var a,o,s=this._getContrastColor(e);s||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,n,s):(e.isInverse()?(a=e.isBgDefault()?r.INVERTED_DEFAULT_COLOR:e.getBgColor(),o=e.isFgDefault()?r.INVERTED_DEFAULT_COLOR:e.getFgColor()):(o=e.isBgDefault()?i.DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?i.DEFAULT_COLOR:e.getFgColor()),a+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&a<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||i.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||i.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=o,this._currentGlyphIdentifier.fg=a,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,n))},e.prototype._drawUncachedChars=function(e,t,n,i){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(i)this._ctx.fillStyle=i.css;else if(e.isBgDefault())this._ctx.fillStyle=c.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var a=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(i)this._ctx.fillStyle=i.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var s=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8&&(s+=8),this._ctx.fillStyle=this._colors.ansi[s].css}this._clipRow(n),e.isDim()&&(this._ctx.globalAlpha=r.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},e.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var n=e.getFgColor(),i=e.getFgColorMode(),r=e.getBgColor(),a=e.getBgColorMode(),o=!!e.isInverse(),s=!!e.isInverse();if(o){var l=n;n=r,r=l;var u=i;i=a,a=u}var d=this._resolveBackgroundRgba(a,r,o),h=this._resolveForegroundRgba(i,n,o,s),f=c.rgba.ensureContrastRatio(d,h,this._optionsService.options.minimumContrastRatio);if(f){var p={css:c.channels.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(e.bg,e.fg,p),p}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},e.prototype._resolveBackgroundRgba=function(e,t,n){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,n,i){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&i&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.background.rgba:this._colors.foreground.rgba}},e}();t.BaseRenderLayer=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="di$target",r="di$dependencies";function a(e,t,n){t[i]===t?t[r].push({id:e,index:n}):(t[r]=[{id:e,index:n}],t[i]=t)}t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[r]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var n=function e(t,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");a(e,t,i)};return n.toString=function(){return e},t.serviceRegistry.set(e,n),n}},function(e,t,n){"use strict";function i(e,t,n,i){if(void 0===n&&(n=0),void 0===i&&(i=e.length),n>=e.length)return e;i=i>=e.length?e.length:(e.length+i)%e.length;for(var r=n=(e.length+n)%e.length;r>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]},e.prototype.set=function(e,t){this._data[3*e+1]=t[r.CHAR_DATA_ATTR_INDEX],t[r.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[r.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[r.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?i.stringFromCodePoint(2097151&t):""},e.prototype.loadCell=function(e,t){var n=3*e;return t.content=this._data[n+0],t.fg=this._data[n+1],t.bg=this._data[n+2],2097152&t.content&&(t.combinedData=this._combined[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,n,i,r){this._data[3*e+0]=t|n<<22,this._data[3*e+1]=i,this._data[3*e+2]=r},e.prototype.addCodepointToCell=function(e,t){var n=this._data[3*e+0];2097152&n?this._combined[e]+=i.stringFromCodePoint(t):(2097151&n?(this._combined[e]=i.stringFromCodePoint(2097151&n)+i.stringFromCodePoint(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)},e.prototype.insertCells=function(e,t,n,i){var r,o,s,c;if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===(r=i)||void 0===r?void 0:r.fg)||0,(null===(o=i)||void 0===o?void 0:o.bg)||0),t=0;--u)this.setCell(e+t+u,this.loadCell(e+u,l));for(u=0;uthis.length){var n=new Uint32Array(3*e);this.length&&n.set(3*e=e&&delete this._combined[a]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={};for(var t=0;t=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,n,i,r){var a=e._data;if(r)for(var o=i-1;o>=0;o--)for(var s=0;s<3;s++)this._data[3*(n+o)+s]=a[3*(t+o)+s];else for(o=0;o=t&&(this._combined[l-t+n]=e._combined[l])}},e.prototype.translateToString=function(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===n&&(n=this.length),e&&(n=Math.min(n,this.getTrimmedLength()));for(var a="";t>22||1}return a},e}();t.BufferLine=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"\u25c6",a:"\u2592",b:"\u2409",c:"\u240c",d:"\u240d",e:"\u240a",f:"\xb0",g:"\xb1",h:"\u2424",i:"\u240b",j:"\u2518",k:"\u2510",l:"\u250c",m:"\u2514",n:"\u253c",o:"\u23ba",p:"\u23bb",q:"\u2500",r:"\u23bc",s:"\u23bd",t:"\u251c",u:"\u2524",v:"\u2534",w:"\u252c",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03c0","|":"\u2260","}":"\xa3","~":"\xb7"},t.CHARSETS.A={"#":"\xa3"},t.CHARSETS.B=null,t.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},t.CHARSETS.C=t.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},t.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},t.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},t.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},t.CHARSETS.E=t.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},t.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},t.CHARSETS.H=t.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var n=new e;if(!t.length)return n;for(var i=t[0]instanceof Array?1:0;i>8,i=255&this._subParamsIdx[t];i-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,i))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t>8,i=255&this._subParamsIdx[t];i-n>0&&(e[t]=this._subParams.slice(n,i))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var n=this._digitIsSub?this._subParams:this.params,i=n[t-1];n[t-1]=~i?Math.min(10*i+e,2147483647):e}},e}();t.Params=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(21),r=n(7),a=function(){function e(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},e.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;t>=0;t--)e[t].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,n){var i=this._handlers[this._id];if(i)for(var a=i.length-1;a>=0;a--)i[a].put(e,t,n);else this._handlerFb(this._id,"PUT",r.utf32ToString(e,t,n))},e.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var n=t.length-1;n>=0&&!1===t[n].end(e);n--);for(n--;n>=0;n--)t[n].end(!1)}else this._handlerFb(this._id,"END",e)},e.prototype.start=function(){this.reset(),this._id=-1,this._state=1},e.prototype.put=function(e,t,n){if(3!==this._state){if(1===this._state)for(;t0&&this._put(e,t,n)}},e.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},e}();t.OscParser=a;var o=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=r.utf32ToString(e,t,n),this._data.length>i.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},e}();t.OscHandler=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=1e7},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),r=n(19),a=n(21),o=[],s=function(){function e(){this._handlers=Object.create(null),this._active=o,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=o,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||o,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,n){if(this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,n);else this._handlerFb(this._ident,"PUT",i.utf32ToString(e,t,n))},e.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;t>=0&&!1===this._active[t].unhook(e);t--);for(t--;t>=0;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=o,this._ident=0},e}();t.DcsParser=s;var c=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=i.utf32ToString(e,t,n),this._data.length>a.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params?this._params:new r.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},e}();t.DcsHandler=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(24),r=n(42),a=[];t.acquireCharAtlas=function(e,t,n,o,s){for(var c=i.generateConfig(o,s,e,n),l=0;l=0){if(i.configEquals(d.config,c))return d.atlas;1===d.ownedBy.length?(d.atlas.dispose(),a.splice(l,1)):d.ownedBy.splice(u,1);break}}for(l=0;l1)for(var d=this._getJoinedRanges(i,s,a,t,r),h=0;h1)for(d=this._getJoinedRanges(i,s,a,t,r),h=0;h=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new i.CellData)},e.prototype.translateToString=function(e,t,n){return this._line.translateToString(e,t,n)},e}(),u=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,(function(e){return t(e.toArray())}))},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.addDcsHandler(e,(function(e,n){return t(e,n.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}(),d=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!0,configurable:!0}),e}()},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(34),o=n(35),s=n(36),c=n(12),l=n(37),u=n(39),d=n(49),h=n(50),f=n(11),p=n(8),m=n(17),_=n(53),b=n(54),g=n(55),v=n(56),y=n(58),k=n(1),w=n(16),C=n(59),S=n(25),x=n(60),M=n(0),L=n(61),O=n(4),D=n(62),T=n(63),A=n(2),E=n(69),P=n(70),R=n(71),I=n(72),j=n(73),Y=n(74),V=n(75),W=n(76),F=n(77),H=n(79),B="undefined"!=typeof window?window.document:null,z=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.browser=f,n.mouseEvents=0,n._keyDownHandled=!1,n._blankLine=null,n._onCursorMove=new k.EventEmitter,n._onData=new k.EventEmitter,n._onBinary=new k.EventEmitter,n._onKey=new k.EventEmitter,n._onLineFeed=new k.EventEmitter,n._onRender=new k.EventEmitter,n._onResize=new k.EventEmitter,n._onScroll=new k.EventEmitter,n._onSelectionChange=new k.EventEmitter,n._onTitleChange=new k.EventEmitter,n._onFocus=new k.EventEmitter,n._onBlur=new k.EventEmitter,n.onA11yCharEmitter=new k.EventEmitter,n.onA11yTabEmitter=new k.EventEmitter,n._instantiationService=new j.InstantiationService,n.optionsService=new L.OptionsService(t),n._instantiationService.setService(M.IOptionsService,n.optionsService),n._bufferService=n._instantiationService.createInstance(T.BufferService),n._instantiationService.setService(M.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(R.LogService),n._instantiationService.setService(M.ILogService,n._logService),n._coreService=n._instantiationService.createInstance(P.CoreService,(function(){return n.scrollToBottom()})),n._instantiationService.setService(M.ICoreService,n._coreService),n._coreService.onData((function(e){return n._onData.fire(e)})),n._coreService.onBinary((function(e){return n._onBinary.fire(e)})),n._coreMouseService=n._instantiationService.createInstance(Y.CoreMouseService),n._instantiationService.setService(M.ICoreMouseService,n._coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(I.DirtyRowService),n._instantiationService.setService(M.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(F.UnicodeService),n._instantiationService.setService(M.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(H.CharsetService),n._instantiationService.setService(M.ICharsetService,n._charsetService),n._setupOptionsListeners(),n._setup(),n._writeBuffer=new V.WriteBuffer((function(e){return n._inputHandler.parse(e)})),n}return r(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this.onA11yCharEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this.onA11yTabEmitter.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){var t,n,i,r;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0,null===(n=this._renderService)||void 0===n||n.dispose(),this._customKeyEventHandler=null,this.write=function(){},null===(r=null===(i=this.element)||void 0===i?void 0:i.parentNode)||void 0===r||r.removeChild(this.element))},t.prototype._setup=function(){var e=this;this._customKeyEventHandler=null,this.insertMode=!1,this.bracketedPasteMode=!1,this._userScrolling=!1,this._inputHandler?this._inputHandler.reset():(this._inputHandler=new l.InputHandler(this,this._bufferService,this._charsetService,this._coreService,this._dirtyRowService,this._logService,this.optionsService,this._coreMouseService,this.unicodeService,this._instantiationService),this._inputHandler.onRequestBell((function(){return e.bell()})),this._inputHandler.onRequestRefreshRows((function(t,n){return e.refresh(t,n)})),this._inputHandler.onRequestReset((function(){return e.reset()})),this._inputHandler.onCursorMove((function(){return e._onCursorMove.fire()})),this._inputHandler.onLineFeed((function(){return e._onLineFeed.fire()})),this.register(this._inputHandler)),this.linkifier||(this.linkifier=new d.Linkifier(this._bufferService,this._logService,this.optionsService,this.unicodeService)),this.options.windowsMode&&this._enableWindowsMode()},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(C.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},(function(){return C.updateWindowsModeWrappedState(e._bufferService),!1}))),this._windowsMode={dispose:function(){t.forEach((function(e){return e.dispose()}))}}}},Object.defineProperty(t.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},t.prototype._setupOptionsListeners=function(){var e=this;this.optionsService.onOptionChange((function(t){var n,i,r,a,o;switch(t){case"fontFamily":case"fontSize":null===(n=e._renderService)||void 0===n||n.clear(),null===(i=e._charSizeService)||void 0===i||i.measure();break;case"cursorBlink":case"cursorStyle":e.refresh(e.buffer.y,e.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":e._renderService&&(e._renderService.clear(),e._renderService.onResize(e.cols,e.rows),e.refresh(0,e.rows-1));break;case"rendererType":e._renderService&&(e._renderService.setRenderer(e._createRenderer()),e._renderService.onResize(e.cols,e.rows));break;case"scrollback":e.buffers.resize(e.cols,e.rows),null===(r=e.viewport)||void 0===r||r.syncScrollArea();break;case"screenReaderMode":e.optionsService.options.screenReaderMode?!e._accessibilityManager&&e._renderService&&(e._accessibilityManager=new g.AccessibilityManager(e,e._renderService)):(null===(a=e._accessibilityManager)||void 0===a||a.dispose(),e._accessibilityManager=null);break;case"tabStopWidth":e.buffers.setupTabStops();break;case"theme":e._setTheme(e.optionsService.options.theme);break;case"windowsMode":e.optionsService.options.windowsMode?e._enableWindowsMode():(null===(o=e._windowsMode)||void 0===o||o.dispose(),e._windowsMode=void 0)}}))},t.prototype._onTextAreaFocus=function(e){this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this.showCursor(),this._onFocus.fire()},t.prototype.blur=function(){return this.textarea.blur()},t.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},t.prototype._initGlobal=function(){var e=this;this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",(function(t){e.hasSelection()&&s.copyHandler(t,e._selectionService)})));var t=function(t){return s.handlePasteEvent(t,e.textarea,e.bracketedPasteMode,e._coreService)};this.register(p.addDisposableDomListener(this.textarea,"paste",t)),this.register(p.addDisposableDomListener(this.element,"paste",t)),this.register(f.isFirefox?p.addDisposableDomListener(this.element,"mousedown",(function(t){2===t.button&&s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)})):p.addDisposableDomListener(this.element,"contextmenu",(function(t){s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),f.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",(function(t){1===t.button&&s.moveTextAreaUnderMouseCursor(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register(p.addDisposableDomListener(this.textarea,"compositionend",(function(){return e._compositionHelper.compositionend()}))),this.register(this.onRender((function(){return e._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(t){return e._queueLinkification(t.start,t.end)})))},t.prototype.open=function(e){var t=this;if(!e)throw new Error("Terminal requires a parent element.");B.body.contains(e)||this._logService.warn("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var n=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),n.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),n.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",m.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(p.addDisposableDomListener(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register(p.addDisposableDomListener(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var i=this._instantiationService.createInstance(W.CoreBrowserService,this.textarea);this._instantiationService.setService(O.ICoreBrowserService,i),this._charSizeService=this._instantiationService.createInstance(D.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(O.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(a.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(n),this._theme=this.options.theme||this._theme,this.options.theme=void 0,this._colorManager=new S.ColorManager(B,this.options.allowTransparency),this.optionsService.onOptionChange((function(e){return t._colorManager.onOptionsChange(e)})),this._colorManager.setTheme(this._theme);var r=this._createRenderer();this._renderService=this._instantiationService.createInstance(x.RenderService,r,this.rows,this.screenElement),this._instantiationService.setService(O.IRenderService,this._renderService),this._renderService.onRender((function(e){return t._onRender.fire(e)})),this.onResize((function(e){return t._renderService.resize(e.cols,e.rows)})),this._soundService=this._instantiationService.createInstance(_.SoundService),this._instantiationService.setService(O.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(E.MouseService),this._instantiationService.setService(O.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(o.Viewport,(function(e,n){return t.scrollLines(e,n)}),this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this.viewport),this.register(this.onCursorMove((function(){return t._renderService.onCursorMove()}))),this.register(this.onResize((function(){return t._renderService.onResize(t.cols,t.rows)}))),this.register(this.onBlur((function(){return t._renderService.onBlur()}))),this.register(this.onFocus((function(){return t._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return t.viewport.syncScrollArea()}))),this._selectionService=this._instantiationService.createInstance(h.SelectionService,(function(e,n){return t.scrollLines(e,n)}),this.element,this.screenElement),this._instantiationService.setService(O.ISelectionService,this._selectionService),this.register(this._selectionService.onSelectionChange((function(){return t._onSelectionChange.fire()}))),this.register(this._selectionService.onRedrawRequest((function(e){return t._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(e){t.textarea.value=e,t.textarea.focus(),t.textarea.select()}))),this.register(this.onScroll((function(){t.viewport.syncScrollArea(),t._selectionService.refresh()}))),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(b.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return t._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.register(p.addDisposableDomListener(this.element,"mousedown",(function(e){return t._selectionService.onMouseDown(e)}))),this.mouseEvents?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},t.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(u.Renderer,this._colorManager.colors,this.screenElement,this.linkifier);case"dom":return this._instantiationService.createInstance(v.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},t.prototype._setTheme=function(e){var t,n,i;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(n=this._renderService)||void 0===n||n.setColors(this._colorManager.colors),null===(i=this.viewport)||void 0===i||i.onThemeChange(this._colorManager.colors)},t.prototype.bindMouse=function(){var e=this,t=this,n=this.element;function i(e){var n,i,r;if(!(n=t._mouseService.getRawByteCoords(e,t.screenElement,t.cols,t.rows)))return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(i=3,void 0!==e.button&&(i=e.button<3?e.button:3)):i=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,i=e.button<3?e.button:3;break;case"mousedown":r=1,i=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),i=4;break;default:return!1}return!(void 0===r||void 0===i||i>4)&&t._coreMouseService.triggerMouseEvent({col:n.x-33,row:n.y-33,button:i,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},a=function(t){return i(t),t.buttons||(e._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.removeEventListener("mousemove",r.mousedrag)),e.cancel(t)},o=function(t){return i(t),t.preventDefault(),e.cancel(t)},s=function(e){e.buttons&&i(e)},l=function(e){e.buttons||i(e)};this._coreMouseService.onProtocolChange((function(t){e.mouseEvents=t,t?("debug"===e.optionsService.options.logLevel&&e._logService.debug("Binding to mouse events:",e._coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?r.mousemove||(n.addEventListener("mousemove",l),r.mousemove=l):(n.removeEventListener("mousemove",r.mousemove),r.mousemove=null),16&t?r.wheel||(n.addEventListener("wheel",o),r.wheel=o):(n.removeEventListener("wheel",r.wheel),r.wheel=null),2&t?r.mouseup||(r.mouseup=a):(e._document.removeEventListener("mouseup",r.mouseup),r.mouseup=null),4&t?r.mousedrag||(r.mousedrag=s):(e._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(n,"mousedown",(function(t){if(t.preventDefault(),e.focus(),e.mouseEvents&&!e._selectionService.shouldForceSelection(t))return i(t),r.mouseup&&e._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.addEventListener("mousemove",r.mousedrag),e.cancel(t)}))),this.register(p.addDisposableDomListener(n,"wheel",(function(t){if(r.wheel);else if(!e.buffer.hasScrollback){var n=e.viewport.getLinesScrolled(t);if(0===n)return;for(var i=c.C0.ESC+(e._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),a="",o=0;o=this.buffer.ybase&&(this._userScrolling=!1);var n=this.buffer.ydisp;this.buffer.ydisp=Math.max(Math.min(this.buffer.ydisp+e,this.buffer.ybase),0),n!==this.buffer.ydisp&&(t||this._onScroll.fire(this.buffer.ydisp),this.refresh(0,this.rows-1))},t.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},t.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},t.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},t.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},t.prototype.paste=function(e){s.paste(e,this.textarea,this.bracketedPasteMode,this._coreService)},t.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},t.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},t.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},t.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},t.prototype.registerLinkMatcher=function(e,t,n){var i=this.linkifier.registerLinkMatcher(e,t,n);return this.refresh(0,this.rows-1),i},t.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},t.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},t.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(t.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!0,configurable:!0}),t.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},t.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},t.prototype.select=function(e,t,n){this._selectionService.setSelection(e,t,n)},t.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},t.prototype.getSelectionPosition=function(){if(this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},t.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},t.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},t.prototype.selectLines=function(e,t){var n;null===(n=this._selectionService)||void 0===n||n.selectLines(e,t)},t.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=y.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===t.type||2===t.type){var n=this.rows-1;return this.scrollLines(2===t.type?-n:n),this.cancel(e,!0)}return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==c.C0.ETX&&t.key!==c.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)))},t.prototype._isThirdLevelShift=function(e,t){var n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e))},t.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null==e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t,!0),0))},t.prototype.bell=function(){var e=this;this._soundBell()&&this._soundService.playBellSound(),this._visualBell()&&(this.element.classList.add("visual-bell-active"),clearTimeout(this._visualBellTimer),this._visualBellTimer=window.setTimeout((function(){e.element.classList.remove("visual-bell-active")}),200))},t.prototype.resize=function(e,t){var n,i;isNaN(e)||isNaN(t)||(e!==this.cols||t!==this.rows?(e=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(4),o=n(0),s=function(){function e(e,t,n,i,r,a){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=i,this._charSizeService=r,this._coreService=a,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((function(){t._compositionPosition.end=t._textarea.value.length}),0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,this._clearTextareaPosition(),e){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,e=t._isComposing?t._textarea.value.substring(n.start,n.end):t._textarea.value.substring(n.start),t._coreService.triggerDataEvent(e,!0))}),0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout((function(){if(!e._isComposing){var n=e._textarea.value.replace(t,"");n.length>0&&e._coreService.triggerDataEvent(n,!0)}}),0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),i=this._bufferService.buffer.y*n,r=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=r+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var a=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=i+"px",this._textarea.style.width=a.width+"px",this._textarea.style.height=a.height+"px",this._textarea.style.lineHeight=a.height+"px"}e||setTimeout((function(){return t.updateCompositionElements(!0)}),0)}},e.prototype._clearTextareaPosition=function(){this._textarea.style.left="",this._textarea.style.top=""},i([r(2,o.IBufferService),r(3,o.IOptionsService),r(4,a.ICharSizeService),r(5,o.ICoreService)],e)}();t.CompositionHelper=s},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),c=n(8),l=n(4),u=n(0),d=function(e){function t(t,n,i,r,a,o,s){var l=e.call(this)||this;return l._scrollLines=t,l._viewportElement=n,l._scrollArea=i,l._bufferService=r,l._optionsService=a,l._charSizeService=o,l._renderService=s,l.scrollBarWidth=0,l._currentRowHeight=0,l._lastRecordedBufferLength=0,l._lastRecordedViewportHeight=0,l._lastRecordedBufferHeight=0,l._lastTouchY=0,l._lastScrollTop=0,l._wheelPartialScroll=0,l._refreshAnimationFrame=null,l._ignoreNextScrollEvent=!1,l.scrollBarWidth=l._viewportElement.offsetWidth-l._scrollArea.offsetWidth||15,l.register(c.addDisposableDomListener(l._viewportElement,"scroll",l._onScroll.bind(l))),setTimeout((function(){return l.syncScrollArea()}),0),l}return r(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return t._innerRefresh()})))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._bufferService.buffer.ydisp*this._currentRowHeight&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t,!0)}},t.prototype._bubbleScroll=function(e,t){return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var n=this._optionsService.options.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},a([o(3,u.IBufferService),o(4,u.IOptionsService),o(5,l.ICharSizeService),o(6,l.IRenderService)],t)}(s.Disposable);t.Viewport=d},function(e,t,n){"use strict";function i(e){return e.replace(/\r?\n/g,"\r")}function r(e,t){return t?"\x1b[200~"+e+"\x1b[201~":e}function a(e,t,n,a){e=r(e=i(e),n),a.triggerDataEvent(e,!0),t.value=""}function o(e,t,n){var i=n.getBoundingClientRect(),r=e.clientX-i.left-10,a=e.clientY-i.top-10;t.style.position="absolute",t.style.width="20px",t.style.height="20px",t.style.left=r+"px",t.style.top=a+"px",t.style.zIndex="1000",t.focus(),setTimeout((function(){t.style.position="",t.style.width="",t.style.height="",t.style.left="",t.style.top="",t.style.zIndex=""}),200)}Object.defineProperty(t,"__esModule",{value:!0}),t.prepareTextForTerminal=i,t.bracketTextForPaste=r,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n,i){e.stopPropagation(),e.clipboardData&&a(e.clipboardData.getData("text/plain"),t,n,i)},t.paste=a,t.moveTextAreaUnderMouseCursor=o,t.rightClickHandler=function(e,t,n,i,r){o(e,t,n),r&&!i.isClickInSelection(e)&&i.selectWordAtCursor(e),t.value=i.selectionText,t.select()}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(12),o=n(18),s=n(38),c=n(2),l=n(15),u=n(7),d=n(16),h=n(1),f=n(3),p=n(5),m=n(6),_=n(20),b=n(22),g=n(4),v={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function y(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}var k=function(){function e(e,t,n,i){this._bufferService=e,this._coreService=t,this._logService=n,this._optionsService=i,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,n){this._data=l.concat(this._data,e.subarray(t,n))},e.prototype.unhook=function(e){if(e){var t=u.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r0"q'+a.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r61;1"p'+a.C0.ESC+"\\");case"r":return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+a.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r0m"+a.C0.ESC+"\\");case" q":var n={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+(n-=this._optionsService.options.cursorBlink?1:0)+" q"+a.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(a.C0.ESC+"P0$r"+a.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},e}(),w=function(e){function t(t,n,i,r,c,l,f,m,b,g,v){void 0===v&&(v=new s.EscapeSequenceParser);var y=e.call(this)||this;y._terminal=t,y._bufferService=n,y._charsetService=i,y._coreService=r,y._dirtyRowService=c,y._logService=l,y._optionsService=f,y._coreMouseService=m,y._unicodeService=b,y._instantiationService=g,y._parser=v,y._parseBuffer=new Uint32Array(4096),y._stringDecoder=new u.StringToUtf32,y._utf8Decoder=new u.Utf8ToUtf32,y._workCell=new p.CellData,y._windowTitle="",y._iconName="",y._windowTitleStack=[],y._iconNameStack=[],y._curAttrData=d.DEFAULT_ATTR_DATA.clone(),y._eraseAttrDataInternal=d.DEFAULT_ATTR_DATA.clone(),y._onRequestRefreshRows=new h.EventEmitter,y._onRequestReset=new h.EventEmitter,y._onRequestBell=new h.EventEmitter,y._onCursorMove=new h.EventEmitter,y._onLineFeed=new h.EventEmitter,y._onScroll=new h.EventEmitter,y.register(y._parser),y._parser.setCsiHandlerFallback((function(e,t){y._logService.debug("Unknown CSI code: ",{identifier:y._parser.identToString(e),params:t.toArray()})})),y._parser.setEscHandlerFallback((function(e){y._logService.debug("Unknown ESC code: ",{identifier:y._parser.identToString(e)})})),y._parser.setExecuteHandlerFallback((function(e){y._logService.debug("Unknown EXECUTE code: ",{code:e})})),y._parser.setOscHandlerFallback((function(e,t,n){y._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),y._parser.setDcsHandlerFallback((function(e,t,n){"HOOK"===t&&(n=n.toArray()),y._logService.debug("Unknown DCS code: ",{identifier:y._parser.identToString(e),action:t,payload:n})})),y._parser.setPrintHandler((function(e,t,n){return y.print(e,t,n)})),y._parser.setCsiHandler({final:"@"},(function(e){return y.insertChars(e)})),y._parser.setCsiHandler({intermediates:" ",final:"@"},(function(e){return y.scrollLeft(e)})),y._parser.setCsiHandler({final:"A"},(function(e){return y.cursorUp(e)})),y._parser.setCsiHandler({intermediates:" ",final:"A"},(function(e){return y.scrollRight(e)})),y._parser.setCsiHandler({final:"B"},(function(e){return y.cursorDown(e)})),y._parser.setCsiHandler({final:"C"},(function(e){return y.cursorForward(e)})),y._parser.setCsiHandler({final:"D"},(function(e){return y.cursorBackward(e)})),y._parser.setCsiHandler({final:"E"},(function(e){return y.cursorNextLine(e)})),y._parser.setCsiHandler({final:"F"},(function(e){return y.cursorPrecedingLine(e)})),y._parser.setCsiHandler({final:"G"},(function(e){return y.cursorCharAbsolute(e)})),y._parser.setCsiHandler({final:"H"},(function(e){return y.cursorPosition(e)})),y._parser.setCsiHandler({final:"I"},(function(e){return y.cursorForwardTab(e)})),y._parser.setCsiHandler({final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({prefix:"?",final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({prefix:"?",final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({final:"L"},(function(e){return y.insertLines(e)})),y._parser.setCsiHandler({final:"M"},(function(e){return y.deleteLines(e)})),y._parser.setCsiHandler({final:"P"},(function(e){return y.deleteChars(e)})),y._parser.setCsiHandler({final:"S"},(function(e){return y.scrollUp(e)})),y._parser.setCsiHandler({final:"T"},(function(e){return y.scrollDown(e)})),y._parser.setCsiHandler({final:"X"},(function(e){return y.eraseChars(e)})),y._parser.setCsiHandler({final:"Z"},(function(e){return y.cursorBackwardTab(e)})),y._parser.setCsiHandler({final:"`"},(function(e){return y.charPosAbsolute(e)})),y._parser.setCsiHandler({final:"a"},(function(e){return y.hPositionRelative(e)})),y._parser.setCsiHandler({final:"b"},(function(e){return y.repeatPrecedingCharacter(e)})),y._parser.setCsiHandler({final:"c"},(function(e){return y.sendDeviceAttributesPrimary(e)})),y._parser.setCsiHandler({prefix:">",final:"c"},(function(e){return y.sendDeviceAttributesSecondary(e)})),y._parser.setCsiHandler({final:"d"},(function(e){return y.linePosAbsolute(e)})),y._parser.setCsiHandler({final:"e"},(function(e){return y.vPositionRelative(e)})),y._parser.setCsiHandler({final:"f"},(function(e){return y.hVPosition(e)})),y._parser.setCsiHandler({final:"g"},(function(e){return y.tabClear(e)})),y._parser.setCsiHandler({final:"h"},(function(e){return y.setMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"h"},(function(e){return y.setModePrivate(e)})),y._parser.setCsiHandler({final:"l"},(function(e){return y.resetMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"l"},(function(e){return y.resetModePrivate(e)})),y._parser.setCsiHandler({final:"m"},(function(e){return y.charAttributes(e)})),y._parser.setCsiHandler({final:"n"},(function(e){return y.deviceStatus(e)})),y._parser.setCsiHandler({prefix:"?",final:"n"},(function(e){return y.deviceStatusPrivate(e)})),y._parser.setCsiHandler({intermediates:"!",final:"p"},(function(e){return y.softReset(e)})),y._parser.setCsiHandler({intermediates:" ",final:"q"},(function(e){return y.setCursorStyle(e)})),y._parser.setCsiHandler({final:"r"},(function(e){return y.setScrollRegion(e)})),y._parser.setCsiHandler({final:"s"},(function(e){return y.saveCursor(e)})),y._parser.setCsiHandler({final:"t"},(function(e){return y.windowOptions(e)})),y._parser.setCsiHandler({final:"u"},(function(e){return y.restoreCursor(e)})),y._parser.setCsiHandler({intermediates:"'",final:"}"},(function(e){return y.insertColumns(e)})),y._parser.setCsiHandler({intermediates:"'",final:"~"},(function(e){return y.deleteColumns(e)})),y._parser.setExecuteHandler(a.C0.BEL,(function(){return y.bell()})),y._parser.setExecuteHandler(a.C0.LF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.VT,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.FF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.CR,(function(){return y.carriageReturn()})),y._parser.setExecuteHandler(a.C0.BS,(function(){return y.backspace()})),y._parser.setExecuteHandler(a.C0.HT,(function(){return y.tab()})),y._parser.setExecuteHandler(a.C0.SO,(function(){return y.shiftOut()})),y._parser.setExecuteHandler(a.C0.SI,(function(){return y.shiftIn()})),y._parser.setExecuteHandler(a.C1.IND,(function(){return y.index()})),y._parser.setExecuteHandler(a.C1.NEL,(function(){return y.nextLine()})),y._parser.setExecuteHandler(a.C1.HTS,(function(){return y.tabSet()})),y._parser.setOscHandler(0,new _.OscHandler((function(e){y.setTitle(e),y.setIconName(e)}))),y._parser.setOscHandler(1,new _.OscHandler((function(e){return y.setIconName(e)}))),y._parser.setOscHandler(2,new _.OscHandler((function(e){return y.setTitle(e)}))),y._parser.setEscHandler({final:"7"},(function(){return y.saveCursor()})),y._parser.setEscHandler({final:"8"},(function(){return y.restoreCursor()})),y._parser.setEscHandler({final:"D"},(function(){return y.index()})),y._parser.setEscHandler({final:"E"},(function(){return y.nextLine()})),y._parser.setEscHandler({final:"H"},(function(){return y.tabSet()})),y._parser.setEscHandler({final:"M"},(function(){return y.reverseIndex()})),y._parser.setEscHandler({final:"="},(function(){return y.keypadApplicationMode()})),y._parser.setEscHandler({final:">"},(function(){return y.keypadNumericMode()})),y._parser.setEscHandler({final:"c"},(function(){return y.fullReset()})),y._parser.setEscHandler({final:"n"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"o"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"|"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"}"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"~"},(function(){return y.setgLevel(1)})),y._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return y.selectDefaultCharset()})),y._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return y.selectDefaultCharset()}));var w=function(e){C._parser.setEscHandler({intermediates:"(",final:e},(function(){return y.selectCharset("("+e)})),C._parser.setEscHandler({intermediates:")",final:e},(function(){return y.selectCharset(")"+e)})),C._parser.setEscHandler({intermediates:"*",final:e},(function(){return y.selectCharset("*"+e)})),C._parser.setEscHandler({intermediates:"+",final:e},(function(){return y.selectCharset("+"+e)})),C._parser.setEscHandler({intermediates:"-",final:e},(function(){return y.selectCharset("-"+e)})),C._parser.setEscHandler({intermediates:".",final:e},(function(){return y.selectCharset("."+e)})),C._parser.setEscHandler({intermediates:"/",final:e},(function(){return y.selectCharset("/"+e)}))},C=this;for(var S in o.CHARSETS)w(S);return y._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return y.screenAlignmentPattern()})),y._parser.setErrorHandler((function(e){return y._logService.error("Parsing error: ",e),e})),y._parser.setDcsHandler({intermediates:"$",final:"q"},new k(y._bufferService,y._coreService,y._logService,y._optionsService)),y}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.parse=function(e){var t=this._bufferService.buffer,n=t.x,i=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length131072)for(var r=0;r0&&2===p.getWidth(a.x-1)&&p.setCellFromCodePoint(a.x-1,0,1,h.fg,h.bg);for(var m=t;m=c)if(l)a.x=0,a.y++,a.y===a.scrollBottom+1?(a.y--,this._terminal.scroll(this._eraseAttrData(),!0)):(a.y>=this._bufferService.rows&&(a.y=this._bufferService.rows-1),a.lines.get(a.y).isWrapped=!0),p=a.lines.get(a.y+a.ybase);else if(a.x=c-1,2===r)continue;if(d&&(p.insertCells(a.x,r,a.getNullCell(h),h),2===p.getWidth(c-1)&&p.setCellFromCodePoint(c-1,f.NULL_CELL_CODE,f.NULL_CELL_WIDTH,h.fg,h.bg)),p.setCellFromCodePoint(a.x++,i,r,h.fg,h.bg),r>0)for(;--r;)p.setCellFromCodePoint(a.x++,0,0,h.fg,h.bg)}else p.getWidth(a.x-1)?p.addCodepointToCell(a.x-1,i):p.addCodepointToCell(a.x-2,i)}n-t>0&&(p.loadCell(a.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),a.x0&&0===p.getWidth(a.x)&&!p.hasContent(a.x)&&p.setCellFromCodePoint(a.x,0,1,h.fg,h.bg),this._dirtyRowService.markDirty(a.y)},t.prototype.addCsiHandler=function(e,t){var n=this;return this._parser.addCsiHandler(e,"t"!==e.final||e.prefix||e.intermediates?t:function(e){return!y(e.params[0],n._optionsService.options.windowOptions)||t(e)})},t.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new b.DcsHandler(t))},t.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new _.OscHandler(t))},t.prototype.bell=function(){this._onRequestBell.fire()},t.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},t.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},t.prototype.backspace=function(){this._restrictCursor(),this._bufferService.buffer.x>0&&this._bufferService.buffer.x--},t.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var e=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._terminal.onA11yTabEmitter.fire(this._bufferService.buffer.x-e)}},t.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},t.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},t.prototype._restrictCursor=function(){this._bufferService.buffer.x=Math.min(this._bufferService.cols-1,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},t.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;this._moveCursor(0,t>=0?-Math.min(t,e.params[0]||1):-(e.params[0]||1))},t.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;this._moveCursor(0,t>=0?Math.min(t,e.params[0]||1):e.params[0]||1)},t.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},t.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},t.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},t.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.cursorPosition=function(e){this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},t.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},t.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},t.prototype.hVPosition=function(e){this.cursorPosition(e)},t.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},t.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},t.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.x=n.prevStop()},t.prototype._eraseInBufferLine=function(e,t,n,i){void 0===i&&(i=!1);var r=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);r.replaceCells(t,n,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i&&(r.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(this._dirtyRowService.markDirty(t=this._bufferService.buffer.y),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((t=this._bufferService.rows)-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var n=this._bufferService.buffer.lines.length-this._bufferService.rows;n>0&&(this._bufferService.buffer.lines.trimStart(n),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-n,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-n,0),this._onScroll.fire(0))}},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1,n=this._bufferService.buffer;if(!(n.y>n.scrollBottom||n.yn.scrollBottom||n.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.y0||(this._terminal.is("xterm")||this._terminal.is("rxvt-unicode")||this._terminal.is("screen")?this._coreService.triggerDataEvent(a.C0.ESC+"[?1;2c"):this._terminal.is("linux")&&this._coreService.triggerDataEvent(a.C0.ESC+"[?6c"))},t.prototype.sendDeviceAttributesSecondary=function(e){e.params[0]>0||(this._terminal.is("xterm")?this._coreService.triggerDataEvent(a.C0.ESC+"[>0;276;0c"):this._terminal.is("rxvt-unicode")?this._coreService.triggerDataEvent(a.C0.ESC+"[>85;95;0c"):this._terminal.is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._terminal.is("screen")&&this._coreService.triggerDataEvent(a.C0.ESC+"[>83;40003;0c"))},t.prototype.setMode=function(e){for(var t=0;t=2||2===i[1]&&a+r>=5)break;i[1]&&(r=1)}while(++a+t=30&&t<=37?(i.fg&=-50331904,i.fg|=16777216|t-30):t>=40&&t<=47?(i.bg&=-50331904,i.bg|=16777216|t-40):t>=90&&t<=97?(i.fg&=-50331904,i.fg|=16777224|t-90):t>=100&&t<=107?(i.bg&=-50331904,i.bg|=16777224|t-100):0===t?(i.fg=d.DEFAULT_ATTR_DATA.fg,i.bg=d.DEFAULT_ATTR_DATA.bg):1===t?i.fg|=134217728:3===t?i.bg|=67108864:4===t?i.fg|=268435456:5===t?i.fg|=536870912:7===t?i.fg|=67108864:8===t?i.fg|=1073741824:2===t?i.bg|=134217728:22===t?(i.fg&=-134217729,i.bg&=-134217729):23===t?i.bg&=-67108865:24===t?i.fg&=-268435457:25===t?i.fg&=-536870913:27===t?i.fg&=-67108865:28===t?i.fg&=-1073741825:39===t?(i.fg&=-67108864,i.fg|=16777215&d.DEFAULT_ATTR_DATA.fg):49===t?(i.bg&=-67108864,i.bg|=16777215&d.DEFAULT_ATTR_DATA.bg):38===t||48===t?r+=this._extractColor(e,r,i):100===t?(i.fg&=-67108864,i.fg|=16777215&d.DEFAULT_ATTR_DATA.fg,i.bg&=-67108864,i.bg|=16777215&d.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(a.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(a.C0.ESC+"["+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.deviceStatusPrivate=function(e){switch(e.params[0]){case 6:this._coreService.triggerDataEvent(a.C0.ESC+"[?"+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.softReset=function(e){var t;this._coreService.isCursorHidden=!1,this._terminal.insertMode=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=d.DEFAULT_ATTR_DATA.clone(),this._bufferService.buffer.x=this._bufferService.buffer.y=0,this._coreService.reset(),this._charsetService.reset()},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}this._optionsService.options.cursorBlink=t%2==1},t.prototype.setScrollRegion=function(e){var t,n=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>n&&(this._bufferService.buffer.scrollTop=n-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},t.prototype.windowOptions=function(e){if(y(e.params[0],this._optionsService.options.windowOptions)){var t=e.length>1?e.params[1]:0,n=this._instantiationService.getService(g.IRenderService);switch(e.params[0]){case 14:if(n&&2!==t){console.log(n.dimensions);var i=n.dimensions.scaledCanvasWidth.toFixed(0),r=n.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[4;"+r+";"+i+"t")}break;case 16:n&&(i=n.dimensions.scaledCellWidth.toFixed(0),r=n.dimensions.scaledCellHeight.toFixed(0),this._coreService.triggerDataEvent(a.C0.ESC+"[6;"+r+";"+i+"t"));break;case 18:this._bufferService&&this._coreService.triggerDataEvent(a.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},t.prototype.saveCursor=function(e){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},t.prototype.restoreCursor=function(e){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},t.prototype.setTitle=function(e){this._windowTitle=e,this._terminal.handleTitle(e)},t.prototype.setIconName=function(e){this._iconName=e},t.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},t.prototype.keypadApplicationMode=function(){var e;this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.keypadNumericMode=function(){var e;this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,o.DEFAULT_CHARSET)},t.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(v[e[0]],o.CHARSETS[e[1]]||o.DEFAULT_CHARSET):this.selectDefaultCharset()},t.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),this._restrictCursor()},t.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},t.prototype.reverseIndex=function(){this._restrictCursor();var e=this._bufferService.buffer;e.y===e.scrollTop?(e.lines.shiftElements(e.y+e.ybase,e.scrollBottom-e.scrollTop,1),e.lines.set(e.y+e.ybase,e.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)):(e.y--,this._restrictCursor())},t.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},t.prototype.reset=function(){this._curAttrData=d.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=d.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){this._charsetService.setgLevel(e)},t.prototype.screenAlignmentPattern=function(){var e=new p.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var n=0;n1)throw new Error("only one byte as prefix supported");if((n=e.prefix.charCodeAt(0))&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var i=0;ir||r>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=r}}if(1!==e.final.length)throw new Error("final must be a single byte");var a=e.final.charCodeAt(0);if(t[0]>a||a>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(n<<=8)|a},n.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},n.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},n.prototype.setPrintHandler=function(e){this._printHandler=e},n.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},n.prototype.addEscHandler=function(e,t){var n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);var i=this._escHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},n.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},n.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},n.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},n.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},n.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},n.prototype.addCsiHandler=function(e,t){var n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);var i=this._csiHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},n.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},n.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},n.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},n.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},n.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},n.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},n.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},n.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},n.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},n.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},n.prototype.setErrorHandler=function(e){this._errorHandler=e},n.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},n.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},n.prototype.parse=function(e,t){for(var n=0,i=0,r=this.currentState,a=this._oscParser,o=this._dcsParser,s=this._collect,c=this._params,l=this.TRANSITIONS.table,u=0;u>4){case 2:for(var d=u+1;;++d){if(d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}}break;case 3:this._executeHandlers[n]?this._executeHandlers[n]():this._executeHandlerFb(n),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:u,code:n,currentState:r,collect:s,params:c,abort:!1}).abort)return;break;case 7:for(var h=this._csiHandlers[s<<8|n],f=h?h.length-1:-1;f>=0&&!1===h[f](c);f--);f<0&&this._csiHandlerFb(s<<8|n,c),this.precedingCodepoint=0;break;case 8:do{switch(n){case 59:c.addParam(0);break;case 58:c.addSubParam(-1);break;default:c.addDigit(n-48)}}while(++u47&&n<60);u--;break;case 9:s<<=8,s|=n;break;case 10:for(var p=this._escHandlers[s<<8|n],m=p?p.length-1:-1;m>=0&&!1===p[m]();m--);m<0&&this._escHandlerFb(s<<8|n),this.precedingCodepoint=0;break;case 11:c.reset(),c.addParam(0),s=0;break;case 12:o.hook(s<<8|n,c);break;case 13:for(var _=u+1;;++_)if(_>=t||24===(n=e[_])||26===n||27===n||n>127&&n<160){o.put(e,u,_),u=_-1;break}break;case 14:o.unhook(24!==n&&26!==n),27===n&&(i|=1),c.reset(),c.addParam(0),s=0,this.precedingCodepoint=0;break;case 4:a.start();break;case 5:for(var b=u+1;;b++)if(b>=t||(n=e[b])<32||n>127&&n<=159){a.put(e,u,b),u=b-1;break}break;case 6:a.end(24!==n&&26!==n),27===n&&(i|=1),c.reset(),c.addParam(0),s=0,this.precedingCodepoint=0}r=15&i}this._collect=s,this.currentState=r},n}(a.Disposable);t.EscapeSequenceParser=d},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(40),c=n(46),l=n(47),u=n(48),d=n(27),h=n(2),f=n(4),p=n(0),m=n(23),_=n(1),b=1,g=function(e){function t(t,n,i,r,a,o,h,f){var p=e.call(this)||this;p._colors=t,p._screenElement=n,p._linkifier=i,p._bufferService=r,p._charSizeService=a,p._optionsService=o,p.coreService=h,p.coreBrowserService=f,p._id=b++,p._onRequestRefreshRows=new _.EventEmitter;var m=p._optionsService.options.allowTransparency;return p._characterJoinerRegistry=new d.CharacterJoinerRegistry(p._bufferService),p._renderLayers=[new s.TextRenderLayer(p._screenElement,0,p._colors,p._characterJoinerRegistry,m,p._id,p._bufferService,o),new c.SelectionRenderLayer(p._screenElement,1,p._colors,p._id,p._bufferService,o),new u.LinkRenderLayer(p._screenElement,2,p._colors,p._id,p._linkifier,p._bufferService,o),new l.CursorRenderLayer(p._screenElement,3,p._colors,p._id,p._onRequestRefreshRows,p._bufferService,o,h,f)],p.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},p._devicePixelRatio=window.devicePixelRatio,p._updateDimensions(),p.onOptionsChanged(),p}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._renderLayers.forEach((function(e){return e.dispose()})),m.removeTerminalFromCache(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){var t=this;this._colors=e,this._renderLayers.forEach((function(e){e.setColors(t._colors),e.reset()}))},t.prototype.onResize=function(e,t){var n=this;this._updateDimensions(),this._renderLayers.forEach((function(e){return e.resize(n.dimensions)})),this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation((function(e){return e.onBlur()}))},t.prototype.onFocus=function(){this._runOperation((function(e){return e.onFocus()}))},t.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._runOperation((function(i){return i.onSelectionChanged(e,t,n)}))},t.prototype.onCursorMove=function(){this._runOperation((function(e){return e.onCursorMove()}))},t.prototype.onOptionsChanged=function(){this._runOperation((function(e){return e.onOptionsChanged()}))},t.prototype.clear=function(){this._runOperation((function(e){return e.reset()}))},t.prototype._runOperation=function(e){this._renderLayers.forEach((function(t){return e(t)}))},t.prototype.renderRows=function(e,t){this._renderLayers.forEach((function(n){return n.onGridChanged(e,t)}))},t.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},t.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},a([o(3,p.IBufferService),o(4,f.ICharSizeService),o(5,p.IOptionsService),o(6,p.ICoreService),o(7,f.ICoreBrowserService)],t)}(h.Disposable);t.Renderer=g},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(41),o=n(13),s=n(6),c=n(3),l=n(27),u=n(5),d=function(e){function t(t,n,i,r,o,s,c,l){var d=e.call(this,t,"text",n,o,i,s,c,l)||this;return d.bufferService=c,d.optionsService=l,d._characterWidth=0,d._characterFont="",d._characterOverlapCache={},d._workCell=new u.CellData,d._state=new a.GridCache,d._characterJoinerRegistry=r,d}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,n,i){for(var r=e;r<=t;r++)for(var a=r+this._bufferService.buffer.ydisp,o=this._bufferService.buffer.lines.get(a),s=n?n.getJoinedCharacters(a):[],u=0;u0&&u===s[0][0]){h=!0;var p=s.shift();d=new l.JoinedCellData(this._workCell,o.translateToString(!0,p[0],p[1]),p[1]-p[0]),f=p[1]-1}!h&&this._isOverlapping(d)&&fthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=n,n},t}(o.BaseRenderLayer);t.TextRenderLayer=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var n=0;n>>24,r=t.rgba>>>16&255,a=t.rgba>>>8&255,o=0;o=this.capacity)this._unlinkNode(n=this._head),delete this._map[n.key],n.key=e,n.value=t,this._map[e]=n;else{var i=this._nodePool;i.length>0?((n=i.pop()).key=e,n.value=t):n={prev:null,next:null,key:e,value:t},this._map[e]=n,this.size++}this._appendNode(n)},e}();t.LRUMap=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(t,n,i,r,a,o){var s=e.call(this,t,"selection",n,!0,i,r,a,o)||this;return s.bufferService=a,s.optionsService=o,s._clearState(),s}return r(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(e,t,n){if(this._didStateChange(e,t,n,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var i=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,a=Math.max(i,0),o=Math.min(r,this._bufferService.rows-1);if(!(a>=this._bufferService.rows||o<0)){if(this._ctx.fillStyle=this._colors.selection.css,n){var s=e[0];this._fillCells(s,a,t[0]-s,o-a+1)}else{this._fillCells(s=i===a?e[0]:0,a,(a===o?t[0]:this._bufferService.cols)-s,1);var c=Math.max(o-a-1,0);this._fillCells(0,a+1,this._bufferService.cols,c),a!==o&&this._fillCells(0,o,r===o?t[0]:this._bufferService.cols,1)}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=n,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,n,i){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||n!==this._state.columnSelectMode||i!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},t}(n(13).BaseRenderLayer);t.SelectionRenderLayer=a},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(13),o=n(5),s=function(e){function t(t,n,i,r,a,s,c,l,u){var d=e.call(this,t,"cursor",n,!0,i,r,s,c)||this;return d._onRequestRefreshRowsEvent=a,d.bufferService=s,d.optionsService=c,d._coreService=l,d._coreBrowserService=u,d._cell=new o.CellData,d._state={x:0,y:0,isFocused:!1,style:"",width:0},d._cursorRenderers={bar:d._renderBarCursor.bind(d),block:d._renderBlockCursor.bind(d),underline:d._renderUnderlineCursor.bind(d)},d}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},t.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new c(this._coreBrowserService.isFocused,(function(){t._render(!0)}))):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=t-this._bufferService.buffer.ydisp;if(n<0||n>=this._bufferService.rows)this._clearCursor();else if(this._bufferService.buffer.lines.get(t).loadCell(this._bufferService.buffer.x,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var i=this._optionsService.options.cursorStyle;return i&&"block"!==i?this._cursorRenderers[i](this._bufferService.buffer.x,n,this._cell):this._renderBlurCursor(this._bufferService.buffer.x,n,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=n,this._state.isFocused=!1,this._state.style=i,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===this._bufferService.buffer.x&&this._state.y===n&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](this._bufferService.buffer.x,n,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=n,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,n.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(n,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,n){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,n.getWidth(),1),this._ctx.restore()},t}(a.BaseRenderLayer);t.CursorRenderLayer=s;var c=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=setTimeout((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0})),t._blinkInterval=setInterval((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0}))}),600)}),e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(13),o=n(9),s=n(24),c=function(e){function t(t,n,i,r,a,o,s){var c=e.call(this,t,"link",n,!0,i,r,o,s)||this;return c.bufferService=o,c.optionsService=s,a.onLinkHover((function(e){return c._onLinkHover(e)})),a.onLinkLeave((function(e){return c._onLinkLeave(e)})),c}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onLinkHover=function(e){if(this._ctx.fillStyle=e.fg===o.INVERTED_DEFAULT_COLOR?this._colors.background.css:e.fg&&s.is256Color(e.fg)?this._colors.ansi[e.fg].css:this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t=e.lines.length)){for(var n=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,i=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,t,n,i,i);r.hasNext();)for(var a=r.next(),o=0;o=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t>9&511:void 0;n.validationCallback?n.validationCallback(s,(function(e){r._rowsTimeoutId||e&&r._addLink(l[1],l[0]-r._bufferService.buffer.ydisp,s,n,h)})):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,s,n,h)},c=this;null!==(i=a.exec(t))&&"break"!==s(););},e.prototype._addLink=function(e,t,n,i,r){var o=this;if(this._mouseZoneManager&&this._element){var s=this._unicodeService.getStringCellWidth(n),c=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),u=(c+s)%this._bufferService.cols,d=l+Math.floor((c+s)/this._bufferService.cols);0===u&&(u=this._bufferService.cols,d--),this._mouseZoneManager.add(new a(c+1,l+1,u+1,d+1,(function(e){if(i.handler)return i.handler(e,n);var t=window.open();t?(t.opener=null,t.location.href=n):console.warn("Opening link blocked as opener could not be cleared")}),(function(){o._onLinkHover.fire(o._createLinkHoverEvent(c,l,u,d,r)),o._element.classList.add("xterm-cursor-pointer")}),(function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(c,l,u,d,r)),i.hoverTooltipCallback&&i.hoverTooltipCallback(e,n,{start:{x:c,y:l},end:{x:u,y:d}})}),(function(){o._onLinkLeave.fire(o._createLinkHoverEvent(c,l,u,d,r)),o._element.classList.remove("xterm-cursor-pointer"),i.hoverLeaveCallback&&i.hoverLeaveCallback()}),(function(e){return!i.willLinkActivate||i.willLinkActivate(e,n)})))}},e.prototype._createLinkHoverEvent=function(e,t,n,i,r){return{x1:e,y1:t,x2:n,y2:i,cols:this._bufferService.cols,fg:r}},e._timeBeforeLatency=200,e}();t.Linkifier=r;var a=function(e,t,n,i,r,a,o,s,c){this.x1=e,this.y1=t,this.x2=n,this.y2=i,this.clickCallback=r,this.hoverCallback=a,this.tooltipCallback=o,this.leaveCallback=s,this.willLinkActivate=c};t.MouseZone=a},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),o=n(51),s=n(5),c=n(1),l=n(4),u=n(0),d=n(28),h=n(52),f=String.fromCharCode(160),p=new RegExp(f,"g"),m=function(){function e(e,t,n,i,r,a,l,u){var d=this;this._scrollLines=e,this._element=t,this._screenElement=n,this._charSizeService=i,this._bufferService=r,this._coreService=a,this._mouseService=l,this._optionsService=u,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new s.CellData,this._mouseDownTimeStamp=0,this._onLinuxMouseSelection=new c.EventEmitter,this._onRedrawRequest=new c.EventEmitter,this._onSelectionChange=new c.EventEmitter,this._mouseMoveListener=function(e){return d._onMouseMove(e)},this._mouseUpListener=function(e){return d._onMouseUp(e)},this._coreService.onUserInput((function(){d.hasSelection&&d.clearSelection()})),this._trimListener=this._bufferService.buffer.lines.onTrim((function(e){return d._onTrim(e)})),this._bufferService.buffers.onBufferActivate((function(e){return d._onBufferActivate(e)})),this.enable(),this._model=new o.SelectionModel(this._bufferService),this._activeSelectionMode=0}return Object.defineProperty(e.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onRedrawRequest",{get:function(){return this._onRedrawRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._removeMouseDownListeners()},e.prototype.reset=function(){this.clearSelection()},e.prototype.disable=function(){this.clearSelection(),this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},Object.defineProperty(e.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var n=this._bufferService.buffer,i=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var r=e[1];r<=t[1];r++){var o=n.translateBufferLineToString(r,!0,e[0],t[0]);i.push(o)}}else{for(i.push(n.translateBufferLineToString(e[1],!0,e[0],e[1]===t[1]?t[0]:void 0)),r=e[1]+1;r<=t[1]-1;r++){var s=n.lines.get(r);o=n.translateBufferLineToString(r,!0),s&&s.isWrapped?i[i.length-1]+=o:i.push(o)}e[1]!==t[1]&&(s=n.lines.get(t[1]),o=n.translateBufferLineToString(t[1],!0,0,t[0]),s&&s.isWrapped?i[i.length-1]+=o:i.push(o))}return i.map((function(e){return e.replace(p," ")})).join(a.isWindows?"\r\n":"\n")},enumerable:!0,configurable:!0}),e.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},e.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return t._refresh()}))),a.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},e.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},e.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,i=this._model.finalSelectionEnd;return!!(n&&i&&t)&&this._areCoordsInSelection(t,n,i)},e.prototype._areCoordsInSelection=function(e,t,n){return e[1]>t[1]&&e[1]=t[0]&&e[0]=t[0]},e.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},e.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},e.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},e.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},e.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},e.prototype._getMouseEventScrollAmount=function(e){var t=d.getCoordsRelativeToElement(e,this._screenElement)[1],n=this._bufferService.rows*Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight);return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},e.prototype.shouldForceSelection=function(e){return a.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},e.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},e.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return e._dragScroll()}),50)},e.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},e.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},e.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},e.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},e.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},e.prototype.shouldColumnSelect=function(e){return e.altKey&&!(a.isMac&&this._optionsService.options.macOptionClickForcesSelection)},e.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var n=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},e.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500){if(e.altKey&&this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var n=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&void 0!==n[0]&&void 0!==n[1]){var i=h.moveToCellSequence(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(i,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},e.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((function(e){return t._onTrim(e)}))},e.prototype._convertViewportColToCharacterIndex=function(e,t){for(var n=t[0],i=0;t[0]>=i;i++){var r=e.loadCell(i,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:r>1&&t[0]!==i&&(n+=r-1)}return n},e.prototype.setSelection=function(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh()},e.prototype._getWordAt=function(e,t,n,i){if(void 0===n&&(n=!0),void 0===i&&(i=!0),!(e[0]>=this._bufferService.cols)){var r=this._bufferService.buffer,a=r.lines.get(e[1]);if(a){var o=r.translateBufferLineToString(e[1],!1),s=this._convertViewportColToCharacterIndex(a,e),c=s,l=e[0]-s,u=0,d=0,h=0,f=0;if(" "===o.charAt(s)){for(;s>0&&" "===o.charAt(s-1);)s--;for(;c1&&(f+=_-1,c+=_-1);p>0&&s>0&&!this._isCharWordSeparator(a.loadCell(p-1,this._workCell));){a.loadCell(p-1,this._workCell);var b=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,p--):b>1&&(h+=b-1,s-=b-1),s--,p--}for(;m1&&(f+=g-1,c+=g-1),c++,m++}}c++;var v=s+l-u+h,y=Math.min(this._bufferService.cols,c-s+u+d-h-f);if(t||""!==o.slice(s,c).trim()){if(n&&0===v&&32!==a.getCodePoint(0)){var k=r.lines.get(e[1]-1);if(k&&a.isWrapped&&32!==k.getCodePoint(this._bufferService.cols-1)){var w=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(w){var C=this._bufferService.cols-w.start;v-=C,y+=C}}}if(i&&v+y===this._bufferService.cols&&32!==a.getCodePoint(this._bufferService.cols-1)){var S=r.lines.get(e[1]+1);if(S&&S.isWrapped&&32!==S.getCodePoint(0)){var x=this._getWordAt([0,e[1]+1],!1,!1,!0);x&&(y+=x.length)}}return{start:v,length:y}}}}},e.prototype._selectWordAt=function(e,t){var n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}},e.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var n=e[1];t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}},e.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.options.wordSeparator.indexOf(e.getChars())>=0},e.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},i([r(3,l.ICharSizeService),r(4,u.IBufferService),r(5,u.ICoreService),r(6,l.IMouseService),r(7,u.IOptionsService)],e)}();t.SelectionService=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!0,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function r(e,t,n,i){var r=e-a(n,e),s=t-a(n,t);return l(Math.abs(r-s)-function(e,t,n){for(var i=0,r=e-a(n,e),s=t-a(n,t),c=0;c=0&&tt?"A":"B"}function s(e,t,n,i,r,a){for(var o=e,s=t,c="";o!==n||s!==i;)o+=r?1:-1,r&&o>a.cols-1?(c+=a.buffer.translateBufferLineToString(s,!1,e,o),o=0,e=0,s++):!r&&o<0&&(c+=a.buffer.translateBufferLineToString(s,!1,0,e+1),e=o=a.cols-1,s--);return c+a.buffer.translateBufferLineToString(s,!1,e,o)}function c(e,t){return i.C0.ESC+(t?"O":"[")+e}function l(e,t){e=Math.floor(e);for(var n="",i=0;i0?i-a(o,i):t;var h=i,f=function(e,t,n,i,o,s){var c;return c=r(n,i,o,s).length>0?i-a(o,i):t,e=n&&ce?"D":"C",l(Math.abs(u-e),c(o,i));o=d>t?"D":"C";var h=Math.abs(d-t);return l(function(e,t){return t.cols-e}(d>t?e:u,n)+(h-1)*n.cols+1+((d>t?u:e)-1),c(o,i))}},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!0,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var n=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),(function(e){n.buffer=e,n.connect(t.destination),n.start(0)}))}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),r=0;r=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),c=n(8),l=n(4),u=n(0),d=function(e){function t(t,n,i,r,a){var o=e.call(this)||this;return o._element=t,o._screenElement=n,o._bufferService=i,o._mouseService=r,o._selectionService=a,o._zones=[],o._areZonesActive=!1,o._lastHoverCoords=[void 0,void 0],o._initialSelectionLength=0,o.register(c.addDisposableDomListener(o._element,"mousedown",(function(e){return o._onMouseDown(e)}))),o._mouseMoveListener=function(e){return o._onMouseMove(e)},o._mouseLeaveListener=function(e){return o._onMouseLeave(e)},o._clickListener=function(e){return o._onClick(e)},o}return r(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var n=0;ne&&i.y1<=t+1||i.y2>e&&i.y2<=t+1||i.y1t+1)&&(this._currentZone&&this._currentZone===i&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(n--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,n=this._findZoneEventAt(e);n!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),n&&(this._currentZone=n,n.hoverCallback&&n.hoverCallback(e),this._tooltipTimeout=setTimeout((function(){return t._onTooltip(e)}),500)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){var t;this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive&&(null===(t=this._findZoneEventAt(e))||void 0===t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),n=this._getSelectionLength();t&&n===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var n=t[0],i=t[1],r=0;r=a.x1&&n=a.x1||i===a.y2&&na.y1&&ie;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=a.tooMuchOutput)),o.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)}),0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,o.isMac&&this._liveRegion.parentNode&&this._accessibilityTreeRoot.removeChild(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var n=this._terminal.buffer,i=n.lines.length.toString(),r=e;r<=t;r++){var a=n.translateBufferLineToString(n.ydisp+r,!0),o=(n.ydisp+r+1).toString(),s=this._rowElements[r];s&&(0===a.length?s.innerHTML=" ":s.textContent=a,s.setAttribute("aria-posinset",o),s.setAttribute("aria-setsize",i))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(57),c=n(9),l=n(2),u=n(4),d=n(0),h=n(1),f=n(10),p="xterm-dom-renderer-owner-",m="xterm-rows",_="xterm-selection",b=1,g=function(e){function t(t,n,i,r,a,o,c,l){var u=e.call(this)||this;return u._colors=t,u._element=n,u._screenElement=i,u._viewportElement=r,u._linkifier=a,u._charSizeService=o,u._optionsService=c,u._bufferService=l,u._terminalClass=b++,u._rowElements=[],u._onRequestRefreshRows=new h.EventEmitter,u._rowContainer=document.createElement("div"),u._rowContainer.classList.add(m),u._rowContainer.style.lineHeight="normal",u._rowContainer.setAttribute("aria-hidden","true"),u._refreshRowElements(u._bufferService.cols,u._bufferService.rows),u._selectionContainer=document.createElement("div"),u._selectionContainer.classList.add(_),u._selectionContainer.setAttribute("aria-hidden","true"),u.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},u._updateDimensions(),u._injectCss(),u._rowFactory=new s.DomRendererRowFactory(document,u._optionsService,u._colors),u._element.classList.add(p+u._terminalClass),u._screenElement.appendChild(u._rowContainer),u._screenElement.appendChild(u._selectionContainer),u._linkifier.onLinkHover((function(e){return u._onLinkHover(e)})),u._linkifier.onLinkLeave((function(e){return u._onLinkLeave(e)})),u}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove(p+this._terminalClass),this._screenElement.removeChild(this._rowContainer),this._screenElement.removeChild(this._selectionContainer),this._screenElement.removeChild(this._themeStyleElement),this._screenElement.removeChild(this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){var e=this;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this._rowElements.forEach((function(t){t.style.width=e.dimensions.canvasWidth+"px",t.style.height=e.dimensions.actualCellHeight+"px",t.style.lineHeight=e.dimensions.actualCellHeight+"px",t.style.overflow="hidden"})),this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.innerHTML=this._terminalSelector+" ."+m+" span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" ."+m+" { color: "+this._colors.foreground.css+"; background-color: "+this._colors.background.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+s.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+s.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+s.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",t+=this._terminalSelector+" ."+m+":not(.xterm-focus) ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" ."+m+".xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+":not(."+s.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" ."+m+" ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" ."+m+" ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=this._terminalSelector+" ."+_+" { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" ."+_+" div { position: absolute; background-color: "+this._colors.selection.css+";}",this._colors.ansi.forEach((function(n,i){t+=e._terminalSelector+" .xterm-fg-"+i+" { color: "+n.css+"; }"+e._terminalSelector+" .xterm-bg-"+i+" { background-color: "+n.css+"; }"})),t+=this._terminalSelector+" .xterm-fg-"+c.INVERTED_DEFAULT_COLOR+" { color: "+f.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+c.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var n=this._rowElements.length;n<=t;n++){var i=document.createElement("div");this._rowContainer.appendChild(i),this._rowElements.push(i)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},t.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},t.prototype.onSelectionChanged=function(e,t,n){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var i=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,a=Math.max(i,0),o=Math.min(r,this._bufferService.rows-1);if(!(a>=this._bufferService.rows||o<0)){var s=document.createDocumentFragment();n?s.appendChild(this._createSelectionElement(a,e[0],t[0],o-a+1)):(s.appendChild(this._createSelectionElement(a,i===a?e[0]:0,a===o?t[0]:this._bufferService.cols)),s.appendChild(this._createSelectionElement(a+1,0,this._bufferService.cols,o-a-1)),a!==o&&s.appendChild(this._createSelectionElement(o,0,r===o?t[0]:this._bufferService.cols))),this._selectionContainer.appendChild(s)}}},t.prototype._createSelectionElement=function(e,t,n,i){void 0===i&&(i=1);var r=document.createElement("div");return r.style.height=i*this.dimensions.actualCellHeight+"px",r.style.top=e*this.dimensions.actualCellHeight+"px",r.style.left=t*this.dimensions.actualCellWidth+"px",r.style.width=this.dimensions.actualCellWidth*(n-t)+"px",r},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){this._rowElements.forEach((function(e){return e.innerHTML=""}))},t.prototype.renderRows=function(e,t){for(var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,i=this._bufferService.buffer.x,r=this._optionsService.options.cursorBlink,a=e;a<=t;a++){var o=this._rowElements[a];o.innerHTML="";var s=a+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(s);o.appendChild(this._rowFactory.createRow(c,s===n,this._optionsService.options.cursorStyle,i,r,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return"."+p+this._terminalClass},enumerable:!0,configurable:!0}),t.prototype.registerCharacterJoiner=function(e){return-1},t.prototype.deregisterCharacterJoiner=function(e){return!1},t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,n,i,r,a){for(;e!==t||n!==i;){var o=this._rowElements[n];if(!o)return;var s=o.children[e];s&&(s.style.textDecoration=a?"underline":"none"),++e>=r&&(e=0,n++)}},a([o(5,u.ICharSizeService),o(6,d.IOptionsService),o(7,d.IBufferService)],t)}(l.Disposable);t.DomRenderer=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),r=n(3),a=n(5),o=n(10);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var s=function(){function e(e,t,n){this._document=e,this._optionsService=t,this._colors=n,this._workCell=new a.CellData}return e.prototype.setColors=function(e){this._colors=e},e.prototype.createRow=function(e,n,a,s,l,u,d){for(var h=this._document.createDocumentFragment(),f=0,p=Math.min(e.length,d)-1;p>=0;p--)if(e.loadCell(p,this._workCell).getCode()!==r.NULL_CELL_CODE||n&&p===s){f=p+1;break}for(p=0;p1&&(_.style.width=u*m+"px"),n&&p===s)switch(_.classList.add(t.CURSOR_CLASS),l&&_.classList.add(t.CURSOR_BLINK_CLASS),a){case"bar":_.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":_.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:_.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&_.classList.add(t.BOLD_CLASS),this._workCell.isItalic()&&_.classList.add(t.ITALIC_CLASS),this._workCell.isDim()&&_.classList.add(t.DIM_CLASS),this._workCell.isUnderline()&&_.classList.add(t.UNDERLINE_CLASS),_.textContent=this._workCell.isInvisible()?r.WHITESPACE_CELL_CHAR:this._workCell.getChars()||r.WHITESPACE_CELL_CHAR;var b=this._workCell.getFgColor(),g=this._workCell.getFgColorMode(),v=this._workCell.getBgColor(),y=this._workCell.getBgColorMode(),k=!!this._workCell.isInverse();if(k){var w=b;b=v,v=w;var C=g;g=y,y=C}switch(g){case 16777216:case 33554432:this._workCell.isBold()&&b<8&&this._optionsService.options.drawBoldTextInBrightColors&&(b+=8),this._applyMinimumContrast(_,this._colors.background,this._colors.ansi[b])||_.classList.add("xterm-fg-"+b);break;case 50331648:var S=o.rgba.toColor(b>>16&255,b>>8&255,255&b);this._applyMinimumContrast(_,this._colors.background,S)||this._addStyle(_,"color:#"+c(b.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(_,this._colors.background,this._colors.foreground)||k&&_.classList.add("xterm-fg-"+i.INVERTED_DEFAULT_COLOR)}switch(y){case 16777216:case 33554432:_.classList.add("xterm-bg-"+v);break;case 50331648:this._addStyle(_,"background-color:#"+c(v.toString(16),"0",6));break;case 0:default:k&&_.classList.add("xterm-bg-"+i.INVERTED_DEFAULT_COLOR)}h.appendChild(_)}}return h},e.prototype._applyMinimumContrast=function(e,t,n){if(1===this._optionsService.options.minimumContrastRatio)return!1;var i=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===i&&(i=o.color.ensureContrastRatio(t,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=i?i:null)),!!i&&(this._addStyle(e,"color:"+i.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e}();function c(e,t,n){for(;e.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,a){var o={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?o.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?o.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?o.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(o.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B");break;case 8:if(e.shiftKey){o.key=i.C0.BS;break}if(e.altKey){o.key=i.C0.ESC+i.C0.DEL;break}o.key=i.C0.DEL;break;case 9:if(e.shiftKey){o.key=i.C0.ESC+"[Z";break}o.key=i.C0.HT,o.cancel=!0;break;case 13:o.key=i.C0.CR,o.cancel=!0;break;case 27:o.key=i.C0.ESC,o.cancel=!0;break;case 37:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"D",o.key===i.C0.ESC+"[1;3D"&&(o.key=i.C0.ESC+(n?"b":"[1;5D"))):o.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"C",o.key===i.C0.ESC+"[1;3C"&&(o.key=i.C0.ESC+(n?"f":"[1;5C"))):o.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"A",n||o.key!==i.C0.ESC+"[1;3A"||(o.key=i.C0.ESC+"[1;5A")):o.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"B",n||o.key!==i.C0.ESC+"[1;3B"||(o.key=i.C0.ESC+"[1;5B")):o.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(o.key=i.C0.ESC+"[2~");break;case 46:o.key=s?i.C0.ESC+"[3;"+(s+1)+"~":i.C0.ESC+"[3~";break;case 36:o.key=s?i.C0.ESC+"[1;"+(s+1)+"H":t?i.C0.ESC+"OH":i.C0.ESC+"[H";break;case 35:o.key=s?i.C0.ESC+"[1;"+(s+1)+"F":t?i.C0.ESC+"OF":i.C0.ESC+"[F";break;case 33:e.shiftKey?o.type=2:o.key=i.C0.ESC+"[5~";break;case 34:e.shiftKey?o.type=3:o.key=i.C0.ESC+"[6~";break;case 112:o.key=s?i.C0.ESC+"[1;"+(s+1)+"P":i.C0.ESC+"OP";break;case 113:o.key=s?i.C0.ESC+"[1;"+(s+1)+"Q":i.C0.ESC+"OQ";break;case 114:o.key=s?i.C0.ESC+"[1;"+(s+1)+"R":i.C0.ESC+"OR";break;case 115:o.key=s?i.C0.ESC+"[1;"+(s+1)+"S":i.C0.ESC+"OS";break;case 116:o.key=s?i.C0.ESC+"[15;"+(s+1)+"~":i.C0.ESC+"[15~";break;case 117:o.key=s?i.C0.ESC+"[17;"+(s+1)+"~":i.C0.ESC+"[17~";break;case 118:o.key=s?i.C0.ESC+"[18;"+(s+1)+"~":i.C0.ESC+"[18~";break;case 119:o.key=s?i.C0.ESC+"[19;"+(s+1)+"~":i.C0.ESC+"[19~";break;case 120:o.key=s?i.C0.ESC+"[20;"+(s+1)+"~":i.C0.ESC+"[20~";break;case 121:o.key=s?i.C0.ESC+"[21;"+(s+1)+"~":i.C0.ESC+"[21~";break;case 122:o.key=s?i.C0.ESC+"[23;"+(s+1)+"~":i.C0.ESC+"[23~";break;case 123:o.key=s?i.C0.ESC+"[24;"+(s+1)+"~":i.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!a||!e.altKey||e.metaKey)n&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(o.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?o.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(o.key=i.C0.US);else{var c=r[e.keyCode],l=c&&c[e.shiftKey?1:0];l?o.key=i.C0.ESC+l:e.keyCode>=65&&e.keyCode<=90&&(o.key=i.C0.ESC+String.fromCharCode(e.ctrlKey?e.keyCode-64:e.keyCode+32))}else e.keyCode>=65&&e.keyCode<=90?o.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?o.key=i.C0.NUL:e.keyCode>=51&&e.keyCode<=55?o.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?o.key=i.C0.DEL:219===e.keyCode?o.key=i.C0.ESC:220===e.keyCode?o.key=i.C0.FS:221===e.keyCode&&(o.key=i.C0.GS)}return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3);t.updateWindowsModeWrappedState=function(e){var t,n=null===(t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1))||void 0===t?void 0:t.get(e.cols-1),r=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);r&&n&&(r.isWrapped=n[i.CHAR_DATA_CODE_INDEX]!==i.NULL_CELL_CODE&&n[i.CHAR_DATA_CODE_INDEX]!==i.WHITESPACE_CELL_CODE)}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(29),c=n(1),l=n(2),u=n(30),d=n(8),h=n(0),f=n(4),p=function(e){function t(t,n,i,r,a){var o=e.call(this)||this;if(o._renderer=t,o._rowCount=n,o.screenElement=i,o.optionsService=r,o.charSizeService=a,o._isPaused=!1,o._needsFullRefresh=!1,o._canvasWidth=0,o._canvasHeight=0,o._onDimensionsChange=new c.EventEmitter,o._onRender=new c.EventEmitter,o._onRefreshRequest=new c.EventEmitter,o._renderDebouncer=new s.RenderDebouncer((function(e,t){return o._renderRows(e,t)})),o.register(o._renderDebouncer),o._screenDprMonitor=new u.ScreenDprMonitor,o._screenDprMonitor.setListener((function(){return o.onDevicePixelRatioChange()})),o.register(o._screenDprMonitor),o.register(r.onOptionChange((function(){return o._renderer.onOptionsChanged()}))),o.register(a.onCharSizeChange((function(){return o.onCharSizeChanged()}))),o._renderer.onRequestRefreshRows((function(e){return o.refreshRows(e.start,e.end)})),o.register(d.addDisposableDomListener(window,"resize",(function(){return o.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var l=new IntersectionObserver((function(e){return o._onIntersectionChange(e[e.length-1])}),{threshold:0});l.observe(i),o.register({dispose:function(){return l.disconnect()}})}return o}return r(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!0,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=0===e.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t){this._isPaused?this._needsFullRefresh=!0:this._renderDebouncer.refresh(e,t,this._rowCount)},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._onRender.fire({start:e,end:t})},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){this._renderer.dispose(),e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRefreshRows((function(e){return t.refreshRows(e.start,e.end)})),this.refreshRows(0,this._rowCount-1)},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,n){this._renderer.onSelectionChanged(e,t,n)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},t.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},a([o(3,h.IOptionsService),o(4,f.ICharSizeService)],t)}(l.Disposable);t.RenderService=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=n(11),a=n(31);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:t.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:r.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var o=["cols","rows"],s=function(){function e(e){var n=this;this._onOptionChange=new i.EventEmitter,this.options=a.clone(t.DEFAULT_OPTIONS),Object.keys(e).forEach((function(t){t in n.options&&(n.options[t]=e[t])}))}return Object.defineProperty(e.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!0,configurable:!0}),e.prototype.setOption=function(e,n){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==o.indexOf(e))throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==n&&(n=this._sanitizeAndValidateOption(e,n),this.options[e]!==n&&(this.options[e]=n,this._onOptionChange.fire(e)))},e.prototype._sanitizeAndValidateOption=function(e,n){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":n||(n=t.DEFAULT_OPTIONS[e]);break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(e+" cannot be less than 1, value: "+n);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+n);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+n)}return n},e.prototype.getOption=function(e){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},e}();t.OptionsService=s},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(1),s=function(){function e(e,t,n){this.document=e,this.parentElement=t,this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new o.EventEmitter,this._measureStrategy=new c(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!0,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},i([r(2,a.IOptionsService)],e)}();t.CharSizeService=s;var c=function(){function e(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(64);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var s=function(){function e(e){this._optionsService=e,this.cols=Math.max(e.options.cols,t.MINIMUM_COLS),this.rows=Math.max(e.options.rows,t.MINIMUM_ROWS),this.buffers=new o.BufferSet(e,this)}return Object.defineProperty(e.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){this.cols=e,this.rows=t},e.prototype.reset=function(){this.buffers=new o.BufferSet(this._optionsService,this)},i([r(0,a.IOptionsService)],e)}();t.BufferService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(65),r=n(1),a=function(){function e(e,t){this.optionsService=e,this.bufferService=t,this._onBufferActivate=new r.EventEmitter,this._normal=new i.Buffer(!0,e,t),this._normal.fillViewportRows(),this._alt=new i.Buffer(!1,e,t),this._activeBuffer=this._normal,this.setupTabStops()}return Object.defineProperty(e.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal},enumerable:!0,configurable:!0}),e.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},e.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},e.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},e.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},e}();t.BufferSet=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(66),r=n(16),a=n(5),o=n(3),s=n(67),c=n(68),l=n(18);t.MAX_BUFFER_SIZE=4294967295;var u=function(){function e(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=r.DEFAULT_ATTR_DATA.clone(),this.savedCharset=l.DEFAULT_CHARSET,this.markers=[],this._nullCell=a.CellData.fromCharData([0,o.NULL_CELL_CHAR,o.NULL_CELL_WIDTH,o.NULL_CELL_CODE]),this._whitespaceCell=a.CellData.fromCharData([0,o.WHITESPACE_CELL_CHAR,o.WHITESPACE_CELL_WIDTH,o.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new i.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg):(this._nullCell.fg=0,this._nullCell.bg=0),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new r.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&et.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=r.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new i.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var n=this.getNullCell(r.DEFAULT_ATTR_DATA),i=this._getCorrectBufferLength(t);if(i>this.lines.maxLength&&(this.lines.maxLength=i),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+o+1?(this.ybase--,o++,this.ydisp>0&&this.ydisp--):this.lines.push(new r.BufferLine(e,n)));else for(s=this._rows;s>t;s--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(i0&&(this.lines.trimStart(c),this.ybase=Math.max(this.ybase-c,0),this.ydisp=Math.max(this.ydisp-c,0),this.savedY=Math.max(this.savedY-c,0)),this.lines.maxLength=i}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),o&&(this.y+=o),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(a=0;athis._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var n=s.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(r.DEFAULT_ATTR_DATA));if(n.length>0){var i=s.reflowLargerCreateNewLayout(this.lines,n);s.reflowLargerApplyNewLayout(this.lines,i.layout),this._reflowLargerAdjustViewport(e,t,i.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,n){for(var i=this.getNullCell(r.DEFAULT_ATTR_DATA),a=n;a-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length=0;o--){var c=this.lines.get(o);if(!(!c||!c.isWrapped&&c.getTrimmedLength()<=e)){for(var l=[c];c.isWrapped&&o>0;)c=this.lines.get(--o),l.unshift(c);var u=this.ybase+this.y;if(!(u>=o&&u0&&(i.push({start:o+l.length+a,newLines:m}),a+=m.length),l.push.apply(l,m);var g=f.length-1,v=f[g];0===v&&(v=f[--g]);for(var y=l.length-p-1,k=h;y>=0;){var w=Math.min(k,v);if(l[g].copyCellsFrom(l[y],k-w,v-w,w,!0),0==(v-=w)&&(v=f[--g]),0==(k-=w)){y--;var C=Math.max(y,0);k=s.getWrappedLineTrimmedLength(l,C,this._cols)}}for(_=0;_0;)0===this.ybase?this.y0){var x=[],M=[];for(_=0;_=0;_--)if(T&&T.start>O+A){for(var E=T.newLines.length-1;E>=0;E--)this.lines.set(_--,T.newLines[E]);_++,x.push({index:O+1,amount:T.newLines.length}),A+=T.newLines.length,T=i[++D]}else this.lines.set(_,M[O--]);var P=0;for(_=x.length-1;_>=0;_--)x[_].index+=P,this.lines.onInsertEmitter.fire(x[_]),P+=x[_].amount;var R=Math.max(0,L+a-this.lines.maxLength);R>0&&this.lines.onTrimEmitter.fire(R)}},e.prototype.stringIndexToBufferIndex=function(e,t,n){for(void 0===n&&(n=!1);t;){var i=this.lines.get(e);if(!i)return[-1,-1];for(var r=n?i.getTrimmedLength():i.length,a=0;a0&&this.lines.get(t).isWrapped;)t--;for(;n+10;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e=this._cols?this._cols-1:e<0?0:e},e.prototype.addMarker=function(e){var t=this,n=new c.Marker(e);return this.markers.push(n),n.register(this.lines.onTrim((function(e){n.line-=e,n.line<0&&n.dispose()}))),n.register(this.lines.onInsert((function(e){n.line>=e.index&&(n.line+=e.amount)}))),n.register(this.lines.onDelete((function(e){n.line>=e.index&&n.linee.index&&(n.line-=e.amount)}))),n.register(n.onDispose((function(){return t._removeMarker(n)}))),n},e.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,n,i,r){return new d(this,e,t,n,i,r)},e}();t.Buffer=u;var d=function(){function e(e,t,n,i,r,a){void 0===n&&(n=0),void 0===i&&(i=e.lines.length),void 0===r&&(r=0),void 0===a&&(a=0),this._buffer=e,this._trimRight=t,this._startIndex=n,this._endIndex=i,this._startOverscan=r,this._endOverscan=a,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",n=e.first;n<=e.last;++n)t+=this._buffer.translateBufferLineToString(n,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new i.EventEmitter,this.onInsertEmitter=new i.EventEmitter,this.onTrimEmitter=new i.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),n=0;nthis._length)for(var t=this._length;t=e;r--)this._array[this._getCyclicIndex(r+n.length)]=this._array[this._getCyclicIndex(r)];for(r=0;rthis._maxLength){var a=this._length+n.length-this._maxLength;this._startIndex+=a,this._length=this._maxLength,this.onTrimEmitter.fire(a)}else this._length+=n.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var i=t-1;i>=0;i--)this.set(e+i+n,this.get(e+i));var r=e+t+n-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(i=0;i=s&&r0&&(g>d||0===u[g].getTrimmedLength());g--)b++;b>0&&(o.push(s+u.length-b),o.push(b)),s+=u.length-1}}}return o},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],i=0,r=t[i],a=0,o=0;ol&&(o-=l,s++);var u=2===e[s].getWidth(o-1);u&&o--;var d=u?n-1:n;r.push(d),c+=d}return r},t.getWrappedLineTrimmedLength=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),o=function(e){function t(n){var i=e.call(this)||this;return i.line=n,i._id=t._nextId++,i.isDisposed=!1,i._onDispose=new a.EventEmitter,i}return r(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},t._nextId=1,t}(n(2).Disposable);t.Marker=o},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(4),o=n(28),s=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,i,r){return o.getCoords(e,t,n,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,r)},e.prototype.getRawByteCoords=function(e,t,n,i){var r=this.getCoords(e,t,n,i);return o.getRawByteCoords(r)},i([r(0,a.IRenderService),r(1,a.ICharSizeService)],e)}();t.MouseService=s},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(1),s=n(31),c=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,origin:!1,wraparound:!0}),l=function(){function e(e,t,n,i){this._scrollToBottom=e,this._bufferService=t,this._logService=n,this._optionsService=i,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=new o.EventEmitter,this._onUserInput=new o.EventEmitter,this._onBinary=new o.EventEmitter,this.decPrivateModes=s.clone(c)}return Object.defineProperty(e.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.decPrivateModes=s.clone(c)},e.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var n=this._bufferService.buffer;n.ybase!==n.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},e.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},i([r(1,a.IBufferService),r(2,a.ILogService),r(3,a.IOptionsService)],e)}();t.CoreService=l},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){ethis._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var n=e;e=t,t=n}ethis._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},i([r(0,a.IBufferService)],e)}();t.DirtyRowService=o},function(e,t,n){"use strict";var i=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t0?r[0].index:t.length;if(t.length!==d)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(d+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,i([void 0],i(t,o))))},e}();t.InstantiationService=s},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(1),s={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}var l=String.fromCharCode,u={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"\x1b[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"\x1b[<"+c(e,!0)+";"+e.col+";"+e.row+t}},d=function(){function e(e,t){var n=this;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new o.EventEmitter,this._lastEvent=null,Object.keys(s).forEach((function(e){return n.addProtocol(e,s[e])})),Object.keys(u).forEach((function(e){return n.addEncoding(e,u[e])})),this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!0,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{DOWN:!!(1&e),UP:!!(2&e),DRAG:!!(4&e),MOVE:!!(8&e),WHEEL:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},i([r(0,a.IBufferService),r(1,a.ICoreService)],e)}();t.CoreMouseService=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return e.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return n._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var n=this._writeBuffer[this._bufferOffset],i=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(n),this._pendingData-=n.length,i&&i(),Date.now()-t>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return e._innerWrite()}),0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!0,configurable:!0}),e}();t.CoreBrowserService=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=n(78),a=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new i.EventEmitter;var e=new r.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!0,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,n=e.length,i=0;i=n)return t+this.wcwidth(r);var a=e.charCodeAt(i);56320<=a&&a<=57343?r=1024*(r-55296)+a-56320+65536:t+=this.wcwidth(a)}t+=this.wcwidth(r)}return t},e}();t.UnicodeService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(15),a=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],o=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],s=function(){function e(){if(this.version="6",!i){i=new Uint8Array(65536),r.fill(i,1),i[0]=0,r.fill(i,0,1,32),r.fill(i,0,127,160),r.fill(i,2,4352,4448),i[9001]=2,i[9002]=2,r.fill(i,2,11904,42192),i[12351]=1,r.fill(i,2,44032,55204),r.fill(i,2,63744,64256),r.fill(i,2,65040,65050),r.fill(i,2,65072,65136),r.fill(i,2,65280,65377),r.fill(i,2,65504,65511);for(var e=0;et[r][1])return!1;for(;r>=i;)if(e>t[n=i+r>>1][1])i=n+1;else{if(!(e=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.charsets=[],this.glevel=0}return e.prototype.reset=function(){this.charset=void 0,this.charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this.charsets[e]},e.prototype.setgCharset=function(e,t){this.charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var n=this,i={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(i),t.dispose=function(){return n._wrappedAddonDispose(i)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,n=0;n=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(n("wd/R"))},1:function(e,t){},"1CSz":function(e,t,n){"use strict";var i=n("P7XM"),r=n("hwdV").Buffer,a=n("ZDAU"),o=r.alloc(128);function s(e,t){a.call(this,"digest"),"string"==typeof t&&(t=r.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=r.concat([t,o],64));for(var n=this._ipad=r.allocUnsafe(64),i=this._opad=r.allocUnsafe(64),s=0;s<64;s++)n[s]=54^t[s],i[s]=92^t[s];this._hash=[n]}i(s,a),s.prototype._update=function(e){this._hash.push(e)},s.prototype._final=function(){var e=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,e]))},e.exports=s},"1IWx":function(e,t,n){e.exports=r;var i=n("+qE3").EventEmitter;function r(){i.call(this)}n("P7XM")(r,i),r.Readable=n("43KI"),r.Writable=n("LGOv"),r.Duplex=n("CWBI"),r.Transform=n("0XuU"),r.PassThrough=n("wq4j"),r.Stream=r,r.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function a(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",a),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",c));var o=!1;function s(){o||(o=!0,e.end())}function c(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===i.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",r),e.removeListener("drain",a),n.removeListener("end",s),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1sBl":function(e,t,n){var i=n("e/Dd").getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,n=i(e),r=145===n?26:2*Math.ceil((n-13)/(2*t-2)),a=[n-7],o=1;o>>1|$<<31)^(Z>>>8|$<<24)^(Z>>>7|$<<25),Q=l[U-2],ee=Q.high,te=Q.low,ne=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),ie=l[U-7],re=l[U-16],ae=re.low;q.high=J=(J=(J=(($>>>1|Z<<31)^($>>>8|Z<<24)^$>>>7)+ie.high+((K=X+ie.low)>>>0>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((K+=ne)>>>0>>0?1:0))+re.high+((K+=ae)>>>0>>0?1:0),q.low=K}var oe,se=Y&W^~Y&H,ce=V&F^~V&B,le=D&A^D&P^A&P,ue=(T>>>28|D<<4)^(T<<30|D>>>2)^(T<<25|D>>>7),de=c[U],he=de.low,fe=z+((Y>>>14|V<<18)^(Y>>>18|V<<14)^(Y<<23|V>>>9))+((oe=N+((V>>>14|Y<<18)^(V>>>18|Y<<14)^(V<<23|Y>>>9)))>>>0>>0?1:0),pe=ue+(T&E^T&R^E&R);z=H,N=B,H=W,B=F,W=Y,F=V,Y=I+(fe=(fe=(fe=fe+se+((oe+=ce)>>>0>>0?1:0))+de.high+((oe+=he)>>>0>>0?1:0))+J+((oe+=K)>>>0>>0?1:0))+((V=j+oe|0)>>>0>>0?1:0)|0,I=P,j=R,P=A,R=E,A=D,E=T,D=fe+(((D>>>28|T<<4)^(D<<30|T>>>2)^(D<<25|T>>>7))+le+(pe>>>0>>0?1:0))+((T=oe+pe|0)>>>0>>0?1:0)|0}p=i.low=p+T,i.high=f+D+(p>>>0>>0?1:0),_=r.low=_+E,r.high=m+A+(_>>>0>>0?1:0),g=a.low=g+R,a.high=b+P+(g>>>0>>0?1:0),y=o.low=y+j,o.high=v+I+(y>>>0>>0?1:0),w=s.low=w+V,s.high=k+Y+(w>>>0>>0?1:0),S=u.low=S+F,u.high=C+W+(S>>>0>>0?1:0),M=d.low=M+B,d.high=x+H+(M>>>0>>0?1:0),O=h.low=O+N,h.high=L+z+(O>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(i+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),i.SHA512)},"1w4i":function(e){e.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"}')},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_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\xe7_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\xe0 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\xed %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|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},2:function(e,t){},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2j6C":function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},"2pl3":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},3:function(e,t){},"3BRs":function(e,t,n){"use strict";(function(t,i,r){var a=n("lm0R");function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(void 0),i=i.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=g;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?i:a;g.WritableState=b;var l=n("Onz0");l.inherits=n("P7XM");var u,d={deprecate:n("t9FE")},h=n("QpuX"),f=n("hwdV").Buffer,p=r.Uint8Array||function(){},m=n("RoFp");function _(){}function b(e,t){s=s||n("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark;this.highWaterMark=i||0===i?i:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===e.decodeStrings),this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,r){--t.pendingcb,n?(a(r,i),a(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(r(i),e._writableState.errorEmitted=!0,e.emit("error",i),S(e,t))}(e,n,i,t,r);else{var o=w(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||k(e,n),i?c(y,e,n,o,r):y(e,n,o,r)}}(t,e)},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 o(this)}function g(e){if(s=s||n("sZro"),!(u.call(g,this)||this instanceof s))return new g(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function v(e,t,n,i,r,a,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,a,t.onwrite),t.sync=!1}function y(e,t,n,i){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,i(),S(e,t)}function k(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=new Array(t.bufferedRequestCount),r=t.corkedRequestsFree;r.entry=n;for(var a=0,s=!0;n;)i[a]=n,n.isBuf||(s=!1),n=n.next,a+=1;i.allBuffers=s,v(e,t,!0,t.length,i,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new o(t)}else{for(;n;){var c=n.chunk;if(v(e,t,!1,t.objectMode?1:c.length,c,n.encoding,n.callback),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=w(t);return n&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a(C,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,h),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:d.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||e&&e._writableState instanceof b}})):u=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var i,r=this._writableState,o=!1,s=(f.isBuffer(i=e)||i instanceof p)&&!r.objectMode;return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=_),r.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),a(t,n)}(this,n):(s||function(e,t,n,i){var r=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a(i,o),r=!1),r}(this,r,e,n))&&(r.pendingcb++,o=function(e,t,n,i,r,a){if(!n){var o=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n)),t}(t,i,r);i!==o&&(n=!0,r="buffer",i=o)}var s=t.objectMode?1:i.length;t.length+=s;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?a(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,i,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("8oxB"),n("URgk").setImmediate,n("aWmh"))},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3X7Y":function(e,t,n){var i=n("u/Db");function r(e){this.mode=i.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){var t,n,i;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),i=parseInt(n,10),e.put(i,10);var r=this.data.length-t;r>0&&(n=this.data.substr(t),i=parseInt(n,10),e.put(i,3*r+1))},e.exports=r},"3y9D":function(e,t,n){var i,r,a,o,s,c,l;e.exports=(l=n("Ib8C"),a=(r=(i=l).lib).WordArray,s=[],c=i.algo.SHA1=(o=r.Hasher).extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],a=n[2],o=n[3],c=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var d=(i<<5|i>>>27)+c+s[l];d+=l<20?1518500249+(r&a|~r&o):l<40?1859775393+(r^a^o):l<60?(r&a|r&o|a&o)-1894007588:(r^a^o)-899497514,c=o,o=a,a=r<<30|r>>>2,r=i,i=d}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(i+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),i.SHA1=o._createHelper(c),i.HmacSHA1=o._createHmacHelper(c),l.SHA1)},"43KI":function(e,t,n){(t=e.exports=n("rXFu")).Stream=t,t.Readable=t,t.Writable=n("3BRs"),t.Duplex=n("sZro"),t.Transform=n("J78i"),t.PassThrough=n("eA/Y")},"49sm":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"4Hv8":function(e,t,n){var i=n("WnY+"),r=n("tcrS"),a=n("afKu"),o=n("fSpj"),s=n("n53Y"),c=n("hwdV").Buffer,l=c.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,n){var o=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new r).update(e).digest()}:"md5"===e?i:function(t){return a(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=o(t):t.length=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dMO":function(e,t,n){(function(t){var i=n("MzeL"),r=n("OZ/i");e.exports=function(e){return new o(e)};var a={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 o(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function s(e,n,i){Array.isArray(e)||(e=e.toArray());var r=new t(e);if(i&&r.length2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(c((function(n,i){return Object(s.a)(e(n,i)).pipe(Object(o.a)((function(e,r){return t(n,e,i,r)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new l(e,n))})}var l=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}]),e}(),u=function(e){function t(e,n){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),t}(r.a)},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).parent=e,r.outerValue=n,r.outerIndex=i,r.index=0,r}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),t}(n("7o/Q").a)},"5hvy":function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("MlIO"),function(e){var t=i,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var r=1,a=0;a<24;a++){for(var s=0,d=0,h=0;h<7;h++){if(1&r){var f=(1<>>24)|4278255360&(a<<24|a>>>8),(A=n[r]).high^=o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),A.low^=a}for(var s=0;s<24;s++){for(var h=0;h<5;h++){for(var f=0,p=0,m=0;m<5;m++)f^=(A=n[h+5*m]).high,p^=A.low;var _=d[h];_.high=f,_.low=p}for(h=0;h<5;h++){var b=d[(h+4)%5],g=d[(h+1)%5],v=g.high,y=g.low;for(f=b.high^(v<<1|y>>>31),p=b.low^(y<<1|v>>>31),m=0;m<5;m++)(A=n[h+5*m]).high^=f,A.low^=p}for(var k=1;k<25;k++){var w=(A=n[k]).high,C=A.low,S=c[k];S<32?(f=w<>>32-S,p=C<>>32-S):(f=C<>>64-S,p=w<>>64-S);var x=d[l[k]];x.high=f,x.low=p}var M=d[0],L=n[0];for(M.high=L.high,M.low=L.low,h=0;h<5;h++)for(m=0;m<5;m++){var O=d[k=h+5*m],D=d[(h+1)%5+5*m],T=d[(h+2)%5+5*m];(A=n[k]).high=O.high^~D.high&T.high,A.low=O.low^~D.low&T.low}var A,E=u[s];(A=n[0]).high^=E.high,A.low^=E.low}},_doFinalize:function(){var t=this._data,n=t.words,i=8*t.sigBytes,a=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/a)*a>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var o=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u>>24)|4278255360&(h<<24|h>>>8),l.push(f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)),l.push(h)}return new r.init(l,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=a._createHelper(h),t.HmacSHA3=a._createHmacHelper(h)}(Math),i.SHA3)},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6F8h":function(e){e.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"}}')},"6lN/":function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ"),a=r.getNAF,o=r.getJSF,s=r.assert;function c(e,t){this.type=e,this.p=new i(t.p,16),this.red=t.prime?i.red(t.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=t.n&&new i(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.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 l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),i=a(t,1,this._bitLength),r=(1<=c;t--)l=(l<<1)+i[t];o.push(l)}for(var u=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=r;h>0;h--){for(c=0;c=0;l--){for(t=0;l>=0&&0===o[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var u=o[l];s(0!==u),c="affine"===e.type?c.mixedAdd(u>0?r[u-1>>1]:r[-u-1>>1].neg()):c.add(u>0?r[u-1>>1]:r[-u-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,i,r){for(var s=this._wnafT1,c=this._wnafT2,l=this._wnafT3,u=0,d=0;d=1;d-=2){var f=d-1,p=d;if(1===s[f]&&1===s[p]){var m=[t[f],null,null,t[p]];0===t[f].y.cmp(t[p].y)?(m[1]=t[f].add(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg())):0===t[f].y.cmp(t[p].y.redNeg())?(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].add(t[p].neg())):(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],b=o(n[f],n[p]);u=Math.max(b[0].length,u),l[f]=new Array(u),l[p]=new Array(u);for(var g=0;g=0;d--){for(var k=0;d>=0;){var w=!0;for(g=0;g=0&&k++,v=v.dblp(k),d<0)break;for(g=0;g0?C=c[g][S-1>>1]:S<0&&(C=c[g][-S-1>>1].neg()),v="affine"===C.type?v.mixedAdd(C):v.add(C))}}for(d=0;d=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,r=0;r11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7ckf":function(e,t,n){"use strict";var i=n("w8CP"),r=n("2j6C");function a(){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}t.BlockHash=a,a.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending=this.pending?this.pending.concat(e):e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-n,this.endian);for(var r=0;r>>24&255,i[r++]=e>>>16&255,i[r++]=e>>>8&255,i[r++]=255&e}else for(i[r++]=255&e,i[r++]=e>>>8&255,i[r++]=e>>>16&255,i[r++]=e>>>24&255,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,a=8;a=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"86MQ":function(e,t,n){"use strict";var i=t,r=n("OZ/i"),a=n("2j6C"),o=n("dlgc");i.assert=a,i.toArray=o.toArray,i.zero2=o.zero2,i.toHex=o.toHex,i.encode=o.encode,i.getNAF=function(e,t,n){var i=new Array(Math.max(e.bitLength(),n)+1);i.fill(0);for(var r=1<(r>>1)-1?(r>>1)-c:c):s=0,i[o]=s,a.iushrn(1)}return i},i.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var i=0,r=0;e.cmpn(-i)>0||t.cmpn(-r)>0;){var a,o,s,c=e.andln(3)+i&3,l=t.andln(3)+r&3;3===c&&(c=-1),3===l&&(l=-1),a=0==(1&c)?0:3!=(s=e.andln(7)+i&7)&&5!==s||2!==l?c:-c,n[0].push(a),o=0==(1&l)?0:3!=(s=t.andln(7)+r&7)&&5!==s||2!==c?l:-l,n[1].push(o),2*i===a+1&&(i=1-i),2*r===o+1&&(r=1-r),e.iushrn(1),t.iushrn(1)}return n},i.cachedProperty=function(e,t,n){var i="_"+t;e.prototype[t]=function(){return void 0!==this[i]?this[i]:this[i]=n.call(this)}},i.parseBytes=function(e){return"string"==typeof e?i.toArray(e,"hex"):e},i.intFromLE=function(e){return new r(e,"hex","le")}},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8oxB":function(e,t){var n,i,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var c,l=[],u=!1,d=-1;function h(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=s(h);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d1)for(var n=1;n>>32-t}function l(e,t,n,i,r,a,o){return c(e+(t&n|~t&i)+r+a|0,o)+t|0}function u(e,t,n,i,r,a,o){return c(e+(t&i|n&~i)+r+a|0,o)+t|0}function d(e,t,n,i,r,a,o){return c(e+(t^n^i)+r+a|0,o)+t|0}function h(e,t,n,i,r,a,o){return c(e+(n^(t|~i))+r+a|0,o)+t|0}i(s,r),s.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,i=this._b,r=this._c,a=this._d;n=l(n,i,r,a,e[0],3614090360,7),a=l(a,n,i,r,e[1],3905402710,12),r=l(r,a,n,i,e[2],606105819,17),i=l(i,r,a,n,e[3],3250441966,22),n=l(n,i,r,a,e[4],4118548399,7),a=l(a,n,i,r,e[5],1200080426,12),r=l(r,a,n,i,e[6],2821735955,17),i=l(i,r,a,n,e[7],4249261313,22),n=l(n,i,r,a,e[8],1770035416,7),a=l(a,n,i,r,e[9],2336552879,12),r=l(r,a,n,i,e[10],4294925233,17),i=l(i,r,a,n,e[11],2304563134,22),n=l(n,i,r,a,e[12],1804603682,7),a=l(a,n,i,r,e[13],4254626195,12),r=l(r,a,n,i,e[14],2792965006,17),n=u(n,i=l(i,r,a,n,e[15],1236535329,22),r,a,e[1],4129170786,5),a=u(a,n,i,r,e[6],3225465664,9),r=u(r,a,n,i,e[11],643717713,14),i=u(i,r,a,n,e[0],3921069994,20),n=u(n,i,r,a,e[5],3593408605,5),a=u(a,n,i,r,e[10],38016083,9),r=u(r,a,n,i,e[15],3634488961,14),i=u(i,r,a,n,e[4],3889429448,20),n=u(n,i,r,a,e[9],568446438,5),a=u(a,n,i,r,e[14],3275163606,9),r=u(r,a,n,i,e[3],4107603335,14),i=u(i,r,a,n,e[8],1163531501,20),n=u(n,i,r,a,e[13],2850285829,5),a=u(a,n,i,r,e[2],4243563512,9),r=u(r,a,n,i,e[7],1735328473,14),n=d(n,i=u(i,r,a,n,e[12],2368359562,20),r,a,e[5],4294588738,4),a=d(a,n,i,r,e[8],2272392833,11),r=d(r,a,n,i,e[11],1839030562,16),i=d(i,r,a,n,e[14],4259657740,23),n=d(n,i,r,a,e[1],2763975236,4),a=d(a,n,i,r,e[4],1272893353,11),r=d(r,a,n,i,e[7],4139469664,16),i=d(i,r,a,n,e[10],3200236656,23),n=d(n,i,r,a,e[13],681279174,4),a=d(a,n,i,r,e[0],3936430074,11),r=d(r,a,n,i,e[3],3572445317,16),i=d(i,r,a,n,e[6],76029189,23),n=d(n,i,r,a,e[9],3654602809,4),a=d(a,n,i,r,e[12],3873151461,11),r=d(r,a,n,i,e[15],530742520,16),n=h(n,i=d(i,r,a,n,e[2],3299628645,23),r,a,e[0],4096336452,6),a=h(a,n,i,r,e[7],1126891415,10),r=h(r,a,n,i,e[14],2878612391,15),i=h(i,r,a,n,e[5],4237533241,21),n=h(n,i,r,a,e[12],1700485571,6),a=h(a,n,i,r,e[3],2399980690,10),r=h(r,a,n,i,e[10],4293915773,15),i=h(i,r,a,n,e[1],2240044497,21),n=h(n,i,r,a,e[8],1873313359,6),a=h(a,n,i,r,e[15],4264355552,10),r=h(r,a,n,i,e[6],2734768916,15),i=h(i,r,a,n,e[13],1309151649,21),n=h(n,i,r,a,e[4],4149444226,6),a=h(a,n,i,r,e[11],3174756917,10),r=h(r,a,n,i,e[2],718787259,15),i=h(i,r,a,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+i|0,this._c=this._c+r|0,this._d=this._d+a|0},s.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 e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},"9rRi":function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","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\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 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\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},ALsQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CFB=function(){var e=i.lib.BlockCipherMode.extend();function t(e,t,n,i){var r=this._iv;if(r){var a=r.slice(0);this._iv=void 0}else a=this._prevBlock;i.encryptBlock(a,0);for(var o=0;o0;i--)t+=this._buffer(e,t),n+=this._flushBuffer(r,n);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},"B/J0":function(e,t,n){"use strict";var i=n("w8CP"),r=n("bu2F");function a(){if(!(this instanceof a))return new a;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(a,r),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},B55N:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()>>2}function u(e,t,n,i){return 0===e?t&n|~t&i:2===e?t&n|t&i|n&i:t^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=n[d-3]^n[d-8]^n[d-14]^n[d-16];for(var h=0;h<80;++h){var f=~~(h/20),p=0|((t=i)<<5|t>>>27)+u(f,r,a,s)+c+n[h]+o[f];c=s,s=a,a=l(r),r=i,i=p}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},CWBI:function(e,t,n){e.exports=n("sZro")},CfXC:function(e,t,n){var i=n("OfWw"),r=n("hwdV").Buffer,a=n("ZDAU");function o(e,t,n,o){a.call(this),this._cipher=new i.AES(t),this._prev=r.from(n),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._mode=e}n("P7XM")(o,a),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},e.exports=o},Cfvw:function(e,t,n){"use strict";var i=n("HDdC"),r=n("SeVD"),a=n("quSY"),o=n("kJWO"),s=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new i.a((function(n){var i=new a.a;return i.add(t.schedule((function(){var r=e[o.a]();i.add(r.subscribe({next:function(e){i.add(t.schedule((function(){return n.next(e)})))},error:function(e){i.add(t.schedule((function(){return n.error(e)})))},complete:function(){i.add(t.schedule((function(){return n.complete()})))}}))}))),i}))}(e,t);if(Object(l.a)(e))return function(e,t){return new i.a((function(n){var i=new a.a;return i.add(t.schedule((function(){return e.then((function(e){i.add(t.schedule((function(){n.next(e),i.add(t.schedule((function(){return n.complete()})))})))}),(function(e){i.add(t.schedule((function(){return n.error(e)})))}))}))),i}))}(e,t);if(Object(u.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a((function(n){var i,r=new a.a;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(t.schedule((function(){i=e[c.a](),r.add(t.schedule((function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(a){return void n.error(a)}t?n.complete():(n.next(e),this.schedule())}})))}))),r}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}n.d(t,"a",(function(){return d}))},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(n("wd/R"))},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=Array.isArray||function(e){return e&&"number"==typeof e.length}},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},DLvh:function(e,t,n){"use strict";var i,r=t,a=n("fZJM"),o=n("QTa/"),s=n("86MQ").assert;function c(e){this.curve="short"===e.type?new o.short(e):"edwards"===e.type?new o.edwards(e):new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=c,l("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:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("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:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("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:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("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:a.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"]}),l("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:a.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"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),l("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:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{i=n("QJsb")}catch(u){i=void 0}l("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:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})},DaRl:function(e,t,n){"use strict";var i=n("2j6C"),r=n("P7XM"),a={};function o(e){i.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},DyzK:function(e,t,n){var i=n("Ku4m"),r=n("9GDS"),a=n("g9U9"),o=n("OZ/i"),s=n("qVij"),c=n("mObS"),l=n("UpF+"),u=n("ZYru").Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,f=i(e),p=f.modulus.byteLength();if(t.length>p||new o(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=n?l(new o(t),f):s(t,f);var m=u.alloc(p-h.length);if(h=u.concat([m,h],p),4===d)return function(e,t){var n=e.modulus.byteLength(),i=c("sha1").update(u.alloc(0)).digest(),o=i.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),l=t.slice(o+1),d=a(s,r(l,o)),h=a(l,r(d,n-o-1));if(function(e,t){e=u.from(e),t=u.from(t);var n=0,i=e.length;e.length!==t.length&&(n++,i=Math.min(e.length,t.length));for(var r=-1;++r=t.length){a++;break}var o=t.slice(2,r-1);if(("0002"!==i.toString("hex")&&!n||"0001"!==i.toString("hex")&&n)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return t.slice(r)}(0,h,n);if(3===d)return h;throw new Error("unknown padding")}},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+IA":function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("qlaj"),o=i.rotl32,s=i.sum32,c=i.sum32_5,l=a.ft_1,u=r.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(h,u),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var n=this.W,i=0;i<16;i++)n[i]=e[t+i];for(;i=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".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:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},E4JC:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],a=[],o=e.algo.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)s.call(this);for(n=0;n<8;n++)r[n]^=i[n+4&7];if(t){var a=t.words,o=a[0],c=a[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),d=l>>>16|4294901760&u,h=u<<16|65535&l;for(r[0]^=l,r[1]^=d,r[2]^=u,r[3]^=h,r[4]^=l,r[5]^=d,r[6]^=u,r[7]^=h,n=0;n<4;n++)s.call(this)}},_doProcessBlock:function(e,t){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],o=65535&i,s=i>>>16;a[n]=((o*o>>>17)+o*s>>>15)+s*s^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(o)}(),i.Rabbit)},ELBg:function(e,t,n){"use strict";var i={single_source_shortest_paths:function(e,t,n){var r={},a={};a[t]=0;var o,s,c,l,u,d,h=i.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(c in l=(o=h.pop()).cost,u=e[s=o.value]||{})u.hasOwnProperty(c)&&(d=l+u[c],(void 0===a[c]||a[c]>d)&&(a[c]=d,h.push(c,d),r[c]=s));if(void 0!==n&&void 0===a[n]){var f=["Could not find a path from ",t," to ",n,"."].join("");throw new Error(f)}return r},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],i=t;i;)n.push(i),i=e[i];return n.reverse(),n},find_path:function(e,t,n){var r=i.single_source_shortest_paths(e,t,n);return i.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(e){var t,n=i.PriorityQueue,r={};for(t in e=e||{},n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r.queue=[],r.sorter=e.sorter||n.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=i},ELcG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=o.RIPEMD160=a.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var a,o,f,y,k,w,C,S,x,M,L,O=this._hash.words,D=d.words,T=h.words,A=s.words,E=c.words,P=l.words,R=u.words;for(w=a=O[0],C=o=O[1],S=f=O[2],x=y=O[3],M=k=O[4],n=0;n<80;n+=1)L=a+e[t+A[n]]|0,L+=n<16?p(o,f,y)+D[0]:n<32?m(o,f,y)+D[1]:n<48?_(o,f,y)+D[2]:n<64?b(o,f,y)+D[3]:g(o,f,y)+D[4],L=(L=v(L|=0,P[n]))+k|0,a=k,k=y,y=v(f,10),f=o,o=L,L=w+e[t+E[n]]|0,L+=n<16?g(C,S,x)+T[0]:n<32?b(C,S,x)+T[1]:n<48?_(C,S,x)+T[2]:n<64?m(C,S,x)+T[3]:p(C,S,x)+T[4],L=(L=v(L|=0,R[n]))+M|0,w=M,M=x,x=v(S,10),S=C,C=L;L=O[1]+f+x|0,O[1]=O[2]+y+M|0,O[2]=O[3]+k+w|0,O[3]=O[4]+a+C|0,O[4]=O[0]+o+S|0,O[0]=L},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,a=r.words,o=0;o<5;o++){var s=a[o];a[o]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return r},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function _(e,t,n){return(e|~t)^n}function b(e,t,n){return e&n|t&~n}function g(e,t,n){return e^(t|~n)}function v(e,t){return e<>>32-t}t.RIPEMD160=a._createHelper(f),t.HmacRIPEMD160=a._createHmacHelper(f)}(Math),i.RIPEMD160)},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},ETIr:function(e,t,n){var i,r;e.exports=(r=n("Ib8C"),i=r.lib.WordArray,r.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var r=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s>>6*(3-s)&63));var c=i.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var a=0;a>>6-o%4*2;r[a>>>2]|=(s|c)<<24-a%4*8,a++}return i.create(r,a)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64)},EW2V:function(e,t,n){e.exports=n("tOiH")},Edxu:function(e,t,n){"use strict";(function(t,i){var r=n("hwdV").Buffer,a=t.crypto||t.msCrypto;e.exports=a&&a.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=r.allocUnsafe(e);if(e>0)if(e>65536)for(var o=0;o>>2]|=e[r]<<24-r%4*8;t.call(this,i,n)}else t.apply(this,arguments)}).prototype=e}}(),i.lib.WordArray)},FUXG:function(e,t,n){"use strict";t.utils=n("Xudb"),t.Cipher=n("AYSA"),t.DES=n("Titl"),t.CBC=n("DaRl"),t.EDE=n("H+yo")},Fzww:function(e,t,n){window,e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,(function(t){return e[t]}).bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this._disposables=[],this._socket=e,this._socket.binaryType="arraybuffer",this._bidirectional=!t||!1!==t.bidirectional}return e.prototype.activate=function(e){var t=this;this._disposables.push(r(this._socket,"message",(function(t){var n=t.data;e.write("string"==typeof n?n:new Uint8Array(n))}))),this._bidirectional&&(this._disposables.push(e.onData((function(e){return t._sendData(e)}))),this._disposables.push(e.onBinary((function(e){return t._sendBinary(e)})))),this._disposables.push(r(this._socket,"close",(function(){return t.dispose()}))),this._disposables.push(r(this._socket,"error",(function(){return t.dispose()})))},e.prototype.dispose=function(){this._disposables.forEach((function(e){return e.dispose()}))},e.prototype._sendData=function(e){1===this._socket.readyState&&this._socket.send(e)},e.prototype._sendBinary=function(e){if(1===this._socket.readyState){for(var t=new Uint8Array(e.length),n=0;nn?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length0?o-4:o;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,a=[],o=0,s=n-r;os?s:o+16383));return 1===r?a.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===r&&a.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),a.join("")};for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var r,a=[],o=t;o>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(e,t,n){"use strict";var i=n("7o/Q"),r=n("2QA8"),a=n("gRHU"),o=n("kJWO"),s=n("mCNh"),c=n("2fFW");n.d(t,"a",(function(){return u}));var l,u=((l=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var o=this.operator,s=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new i.a(e,t,n):new i.a(a.a)}(e,t,n);if(s.add(o?o.call(s,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,a=t.isStopped;if(n||a)return!1;e=r&&r instanceof i.a?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=d(t))((function(t,i){var r;r=n.subscribe((function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}}),i,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:o.a,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,a,o){var s=n(t),c=i[e][n(t)];return 2===s&&(c=c[r?0:1]),c.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},Hjy1:function(e,t,n){var i=n("ZDAU"),r=n("FUXG"),a=n("P7XM"),o=n("StGT").Buffer,s={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function c(e){i.call(this);var t,n=e.mode.toLowerCase(),r=s[n];t=e.decrypt?"decrypt":"encrypt";var a=e.key;o.isBuffer(a)||(a=o.from(a)),"des-ede"!==n&&"des-ede-cbc"!==n||(a=o.concat([a,a.slice(0,8)]));var c=e.iv;o.isBuffer(c)||(c=o.from(c)),this._des=r.create({key:a,iv:c,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,a(c,i),c.prototype._update=function(e){return o.from(this._des.update(e))},c.prototype._final=function(){return o.from(this._des.final())}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},IBtZ:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IG1u:function(e,t,n){(function(t,i){var r,a=n("fSpj"),o=n("n53Y"),s=n("4Hv8"),c=n("hwdV").Buffer,l=t.crypto&&t.crypto.subtle,u={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 h(e,t,n,i,r){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:r}},e,i<<3)})).then((function(e){return c.from(e)}))}e.exports=function(e,n,f,p,m,_){"function"==typeof m&&(_=m,m=void 0);var b=u[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof t.Promise)return i.nextTick((function(){var t;try{t=s(e,n,f,p,m)}catch(i){return _(i)}_(null,t)}));if(a(e,n,f,p),"function"!=typeof _)throw new Error("No callback provided to pbkdf2");c.isBuffer(e)||(e=c.from(e,o)),c.isBuffer(n)||(n=c.from(n,o)),function(e,t){e.then((function(e){i.nextTick((function(){t(null,e)}))}),(function(e){i.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var n=h(r=r||c.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=n,n}(b).then((function(t){return t?h(e,n,f,p,b):s(e,n,f,p,m)})),_)}}).call(this,n("aWmh"),n("8oxB"))},IPZY:function(e,t,n){var i=t;i.der=n("z71Z"),i.pem=n("jfd1")},ITfd:function(e,t,n){"use strict";var i=n("w8CP"),r=n("2j6C");function a(e,t,n){if(!(this instanceof a))return new a(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,n))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t>>2]|=(n[a>>>2]>>>24-a%4*8&255)<<24-(i+a)%4*8;else for(a=0;a>>2]=n[a>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],r=function(t){t=t;var n=987654321,i=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},a=0;a>>2]>>>24-r%4*8&255;i.push((a>>>4).toString(16)),i.push((15&a).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new o.init(n,t/2)}},l=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255));return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new o.init(n,t)}},u=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,r=n.sigBytes,a=this.blockSize,s=r/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*c,r);if(c){for(var u=0;u31&&(e=31);var n=[];return n.push("$2a$"),e<10&&n.push("0"),n.push(e.toString()),n.push("$"),n.push(h(o(m),m)),n.join("")},t.genSalt=function(e,n,i){if("function"==typeof n&&(i=n,n=void 0),"function"==typeof e&&(i=e,e=void 0),void 0===e)e=_;else if("number"!=typeof e)throw Error("illegal arguments: "+typeof e);function r(n){c((function(){try{n(null,t.genSaltSync(e))}catch(i){n(i)}}))}if(!i)return new Promise((function(e,t){r((function(n,i){n?t(n):e(i)}))}));if("function"!=typeof i)throw Error("Illegal callback: "+typeof i);r(i)},t.hashSync=function(e,n){if(void 0===n&&(n=_),"number"==typeof n&&(n=t.genSaltSync(n)),"string"!=typeof e||"string"!=typeof n)throw Error("Illegal arguments: "+typeof e+", "+typeof n);return S(e,n)},t.hash=function(e,n,i,r){function a(i){"string"==typeof e&&"number"==typeof n?t.genSalt(n,(function(t,n){S(e,n,i,r)})):"string"==typeof e&&"string"==typeof n?S(e,n,i,r):c(i.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof n)))}if(!i)return new Promise((function(e,t){a((function(n,i){n?t(n):e(i)}))}));if("function"!=typeof i)throw Error("Illegal callback: "+typeof i);a(i)},t.compareSync=function(e,n){if("string"!=typeof e||"string"!=typeof n)throw Error("Illegal arguments: "+typeof e+", "+typeof n);return 60===n.length&&s(t.hashSync(e,n.substr(0,n.length-31)),n)},t.compare=function(e,n,i,r){function a(i){"string"==typeof e&&"string"==typeof n?60===n.length?t.hash(e,n.substr(0,29),(function(e,t){e?i(e):i(null,s(t,n))}),r):c(i.bind(this,null,!1)):c(i.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof n)))}if(!i)return new Promise((function(e,t){a((function(n,i){n?t(n):e(i)}))}));if("function"!=typeof i)throw Error("Illegal callback: "+typeof i);a(i)},t.getRounds=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);return parseInt(e.split("$")[2],10)},t.getSalt=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);if(60!==e.length)throw Error("Illegal hash length: "+e.length+" != 60");return e.substring(0,29)};var c=void 0!==i&&i&&"function"==typeof i.nextTick?"function"==typeof r?r:i.nextTick:setTimeout,l="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),u=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,54,55,56,57,58,59,60,61,62,63,-1,-1,-1,-1,-1,-1,-1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,-1,-1,-1,-1,-1,-1,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,-1,-1,-1,-1,-1],d=String.fromCharCode;function h(e,t){var n,i,r=0,a=[];if(t<=0||t>e.length)throw Error("Illegal len: "+t);for(;r>2&63]),n=(3&n)<<4,r>=t){a.push(l[63&n]);break}if(i=255&e[r++],a.push(l[63&(n|=i>>4&15)]),n=(15&i)<<2,r>=t){a.push(l[63&n]);break}i=255&e[r++],a.push(l[63&(n|=i>>6&3)]),a.push(l[63&i])}return a.join("")}function f(e,t){var n,i,r,a,o,s=0,c=e.length,l=0,h=[];if(t<=0)throw Error("Illegal len: "+t);for(;s>>0,h.push(d(a|=(48&i)>>4)),!(++l>=t||s>=c))&&-1!=(r=(o=e.charCodeAt(s++))>>0,h.push(d(a|=(60&r)>>2)),!(++l>=t||s>=c));)o=e.charCodeAt(s++),a=(3&r)<<6>>>0,h.push(d(a|=o>6&31|192),t(63&n|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(63&n|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(63&n|128)),n=null},decodeUTF8:function(e,t){for(var n,i,r,a,o=function(e){e=e.slice(0,e.indexOf(null));var t=Error(e.toString());throw t.name="TruncatedError",t.bytes=e,t};null!==(n=e());)if(0==(128&n))t(n);else if(192==(224&n))null===(i=e())&&o([n,i]),t((31&n)<<6|63&i);else if(224==(240&n))(null===(i=e())||null===(r=e()))&&o([n,i,r]),t((15&n)<<12|(63&i)<<6|63&r);else{if(240!=(248&n))throw RangeError("Illegal starting byte: "+n);(null===(i=e())||null===(r=e())||null===(a=e()))&&o([n,i,r,a]),t((7&n)<<18|(63&i)<<12|(63&r)<<6|63&a)}},UTF16toUTF8:function(e,t){for(var n,i=null;null!==(n=null!==i?i:e());)n>=55296&&n<=57343&&null!==(i=e())&&i>=56320&&i<=57343?(t(1024*(n-55296)+i-56320+65536),i=null):t(n);null!==i&&t(i)},UTF8toUTF16:function(e,t){var n=null;for("number"==typeof e&&(n=e,e=function(){return null});null!==n||null!==(n=e());)n<=65535?t(n):(t(55296+((n-=65536)>>10)),t(n%1024+56320)),n=null},encodeUTF16toUTF8:function(t,n){e.UTF16toUTF8(t,(function(t){e.encodeUTF8(t,n)}))},decodeUTF8toUTF16:function(t,n){e.decodeUTF8(t,(function(t){e.UTF8toUTF16(t,n)}))},calculateCodePoint:function(e){return e<128?1:e<2048?2:e<65536?3:4},calculateUTF8:function(t){for(var n,i=0;null!==(n=t());)i+=e.calculateCodePoint(n);return i},calculateUTF16asUTF8:function(t){var n=0,i=0;return e.UTF16toUTF8(t,(function(t){++n,i+=e.calculateCodePoint(t)})),[n,i]}};return e}();Date.now=Date.now||function(){return+new Date};var m=16,_=10,b=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],g=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],v=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892];function y(e,t,n,i){var r,a=e[t],o=e[t+1];return r=i[(a^=n[0])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[1])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[2])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[3])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[4])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[5])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[6])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[7])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[8])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[9])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[10])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[11])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[12])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[13])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[14])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[15])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],a^=(r+=i[768|255&o])^n[16],e[t]=o^n[17],e[t+1]=a,e}function k(e,t){for(var n=0,i=0;n<4;++n)i=i<<8|255&e[t],t=(t+1)%e.length;return{key:i,offp:t}}function w(e,t,n){for(var i,r=0,a=[0,0],o=t.length,s=n.length,c=0;c31){if(a=Error("Illegal number of rounds (4-31): "+n),i)return void c(i.bind(this,a));throw a}if(t.length!==m){if(a=Error("Illegal salt length: "+t.length+" != "+m),i)return void c(i.bind(this,a));throw a}n=1<>>0;var l,u,d,h=0;function f(){if(r&&r(h/n),!(h>1;d++)y(o,d<<1,l,u);var a=[];for(h=0;h>24&255)>>>0),a.push((o[h]>>16&255)>>>0),a.push((o[h]>>8&255)>>>0),a.push((255&o[h])>>>0);return i?void i(null,a):a}for(var p=Date.now();h100)););i&&c(f)}if(Int32Array?(l=new Int32Array(b),u=new Int32Array(g)):(l=b.slice(),u=g.slice()),function(e,t,n,i){for(var r,a=0,o=[0,0],s=n.length,c=i.length,l=0;l"$"){if(r=Error("Missing salt rounds"),n)return void c(n.bind(this,r));throw r}var s,l,u,d=10*parseInt(t.substring(o,o+1),10)+parseInt(t.substring(o+1,o+2),10),_=t.substring(o+3,o+25),b=(s=e+=a>="a"?"\0":"",l=[],u=0,p.encodeUTF16toUTF8((function(){return u>=s.length?null:s.charCodeAt(u++)}),(function(e){l.push(e)})),l),g=f(_,m);function y(e){var t=[];return t.push("$2"),a>="a"&&t.push(a),t.push("$"),d<10&&t.push("0"),t.push(d.toString()),t.push("$"),t.push(h(g,g.length)),t.push(h(e,4*v.length-1)),t.join("")}if(void 0===n)return y(C(b,g,d));C(b,g,d,(function(e,t){e?n(e,null):n(null,y(t))}),i)}return t.encodeBase64=h,t.decodeBase64=f,t})?a.apply(t,[]):a)||(e.exports=o)}).call(this,n("2pl3")(e),n("8oxB"),n("URgk").setImmediate)},J6Nv:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},J78i:function(e,t,n){"use strict";e.exports=o;var i=n("sZro"),r=n("Onz0");function a(e){this.afterTransform=function(t,n){return function(e,t,n){var i=e._transformState;i.transforming=!1;var r=i.writecb;if(!r)return e.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,null!=n&&e.push(n),r(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length10&&e<20}function r(e){return t[e].split("_")}function a(e,t,a,o){var s=e+" ";return 1===e?s+n(0,t,a[0],o):t?s+(i(e)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(e)?r(a)[1]:r(a)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_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\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".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:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},JzKC:function(e,t,n){var i=n("Wogr"),r=n("aZ40");t.mul=function(e,t){var n=new i(e.length+t.length-1);n.fill(0);for(var a=0;a=0;){for(var a=n[0],o=0;o=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K3mO:function(e,t,n){var i,r,a,o,s,c,l;e.exports=(l=n("Ib8C"),n("3y9D"),n("WYAk"),o=(r=(i=l).lib).WordArray,c=(s=i.algo).EvpKDF=(a=r.Base).extend({cfg:a.extend({keySize:4,hasher:s.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=n.hasher.create(),r=o.create(),a=r.words,s=n.keySize,c=n.iterations;a.length=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KmYQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},i.pad.ZeroPadding)},KqfI:function(e,t,n){"use strict";function i(){}n.d(t,"a",(function(){return i}))},Ku4m:function(e,t,n){var i=n("QRH4"),r=n("1w4i"),a=n("TdD3"),o=n("/ab2"),s=n("oJl4"),c=n("hwdV").Buffer;function l(e){var t;"object"!=typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=c.from(e));var n,l,u=a(e,t),d=u.tag,h=u.data;switch(d){case"CERTIFICATE":l=i.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=i.PublicKey.decode(h,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=i.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+d);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=r[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,h=s.pbkdf2Sync(t,n,i,d,"sha1"),f=o.createDecipheriv(a,h,l),p=[];return p.push(f.update(u)),p.push(f.final()),c.concat(p)}(h=i.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(n=(l=i.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:i.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=i.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+d);case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=i.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}e.exports=l,l.signature=i.signature},LGOv:function(e,t,n){e.exports=n("3BRs")},Lhse:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".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:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},Lzq4:function(e,t,n){var i=n("u/Db"),r=n("e/Dd");function a(e){this.mode=i.KANJI,this.data=e}a.getBitsLength=function(e){return 13*e},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){var t;for(t=0;t=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}e.put(n=192*(n>>>8&255)+(255&n),13)}},e.exports=a},"MO+k":function(e,t,n){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(e,n){return function(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[t[i]]=i);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);var o=r[a].channels,s=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:o}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),c=s-o;return s===o?t=0:i===s?t=(r-a)/c:r===s?t=2+(a-i)/c:a===s&&(t=4+(i-r)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?c/(s+o):c/(2-s-o)),100*n]},r.rgb.hsv=function(e){var t,n,i,r,a,o=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),d=function(e){return(l-e)/6/u+.5};return 0===u?r=a=0:(a=u/l,t=d(o),n=d(s),i=d(c),o===l?r=i-n:s===l?r=1/3+t-i:c===l&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[360*r,100*a,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-r)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var i=n[e];if(i)return i;var r,a,o,s=1/0;for(var c in t)if(t.hasOwnProperty(c)){var l=(a=e,o=t[c],Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],a=t[2];return i/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(e){var t,n,i,r,a,o=e[0]/360,s=e[1]/100,c=e[2]/100;if(0===s)return[a=255*c,a,a];t=2*c-(n=c<.5?c*(1+s):c+s-c*s),r=[0,0,0];for(var l=0;l<3;l++)(i=o+1/3*-(l-1))<0&&i++,i>1&&i--,r[l]=255*(a=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t);return r},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=a<=1?a:2-a,[t,100*(0===i?2*r/(a+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,o];case 1:return[s,i,o];case 2:return[o,i,c];case 3:return[o,s,i];case 4:return[c,o,i];case 5:return[i,o,s]}},r.hsv.hsl=function(e){var t,n,i,r=e[0],a=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return i=(2-a)*o,n=a*s,[r,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(i/=2)]},r.hwb.rgb=function(e){var t,n,i,r,a,o,s,c=e[0]/360,l=e[1]/100,u=e[2]/100,d=l+u;switch(d>1&&(l/=d,u/=d),i=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(i=1-i),r=l+i*((n=1-u)-l),t){default:case 6:case 0:a=n,o=r,s=l;break;case 1:a=r,o=n,s=l;break;case 2:a=l,o=n,s=r;break;case 3:a=l,o=r,s=n;break;case 4:a=r,o=l,s=n;break;case 5:a=n,o=l,s=r}return[255*a,255*o,255*s]},r.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-i)+i)),255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,t=(t=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(e){var t,n,i;t=e[1]/500+(n=(e[0]+16)/116),i=n-e[2]/200;var r=Math.pow(n,3),a=Math.pow(t,3),o=Math.pow(i,3);return n=r>.008856?r:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,i=o>.008856?o:(i-16/116)/7.787,[t*=95.047,n*=100,i*=108.883]},r.lab.lch=function(e){var t,n=e[0],i=e[1],r=e[2];return(t=360*Math.atan2(r,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+r*r),t]},r.lch.lab=function(e){var t,n=e[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],a=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(o+=60),o},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.max(Math.max(n,i),r),o=Math.min(Math.min(n,i),r),s=a-o;return t=s<=0?0:a===n?(i-r)/s%6:a===i?2+(r-n)/s:4+(n-i)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(e){var t,n=e[1]/100,i=e[2]/100,r=0;return(t=i<.5?2*n*i:2*n*(1-i))<1&&(r=(i-.5*t)/(1-t)),[e[0],100*t,100*r]},r.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,i=0;return n<1&&(i=(t-n)/(1-n)),[e[0],100*n,100*i]},r.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var i,r=[0,0,0],a=e[0]/360%1*6,o=a%1,s=1-o;switch(Math.floor(a)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return[255*(t*r[0]+(i=(1-t)*n)),255*(t*r[1]+i),255*(t*r[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=1-e[2]/100,n=t-e[1]/100,i=0;return n<1&&(i=(t-n)/(1-n)),[e[0],100*n,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(n={exports:{}}),n.exports}();function i(e,t){return function(n){return t(e(n))}}function r(e,t){for(var r=[t[e].parent,e],a=n[t[e].parent][e],o=t[e].parent;t[o].parent;)r.unshift(t[o].parent),a=i(n[t[o].parent][o],a),o=t[o].parent;return a.conversion=r,a}var a={};Object.keys(n).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(n),i=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var i=n.length,r=0;r1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(i)}))}));var o=a,s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c={getRgba:l,getHsla:u,getRgb:function(e){var t=l(e);return t&&t.slice(0,3)},getHsl:function(e){var t=u(e);return t&&t.slice(0,3)},getHwb:d,getAlpha:function(e){var t=l(e);return t?t[3]:(t=u(e))?t[3]:(t=d(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+_(e[0])+_(e[1])+_(e[2])+(t>=0&&t<1?_(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:h,percentString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:f,hslString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:p,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return b[e.slice(0,3)]}};function l(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var a=0;an?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,i=void 0===t?.5:t,r=2*i-1,a=this.alpha()-n.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new v,i=this.values,r=n.values;for(var a in i)i.hasOwnProperty(a)&&("[object Array]"===(t={}.toString.call(e=i[a]))?r[a]=e.slice(0):"[object Number]"===t?r[a]=e:console.error("unexpected color value:",e));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},v.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},v.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i=0;r--)t.call(n,e[r],r);else for(r=0;r=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-x.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*x.easeInBounce(2*e):.5*x.easeOutBounce(2*e-1)+.5}},M={effects:x};S.easingEffects=x;var L=Math.PI,O=L/180,D=2*L,T=L/2,A=L/4,E=2*L/3,P={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,r,a){if(a){var o=Math.min(a,r/2,i/2),s=t+o,c=n+o,l=t+i-o,u=n+r-o;e.moveTo(t,c),st.left-1e-6&&e.xt.top-1e-6&&e.y0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,i,r=this.animations,a=0;a=n?(H.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(a,1)):++a}},$=H.options.resolve,Z=["push","pop","shift","splice","unshift"];function X(e,t){var n=e._chartjs;if(n){var i=n.listeners,r=i.indexOf(t);-1!==r&&i.splice(r,1),i.length>0||(Z.forEach((function(t){delete e[t]})),delete e._chartjs)}}var Q=function(e,t){this.initialize(e,t)};H.extend(Q.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,i=this.getDataset(),r=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!i.xAxisID||(e.xAxisID=i.xAxisID||r.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!i.yAxisID||(e.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&X(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(e=0,t=i.length;en&&this.insertElements(n,i-n)},insertElements:function(e,t){for(var n=0;nr?e.arc(o,s,t.innerRadius-r,i+(a=r/t.innerRadius),n-a,!0):e.arc(o,s,r,i+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}j._set("global",{elements:{arc:{backgroundColor:j.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ie=q.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)s;)r-=te;for(;r=o&&r<=s&&a>=n.innerRadius&&a<=n.outerRadius}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/te)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+te,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e=a.left&&t<=a.right)&&(r||n>=a.top&&n<=a.bottom)}j._set("global",{elements:{rectangle:{backgroundColor:de,borderColor:de,borderSkipped:"bottom",borderWidth:0}}});var _e=q.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=fe(e),n=t.right-t.left,i=t.bottom-t.top,r=function(e,t,n){var i,r,a,o,s=e.borderWidth,c=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=pe(t,"left","right")):e.basen?n:i,r:c.right||r<0?0:r>t?t:r,b:c.bottom||a<0?0:a>n?n:a,l:c.left||o<0?0:o>t?t:o}}(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(t),i=n.outer,r=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(e.save(),e.beginPath(),e.rect(i.x,i.y,i.w,i.h),e.clip(),e.fillStyle=t.borderColor,e.rect(r.x,r.y,r.w,r.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return me(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return he(n)?me(n,e,null):me(n,null,t)},inXRange:function(e){return me(this._view,e,null)},inYRange:function(e){return me(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return he(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return he(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),be={},ge=oe,ve=ue,ye=_e;be.Arc=ie,be.Line=ge,be.Point=ve,be.Rectangle=ye;var ke=H._deprecated,we=H.valueOrDefault;j._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),j._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ce=ee.extend({dataElementType:be.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ee.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,ke("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),ke("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),ke("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),ke("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),ke("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t=0&&m.min>=0?m.min:m.max,y=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,k=p.length;if(b||void 0===b&&void 0!==g)for(i=0;i=0&&l.max>=0?l.max:l.min,(m.min<0&&a<0||m.max>=0&&a>0)&&(v+=a));return o=d.getPixelForValue(v),c=(s=d.getPixelForValue(v+y))-o,void 0!==_&&Math.abs(c)<_&&(c=_,s=y>=0&&!h||y<0&&h?o-_:o+_),{size:c,base:o,head:s,center:s+c/2}},calculateBarIndexPixels:function(e,t,n,i){var r="flex"===i.barThickness?function(e,t,n){var i,r=t.pixels,a=r[e],o=e>0?r[e-1]:null,s=e0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(t.scale,t.pixels):-1;return H.isNullOrUndef(a)?(i=c*n.categoryPercentage,r=n.barPercentage):(i=a*o,r=1),{chunk:i/o,ratio:r,start:s-i/2}}(t,n,i),a=this.getStackIndex(e,this.getMeta().stack),o=r.start+r.chunk*a+r.chunk/2,s=Math.min(we(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,a=0;for(H.canvas.clipArea(e.ctx,e.chartArea);a=Oe?-De:_<-Oe?De:0)+p,g=Math.cos(_),v=Math.sin(_),y=Math.cos(b),k=Math.sin(b),w=_<=0&&b>=0||b>=De,C=_<=Te&&b>=Te||b>=De+Te,S=_<=-Te&&b>=-Te||b>=Oe+Te,x=_===-Oe||b>=Oe?-1:Math.min(g,g*f,y,y*f),M=S?-1:Math.min(v,v*f,k,k*f),L=w?1:Math.max(g,g*f,y,y*f),O=C?1:Math.max(v,v*f,k,k*f);s=(L-x)/2,c=(O-M)/2,l=-(L+x)/2,u=-(O+M)/2}for(t=0,n=h.length;t0&&!isNaN(e)?De*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,i,r,a,o,s,c,l=0,u=this.chart;if(!e)for(t=0,n=u.data.datasets.length;t(l=(s=o.borderWidth)>l?s:l)?c:l);return l},setHoverStyle:function(e){var t=e._model,n=e._options,i=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Le(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Le(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Le(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n0&&Ie(c[e-1]._model,s)&&(n.controlPointPreviousX=l(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=l(n.controlPointPreviousY,s.top,s.bottom)),e0&&(a=e.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(e,t){return Ze(e,t,{intersect:!1})},point:function(e,t){return Ke(e,qe(t,e))},nearest:function(e,t,n){var i=qe(t,e);n.axis=n.axis||"xy";var r=$e(n.axis);return Ge(e,i,n.intersect,r)},x:function(e,t,n){var i=qe(t,e),r=[],a=!1;return Je(e,(function(e){e.inXRange(i.x)&&r.push(e),e.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r},y:function(e,t,n){var i=qe(t,e),r=[],a=!1;return Je(e,(function(e){e.inYRange(i.y)&&r.push(e),e.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r}}},Qe=H.extend;function et(e,t){return H.where(e,(function(e){return e.pos===t}))}function tt(e,t){return e.sort((function(e,n){var i=t?n:e,r=t?e:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function nt(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function it(e,t,n){var i,r,a=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,e[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=t.outerWidth-nt(o,e,"left","right"),r=t.outerHeight-nt(o,e,"top","bottom"),i!==e.w||r!==e.h){e.w=i,e.h=r;var c=n.horizontal?[i,e.w]:[r,e.h];return!(c[0]===c[1]||isNaN(c[0])&&isNaN(c[1]))}}function rt(e,t){var n,i=t.maxPadding;return n={left:0,top:0,right:0,bottom:0},(e?["left","right"]:["top","bottom"]).forEach((function(e){n[e]=Math.max(t[e],i[e])})),n}function at(e,t,n){var i,r,a,o,s,c,l=[];for(i=0,r=e.length;i div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&st.default||st,ut=["animationstart","webkitAnimationStart"],dt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ht(e,t){var n=H.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var ft=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(n){}return e}()&&{passive:!0};function pt(e,t,n){e.addEventListener(t,n,ft)}function mt(e,t,n){e.removeEventListener(t,n,ft)}function _t(e,t,n,i,r){return{type:e,chart:t,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function bt(e){var t=document.createElement("div");return t.className=e||"",t}var gt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e.$chartjs||(e.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(t)),e.appendChild(i)}}(t.host?t:document.head,lt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e.$chartjs={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var a=ht(e,"width");void 0!==a&&(e.width=a)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=ht(e,"height");void 0!==a&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var i=n[e];H.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),H.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=n.$chartjs||(n.$chartjs={});pt(i,t,(r.proxies||(r.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=dt[e.type]||e.type,i=H.getRelativePosition(e,t);return _t(n,t,i.x,i.y,e)}(t,e))})}else!function(e,t,n){var i,r,a,o,s=e.$chartjs||(e.$chartjs={}),c=s.resizer=function(e){var t=bt("chartjs-size-monitor"),n=bt("chartjs-size-monitor-expand"),i=bt("chartjs-size-monitor-shrink");n.appendChild(bt()),i.appendChild(bt()),t.appendChild(n),t.appendChild(i),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){t._reset(),e()};return pt(n,"scroll",r.bind(n,"expand")),pt(i,"scroll",r.bind(i,"shrink")),t}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&e.parentNode,r=i?i.clientWidth:0;t(_t("resize",n)),i&&i.clientWidth0){var a=e[0];a.label?n=a.label:a.xLabel?n=a.xLabel:r>0&&a.index-1?e.split("\n"):e}function Lt(e){var t=j.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:wt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:wt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:wt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:wt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:wt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:wt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:wt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:wt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:wt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Ot(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Dt(e){return xt([],Mt(e))}var Tt=q.extend({initialize:function(){this._model=Lt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,i=n.beforeTitle.apply(e,arguments),r=n.title.apply(e,arguments),a=n.afterTitle.apply(e,arguments),o=[];return o=xt(o,Mt(i)),o=xt(o,Mt(r)),xt(o,Mt(a))},getBeforeBody:function(){return Dt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,i=n._options.callbacks,r=[];return H.each(e,(function(e){var a={before:[],lines:[],after:[]};xt(a.before,Mt(i.beforeLabel.call(n,e,t))),xt(a.lines,i.label.call(n,e,t)),xt(a.after,Mt(i.afterLabel.call(n,e,t))),r.push(a)})),r},getAfterBody:function(){return Dt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),i=t.footer.apply(e,arguments),r=t.afterFooter.apply(e,arguments),a=[];return a=xt(a,Mt(n)),a=xt(a,Mt(i)),xt(a,Mt(r))},update:function(e){var t,n,i,r,a,o,s,c,l,u,d=this,h=d._options,f=d._model,p=d._model=Lt(h),m=d._active,_=d._data,b={xAlign:f.xAlign,yAlign:f.yAlign},g={x:f.x,y:f.y},v={width:f.width,height:f.height},y={x:f.caretX,y:f.caretY};if(m.length){p.opacity=1;var k=[],w=[];y=St[h.position].call(d,m,d._eventPosition);var C=[];for(t=0,n=m.length;ti.width&&(r=i.width-t.width),r<0&&(r=0)),"top"===c?a+=l:a-="bottom"===c?t.height+l:t.height/2,"center"===c?"left"===s?r+=l:"right"===s&&(r-=l):"left"===s?r-=u:"right"===s&&(r+=u),{x:r,y:a}}(p,v,b=function(e,t){var n,i,r,a,o,s=e._model,c=e._chart,l=e._chart.chartArea,u="center",d="center";s.yc.height-t.height&&(d="bottom");var h=(l.left+l.right)/2,f=(l.top+l.bottom)/2;"center"===d?(n=function(e){return e<=h},i=function(e){return e>h}):(n=function(e){return e<=t.width/2},i=function(e){return e>=c.width-t.width/2}),r=function(e){return e+t.width+s.caretSize+s.caretPadding>c.width},a=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},n(s.x)?(u="left",r(s.x)&&(u="center",d=o(s.y))):i(s.x)&&(u="right",a(s.x)&&(u="center",d=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:d}}(this,v),d._chart)}else p.opacity=0;return p.xAlign=b.xAlign,p.yAlign=b.yAlign,p.x=g.x,p.y=g.y,p.width=v.width,p.height=v.height,p.caretX=y.x,p.caretY=y.y,d._model=p,e&&h.custom&&h.custom.call(d,p),d},drawCaret:function(e,t){var n=this._chart.ctx,i=this.getCaretPosition(e,t,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var i,r,a,o,s,c,l=n.caretSize,u=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,_=t.height;if("center"===h)s=p+_/2,"left"===d?(r=(i=f)-l,a=i,o=s+l,c=s-l):(r=(i=f+m)+l,a=i,o=s-l,c=s+l);else if("left"===d?(i=(r=f+u+l)-l,a=r+l):"right"===d?(i=(r=f+m-u-l)-l,a=r+l):(i=(r=n.caretX)-l,a=r+l),"top"===h)s=(o=p)-l,c=o;else{s=(o=p+_)+l,c=o;var b=a;a=i,i=b}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:c}},drawTitle:function(e,t,n){var i,r,a,o=t.title,s=o.length;if(s){var c=Ct(t.rtl,t.x,t.width);for(e.x=Ot(t,t._titleAlign),n.textAlign=c.textAlign(t._titleAlign),n.textBaseline="middle",i=t.titleFontSize,r=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=H.fontString(i,t._titleFontStyle,t._titleFontFamily),a=0;a0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=r,this.drawBackground(i,t,e,n),i.y+=t.yPadding,H.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),H.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),i.reverse&&n._active.reverse()),(t=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}});Tt.positioners=St;var At=H.valueOrDefault;function Et(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var r,a,o,s=n[e].length;for(t[e]||(t[e]=[]),r=0;r=t[e].length&&t[e].push({}),H.merge(t[e][r],!t[e][r].type||o.type&&o.type!==t[e][r].type?[kt.getScaleDefaults(a),o]:o)}else H._merger(e,t,n,i)}})}function Pt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){var r=t[e]||Object.create(null),a=n[e];"scales"===e?t[e]=Et(r,a):"scale"===e?t[e]=H.merge(r,[kt.getScaleDefaults(a.type),a]):H._merger(e,t,n,i)}})}function Rt(e){var t=e.options;H.each(e.scales,(function(t){ct.removeBox(e,t)})),t=Pt(j.global,j[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function It(e,t,n){var i,r=function(e){return e.id===i};do{i=t+n++}while(H.findIndex(e,r)>=0);return i}function jt(e){return"top"===e||"bottom"===e}function Yt(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}j._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Vt=function(e,t){return this.construct(e,t),this};H.extend(Vt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Pt(j.global,j[e.type],e.options||{}),e}(t);var i=vt.acquireContext(e,t),r=i&&i.canvas,a=r&&r.height,o=r&&r.width;n.id=H.uid(),n.ctx=i,n.canvas=r,n.config=t,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Vt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return yt.notify(e,"beforeInit"),H.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),yt.notify(e,"afterInit"),e},clear:function(){return H.canvas.clear(this),this},stop:function(){return G.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,r=n.maintainAspectRatio&&t.aspectRatio||null,a=Math.max(0,Math.floor(H.getMaximumWidth(i))),o=Math.max(0,Math.floor(r?a/r:H.getMaximumHeight(i)));if((t.width!==a||t.height!==o)&&(i.width=t.width=a,i.height=t.height=o,i.style.width=a+"px",i.style.height=o+"px",H.retinaScale(t,n.devicePixelRatio),!e)){var s={width:a,height:o};yt.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;H.each(t.xAxes,(function(e,n){e.id||(e.id=It(t.xAxes,"x-axis-",n))})),H.each(t.yAxes,(function(e,n){e.id||(e.id=It(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},i=[],r=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(i=i.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&i.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(i,(function(t){var i=t.options,a=i.id,o=At(i.type,t.dtype);jt(i.position)!==jt(t.dposition)&&(i.position=t.dposition),r[a]=!0;var s=null;if(a in n&&n[a].type===o)(s=n[a]).options=i,s.ctx=e.ctx,s.chart=e;else{var c=kt.getScaleConstructor(o);if(!c)return;s=new c({id:a,type:o,options:i,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),H.each(r,(function(e,t){e||delete n[t]})),e.scales=n,kt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,i=[],r=n.data.datasets;for(e=0,t=r.length;e=0;--n)this.drawDataset(t[n],e);yt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==yt.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),yt.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==yt.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),yt.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return Xe.modes.single(this,e)},getElementsAtEvent:function(e){return Xe.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Xe.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=Xe.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return Xe.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var r=H.log10(Math.abs(i)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=H.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(r);s=Math.max(Math.min(s,20),0),a=e.toExponential(s)}else{var c=-1*Math.floor(r);c=Math.max(Math.min(c,20),0),a=e.toFixed(c)}else a="0";return a},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(H.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}},Nt=H.isArray,Ut=H.isNullOrUndef,qt=H.valueOrDefault,Jt=H.valueAtIndexOrDefault;function Kt(e,t,n){var i,r=e.getTicks().length,a=Math.min(t,r-1),o=e.getPixelForTick(a),s=e._startPixel,c=e._endPixel;if(!(n&&(i=1===r?Math.max(o-s,c-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(a-1))/2,(o+=ac+1e-6)))return o}function Gt(e){return e.drawTicks?e.tickMarkLength:0}function $t(e){var t,n;return e.display?(t=H.options._parseFont(e),n=H.options.toPadding(e.padding),t.lineHeight+n.height):0}function Zt(e,t){return H.extend(H.options._parseFont({fontFamily:qt(t.fontFamily,e.fontFamily),fontSize:qt(t.fontSize,e.fontSize),fontStyle:qt(t.fontStyle,e.fontStyle),lineHeight:qt(t.lineHeight,e.lineHeight)}),{color:H.options.resolve([t.fontColor,e.fontColor,j.global.defaultFontColor])})}function Xt(e){var t=Zt(e,e.minor);return{minor:t,major:e.major.enabled?Zt(e,e.major):t}}function Qt(e){var t,n,i,r=[];for(n=0,i=e.length;n=h||u<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,i=Math.min(s.maxWidth,s.chart.width-t),t+6>(r=c.offset?s.maxWidth/u:i/(u-1))&&(r=i/(u-(c.offset?.5:1)),a=s.maxHeight-Gt(c.gridLines)-l.padding-$t(c.scaleLabel),o=Math.sqrt(t*t+n*n),f=H.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/r,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,i=e.options,r=i.ticks,a=i.scaleLabel,o=i.gridLines,s=e._isVisible(),c="bottom"===i.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:s&&(t.width=Gt(o)+$t(a)),l?s&&(t.height=Gt(o)+$t(a)):t.height=e.maxHeight,r.display&&s){var u=Xt(r),d=e._getLabelSizes(),h=d.first,f=d.last,p=d.widest,m=d.highest,_=.4*u.minor.lineHeight,b=r.padding;if(l){var g=0!==e.labelRotation,v=H.toRadians(e.labelRotation),y=Math.cos(v),k=Math.sin(v);t.height=Math.min(e.maxHeight,t.height+(k*p.width+y*(m.height-(g?m.offset:0))+(g?0:_))+b);var w,C,S=e.getPixelForTick(0)-e.left,x=e.right-e.getPixelForTick(e.getTicks().length-1);g?(w=c?y*h.width+k*h.offset:k*(h.height-h.offset),C=c?k*(f.height-f.offset):y*f.width+k*f.offset):(w=h.width/2,C=f.width/2),e.paddingLeft=Math.max((w-S)*e.width/(e.width-S),0)+3,e.paddingRight=Math.max((C-x)*e.width/(e.width-x),0)+3}else t.width=Math.min(e.maxWidth,t.width+(r.mirror?0:p.width+b+_)),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}e.handleMargins(),l?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Ut(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,i,r=this;for(r.ticks=e.map((function(e){return e.value})),r.beforeTickToLabelConversion(),t=r.convertTicksToLabels(e)||r.ticks,r.afterTickToLabelConversion(),n=0,i=e.length;nt){for(n=0;nn-1?null:this.getPixelForDecimal(e*i+(t?i/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,i,r,a=this.options.ticks,o=a.maxTicksLimit||this._length/this._tickSize()+1,s=a.major.enabled?function(e){var t,n,i=[];for(t=0,n=e.length;to)return function(e,t,n){var i,r,a=0,o=t[0];for(n=Math.ceil(n),i=0;il)return a;return Math.max(l,1)}(s,e,0,o),c>0){for(t=0,n=c-1;t1?(u-l)/(c-1):null)?0:l-r,l),en(e,i,u,H.isNullOrUndef(r)?e.length:u+r),Qt(e)}return en(e,i),Qt(e)},_tickSize:function(){var e=this.options.ticks,t=H.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),r=this._getLabelSizes(),a=e.autoSkipPadding||0,o=r?r.widest.width+a:0,s=r?r.highest.height+a:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i=0&&(o=e),void 0!==a&&(e=n.indexOf(a))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;nn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var i,r,a,o=this;return rn(t)||rn(n)||(e=o.chart.data.datasets[n].data[t]),rn(e)||(i=o.isHorizontal()?e.x:e.y),(void 0!==i||void 0!==e&&isNaN(t))&&(r=o._getLabels(),e=H.valueOrDefault(i,e),t=-1!==(a=r.indexOf(e))?a:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});an._defaults={position:"bottom"};var on=H.isNullOrUndef,sn=nn.extend({getRightValue:function(e){return"string"==typeof e?+e:nn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=H.sign(e.min),i=H.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(e.min=null===e.min?t.suggestedMin:Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(e.max=null===e.max?t.suggestedMax:Math.max(e.max,t.suggestedMax)),r!==a&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,i=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:H.noop,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:H.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var n,i,r,a,o=[],s=e.stepSize,c=s||1,l=e.maxTicks-1,u=e.min,d=e.max,h=e.precision,f=t.min,p=t.max,m=H.niceNum((p-f)/l/c)*c;if(m<1e-14&&on(u)&&on(d))return[f,p];(a=Math.ceil(p/m)-Math.floor(f/m))>l&&(m=H.niceNum(a*m/l/c)*c),s||on(h)?n=Math.pow(10,H._decimalPlaces(m)):(n=Math.pow(10,h),m=Math.ceil(m*n)/n),i=Math.floor(f/m)*m,r=Math.ceil(p/m)*m,s&&(!on(u)&&H.almostWhole(u/m,m/1e3)&&(i=u),!on(d)&&H.almostWhole(d/m,m/1e3)&&(r=d)),a=H.almostEquals(a=(r-i)/m,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),i=Math.round(i*n)/n,r=Math.round(r*n)/n,o.push(on(u)?i:u);for(var _=1;_t.length-1?null:this.getPixelForValue(t[e])}});dn._defaults=cn;var hn=H.valueOrDefault,fn=H.math.log10,pn={position:"left",ticks:{callback:zt.formatters.logarithmic}};function mn(e,t){return H.isFinite(e)&&e>=0?e:t}var _n=nn.extend({determineDataLimits:function(){var e,t,n,i,r,a,o=this,s=o.options,c=o.chart,l=c.data.datasets,u=o.isHorizontal();function d(e){return u?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e0){var t=H.min(e),n=H.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e0?e.min:e.max<1?Math.pow(10,Math.floor(fn(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:mn(t.min),max:mn(t.max)},r=e.ticks=function(e,t){var n,i,r=[],a=hn(e.min,Math.pow(10,Math.floor(fn(t.min)))),o=Math.floor(fn(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===a?(n=Math.floor(fn(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),r.push(a),a=i*Math.pow(10,n)):(n=Math.floor(fn(a)),i=Math.floor(a/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(a),10==++i&&(i=1,c=++n>=0?1:c),a=Math.round(i*Math.pow(10,n)*c)/c}while(nt.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(fn(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;nn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=hn(e.options.ticks.fontSize,j.global.defaultFontSize)/e._length),e._startValue=fn(t),e._valueOffset=n,e._valueRange=(fn(e.max)-fn(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(fn(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}});_n._defaults=pn;var bn=H.valueOrDefault,gn=H.valueAtIndexOrDefault,vn=H.options.resolve,yn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:zt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function kn(e){var t=e.ticks;return t.display&&e.display?bn(t.fontSize,j.global.defaultFontSize)+2*t.backdropPaddingY:0}function wn(e,t,n,i,r){return e===i||e===r?{start:t-n/2,end:t+n/2}:er?{start:t-n,end:t}:{start:t,end:t+n}}function Cn(e){return 0===e||180===e?"center":e<180?"left":"right"}function Sn(e,t,n,i){var r,a,o=n.y+i/2;if(H.isArray(t))for(r=0,a=t.length;r270||e<90)&&(n.y-=t.h)}function Mn(e){return H.isNumber(e)?e:0}var Ln=sn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=kn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;H.each(t.data.datasets,(function(r,a){if(t.isDatasetVisible(a)){var o=t.getDatasetMeta(a);H.each(r.data,(function(t,r){var a=+e.getRightValue(t);isNaN(a)||o.data[r].hidden||(n=Math.min(a,n),i=Math.max(a,i))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=i===Number.NEGATIVE_INFINITY?0:i,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/kn(this.options))},convertTicksToLabels:function(){var e=this;sn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=H.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,i,r=H.options._parseFont(e.options.pointLabels),a={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=r.string,e._pointLabelSizes=[];var s,c,l,u=e.chart.data.labels.length;for(t=0;ta.r&&(a.r=f.end,o.r=d),p.starta.b&&(a.b=p.end,o.b=d)}e.setReductions(e.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var i=this,r=t.l/Math.sin(n.l),a=Math.max(t.r-i.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),s=-Math.max(t.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=Mn(r),a=Mn(a),o=Mn(o),s=Mn(s),i.drawingArea=Math.min(Math.floor(e-(r+a)/2),Math.floor(e-(o+s)/2)),i.setCenterPoint(r,a,o,s)},setCenterPoint:function(e,t,n,i){var r=this,a=n+r.drawingArea,o=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((e+r.drawingArea+(r.width-t-r.drawingArea))/2+r.left),r.yCenter=Math.floor((a+o)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(H.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,i=this,r=i.ctx,a=i.options,o=a.gridLines,s=a.angleLines,c=bn(s.lineWidth,o.lineWidth),l=bn(s.color,o.color);if(a.pointLabels.display&&function(e){var t=e.ctx,n=e.options,i=n.pointLabels,r=kn(n),a=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=H.options._parseFont(i);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var c=e.getPointPosition(s,a+(0===s?r/2:0)+5),l=gn(i.fontColor,s,j.global.defaultFontColor);t.fillStyle=l;var u=e.getIndexAngle(s),d=H.toDegrees(u);t.textAlign=Cn(d),xn(d,e._pointLabelSizes[s],c),Sn(t,e.pointLabels[s],c,o.lineHeight)}t.restore()}(i),o.display&&H.each(i.ticks,(function(e,n){0!==n&&(t=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(e,t,n,i){var r,a=e.ctx,o=t.circular,s=e.chart.data.labels.length,c=gn(t.color,i-1),l=gn(t.lineWidth,i-1);if((o||s)&&c&&l){if(a.save(),a.strokeStyle=c,a.lineWidth=l,a.setLineDash&&(a.setLineDash(t.borderDash||[]),a.lineDashOffset=t.borderDashOffset||0),a.beginPath(),o)a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{r=e.getPointPosition(0,n),a.moveTo(r.x,r.y);for(var u=1;u=0;e--)t=i.getDistanceFromCenterForValue(a.ticks.reverse?i.min:i.max),n=i.getPointPosition(e,t),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var i,r,a=e.getIndexAngle(0),o=H.options._parseFont(n),s=bn(n.fontColor,j.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",H.each(e.ticks,(function(a,c){(0!==c||n.reverse)&&(i=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),n.showLabelBackdrop&&(r=t.measureText(a).width,t.fillStyle=n.backdropColor,t.fillRect(-r/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(a,0,-i))})),t.restore()}},_drawTitle:H.noop});Ln._defaults=yn;var On=H._deprecated,Dn=H.options.resolve,Tn=H.valueOrDefault,An=Number.MIN_SAFE_INTEGER||-9007199254740991,En=Number.MAX_SAFE_INTEGER||9007199254740991,Pn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Rn=Object.keys(Pn);function In(e,t){return e-t}function jn(e){return H.valueOrDefault(e.time.min,e.ticks.min)}function Yn(e){return H.valueOrDefault(e.time.max,e.ticks.max)}function Vn(e,t,n,i){var r=function(e,t,n){for(var i,r,a,o=0,s=e.length-1;o>=0&&o<=s;){if(a=e[i=o+s>>1],!(r=e[i-1]||null))return{lo:null,hi:a};if(a[t]n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(e,t,n),a=r.lo?r.hi?r.lo:e[e.length-2]:e[0],o=r.lo?r.hi?r.hi:e[e.length-1]:e[1],s=o[t]-a[t];return a[i]+(o[i]-a[i])*(s?(n-a[t])/s:0)}function Wn(e,t){var n=e._adapter,i=e.options.time,r=i.parser,a=r||i.format,o=t;return"function"==typeof r&&(o=r(o)),H.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(r||"function"!=typeof a||(o=a(t),H.isFinite(o)||(o=n.parse(o))),o)}function Fn(e,t){if(H.isNullOrUndef(t))return null;var n=e.options.time,i=Wn(e,e.getRightValue(t));return null===i?i:(n.round&&(i=+e._adapter.startOf(i,n.round)),i)}function Hn(e,t,n,i){var r,a,o=Rn.length;for(r=Rn.indexOf(e);r=0&&(t[a].major=!0);return t}(e,a,o,n):a}var zn=nn.extend({initialize:function(){this.mergeTicksOptions(),nn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),i=e._adapter=new Bt._date(t.adapters.date);return On("time scale",n.format,"time.format","time.parser"),On("time scale",n.min,"time.min","ticks.min"),On("time scale",n.max,"time.max","ticks.max"),H.mergeIf(n.displayFormats,i.formats()),nn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),nn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,r,a,o,s=this,c=s.chart,l=s._adapter,u=s.options,d=u.time.unit||"day",h=En,f=An,p=[],m=[],_=[],b=s._getLabels();for(e=0,n=b.length;e1?function(e){var t,n,i,r={},a=[];for(t=0,n=e.length;t1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+c;for(r=d;r=r&&n<=a&&u.push(n);return i.min=r,i.max=a,i._unit=c.unit||(s.autoSkip?Hn(c.minUnit,i.min,i.max,d):function(e,t,n,i,r){var a,o;for(a=Rn.length-1;a>=Rn.indexOf(n);a--)if(Pn[o=Rn[a]].common&&e._adapter.diff(r,i,o)>=t-1)return o;return Rn[n?Rn.indexOf(n):0]}(i,u.length,c.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(e){for(var t=Rn.indexOf(e)+1,n=Rn.length;tt&&s=0&&e0?s:1}});zn._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Nn={category:an,linear:dn,logarithmic:_n,radialLinear:Ln,time:zn},Un={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Bt._date.override("function"==typeof e?{_id:"moment",formats:function(){return Un},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,i){return e(t).add(n,i).valueOf()},diff:function(t,n,i){return e(t).diff(e(n),i)},startOf:function(t,n,i){return t=e(t),"isoWeek"===n?t.isoWeekday(i).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),j._set("global",{plugins:{filler:{propagate:!0}}});var qn={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),r=i&&n.isDatasetVisible(t)&&i.dataset._children||[],a=r.length||0;return a?function(e,t){return t=n)&&i;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function Kn(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,i,r,a,o=e.el._scale,s=o.options,c=o.chart.data.labels.length,l=e.fill,u=[];if(!c)return null;for(n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,t=s.ticks.reverse?o.max:o.min),r=0;r0;--a)H.canvas.lineTo(e,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,c=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=r-1;a>0;--a)e.arc(o,s,c,n[a].angle,n[a-1].angle,!0)}}function Qn(e,t,n,i,r,a){var o,s,c,l,u,d,h,f,p=t.length,m=i.spanGaps,_=[],b=[],g=0,v=0;for(e.beginPath(),o=0,s=p;o=0;--n)(t=c[n].$filler)&&t.visible&&(a=(i=t.el)._children||[],s=(r=i._view).backgroundColor||j.global.defaultColor,(o=t.mapper)&&s&&a.length&&(H.canvas.clipArea(l,e.chartArea),Qn(l,a,o,r,s,i._loop),H.canvas.unclipArea(l)))}},ti=H.rtl.getRtlAdapter,ni=H.noop,ii=H.valueOrDefault;function ri(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}j._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},i=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var r=n.controller.getStyle(i?0:void 0);return{text:t[n.index].label,fillStyle:r.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),a=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,n=a.length;tc.width)&&(d+=o+n.padding,u[u.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:i,height:o},u[u.length-1]+=i+n.padding})),c.height+=d}else{var h=n.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,_=0,b=0;H.each(e.legendItems,(function(e,t){var i=ri(n,o)+o/2+r.measureText(e.text).width;t>0&&b+o+2*h>c.height&&(m+=_+n.padding,f.push(_),p.push(b),_=0,b=0),_=Math.max(_,i),b+=o+h,s[t]={left:0,top:0,width:i,height:o}})),m+=_,f.push(_),p.push(b),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:ni,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=j.global,r=i.defaultColor,a=i.elements.line,o=e.height,s=e.columnHeights,c=e.width,l=e.lineWidths;if(t.display){var u,d=ti(t.rtl,e.left,e.minSize.width),h=e.ctx,f=ii(n.fontColor,i.defaultFontColor),p=H.options._parseFont(n),m=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var _=ri(n,m),b=e.legendHitBoxes,g=function(e,i){switch(t.align){case"start":return n.padding;case"end":return e-i;default:return(e-i+n.padding)/2}},v=e.isHorizontal();u=v?{x:e.left+g(c,l[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+g(o,s[0]),line:0},H.rtl.overrideTextDirection(e.ctx,t.textDirection);var y=m+n.padding;H.each(e.legendItems,(function(t,i){var f=h.measureText(t.text).width,p=_+m/2+f,k=u.x,w=u.y;d.setWidth(e.minSize.width),v?i>0&&k+p+n.padding>e.left+e.minSize.width&&(w=u.y+=y,u.line++,k=u.x=e.left+g(c,l[u.line])):i>0&&w+y>e.top+e.minSize.height&&(k=u.x=k+e.columnWidths[u.line]+n.padding,u.line++,w=u.y=e.top+g(o,s[u.line]));var C=d.x(k);!function(e,t,i){if(!(isNaN(_)||_<=0)){h.save();var o=ii(i.lineWidth,a.borderWidth);if(h.fillStyle=ii(i.fillStyle,r),h.lineCap=ii(i.lineCap,a.borderCapStyle),h.lineDashOffset=ii(i.lineDashOffset,a.borderDashOffset),h.lineJoin=ii(i.lineJoin,a.borderJoinStyle),h.lineWidth=o,h.strokeStyle=ii(i.strokeStyle,r),h.setLineDash&&h.setLineDash(ii(i.lineDash,a.borderDash)),n&&n.usePointStyle){var s=_*Math.SQRT2/2,c=d.xPlus(e,_/2);H.canvas.drawPoint(h,i.pointStyle,s,c,t+m/2,i.rotation)}else h.fillRect(d.leftForLtr(e,_),t,_,m),0!==o&&h.strokeRect(d.leftForLtr(e,_),t,_,m);h.restore()}}(C,w,t),b[i].left=d.leftForLtr(C,b[i].width),b[i].top=w,function(e,t,n,i){var r=m/2,a=d.xPlus(e,_+r),o=t+r;h.fillText(n.text,a,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(a,o),h.lineTo(d.xPlus(a,i),o),h.stroke())}(C,w,t,f),v?u.x+=p+n.padding:u.y+=y})),H.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,i,r,a=this;if(e>=a.left&&e<=a.right&&t>=a.top&&t<=a.bottom)for(r=a.legendHitBoxes,n=0;n=(i=r[n]).left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height)return a.legendItems[n];return null},handleEvent:function(e){var t,n=this,i=n.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===r?t&&i.onClick&&i.onClick.call(n,e.native,t):(i.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),i.onHover&&t&&i.onHover.call(n,e.native,t))}});function oi(e,t){var n=new ai({ctx:e.ctx,options:t,chart:e});ct.configure(e,n,t),ct.addBox(e,n),e.legend=n}var si={id:"legend",_element:ai,beforeInit:function(e){var t=e.options.legend;t&&oi(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(H.mergeIf(t,j.global.legend),n?(ct.configure(e,n,t),n.options=t):oi(e,t)):n&&(ct.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},ci=H.noop;j._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var li=q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:ci,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:ci,beforeSetDimensions:ci,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:ci,beforeBuildLabels:ci,buildLabels:ci,afterBuildLabels:ci,beforeFit:ci,fit:function(){var e,t=this,n=t.options,i=t.minSize={},r=t.isHorizontal();n.display?(e=(H.isArray(n.text)?n.text.length:1)*H.options._parseFont(n).lineHeight+2*n.padding,t.width=i.width=r?t.maxWidth:e,t.height=i.height=r?e:t.maxHeight):t.width=i.width=t.height=i.height=0},afterFit:ci,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var i,r,a,o=H.options._parseFont(n),s=o.lineHeight,c=s/2+n.padding,l=0,u=e.top,d=e.left,h=e.bottom,f=e.right;t.fillStyle=H.valueOrDefault(n.fontColor,j.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(r=d+(f-d)/2,a=u+c,i=f-d):(r="left"===n.position?d+c:f-c,a=u+(h-u)/2,i=h-u,l=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(r,a),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var p=n.text;if(H.isArray(p))for(var m=0,_=0;_=0;i--){var r=e[i];if(t(r))return r}},H.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},H.almostEquals=function(e,t,n){return Math.abs(e-t)=e},H.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},H.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},H.toRadians=function(e){return e*(Math.PI/180)},H.toDegrees=function(e){return e*(180/Math.PI)},H._decimalPlaces=function(e){if(H.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},H.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},H.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},H.aliasPixel=function(e){return e%2==0?0:.5},H._alignPixel=function(e,t,n){var i=e.currentDevicePixelRatio,r=n/2;return Math.round((t-r)*i)/i+r},H.splineCurve=function(e,t,n,i){var r=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),c=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),l=s/(s+c),u=c/(s+c),d=i*(l=isNaN(l)?0:l),h=i*(u=isNaN(u)?0:u);return{previous:{x:a.x-d*(o.x-r.x),y:a.y-d*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(e){var t,n,i,r,a,o,s,c,l,u=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=u.length;for(t=0;t0?u[t-1]:null,(r=t0?u[t-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(l=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-l*i.mK),r&&!r.model.skip&&(i.model.controlPointNextX=i.model.x+(l=(r.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+l*i.mK))},H.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},H.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},H.niceNum=function(e,t){var n=Math.floor(H.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},H.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},H.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,a=e.target||e.srcElement,o=a.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var c=parseFloat(H.getStyle(a,"padding-left")),l=parseFloat(H.getStyle(a,"padding-top")),u=parseFloat(H.getStyle(a,"padding-right")),d=parseFloat(H.getStyle(a,"padding-bottom")),h=o.bottom-o.top-l-d;return{x:n=Math.round((n-o.left-c)/(o.right-o.left-c-u)*a.width/t.currentDevicePixelRatio),y:i=Math.round((i-o.top-l)/h*a.height/t.currentDevicePixelRatio)}},H.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},H.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},H._calculatePadding=function(e,t,n){return(t=H.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},H._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},H.getMaximumWidth=function(e){var t=H._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,i=n-H._calculatePadding(t,"padding-left",n)-H._calculatePadding(t,"padding-right",n),r=H.getConstraintWidth(e);return isNaN(r)?i:Math.min(i,r)},H.getMaximumHeight=function(e){var t=H._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,i=n-H._calculatePadding(t,"padding-top",n)-H._calculatePadding(t,"padding-bottom",n),r=H.getConstraintHeight(e);return isNaN(r)?i:Math.min(i,r)},H.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},H.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=e.canvas,r=e.height,a=e.width;i.height=r*n,i.width=a*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},H.fontString=function(e,t,n){return t+" "+e+"px "+n},H.longestText=function(e,t,n,i){var r=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},a=i.garbageCollect=[],i.font=t),e.font=t;var o,s,c,l,u,d=0,h=n.length;for(o=0;on.length){for(o=0;oi&&(i=a),i},H.numberOfLabelLines=function(e){var t=1;return H.each(e,(function(e){H.isArray(e)&&e.length>t&&(t=e.length)})),t},H.color=y?function(e){return e instanceof CanvasGradient&&(e=j.global.defaultColor),y(e)}:function(e){return console.error("Color.js not found!"),e},H.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:H.color(e).saturate(.5).darken(.1).rgbString()}}(),Wt._adapters=Bt,Wt.Animation=K,Wt.animationService=G,Wt.controllers=Ue,Wt.DatasetController=ee,Wt.defaults=j,Wt.Element=q,Wt.elements=be,Wt.Interaction=Xe,Wt.layouts=ct,Wt.platform=vt,Wt.plugins=yt,Wt.Scale=nn,Wt.scaleService=kt,Wt.Ticks=zt,Wt.Tooltip=Tt,Wt.helpers.each(Nn,(function(e,t){Wt.scaleService.registerScaleType(t,e,e._defaults)})),di)di.hasOwnProperty(mi)&&Wt.plugins.register(di[mi]);Wt.platform.initialize();var _i=Wt;return"undefined"!=typeof window&&(window.Chart=Wt),Wt.Chart=Wt,Wt.Legend=di.legend._element,Wt.Title=di.title._element,Wt.pluginService=Wt.plugins,Wt.PluginBase=Wt.Element.extend({}),Wt.canvasHelpers=Wt.helpers.canvas,Wt.layoutService=Wt.layouts,Wt.LinearScaleBase=sn,Wt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Wt[e]=function(t,n){return new Wt(t,Wt.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),_i}(function(){try{return n("wd/R")}catch(e){}}())},MlIO:function(e,t,n){var i,r,a,o,s;e.exports=(s=n("Ib8C"),r=(i=s.lib).Base,a=i.WordArray,(o=s.x64={}).Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),o.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],i=0;i=0&&(o=t,s=n),i.negative&&(i=i.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:a},{a:o,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],i=t[1],r=i.b.mul(e).divRound(this.n),a=n.b.neg().mul(e).divRound(this.n),o=r.mul(n.a),s=a.mul(i.a),c=r.mul(n.b),l=a.mul(i.b);return{k1:e.sub(o).sub(s),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(0!==i.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var a=i.fromRed().isOdd();return(t&&!a||!t&&a)&&(i=i.redNeg()),this.point(e,i)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,i=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(i).redIAdd(this.b);return 0===n.redSqr().redISub(r).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var i=this._endoWnafT1,r=this._endoWnafT2,a=0;a":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),i=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),i=e.redInvm(),r=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(i),a=r.redSqr().redISub(this.x.redAdd(this.x)),o=r.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new r(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var i=[this,t],r=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r):this.curve._wnafMulAdd(1,i,r,2)},l.prototype.jmulAdd=function(e,t,n){var i=[this,t],r=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r,!0):this.curve._wnafMulAdd(1,i,r,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,i=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(u,o.BasePoint),c.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),i=this.y.redMul(t).redMul(e);return this.curve.point(n,i)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(t),r=e.x.redMul(n),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(n.redMul(this.z)),s=i.redSub(r),c=a.redSub(o);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),u=l.redMul(s),d=i.redMul(l),h=c.redSqr().redIAdd(u).redISub(d).redISub(d),f=c.redMul(d.redISub(h)).redISub(a.redMul(u)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,f,p)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,i=e.x.redMul(t),r=this.y,a=e.y.redMul(t).redMul(this.z),o=n.redSub(i),s=r.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),l=c.redMul(o),u=n.redMul(c),d=s.redSqr().redIAdd(l).redISub(u).redISub(u),h=s.redMul(u.redISub(d)).redISub(r.redMul(l)),f=this.z.redMul(o);return this.curve.jpoint(d,h,f)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n=0)return!1;if(n.redIAdd(r),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},MzeL:function(e,t,n){"use strict";var i=t;i.version=n("KAEN").version,i.utils=n("86MQ"),i.rand=n("/ayr"),i.curve=n("QTa/"),i.curves=n("DLvh"),i.ec=n("uagp"),i.eddsa=n("lF1L")},N2jm:function(e,t,n){var i=n("P7XM"),r=n("tjlA").Buffer,a=n("f3pb"),o=a.base,s=a.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.Node.call(this,"der",e)}function u(e){return e<10?"0"+e:e}e.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},i(l,o.Node),l.prototype._encodeComposite=function(e,t,n,i){var a,o=function(e,t,n,i){var r;if("seqof"===e?e="seq":"setof"===e&&(e="set"),s.tagByName.hasOwnProperty(e))r=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return i.error("Unknown tag: "+e);r=e}return r>=31?i.error("Multi-octet tag encoding unsupported"):(t||(r|=32),r|s.tagClassByName[n||"universal"]<<6)}(e,t,n,this.reporter);if(i.length<128)return(a=new r(2))[0]=o,a[1]=i.length,this._createEncoderBuffer([a,i]);for(var c=1,l=i.length;l>=256;l>>=8)c++;(a=new r(2+c))[0]=o,a[1]=128|c,l=1+c;for(var u=i.length;u>0;l--,u>>=8)a[l]=255&u;return this._createEncoderBuffer([a,i])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new r(2*e.length),i=0;i=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var a=0;for(i=0;i=128;o>>=7)a++}var s=new r(a),c=s.length-1;for(i=e.length-1;i>=0;i--)for(s[c--]=127&(o=e[i]);(o>>=7)>0;)s[c--]=128|127&o;return this._createEncoderBuffer(s)},l.prototype._encodeTime=function(e,t){var n,i=new Date(e);return"gentime"===t?n=[u(i.getFullYear()),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(i.getFullYear()%100),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!r.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new r(n)}if(r.isBuffer(e)){var i=e.length;0===e.length&&i++;var a=new r(i);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);i=1;for(var o=e;o>=256;o>>=8)i++;for(o=(a=new Array(i)).length-1;o>=0;o--)a[o]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new r(a))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,n){var i,r=this._baseState;if(null===r.default)return!1;var a=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),a.length!==r.defaultBuffer.length)return!1;for(i=0;i>>2]}},a.BlockCipher=h.extend({cfg:h.cfg.extend({mode:m,padding:_}),reset:function(){h.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else i=n.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==i?this._mode.init(this,t&&t.words):(this._mode=i.call(n,this,t&&t.words),this._mode.__creator=i)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),b=a.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var i=s.create([1398893684,1701076831]).concat(n).concat(t);else i=t;return i.toString(u)},parse:function(e){var t=u.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var i=s.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:i})}},v=a.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var r=e.createEncryptor(n,i),a=r.finalize(t),o=r.cfg;return b.create({ciphertext:a,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,n,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(n,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(r.kdf={}).OpenSSL={execute:function(e,t,n,i){i||(i=s.random(8));var r=d.create({keySize:t+n}).compute(e,i),a=s.create(r.words.slice(t),4*n);return r.sigBytes=4*t,b.create({key:r,iv:a,salt:i})}},k=a.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,n,i){var r=(i=this.cfg.extend(i)).kdf.execute(n,e.keySize,e.ivSize);i.iv=r.iv;var a=v.encrypt.call(this,e,t,r.key,i);return a.mixIn(r),a},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var r=i.kdf.execute(n,e.keySize,e.ivSize,t.salt);return i.iv=r.iv,v.decrypt.call(this,e,t,r.key,i)}}))))},"OZ/i":function(e,t,n){(function(e){!function(e,t){"use strict";function i(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function a(e,t,n){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o=n(2).Buffer}catch(S){}function s(e,t,n){for(var i=0,r=Math.min(e.length,n),a=t;a=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return i}function c(e,t,n,i){for(var r=0,a=Math.min(e.length,n),o=t;o=49?s-49+10:s>=17?s-17+10:s}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&r++,16===t?this._parseHex(e,r):this._parseBase(e,t,r),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(i(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r=0;r-=3)this.words[a]|=(o=e[r]|e[r-1]<<8|e[r-2]<<16)<>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===n)for(r=0,a=0;r>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)r=s(e,n,n+6),this.words[i]|=r<>>26-a&4194303,(a+=24)>=26&&(a-=26,i++);n+6!==t&&(r=s(e,t,n+6),this.words[i]|=r<>>26-a&4194303),this.strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=t)i++;i--,r=r/t|0;for(var a=e.length-n,o=a%i,s=Math.min(a,a-o)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};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"],u=[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],d=[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];function h(e,t,n){n.negative=t.negative^e.negative;var i=e.length+t.length|0;n.length=i,i=i-1|0;var r=0|e.words[0],a=0|t.words[0],o=r*a,s=o/67108864|0;n.words[0]=67108863&o;for(var c=1;c>>26,u=67108863&s,d=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=d;h++)l+=(o=(r=0|e.words[c-h|0])*(a=0|t.words[h])+u)/67108864|0,u=67108863&o;n.words[c]=0|u,s=0|l}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}a.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var r=0,a=0,o=0;o>>24-r&16777215)||o!==this.length-1?l[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==a&&(n=a.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=u[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?m+n:l[h-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return i(void 0!==o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,n){var r=this.byteLength(),a=n||Math.max(1,r);i(r<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0"),this.strip();var o,s,c="le"===t,l=new e(a),u=this.clone();if(c){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),l[s]=o;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},a.prototype.bitLength=function(){var e=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var i=0;ie.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-n),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var n=e/26|0,r=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,i=e):(n=e,i=this);for(var r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,i,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=e):(n=e,i=this);for(var a=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==a&&o>26,this.words[o]=67108863&t;if(0===a&&o>>13,f=0|o[1],p=8191&f,m=f>>>13,_=0|o[2],b=8191&_,g=_>>>13,v=0|o[3],y=8191&v,k=v>>>13,w=0|o[4],C=8191&w,S=w>>>13,x=0|o[5],M=8191&x,L=x>>>13,O=0|o[6],D=8191&O,T=O>>>13,A=0|o[7],E=8191&A,P=A>>>13,R=0|o[8],I=8191&R,j=R>>>13,Y=0|o[9],V=8191&Y,W=Y>>>13,F=0|s[0],H=8191&F,B=F>>>13,z=0|s[1],N=8191&z,U=z>>>13,q=0|s[2],J=8191&q,K=q>>>13,G=0|s[3],$=8191&G,Z=G>>>13,X=0|s[4],Q=8191&X,ee=X>>>13,te=0|s[5],ne=8191&te,ie=te>>>13,re=0|s[6],ae=8191&re,oe=re>>>13,se=0|s[7],ce=8191&se,le=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;n.negative=e.negative^t.negative,n.length=19;var _e=(l+(i=Math.imul(d,H))|0)+((8191&(r=(r=Math.imul(d,B))+Math.imul(h,H)|0))<<13)|0;l=((a=Math.imul(h,B))+(r>>>13)|0)+(_e>>>26)|0,_e&=67108863,i=Math.imul(p,H),r=(r=Math.imul(p,B))+Math.imul(m,H)|0,a=Math.imul(m,B);var be=(l+(i=i+Math.imul(d,N)|0)|0)+((8191&(r=(r=r+Math.imul(d,U)|0)+Math.imul(h,N)|0))<<13)|0;l=((a=a+Math.imul(h,U)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,i=Math.imul(b,H),r=(r=Math.imul(b,B))+Math.imul(g,H)|0,a=Math.imul(g,B),i=i+Math.imul(p,N)|0,r=(r=r+Math.imul(p,U)|0)+Math.imul(m,N)|0,a=a+Math.imul(m,U)|0;var ge=(l+(i=i+Math.imul(d,J)|0)|0)+((8191&(r=(r=r+Math.imul(d,K)|0)+Math.imul(h,J)|0))<<13)|0;l=((a=a+Math.imul(h,K)|0)+(r>>>13)|0)+(ge>>>26)|0,ge&=67108863,i=Math.imul(y,H),r=(r=Math.imul(y,B))+Math.imul(k,H)|0,a=Math.imul(k,B),i=i+Math.imul(b,N)|0,r=(r=r+Math.imul(b,U)|0)+Math.imul(g,N)|0,a=a+Math.imul(g,U)|0,i=i+Math.imul(p,J)|0,r=(r=r+Math.imul(p,K)|0)+Math.imul(m,J)|0,a=a+Math.imul(m,K)|0;var ve=(l+(i=i+Math.imul(d,$)|0)|0)+((8191&(r=(r=r+Math.imul(d,Z)|0)+Math.imul(h,$)|0))<<13)|0;l=((a=a+Math.imul(h,Z)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,i=Math.imul(C,H),r=(r=Math.imul(C,B))+Math.imul(S,H)|0,a=Math.imul(S,B),i=i+Math.imul(y,N)|0,r=(r=r+Math.imul(y,U)|0)+Math.imul(k,N)|0,a=a+Math.imul(k,U)|0,i=i+Math.imul(b,J)|0,r=(r=r+Math.imul(b,K)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,K)|0,i=i+Math.imul(p,$)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,$)|0,a=a+Math.imul(m,Z)|0;var ye=(l+(i=i+Math.imul(d,Q)|0)|0)+((8191&(r=(r=r+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;l=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,i=Math.imul(M,H),r=(r=Math.imul(M,B))+Math.imul(L,H)|0,a=Math.imul(L,B),i=i+Math.imul(C,N)|0,r=(r=r+Math.imul(C,U)|0)+Math.imul(S,N)|0,a=a+Math.imul(S,U)|0,i=i+Math.imul(y,J)|0,r=(r=r+Math.imul(y,K)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,K)|0,i=i+Math.imul(b,$)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,Z)|0,i=i+Math.imul(p,Q)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0;var ke=(l+(i=i+Math.imul(d,ne)|0)|0)+((8191&(r=(r=r+Math.imul(d,ie)|0)+Math.imul(h,ne)|0))<<13)|0;l=((a=a+Math.imul(h,ie)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,i=Math.imul(D,H),r=(r=Math.imul(D,B))+Math.imul(T,H)|0,a=Math.imul(T,B),i=i+Math.imul(M,N)|0,r=(r=r+Math.imul(M,U)|0)+Math.imul(L,N)|0,a=a+Math.imul(L,U)|0,i=i+Math.imul(C,J)|0,r=(r=r+Math.imul(C,K)|0)+Math.imul(S,J)|0,a=a+Math.imul(S,K)|0,i=i+Math.imul(y,$)|0,r=(r=r+Math.imul(y,Z)|0)+Math.imul(k,$)|0,a=a+Math.imul(k,Z)|0,i=i+Math.imul(b,Q)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(g,Q)|0,a=a+Math.imul(g,ee)|0,i=i+Math.imul(p,ne)|0,r=(r=r+Math.imul(p,ie)|0)+Math.imul(m,ne)|0,a=a+Math.imul(m,ie)|0;var we=(l+(i=i+Math.imul(d,ae)|0)|0)+((8191&(r=(r=r+Math.imul(d,oe)|0)+Math.imul(h,ae)|0))<<13)|0;l=((a=a+Math.imul(h,oe)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,i=Math.imul(E,H),r=(r=Math.imul(E,B))+Math.imul(P,H)|0,a=Math.imul(P,B),i=i+Math.imul(D,N)|0,r=(r=r+Math.imul(D,U)|0)+Math.imul(T,N)|0,a=a+Math.imul(T,U)|0,i=i+Math.imul(M,J)|0,r=(r=r+Math.imul(M,K)|0)+Math.imul(L,J)|0,a=a+Math.imul(L,K)|0,i=i+Math.imul(C,$)|0,r=(r=r+Math.imul(C,Z)|0)+Math.imul(S,$)|0,a=a+Math.imul(S,Z)|0,i=i+Math.imul(y,Q)|0,r=(r=r+Math.imul(y,ee)|0)+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,i=i+Math.imul(b,ne)|0,r=(r=r+Math.imul(b,ie)|0)+Math.imul(g,ne)|0,a=a+Math.imul(g,ie)|0,i=i+Math.imul(p,ae)|0,r=(r=r+Math.imul(p,oe)|0)+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0;var Ce=(l+(i=i+Math.imul(d,ce)|0)|0)+((8191&(r=(r=r+Math.imul(d,le)|0)+Math.imul(h,ce)|0))<<13)|0;l=((a=a+Math.imul(h,le)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,i=Math.imul(I,H),r=(r=Math.imul(I,B))+Math.imul(j,H)|0,a=Math.imul(j,B),i=i+Math.imul(E,N)|0,r=(r=r+Math.imul(E,U)|0)+Math.imul(P,N)|0,a=a+Math.imul(P,U)|0,i=i+Math.imul(D,J)|0,r=(r=r+Math.imul(D,K)|0)+Math.imul(T,J)|0,a=a+Math.imul(T,K)|0,i=i+Math.imul(M,$)|0,r=(r=r+Math.imul(M,Z)|0)+Math.imul(L,$)|0,a=a+Math.imul(L,Z)|0,i=i+Math.imul(C,Q)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(S,Q)|0,a=a+Math.imul(S,ee)|0,i=i+Math.imul(y,ne)|0,r=(r=r+Math.imul(y,ie)|0)+Math.imul(k,ne)|0,a=a+Math.imul(k,ie)|0,i=i+Math.imul(b,ae)|0,r=(r=r+Math.imul(b,oe)|0)+Math.imul(g,ae)|0,a=a+Math.imul(g,oe)|0,i=i+Math.imul(p,ce)|0,r=(r=r+Math.imul(p,le)|0)+Math.imul(m,ce)|0,a=a+Math.imul(m,le)|0;var Se=(l+(i=i+Math.imul(d,de)|0)|0)+((8191&(r=(r=r+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;l=((a=a+Math.imul(h,he)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,i=Math.imul(V,H),r=(r=Math.imul(V,B))+Math.imul(W,H)|0,a=Math.imul(W,B),i=i+Math.imul(I,N)|0,r=(r=r+Math.imul(I,U)|0)+Math.imul(j,N)|0,a=a+Math.imul(j,U)|0,i=i+Math.imul(E,J)|0,r=(r=r+Math.imul(E,K)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,K)|0,i=i+Math.imul(D,$)|0,r=(r=r+Math.imul(D,Z)|0)+Math.imul(T,$)|0,a=a+Math.imul(T,Z)|0,i=i+Math.imul(M,Q)|0,r=(r=r+Math.imul(M,ee)|0)+Math.imul(L,Q)|0,a=a+Math.imul(L,ee)|0,i=i+Math.imul(C,ne)|0,r=(r=r+Math.imul(C,ie)|0)+Math.imul(S,ne)|0,a=a+Math.imul(S,ie)|0,i=i+Math.imul(y,ae)|0,r=(r=r+Math.imul(y,oe)|0)+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,i=i+Math.imul(b,ce)|0,r=(r=r+Math.imul(b,le)|0)+Math.imul(g,ce)|0,a=a+Math.imul(g,le)|0,i=i+Math.imul(p,de)|0,r=(r=r+Math.imul(p,he)|0)+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0;var xe=(l+(i=i+Math.imul(d,pe)|0)|0)+((8191&(r=(r=r+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;l=((a=a+Math.imul(h,me)|0)+(r>>>13)|0)+(xe>>>26)|0,xe&=67108863,i=Math.imul(V,N),r=(r=Math.imul(V,U))+Math.imul(W,N)|0,a=Math.imul(W,U),i=i+Math.imul(I,J)|0,r=(r=r+Math.imul(I,K)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,K)|0,i=i+Math.imul(E,$)|0,r=(r=r+Math.imul(E,Z)|0)+Math.imul(P,$)|0,a=a+Math.imul(P,Z)|0,i=i+Math.imul(D,Q)|0,r=(r=r+Math.imul(D,ee)|0)+Math.imul(T,Q)|0,a=a+Math.imul(T,ee)|0,i=i+Math.imul(M,ne)|0,r=(r=r+Math.imul(M,ie)|0)+Math.imul(L,ne)|0,a=a+Math.imul(L,ie)|0,i=i+Math.imul(C,ae)|0,r=(r=r+Math.imul(C,oe)|0)+Math.imul(S,ae)|0,a=a+Math.imul(S,oe)|0,i=i+Math.imul(y,ce)|0,r=(r=r+Math.imul(y,le)|0)+Math.imul(k,ce)|0,a=a+Math.imul(k,le)|0,i=i+Math.imul(b,de)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(g,de)|0,a=a+Math.imul(g,he)|0;var Me=(l+(i=i+Math.imul(p,pe)|0)|0)+((8191&(r=(r=r+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((a=a+Math.imul(m,me)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,i=Math.imul(V,J),r=(r=Math.imul(V,K))+Math.imul(W,J)|0,a=Math.imul(W,K),i=i+Math.imul(I,$)|0,r=(r=r+Math.imul(I,Z)|0)+Math.imul(j,$)|0,a=a+Math.imul(j,Z)|0,i=i+Math.imul(E,Q)|0,r=(r=r+Math.imul(E,ee)|0)+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,i=i+Math.imul(D,ne)|0,r=(r=r+Math.imul(D,ie)|0)+Math.imul(T,ne)|0,a=a+Math.imul(T,ie)|0,i=i+Math.imul(M,ae)|0,r=(r=r+Math.imul(M,oe)|0)+Math.imul(L,ae)|0,a=a+Math.imul(L,oe)|0,i=i+Math.imul(C,ce)|0,r=(r=r+Math.imul(C,le)|0)+Math.imul(S,ce)|0,a=a+Math.imul(S,le)|0,i=i+Math.imul(y,de)|0,r=(r=r+Math.imul(y,he)|0)+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0;var Le=(l+(i=i+Math.imul(b,pe)|0)|0)+((8191&(r=(r=r+Math.imul(b,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((a=a+Math.imul(g,me)|0)+(r>>>13)|0)+(Le>>>26)|0,Le&=67108863,i=Math.imul(V,$),r=(r=Math.imul(V,Z))+Math.imul(W,$)|0,a=Math.imul(W,Z),i=i+Math.imul(I,Q)|0,r=(r=r+Math.imul(I,ee)|0)+Math.imul(j,Q)|0,a=a+Math.imul(j,ee)|0,i=i+Math.imul(E,ne)|0,r=(r=r+Math.imul(E,ie)|0)+Math.imul(P,ne)|0,a=a+Math.imul(P,ie)|0,i=i+Math.imul(D,ae)|0,r=(r=r+Math.imul(D,oe)|0)+Math.imul(T,ae)|0,a=a+Math.imul(T,oe)|0,i=i+Math.imul(M,ce)|0,r=(r=r+Math.imul(M,le)|0)+Math.imul(L,ce)|0,a=a+Math.imul(L,le)|0,i=i+Math.imul(C,de)|0,r=(r=r+Math.imul(C,he)|0)+Math.imul(S,de)|0,a=a+Math.imul(S,he)|0;var Oe=(l+(i=i+Math.imul(y,pe)|0)|0)+((8191&(r=(r=r+Math.imul(y,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((a=a+Math.imul(k,me)|0)+(r>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,i=Math.imul(V,Q),r=(r=Math.imul(V,ee))+Math.imul(W,Q)|0,a=Math.imul(W,ee),i=i+Math.imul(I,ne)|0,r=(r=r+Math.imul(I,ie)|0)+Math.imul(j,ne)|0,a=a+Math.imul(j,ie)|0,i=i+Math.imul(E,ae)|0,r=(r=r+Math.imul(E,oe)|0)+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,i=i+Math.imul(D,ce)|0,r=(r=r+Math.imul(D,le)|0)+Math.imul(T,ce)|0,a=a+Math.imul(T,le)|0,i=i+Math.imul(M,de)|0,r=(r=r+Math.imul(M,he)|0)+Math.imul(L,de)|0,a=a+Math.imul(L,he)|0;var De=(l+(i=i+Math.imul(C,pe)|0)|0)+((8191&(r=(r=r+Math.imul(C,me)|0)+Math.imul(S,pe)|0))<<13)|0;l=((a=a+Math.imul(S,me)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,i=Math.imul(V,ne),r=(r=Math.imul(V,ie))+Math.imul(W,ne)|0,a=Math.imul(W,ie),i=i+Math.imul(I,ae)|0,r=(r=r+Math.imul(I,oe)|0)+Math.imul(j,ae)|0,a=a+Math.imul(j,oe)|0,i=i+Math.imul(E,ce)|0,r=(r=r+Math.imul(E,le)|0)+Math.imul(P,ce)|0,a=a+Math.imul(P,le)|0,i=i+Math.imul(D,de)|0,r=(r=r+Math.imul(D,he)|0)+Math.imul(T,de)|0,a=a+Math.imul(T,he)|0;var Te=(l+(i=i+Math.imul(M,pe)|0)|0)+((8191&(r=(r=r+Math.imul(M,me)|0)+Math.imul(L,pe)|0))<<13)|0;l=((a=a+Math.imul(L,me)|0)+(r>>>13)|0)+(Te>>>26)|0,Te&=67108863,i=Math.imul(V,ae),r=(r=Math.imul(V,oe))+Math.imul(W,ae)|0,a=Math.imul(W,oe),i=i+Math.imul(I,ce)|0,r=(r=r+Math.imul(I,le)|0)+Math.imul(j,ce)|0,a=a+Math.imul(j,le)|0,i=i+Math.imul(E,de)|0,r=(r=r+Math.imul(E,he)|0)+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0;var Ae=(l+(i=i+Math.imul(D,pe)|0)|0)+((8191&(r=(r=r+Math.imul(D,me)|0)+Math.imul(T,pe)|0))<<13)|0;l=((a=a+Math.imul(T,me)|0)+(r>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,i=Math.imul(V,ce),r=(r=Math.imul(V,le))+Math.imul(W,ce)|0,a=Math.imul(W,le),i=i+Math.imul(I,de)|0,r=(r=r+Math.imul(I,he)|0)+Math.imul(j,de)|0,a=a+Math.imul(j,he)|0;var Ee=(l+(i=i+Math.imul(E,pe)|0)|0)+((8191&(r=(r=r+Math.imul(E,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((a=a+Math.imul(P,me)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,i=Math.imul(V,de),r=(r=Math.imul(V,he))+Math.imul(W,de)|0,a=Math.imul(W,he);var Pe=(l+(i=i+Math.imul(I,pe)|0)|0)+((8191&(r=(r=r+Math.imul(I,me)|0)+Math.imul(j,pe)|0))<<13)|0;l=((a=a+Math.imul(j,me)|0)+(r>>>13)|0)+(Pe>>>26)|0,Pe&=67108863;var Re=(l+(i=Math.imul(V,pe))|0)+((8191&(r=(r=Math.imul(V,me))+Math.imul(W,pe)|0))<<13)|0;return l=((a=Math.imul(W,me))+(r>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=_e,c[1]=be,c[2]=ge,c[3]=ve,c[4]=ye,c[5]=ke,c[6]=we,c[7]=Ce,c[8]=Se,c[9]=xe,c[10]=Me,c[11]=Le,c[12]=Oe,c[13]=De,c[14]=Te,c[15]=Ae,c[16]=Ee,c[17]=Pe,c[18]=Re,0!==l&&(c[19]=l,n.length++),n};function p(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(f=h),a.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var i=0,r=0,a=0;a>>26)|0)>>>26,o&=67108863}n.words[a]=s,i=o,o=r}return 0!==i?n.words[a]=i:n.length--,n.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=a.prototype._countBits(e)-1,i=0;i>=1;return i},m.prototype.permute=function(e,t,n,i,r,a){for(var o=0;o>>=1)r++;return 1<>>=13),a>>>=13;for(o=2*t;o>=26,t+=r/67108864|0,t+=a>>>26,this.words[n]=67108863&a}return 0!==t&&(this.words[n]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new a(1);for(var n=this,i=0;i=0);var t,n=e%26,r=(e-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<o)for(this.length-=o,l=0;l=0&&(0!==u||l>=r);l--){var d=0|this.words[l];this.words[l]=u<<26-a|d>>>a,u=d&s}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,n){return i(0===this.negative),this.iushrn(e,t,n)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;return!(this.length<=n||!(this.words[n]&1<=0);var t=e%26,n=(e-t)/26;return i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n?this:(0!==t&&n++,this.length=Math.min(n,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(i("number"==typeof e),i(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(s/67108864|0),this.words[r+n]=67108863&a}for(;r>26,this.words[r+n]=67108863&a;if(0===o)return this.strip();for(i(-1===o),o=0,r=0;r>26,this.words[r]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var n,i=this.clone(),r=e,o=0|r.words[r.length-1];0!=(n=26-this._countBits(o))&&(r=r.ushln(n),i.iushln(n),o=0|r.words[r.length-1]);var s,c=i.length-r.length;if("mod"!==t){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l=0;d--){var h=67108864*(0|i.words[r.length+d])+(0|i.words[r.length+d-1]);for(h=Math.min(h/o|0,67108863),i._ishlnsubmul(r,h,d);0!==i.negative;)h--,i.negative=0,i._ishlnsubmul(r,1,d),i.isZero()||(i.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),i.strip(),"div"!==t&&0!==n&&i.iushrn(n),{div:s||null,mod:i}},a.prototype.divmod=function(e,t,n){return i(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(r=s.div.neg()),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:r,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(r=s.div.neg()),{div:r,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var r,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,i=e.ushrn(1),r=e.andln(1),a=n.cmp(i);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){i(e<=67108863);for(var t=(1<<26)%e,n=0,r=this.length-1;r>=0;r--)n=(t*n+(0|this.words[r]))%e;return n},a.prototype.idivn=function(e){i(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*t;this.words[n]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),o=new a(0),s=new a(0),c=new a(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(u),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(u),c.isub(d)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),r.isub(s),o.isub(c)):(n.isub(t),s.isub(r),c.isub(o))}return{a:s,b:c,gcd:n.iushln(l)}},a.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new a(1),s=new a(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var d=0,h=1;0==(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(n.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(s)):(n.isub(t),s.isub(o))}return(r=0===t.cmpn(1)?o:s).cmpn(0)<0&&r.iadd(e),r},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var i=0;t.isEven()&&n.isEven();i++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=t.cmp(n);if(r<0){var a=t;t=n,n=a}else if(0===r||0===n.cmpn(1))break;t.isub(n)}return n.iushln(i)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,n=(e-t)/26,r=1<>>26,this.words[o]=s&=67108863}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),i(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;n--){var i=0|this.words[n],r=0|e.words[n];if(i!==r){ir&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new w(e)},a.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function y(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function w(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){w.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var i=t0?n.isub(this.p):n.strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},r(g,b),g.prototype.split=function(e,t){for(var n=Math.min(e.length,9),i=0;i>>22,r=a}e.words[i-10]=r>>>=22,e.length-=0===r&&e.length>10?10:9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=r,t=i}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new v;else if("p192"===e)t=new y;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new k}return _[e]=t,t},w.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},w.prototype._verify2=function(e,t){i(0==(e.negative|t.negative),"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},w.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},w.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},w.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},w.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},w.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},w.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},w.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},w.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},w.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},w.prototype.isqr=function(e){return this.imul(e,e.clone())},w.prototype.sqr=function(e){return this.mul(e,e)},w.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);i(!r.isZero());var s=new a(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new a(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var d=this.pow(u,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=o;0!==f.cmp(s);){for(var m=f,_=0;0!==m.cmp(s);_++)m=m.redSqr();i(_=0;i--){for(var l=t.words[i],u=c-1;u>=0;u--){var d=l>>u&1;r!==n[0]&&(r=this.sqr(r)),0!==d||0!==o?(o<<=1,o|=d,(4==++s||0===i&&0===u)&&(r=this.mul(r,n[o]),s=0,o=0)):s=0}c=26}return r},w.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},w.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},r(C,w),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var n=e.mul(t),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n("2pl3")(e))},Oaa7:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OfWw:function(e,t,n){var i=n("hwdV").Buffer;function r(e){i.isBuffer(e)||(e=i.from(e));for(var t=e.length/4|0,n=new Array(t),r=0;r>>24]^u[p>>>16&255]^d[m>>>8&255]^h[255&_]^t[b++],o=l[p>>>24]^u[m>>>16&255]^d[_>>>8&255]^h[255&f]^t[b++],s=l[m>>>24]^u[_>>>16&255]^d[f>>>8&255]^h[255&p]^t[b++],c=l[_>>>24]^u[f>>>16&255]^d[p>>>8&255]^h[255&m]^t[b++],f=a,p=o,m=s,_=c;return a=(i[f>>>24]<<24|i[p>>>16&255]<<16|i[m>>>8&255]<<8|i[255&_])^t[b++],o=(i[p>>>24]<<24|i[m>>>16&255]<<16|i[_>>>8&255]<<8|i[255&f])^t[b++],s=(i[m>>>24]<<24|i[_>>>16&255]<<16|i[f>>>8&255]<<8|i[255&p])^t[b++],c=(i[_>>>24]<<24|i[f>>>16&255]<<16|i[p>>>8&255]<<8|i[255&m])^t[b++],[a>>>=0,o>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],i=[],r=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,c=0;c<256;++c){var l=s^s<<1^s<<2^s<<3^s<<4;n[o]=l=l>>>8^255&l^99,i[l]=o;var u=e[o],d=e[u],h=e[d],f=257*e[l]^16843008*l;r[0][o]=f<<24|f>>>8,r[1][o]=f<<16|f>>>16,r[2][o]=f<<8|f>>>24,r[3][o]=f,a[0][l]=(f=16843009*h^65537*d^257*u^16843008*o)<<24|f>>>8,a[1][l]=f<<16|f>>>16,a[2][l]=f<<8|f>>>24,a[3][l]=f,0===o?o=s=1:(o=u^e[e[e[h^u]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:i,SUB_MIX:r,INV_SUB_MIX:a}}();function l(e){this._key=r(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,i=4*(n+1),r=[],a=0;a>>24)>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o],o^=s[a/t|0]<<24):t>6&&a%t==4&&(o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o]),r[a]=r[a-t]^o}for(var l=[],u=0;u>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return o(e=r(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=i.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var n=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),a=i.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a},l.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=l},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},Onz0:function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n("tjlA").Buffer)},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},P2KE:function(e,t,n){var i=n("hwdV").Buffer,r=i.alloc(16,0);function a(e){var t=i.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t0;t--)i[t]=i[t]>>>1|(1&i[t-1])<<31;i[0]=i[0]>>>1,n&&(i[0]=i[0]^225<<24)}this.state=a(r)},o.prototype.update=function(e){var t;for(this.cache=i.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(i.concat([this.cache,r],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=o},P7XM:function(e,t){e.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},PA2r:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function a(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(a(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(a(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(a(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_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\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PVpz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],a=[],o=e.algo.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)s.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var a=t.words,o=a[0],c=a[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),d=l>>>16|4294901760&u,h=u<<16|65535&l;for(i[0]^=l,i[1]^=d,i[2]^=u,i[3]^=h,i[4]^=l,i[5]^=d,i[6]^=u,i[7]^=h,r=0;r<4;r++)s.call(this)}},_doProcessBlock:function(e,t){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],o=65535&i,s=i>>>16;a[n]=((o*o>>>17)+o*s>>>15)+s*s^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(o)}(),i.RabbitLegacy)},"Pa+m":function(e,t,n){"use strict";var i=n("86MQ"),r=n("OZ/i"),a=n("P7XM"),o=n("6lN/"),s=i.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new r(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,n,i,a){o.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===i?(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 r(t,16),this.y=new r(n,16),this.z=i?new r(i,16):this.curve.one,this.t=a&&new r(a,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()))))}a(c,o),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,i){return this.point(e,t,n,i)},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),i=this.c2.redSub(this.a.redMul(n)),a=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=i.redMul(a.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(t&&!c||!t&&c)&&(s=s.redNeg()),this.point(e,s)},c.prototype.pointFromY=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),i=n.redSub(this.c2),a=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=i.redMul(a.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),i=t.redMul(this.a).redAdd(n),r=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===i.cmp(r)},a(l,o.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,n,i){return new l(this,e,t,n,i)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=i.redAdd(t),o=a.redSub(n),s=i.redSub(t),c=r.redMul(o),l=a.redMul(s),u=r.redMul(s),d=o.redMul(a);return this.curve.point(c,l,d,u)},l.prototype._projDbl=function(){var e,t,n,i=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var o=(l=this.curve._mulA(r)).redAdd(a);if(this.zOne)e=i.redSub(r).redSub(a).redMul(o.redSub(this.curve.two)),t=o.redMul(l.redSub(a)),n=o.redSqr().redSub(o).redSub(o);else{var s=this.z.redSqr(),c=o.redSub(s).redISub(s);e=i.redSub(r).redISub(a).redMul(c),t=o.redMul(l.redSub(a)),n=o.redMul(c)}}else{var l=r.redAdd(a);s=this.curve._mulC(this.z).redSqr(),c=l.redSub(s).redSub(s),e=this.curve._mulC(i.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(r.redISub(a)),n=l.redMul(c)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),i=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),a=n.redSub(t),o=r.redSub(i),s=r.redAdd(i),c=n.redAdd(t),l=a.redMul(o),u=s.redMul(c),d=a.redMul(c),h=o.redMul(s);return this.curve.point(l,u,h,d)},l.prototype._projAdd=function(e){var t,n,i=this.z.redMul(e.z),r=i.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),c=r.redSub(s),l=r.redAdd(s),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),d=i.redMul(c).redMul(u);return this.curve.twisted?(t=i.redMul(l).redMul(o.redSub(this.curve._mulA(a))),n=c.redMul(l)):(t=i.redMul(l).redMul(o.redSub(a)),n=this.curve._mulC(c).redMul(l)),this.curve.point(d,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(i),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".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:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t?e:"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},QAZZ:function(e,t,n){var i=n("Rb7d");function r(e,t){var n=e.a/255,i=t+'="'+e.hex+'"';return n<1?i+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function a(e,t,n){var i=e+t;return void 0!==n&&(i+=" "+n),i}t.render=function(e,t,n){var o=i.getOptions(t),s=e.modules.size,c=e.modules.data,l=s+2*o.margin,u=o.color.light.a?"':"",d="0&&l>0&&e[c-1]||(i+=o?a("M",l+n,.5+u+n):a("m",r,0),r=0,o=!1),l+1',h=''+u+d+"\n";return"function"==typeof n&&n(null,h),h}},QJsb:function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},QRH4:function(e,t,n){"use strict";var i=n("f3pb");t.certificate=n("VrUr");var r=i.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())}));t.RSAPrivateKey=r;var a=i.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=a;var o=i.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=o;var s=i.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())})),c=i.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var l=i.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())}));t.EncryptedPrivateKey=l;var u=i.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())}));t.DSAPrivateKey=u,t.DSAparam=i.define("DSAparam",(function(){this.int()}));var d=i.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=d;var h=i.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=i.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"QTa/":function(e,t,n){"use strict";var i=t;i.base=n("6lN/"),i.short=n("MwBp"),i.mont=n("Z2+3"),i.edwards=n("Pa+m")},QUaw:function(e,t,n){var i=n("Rb7d");t.render=function(e,t,n){var r=n,a=t;void 0!==r||t&&t.getContext||(r=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),r=i.getOptions(r);var o=i.getImageWidth(e.modules.size,r),s=a.getContext("2d"),c=s.createImageData(o,o);return i.qrToImageData(c.data,e,r),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(s,a,o),s.putImageData(c,0,0),a},t.renderToDataURL=function(e,n,i){var r=i;return void 0!==r||n&&n.getContext||(r=n,n=void 0),r||(r={}),t.render(e,n,r).toDataURL(r.type||"image/png",(r.rendererOpts||{}).quality)}},"Qd/k":function(e,t,n){var i=t;i.Reporter=n("0cit").Reporter,i.DecoderBuffer=n("YoN+").DecoderBuffer,i.EncoderBuffer=n("YoN+").EncoderBuffer,i.Node=n("g2Dh")},QihY:function(e,t,n){var i=n("gvAe"),r=n("hwdV").Buffer,a=n("usKN"),o=n("CfXC"),s=n("ZDAU"),c=n("OfWw"),l=n("roQf");function u(e,t,n){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(t),this._prev=r.from(n),this._mode=e,this._autopadding=!0}function d(){this.cache=r.allocUnsafe(0)}function h(e,t,n){var s=a[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=r.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=r.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new o(s.module,t,n,!0):"auth"===s.type?new i(s.module,t,n,!0):new u(s.module,t,n)}n("P7XM")(u,s),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var i=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),i.push(n);return r.concat(i)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var n=-1;++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=a[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=l(t,!1,n.key,n.iv);return h(e,i.key,i.iv)},t.createDecipheriv=h},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},QpuX:function(e,t,n){e.exports=n("+qE3").EventEmitter},R0Ic:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return u})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return o})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return v}));var i=function e(){_classCallCheck(this,e)},r=function e(){_classCallCheck(this,e)},a="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function d(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function _(e){Promise.resolve(null).then(e)}var b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;_((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),g=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,a=0,o=this.players.length;0==o?_((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++i==o&&n._onFinish()})),e.onDestroy((function(){++r==o&&n._onDestroy()})),e.onStart((function(){++a==o&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),v="!"},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_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\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_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\xebschter 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(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RKMU:function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ"),a=r.assert,o=r.cachedProperty,s=r.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),o(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),o(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),o(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},Rb7d:function(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=e.width&&e.width>=21?e.width:void 0;return{width:t,scale:t?4:e.scale||4,margin:null==e.margin||e.margin<0?4:e.margin,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){var i=t.getScale(e,n);return Math.floor((e+2*n.margin)*i)},t.qrToImageData=function(e,n,i){for(var r=n.modules.size,a=n.modules.data,o=t.getScale(r,i),s=Math.floor((r+2*i.margin)*o),c=i.margin*o,l=[i.color.light,i.color.dark],u=0;u=c&&d>=c&&u=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(e,t,n){"use strict";var i=n("ngJS"),r=n("NJ4a"),a=n("Lhse"),o=n("kJWO"),s=n("I55L"),c=n("c2HN"),l=n("XoHu");n.d(t,"a",(function(){return u}));var u=function(e){if(e&&"function"==typeof e[o.a])return u=e,function(e){var t=u[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(i.a)(e);if(Object(c.a)(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,r.a),e};if(e&&"function"==typeof e[a.a])return t=e,function(e){for(var n=t[a.a]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,u,d=Object(l.a)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(d," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.")}},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",(function(){return i}))},StGT:function(e,t,n){var i=n("tjlA"),r=i.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(r.prototype),a(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},T9HO:function(e,t,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[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],s=new Array(160);function c(){this.init(),this._w=s,r.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function _(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return e>>>0>>0?1:0}i(c,r),c.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},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,i=0|this._bh,r=0|this._ch,a=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,v=0|this._hh,y=0|this._al,k=0|this._bl,w=0|this._cl,C=0|this._dl,S=0|this._el,x=0|this._fl,M=0|this._gl,L=0|this._hl,O=0;O<32;O+=2)t[O]=e.readInt32BE(4*O),t[O+1]=e.readInt32BE(4*O+4);for(;O<160;O+=2){var D=t[O-30],T=t[O-30+1],A=f(D,T),E=p(T,D),P=m(D=t[O-4],T=t[O-4+1]),R=_(T,D),I=t[O-32],j=t[O-32+1],Y=E+t[O-14+1]|0,V=A+t[O-14]+b(Y,E)|0;V=(V=V+P+b(Y=Y+R|0,R)|0)+I+b(Y=Y+j|0,j)|0,t[O]=V,t[O+1]=Y}for(var W=0;W<160;W+=2){V=t[W],Y=t[W+1];var F=u(n,i,r),H=u(y,k,w),B=d(n,y),z=d(y,n),N=h(s,S),U=h(S,s),q=o[W],J=o[W+1],K=l(s,c,g),G=l(S,x,M),$=L+U|0,Z=v+N+b($,L)|0;Z=(Z=(Z=Z+K+b($=$+G|0,G)|0)+q+b($=$+J|0,J)|0)+V+b($=$+Y|0,Y)|0;var X=z+H|0,Q=B+F+b(X,z)|0;v=g,L=M,g=c,M=x,c=s,x=S,s=a+Z+b(S=C+$|0,C)|0,a=r,C=w,r=i,w=k,i=n,k=y,n=Z+Q+b(y=$+X|0,$)|0}this._al=this._al+y|0,this._bl=this._bl+k|0,this._cl=this._cl+w|0,this._dl=this._dl+C|0,this._el=this._el+S|0,this._fl=this._fl+x|0,this._gl=this._gl+M|0,this._hl=this._hl+L|0,this._ah=this._ah+n+b(this._al,y)|0,this._bh=this._bh+i+b(this._bl,k)|0,this._ch=this._ch+r+b(this._cl,w)|0,this._dh=this._dh+a+b(this._dl,C)|0,this._eh=this._eh+s+b(this._el,S)|0,this._fh=this._fh+c+b(this._fl,x)|0,this._gh=this._gh+g+b(this._gl,M)|0,this._hh=this._hh+v+b(this._hl,L)|0},c.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,n,i){e.writeInt32BE(t,i),e.writeInt32BE(n,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},TdD3:function(e,t,n){var i=/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,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,o=n("roQf"),s=n("/ab2"),c=n("hwdV").Buffer;e.exports=function(e,t){var n,l=e.toString(),u=l.match(i);if(u){var d="aes"+u[1],h=c.from(u[2],"hex"),f=c.from(u[3].replace(/[\r\n]/g,""),"base64"),p=o(t,h.slice(0,8),parseInt(u[1],10)).key,m=[],_=s.createDecipheriv(d,p,h);m.push(_.update(f)),m.push(_.final()),n=c.concat(m)}else{var b=l.match(a);n=new c(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(r)[1],data:n}}},Titl:function(e,t,n){"use strict";var i=n("2j6C"),r=n("P7XM"),a=n("Xudb"),o=n("AYSA");function s(){this.tmp=new Array(2),this.keys=null}function c(e){o.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}r(c,o),e.exports=c,c.create=function(e){return new c(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),i.equal(t.length,this.blockSize,"Invalid key length");var n=a.readUInt32BE(t,0),r=a.readUInt32BE(t,4);a.pc1(n,r,e.tmp,0),n=e.tmp[0],r=e.tmp[1];for(var o=0;o>>1];n=a.r28shl(n,s),r=a.r28shl(r,s),a.pc2(n,r,e.keys,o)}},c.prototype._update=function(e,t,n,i){var r=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,r.tmp,0),o=r.tmp[0],s=r.tmp[1],"encrypt"===this.type?this._encrypt(r,o,s,r.tmp,0):this._decrypt(r,o,s,r.tmp,0),s=r.tmp[1],a.writeUInt32BE(n,o=r.tmp[0],i),a.writeUInt32BE(n,s,i+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,i=t;i>>0,o=h}a.rip(s,o,i,r)},c.prototype._decrypt=function(e,t,n,i,r){for(var o=n,s=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],u=e.keys[c+1];a.expand(o,e.tmp,0);var d=a.substitute(l^=e.tmp[0],u^=e.tmp[1]),h=o;o=(s^a.permute(d))>>>0,s=h}a.rip(o,s,i,r)}},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},URgk:function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(r.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new a(r.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("aWmh"))},USCx:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UWVS:function(e,t,n){(function(e){var i=n("jIre");function r(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,n){for(;t._cache.length>o%8,e._prev=a(e._prev,n?i:r);return s}function a(e,t){var n=e.length,r=-1,a=i.allocUnsafe(e.length);for(e=i.concat([e,i.from([t])]);++r>7;return a}t.encrypt=function(e,t,n){for(var a=t.length,o=i.allocUnsafe(a),s=-1;++s=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},V35J:function(e,t,n){var i=n("Wogr");function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new i(e*e),this.data.fill(0),this.reservedBit=new i(e*e),this.reservedBit.fill(0)}r.prototype.set=function(e,t,n,i){var r=e*this.size+t;this.data[r]=n,i&&(this.reservedBit[r]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=r},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(){for(var e=arguments.length,t=new Array(e),n=0;n1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof l&&(s=t.pop()),null===c&&1===t.length&&t[0]instanceof i.a?t[0]:Object(a.a)(s)(Object(o.a)(t,c))}},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},Vh22:function(e,t,n){(function(t){var i=n("OZ/i"),r=new(n("ehAg")),a=new i(24),o=new i(11),s=new i(10),c=new i(3),l=new i(7),u=n("WKKt"),d=n("Edxu");function h(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._pub=new i(e),this}function f(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._priv=new i(e),this}e.exports=m;var p={};function m(e,t,n){this.setGenerator(t),this.__prime=new i(e),this._prime=i.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=h,this.setPrivateKey=f):this._primeCode=8}function _(e,n){var i=new t(e.toArray());return n?i.toString(n):i}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),i=[n,e.toString(16)].join("_");if(i in p)return p[i];var d,h=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!r.test(e))return h+=1,p[i]=h+="02"===n||"05"===n?8:4,h;switch(r.test(e.shrn(1))||(h+=2),n){case"02":e.mod(a).cmp(o)&&(h+=8);break;case"05":(d=e.mod(s)).cmp(c)&&d.cmp(l)&&(h+=8);break;default:h+=4}return p[i]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new i(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var n=(e=(e=new i(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new t(n.toArray()),a=this.getPrime();if(r.lengthe;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;n.mod(u).cmp(d);)n.iadd(f)}else for(;n.mod(a).cmp(h);)n.iadd(f);if(_(p=n.shrn(1))&&_(n)&&b(p)&&b(n)&&o.test(p)&&o.test(n))return n}}},WRkp:function(e,t,n){"use strict";t.sha1=n("E+IA"),t.sha224=n("B/J0"),t.sha256=n("bu2F"),t.sha384=n("i5UE"),t.sha512=n("tSWc")},WYAk:function(e,t,n){var i,r;e.exports=(i=n("Ib8C"),r=i.enc.Utf8,void(i.algo.HMAC=i.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),s=a.words,c=o.words,l=0;l=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function s(e,t){var n;return a.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(t)).__proto__=a.prototype:(null===(n=e)&&(n=new a(t)),n.length=t),n}function c(e,t){var n=s(e,t<0?0:0|o(t));if(!a.TYPED_ARRAY_SUPPORT)for(var i=0;i55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function d(e){return a.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:u(e).length)}a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),a.prototype.write=function(e,t,n){void 0===t?(n=this.length,t=0):void 0===n&&"string"==typeof t?(n=this.length,t=0):isFinite(t)&&(t|=0,isFinite(n)?n|=0:n=void 0);var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,n,i){return function(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}(u(t,e.length-n),e,n,i)}(this,e,t,n)},a.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".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:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u}));var i=n("HDdC"),r=n("7o/Q"),a=n("quSY"),o=n("9ppp"),s=n("Ylt2"),c=n("2QA8"),l=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).destination=e,n}return _inherits(t,e),t}(r.a),u=function(){var e=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _inherits(t,e),_createClass(t,[{key:c.a,value:function(){return new l(this)}},{key:"lift",value:function(e){var t=new d(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new o.a;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;r0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var t=i.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t},e}()},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return i}))},Xudb:function(e,t,n){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,i){for(var r=0,a=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)r<<=1,r|=t>>>s+o&1;for(s=0;s<=24;s+=8)r<<=1,r|=e>>>s+o&1}for(o=6;o>=0;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}n[i+0]=r>>>0,n[i+1]=a>>>0},t.rip=function(e,t,n,i){for(var r=0,a=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)r<<=1,r|=t>>>s+o&1,r<<=1,r|=e>>>s+o&1;for(o=4;o<8;o++)for(s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;n[i+0]=r>>>0,n[i+1]=a>>>0},t.pc1=function(e,t,n,i){for(var r=0,a=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)r<<=1,r|=t>>s+o&1;for(s=0;s<=24;s+=8)r<<=1,r|=e>>s+o&1}for(s=0;s<=24;s+=8)r<<=1,r|=t>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;n[i+0]=r>>>0,n[i+1]=a>>>0},t.r28shl=function(e,t){return e<>>28-t};var i=[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];t.pc2=function(e,t,n,r){for(var a=0,o=0,s=i.length>>>1,c=0;c>>i[c]&1;for(c=s;c>>i[c]&1;n[r+0]=a>>>0,n[r+1]=o>>>0},t.expand=function(e,t,n){var i=0,r=0;i=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)i<<=6,i|=e>>>a&63;for(a=11;a>=3;a-=4)r|=e>>>a&63,r<<=6;r|=(31&e)<<1|e>>>31,t[n+0]=i>>>0,t[n+1]=r>>>0};var r=[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];t.substitute=function(e,t){for(var n=0,i=0;i<4;i++)n<<=4,n|=r[64*i+(e>>>18-6*i&63)];for(i=0;i<4;i++)n<<=4,n|=r[256+64*i+(t>>>18-6*i&63)];return n>>>0};var a=[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];t.permute=function(e){for(var t=0,n=0;n>>a[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var i=e.toString(2);i.length=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).subject=e,i.subscriber=n,i.closed=!1,i}return _inherits(t,e),_createClass(t,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),t}(n("quSY").a)},"YoN+":function(e,t,n){var i=n("P7XM"),r=n("Qd/k").Reporter,a=n("tjlA").Buffer;function o(e,t){r.call(this,t),a.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}i(o,r),t.DecoderBuffer=o,o.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},o.prototype.restore=function(e){var t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new o(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},YskG:function(e,t,n){var i=n("hwdV").Buffer;function r(e,t,n){var r=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=i.concat([e._prev.slice(1),i.from([n?t:r])]),r}t.encrypt=function(e,t,n){for(var a=t.length,o=i.allocUnsafe(a),s=-1;++s":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),i=e.redMul(t),r=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(i,r)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),r=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(n),o=r.redMul(i),s=t.z.redMul(a.redAdd(o).redSqr()),c=t.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,i=this.curve.point(null,null),r=[];0!==t.cmpn(0);t.iushrn(1))r.push(t.andln(1));for(var a=r.length-1;a>=0;a--)0===r[a]?(n=n.diffAdd(i,this),i=i.dbl()):(i=n.diffAdd(i,this),n=n.dbl());return i},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Z92M:function(e,t){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZDAU:function(e,t,n){var i=n("hwdV").Buffer,r=n("1IWx").Transform,a=n("fXKp").StringDecoder;function o(e){r.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("P7XM")(o,r),o.prototype.update=function(e,t,n){"string"==typeof e&&(e=i.from(e,t));var r=this._update(e);return this.hashMode?this:(n&&(r=this._toString(r,n)),r)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,n){var i;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(r){i=r}finally{n(i)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(n){t=n}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||i.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var i=this._decoder.write(e);return n&&(i+=this._decoder.end()),i},e.exports=o},ZEK9:function(e,t,n){t.publicEncrypt=n("rSVQ"),t.privateDecrypt=n("DyzK"),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("51Dv"),r=n("SeVD"),a=n("HDdC");function o(e,t,n,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new i.a(e,n,o);if(!s.closed)return t instanceof a.a?t.subscribe(s):Object(r.a)(t)(s)}},ZYru:function(e,t,n){var i=n("tjlA"),r=i.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(r.prototype),a(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},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\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".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:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aWmh:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"==typeof window&&(n=window)}e.exports=n},aZ40:function(e,t,n){var i,r,a=n("Wogr");a.alloc?(i=a.alloc(512),r=a.alloc(256)):(i=new a(512),r=new a(256)),function(){for(var e=1,t=0;t<255;t++)i[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)i[t]=i[t-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},t.exp=function(e){return i[e]},t.mul=function(e,t){return 0===e||0===t?0:i[r[e]+r[t]]}},afKu:function(e,t,n){(t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n}).sha=n("CH9F"),t.sha1=n("fnjI"),t.sha224=n("cqoG"),t.sha256=n("olUY"),t.sha384=n("uDfV"),t.sha512=n("T9HO")},"aqI/":function(e,t,n){"use strict";var i=n("fZJM"),r=n("dlgc"),a=n("2j6C");function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=r.toArray(e.entropy,e.entropyEnc||"hex"),n=r.toArray(e.nonce,e.nonceEnc||"hex"),i=r.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,i)}e.exports=o,o.prototype._init=function(e,t,n){var i=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},o.prototype.generate=function(e,t,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(i=n,n=t,t=null),n&&(n=r.toArray(n,i||"hex"),this._update(n));for(var a=[];a.length0&&n.ishrn(i),n}function d(e,n,r){var a,o;do{for(a=new t(0);8*a.length0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(i.a)(r.a,e)}},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5r 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",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bQjk:function(e,t,n){var i,r,a;e.exports=(a=n("Ib8C"),n("OLod"),i=a.lib.CipherParams,r=a.enc.Hex,a.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var t=r.parse(e);return i.create({ciphertext:t})}},a.format.Hex)},bXm7:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".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:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bu2F:function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("qlaj"),o=n("2j6C"),s=i.sum32,c=i.sum32_4,l=i.sum32_5,u=a.ch32,d=a.maj32,h=a.s0_256,f=a.s1_256,p=a.g0_256,m=a.g1_256,_=r.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;_.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}i.inherits(g,_),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var n=this.W,i=0;i<16;i++)n[i]=e[t+i];for(;i=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cqoG:function(e,t,n){var i=n("P7XM"),r=n("olUY"),a=n("tnIz"),o=n("hwdV").Buffer,s=new Array(64);function c(){this.init(),this._w=s,a.call(this,64,56)}i(c,r),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},cv67:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=o.MD5=a.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var a=this._hash.words,o=e[t+0],c=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],_=e[t+5],b=e[t+6],g=e[t+7],v=e[t+8],y=e[t+9],k=e[t+10],w=e[t+11],C=e[t+12],S=e[t+13],x=e[t+14],M=e[t+15],L=a[0],O=a[1],D=a[2],T=a[3];L=l(L,O,D,T,o,7,s[0]),T=l(T,L,O,D,c,12,s[1]),D=l(D,T,L,O,f,17,s[2]),O=l(O,D,T,L,p,22,s[3]),L=l(L,O,D,T,m,7,s[4]),T=l(T,L,O,D,_,12,s[5]),D=l(D,T,L,O,b,17,s[6]),O=l(O,D,T,L,g,22,s[7]),L=l(L,O,D,T,v,7,s[8]),T=l(T,L,O,D,y,12,s[9]),D=l(D,T,L,O,k,17,s[10]),O=l(O,D,T,L,w,22,s[11]),L=l(L,O,D,T,C,7,s[12]),T=l(T,L,O,D,S,12,s[13]),D=l(D,T,L,O,x,17,s[14]),L=u(L,O=l(O,D,T,L,M,22,s[15]),D,T,c,5,s[16]),T=u(T,L,O,D,b,9,s[17]),D=u(D,T,L,O,w,14,s[18]),O=u(O,D,T,L,o,20,s[19]),L=u(L,O,D,T,_,5,s[20]),T=u(T,L,O,D,k,9,s[21]),D=u(D,T,L,O,M,14,s[22]),O=u(O,D,T,L,m,20,s[23]),L=u(L,O,D,T,y,5,s[24]),T=u(T,L,O,D,x,9,s[25]),D=u(D,T,L,O,p,14,s[26]),O=u(O,D,T,L,v,20,s[27]),L=u(L,O,D,T,S,5,s[28]),T=u(T,L,O,D,f,9,s[29]),D=u(D,T,L,O,g,14,s[30]),L=d(L,O=u(O,D,T,L,C,20,s[31]),D,T,_,4,s[32]),T=d(T,L,O,D,v,11,s[33]),D=d(D,T,L,O,w,16,s[34]),O=d(O,D,T,L,x,23,s[35]),L=d(L,O,D,T,c,4,s[36]),T=d(T,L,O,D,m,11,s[37]),D=d(D,T,L,O,g,16,s[38]),O=d(O,D,T,L,k,23,s[39]),L=d(L,O,D,T,S,4,s[40]),T=d(T,L,O,D,o,11,s[41]),D=d(D,T,L,O,p,16,s[42]),O=d(O,D,T,L,b,23,s[43]),L=d(L,O,D,T,y,4,s[44]),T=d(T,L,O,D,C,11,s[45]),D=d(D,T,L,O,M,16,s[46]),L=h(L,O=d(O,D,T,L,f,23,s[47]),D,T,o,6,s[48]),T=h(T,L,O,D,g,10,s[49]),D=h(D,T,L,O,x,15,s[50]),O=h(O,D,T,L,_,21,s[51]),L=h(L,O,D,T,C,6,s[52]),T=h(T,L,O,D,p,10,s[53]),D=h(D,T,L,O,k,15,s[54]),O=h(O,D,T,L,c,21,s[55]),L=h(L,O,D,T,v,6,s[56]),T=h(T,L,O,D,M,10,s[57]),D=h(D,T,L,O,b,15,s[58]),O=h(O,D,T,L,S,21,s[59]),L=h(L,O,D,T,m,6,s[60]),T=h(T,L,O,D,w,10,s[61]),D=h(D,T,L,O,f,15,s[62]),O=h(O,D,T,L,y,21,s[63]),a[0]=a[0]+L|0,a[1]=a[1]+O|0,a[2]=a[2]+D|0,a[3]=a[3]+T|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var a=e.floor(i/4294967296),o=i;n[15+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,i,r,a,o){var s=e+(t&n|~t&i)+r+o;return(s<>>32-a)+t}function u(e,t,n,i,r,a,o){var s=e+(t&i|n&~i)+r+o;return(s<>>32-a)+t}function d(e,t,n,i,r,a,o){var s=e+(t^n^i)+r+o;return(s<>>32-a)+t}function h(e,t,n,i,r,a,o){var s=e+(n^(t|~i))+r+o;return(s<>>32-a)+t}t.MD5=a._createHelper(c),t.HmacMD5=a._createHmacHelper(c)}(Math),i.MD5)},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dcwN:function(e,t,n){"use strict";(function(e,i){function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=n("hwdV"),o=n("Edxu"),s=a.Buffer,c=a.kMaxLength,l=e.crypto||e.msCrypto,u=Math.pow(2,32)-1;function d(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>u||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function h(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>c)throw new RangeError("buffer too small")}function f(e,t,n,r){if(i.browser){var a=new Uint8Array(e.buffer,t,n);return l.getRandomValues(a),r?void i.nextTick((function(){r(null,e)})):e}if(!r)return o(n).copy(e,t),e;o(n,(function(n,i){if(n)return r(n);i.copy(e,t),r(null,e)}))}l&&l.getRandomValues||!i.browser?(t.randomFill=function(t,n,i,r){if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)r=n,n=0,i=t.length;else if("function"==typeof i)r=i,i=t.length-n;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return d(n,t.length),h(i,n,t.length),f(t,n,i,r)},t.randomFillSync=function(t,n,i){if(void 0===n&&(n=0),!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return d(n,t.length),void 0===i&&(i=t.length-n),h(i,n,t.length),f(t,n,i)}):(t.randomFill=r,t.randomFillSync=r)}).call(this,n("aWmh"),n("8oxB"))},dlgc:function(e,t,n){"use strict";var i=t;function r(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",n=0;n>8,o=255&r;a?n.push(a,o):n.push(o)}return n},i.zero2=r,i.toHex=a,i.encode=function(e,t){return"hex"===t?a(e):e}},"e+ae":function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?a+(i(e)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?a+(i(e)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(i(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(i(e)?"roky":"rokov"):a+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_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\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"e/Dd":function(e,t){var n,i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return i[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},e6BP:function(e,t){function n(){this.buffer=[],this.length=0}n.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=n},e7zE:function(e,t,n){var i,r,a,o,s,c,l,u;e.exports=(u=n("Ib8C"),n("3y9D"),n("WYAk"),o=(r=(i=u).lib).WordArray,c=(s=i.algo).HMAC,l=s.PBKDF2=(a=r.Base).extend({cfg:a.extend({keySize:4,hasher:s.SHA1,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=c.create(n.hasher,e),r=o.create(),a=o.create([1]),s=r.words,l=a.words,u=n.keySize,d=n.iterations;s.length=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,i=0,r=0,a=null,o=null,s=0;s=5&&(n+=i-5+3),a=l,i=1),(l=e.get(c,s))===o?r++:(r>=5&&(n+=r-5+3),o=l,r=1)}i>=5&&(n+=i-5+3),r>=5&&(n+=r-5+3)}return n},t.getPenaltyN2=function(e){for(var t=e.size,n=0,i=0;i=10&&(1488===i||93===i)&&n++,r=r<<1&2047|e.get(o,a),o>=10&&(1488===r||93===r)&&n++}return 40*n},t.getPenaltyN4=function(e){for(var t=0,n=e.data.length,i=0;i=0);return r},a.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},a.prototype.test=function(e,t,n){var r=e.bitLength(),a=i.mont(e),o=new i(1).toRed(a);t||(t=Math.max(1,r/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var l=e.shrn(c),u=s.toRed(a);t>0;t--){var d=this._randrange(new i(2),s);n&&n(d);var h=d.toRed(a).redPow(l);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var f=1;f0;t--){var u=this._randrange(new i(2),o),d=e.gcd(u);if(0!==d.cmpn(1))return d;var h=u.toRed(r).redPow(c);if(0!==h.cmp(a)&&0!==h.cmp(l)){for(var f=1;f=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(i){return n}}},f3pb:function(e,t,n){var i=t;i.bignum=n("OZ/i"),i.define=n("7zrB").define,i.base=n("Qd/k"),i.constants=n("AhHn"),i.decoders=n("IPZY"),i.encoders=n("ND7S")},fSpj:function(e,t,n){(function(t){var n=Math.pow(2,30)-1;function i(e,n){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(n+" must be a buffer or string")}e.exports=function(e,t,r,a){if(i(e,"Password"),i(t,"Salt"),"number"!=typeof r)throw new TypeError("Iterations not a number");if(r<0)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(a<0||a>n||a!=a)throw new TypeError("Bad key length")}}).call(this,n("tjlA").Buffer)},fXKp:function(e,t,n){"use strict";var i=n("hwdV").Buffer,r=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd".repeat(n+2)}}(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(r>0&&(e.lastNeed=r-1),r):--i=0?(r>0&&(e.lastNeed=r-2),r):--i=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},fXoL:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return La})),n.d(t,"b",(function(){return Dl})),n.d(t,"c",(function(){return Sl})),n.d(t,"d",(function(){return wl})),n.d(t,"e",(function(){return Cl})),n.d(t,"f",(function(){return ku})),n.d(t,"g",(function(){return uu})),n.d(t,"h",(function(){return ua})),n.d(t,"i",(function(){return Fl})),n.d(t,"j",(function(){return ws})),n.d(t,"k",(function(){return El})),n.d(t,"l",(function(){return Cs})),n.d(t,"m",(function(){return bu})),n.d(t,"n",(function(){return un})),n.d(t,"o",(function(){return Qc})),n.d(t,"p",(function(){return U})),n.d(t,"q",(function(){return l})),n.d(t,"r",(function(){return N})),n.d(t,"s",(function(){return Ma})),n.d(t,"t",(function(){return Bs})),n.d(t,"u",(function(){return zs})),n.d(t,"v",(function(){return Al})),n.d(t,"w",(function(){return ae})),n.d(t,"x",(function(){return hu})),n.d(t,"y",(function(){return re})),n.d(t,"z",(function(){return au})),n.d(t,"A",(function(){return Nl})),n.d(t,"B",(function(){return u})),n.d(t,"C",(function(){return Ol})),n.d(t,"D",(function(){return Ll})),n.d(t,"E",(function(){return tl})),n.d(t,"F",(function(){return Ls})),n.d(t,"G",(function(){return xs})),n.d(t,"H",(function(){return Ms})),n.d(t,"I",(function(){return Ds})),n.d(t,"J",(function(){return Xn})),n.d(t,"K",(function(){return h})),n.d(t,"L",(function(){return mu})),n.d(t,"M",(function(){return Js})),n.d(t,"N",(function(){return Xl})),n.d(t,"O",(function(){return Ts})),n.d(t,"P",(function(){return Gs})),n.d(t,"Q",(function(){return me})),n.d(t,"R",(function(){return Ia})),n.d(t,"S",(function(){return ou})),n.d(t,"T",(function(){return On})),n.d(t,"U",(function(){return D})),n.d(t,"V",(function(){return ee})),n.d(t,"W",(function(){return Ln})),n.d(t,"X",(function(){return vu})),n.d(t,"Y",(function(){return eu})),n.d(t,"Z",(function(){return Tl})),n.d(t,"ab",(function(){return ha})),n.d(t,"bb",(function(){return dc})),n.d(t,"cb",(function(){return $n})),n.d(t,"db",(function(){return ti})),n.d(t,"eb",(function(){return En})),n.d(t,"fb",(function(){return gn})),n.d(t,"gb",(function(){return yn})),n.d(t,"hb",(function(){return Sn})),n.d(t,"ib",(function(){return wn})),n.d(t,"jb",(function(){return kn})),n.d(t,"kb",(function(){return Cn})),n.d(t,"lb",(function(){return sc})),n.d(t,"mb",(function(){return gu})),n.d(t,"nb",(function(){return cc})),n.d(t,"ob",(function(){return lc})),n.d(t,"pb",(function(){return vn})),n.d(t,"qb",(function(){return j})),n.d(t,"rb",(function(){return ja})),n.d(t,"sb",(function(){return so})),n.d(t,"tb",(function(){return oo})),n.d(t,"ub",(function(){return Ra})),n.d(t,"vb",(function(){return oc})),n.d(t,"wb",(function(){return xt})),n.d(t,"xb",(function(){return M})),n.d(t,"yb",(function(){return bn})),n.d(t,"zb",(function(){return ns})),n.d(t,"Ab",(function(){return cs})),n.d(t,"Bb",(function(){return vs})),n.d(t,"Cb",(function(){return Di})),n.d(t,"Db",(function(){return za})),n.d(t,"Eb",(function(){return Eo})),n.d(t,"Fb",(function(){return Xo})),n.d(t,"Gb",(function(){return Ao})),n.d(t,"Hb",(function(){return lo})),n.d(t,"Ib",(function(){return pl})),n.d(t,"Jb",(function(){return ye})),n.d(t,"Kb",(function(){return Le})),n.d(t,"Lb",(function(){return _})),n.d(t,"Mb",(function(){return b})),n.d(t,"Nb",(function(){return Se})),n.d(t,"Ob",(function(){return Oe})),n.d(t,"Pb",(function(){return Ka})),n.d(t,"Qb",(function(){return Be})),n.d(t,"Rb",(function(){return to})),n.d(t,"Sb",(function(){return ro})),n.d(t,"Tb",(function(){return io})),n.d(t,"Ub",(function(){return no})),n.d(t,"Vb",(function(){return eo})),n.d(t,"Wb",(function(){return Qa})),n.d(t,"Xb",(function(){return He})),n.d(t,"Yb",(function(){return ao})),n.d(t,"Zb",(function(){return on})),n.d(t,"ac",(function(){return Qo})),n.d(t,"bc",(function(){return Ac})),n.d(t,"cc",(function(){return jc})),n.d(t,"dc",(function(){return Ec})),n.d(t,"ec",(function(){return Ic})),n.d(t,"fc",(function(){return Q})),n.d(t,"gc",(function(){return Ga})),n.d(t,"hc",(function(){return kl})),n.d(t,"ic",(function(){return $a})),n.d(t,"jc",(function(){return co})),n.d(t,"kc",(function(){return bl})),n.d(t,"lc",(function(){return _t})),n.d(t,"mc",(function(){return mt})),n.d(t,"nc",(function(){return po})),n.d(t,"oc",(function(){return Zc})),n.d(t,"pc",(function(){return Xc})),n.d(t,"qc",(function(){return vo})),n.d(t,"rc",(function(){return _o})),n.d(t,"sc",(function(){return Za})),n.d(t,"tc",(function(){return yo})),n.d(t,"uc",(function(){return ko})),n.d(t,"vc",(function(){return wo})),n.d(t,"wc",(function(){return Jc})),n.d(t,"xc",(function(){return Kc})),n.d(t,"yc",(function(){return Gc})),n.d(t,"zc",(function(){return ul})),n.d(t,"Ac",(function(){return Ja})),n.d(t,"Bc",(function(){return Ht})),n.d(t,"Cc",(function(){return Ue})),n.d(t,"Dc",(function(){return ni})),n.d(t,"Ec",(function(){return xe})),n.d(t,"Fc",(function(){return ml})),n.d(t,"Gc",(function(){return dl})),n.d(t,"Hc",(function(){return To})),n.d(t,"Ic",(function(){return qa})),n.d(t,"Jc",(function(){return No})),n.d(t,"Kc",(function(){return Uo})),n.d(t,"Lc",(function(){return qo})),n.d(t,"Mc",(function(){return Jo})),n.d(t,"Nc",(function(){return Ko})),n.d(t,"Oc",(function(){return Go})),n.d(t,"Pc",(function(){return $o})),n.d(t,"Qc",(function(){return Zo})),n.d(t,"Rc",(function(){return es})),n.d(t,"Sc",(function(){return hl}));var i=n("XNiG"),r=n("quSY"),a=n("HDdC"),o=n("VRyK"),s=n("w1tV");function c(e,t,n){var i=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:f.Default;if(void 0===G)throw new Error("inject() must be called from an injection context");return null===G?te(e,void 0,t):G.get(e,t&f.Optional?null:void 0,t)}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.Default;return(E||X)(T(e),t)}var ee=Q;function te(e,t,n){var i=g(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&f.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(M(e),"]"))}function ne(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:q;if(t===q){var n=new Error("NullInjectorError: No provider for ".concat(M(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),re=function e(){_classCallCheck(this,e)},ae=function e(){_classCallCheck(this,e)};function oe(e,t){for(var n=0;n=e.length?e.push(n):e.splice(t,0,n)}function le(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ue(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function he(e,t){var n=fe(e,t);if(n>=0)return e[1|n]}function fe(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var a=i+(r-i>>1),o=e[a<<1];if(t===o)return a<<1;o>t?r=a:i=a+1}return~(r<<1)}(e,t)}var pe=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),me=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}();function _e(e){return""+{toString:e}}var be={},ge=[],ve=0;function ye(e){var t=e.type,n=t.prototype,i={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||me.Emulated,id:"c",styles:e.styles||ge,_:null,setInput:null,schemas:e.schemas||null,tView:null};return r._=_e((function(){var t=e.directives,n=e.features,a=e.pipes;r.id+=ve++,r.inputs=Me(e.inputs,i),r.outputs=Me(e.outputs),n&&n.forEach((function(e){return e(r)})),r.directiveDefs=t?function(){return("function"==typeof t?t():t).map(ke)}:null,r.pipeDefs=a?function(){return("function"==typeof a?a():a).map(we)}:null})),r}function ke(e){return De(e)||function(e){return e[V]||null}(e)}function we(e){return function(e){return e[W]||null}(e)}var Ce={};function Se(e){var t={type:e.type,bootstrap:e.bootstrap||ge,declarations:e.declarations||ge,imports:e.imports||ge,exports:e.exports||ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&_e((function(){Ce[e.id]=e.type})),t}function xe(e,t){return _e((function(){var n=Ae(e,!0);n.declarations=t.declarations||ge,n.imports=t.imports||ge,n.exports=t.exports||ge}))}function Me(e,t){if(null==e)return be;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}var Le=ye;function Oe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function De(e){return e[Y]||null}function Te(e,t){return e.hasOwnProperty(B)?e[B]:null}function Ae(e,t){var n=e[F]||null;if(!n&&!0===t)throw new Error("Type ".concat(M(e)," does not have '\u0275mod' property."));return n}function Ee(e){return Array.isArray(e)&&"object"==typeof e[1]}function Pe(e){return Array.isArray(e)&&!0===e[1]}function Re(e){return 0!=(8&e.flags)}function Ie(e){return 2==(2&e.flags)}function je(e){return 1==(1&e.flags)}function Ye(e){return null!==e.template}function Ve(e){return 0!=(512&e[2])}var We={lFrame:lt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Fe(){return We.bindingsEnabled}function He(){We.bindingsEnabled=!0}function Be(){We.bindingsEnabled=!1}function ze(){return We.lFrame.lView}function Ne(){return We.lFrame.tView}function Ue(e){We.lFrame.contextLView=e}function qe(){return We.lFrame.previousOrParentTNode}function Je(e,t){We.lFrame.previousOrParentTNode=e,We.lFrame.isParent=t}function Ke(){return We.lFrame.isParent}function Ge(){We.lFrame.isParent=!1}function $e(){return We.checkNoChangesMode}function Ze(e){We.checkNoChangesMode=e}function Xe(){var e=We.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qe(){return We.lFrame.bindingIndex}function et(e){return We.lFrame.bindingIndex=e}function tt(){return We.lFrame.bindingIndex++}function nt(e){var t=We.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function it(e,t){var n=We.lFrame;n.bindingIndex=n.bindingRootIndex=e,n.currentDirectiveIndex=t}function rt(){return We.lFrame.currentQueryIndex}function at(e){We.lFrame.currentQueryIndex=e}function ot(e,t){var n=ct();We.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function st(e,t){var n=ct(),i=e[1];We.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex}function ct(){var e=We.lFrame,t=null===e?null:e.child;return null===t?lt(e):t}function lt(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function ut(){var e=We.lFrame;return We.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var dt=ut;function ht(){var e=ut();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ft(){return We.lFrame.selectedIndex}function pt(e){We.lFrame.selectedIndex=e}function mt(){We.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function _t(){We.lFrame.currentNamespace=null}function bt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[o]<0&&(e[18]+=65536),(a>10>16&&(3&e[2])===t&&(e[2]+=1024,a.call(o)):a.call(o)}var Ct=function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i},St=void 0;function xt(e){St=e}function Mt(){return void 0!==St?St:"undefined"!=typeof document?document:void 0}function Lt(e){return!!e.listen}var Ot={createRenderer:function(e,t){return Mt()}};function Dt(e,t,n){for(var i=Lt(e),r=0;rt){o=a-1;break}}}for(;a>16}function Yt(e,t){for(var n=jt(e),i=t;n>0;)i=i[15],n--;return i}function Vt(e){return"string"==typeof e?e:null==e?"":""+e}function Wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Vt(e)}var Ft=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j);function Ht(e){return{name:"body",target:e.ownerDocument.body}}function Bt(e){return e instanceof Function?e():e}var zt=!0;function Nt(e){var t=zt;return zt=e,t}var Ut=0;function qt(e,t){var n=Kt(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Jt(i.data,e),Jt(t,null),Jt(i.blueprint,null));var r=Gt(e,t),a=e.injectorIndex;if(Rt(r))for(var o=It(r),s=Yt(r,t),c=s[1].data,l=0;l<8;l++)t[a+l]=s[o+l]|c[o+l];return t[a+8]=r,a}function Jt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Kt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Gt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],i=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function $t(e,t,n){!function(e,t,n){var i="string"!=typeof n?n[z]:n.charCodeAt(0)||0;null==i&&(i=n[z]=Ut++);var r=255&i,a=1<3&&void 0!==arguments[3]?arguments[3]:f.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var a=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[z];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof a){ot(t,e);try{var o=a();if(null!=o||i&f.Optional)return o;throw new Error("No provider for ".concat(Wt(n),"!"))}finally{dt()}}else if("number"==typeof a){if(-1===a)return new an(e,t);var s=null,c=Kt(e,t),l=-1,u=i&f.Host?t[16][6]:null;for((-1===c||i&f.SkipSelf)&&(l=-1===c?Gt(e,t):t[c+8],rn(i,!1)?(s=t[1],c=It(l),t=Yt(l,t)):c=-1);-1!==c;){l=t[c+8];var d=t[1];if(nn(a,c,d.data)){var h=Qt(c,t,n,s,i,u);if(h!==Xt)return h}rn(i,t[1].data[c+8]===u)&&nn(a,c,t)?(s=d,c=It(l),t=Yt(l,t)):c=-1}}}if(i&f.Optional&&void 0===r&&(r=null),0==(i&(f.Self|f.Host))){var p=t[9],m=Z(void 0);try{return p?p.get(n,r,i&f.Optional):te(n,r,i&f.Optional)}finally{Z(m)}}if(i&f.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(Wt(n),"]"))}var Xt={};function Qt(e,t,n,i,r,a){var o=t[1],s=o.data[e+8],c=en(s,o,n,null==i?Ie(s)&&zt:i!=o&&3===s.type,r&f.Host&&a===s);return null!==c?tn(t,o,c,s):Xt}function en(e,t,n,i,r){for(var a=e.providerIndexes,o=t.data,s=65535&a,c=e.directiveStart,l=a>>16,u=r?s+l:e.directiveEnd,d=i?s:s+l;d=c&&h.type===n)return d}if(r){var f=o[c];if(f&&Ye(f)&&f.type===n)return c}return null}function tn(e,t,n,i){var r=e[n],a=t.data;if(r instanceof Ct){var o=r;if(o.resolving)throw new Error("Circular dep for ".concat(Wt(a[n])));var s,c=Nt(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=Z(o.injectImpl)),ot(e,i);try{r=e[n]=o.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.onChanges,r=t.onInit,a=t.doCheck;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{o.injectImpl&&Z(s),Nt(c),o.resolving=!1,dt()}}return r}function nn(e,t,n){var i=64&e,r=32&e;return!!((128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t])&1<1?t-1:0),i=1;i',!n.querySelector||n.querySelector("svg")?(n.innerHTML='

',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e=""+e+"";try{e=encodeURI(e)}catch(i){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Hn.hasOwnProperty(t)&&!Yn.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(Gn(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),Jn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Kn=/([^\#-~ |!])/g;function Gn(e){return e.replace(/&/g,"&").replace(Jn,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Kn,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function $n(e,t){var n=null;try{jn=jn||new Dn(e);var i=t?String(t):"";n=jn.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=jn.getInertBodyElement(i)}while(i!==a);var o=new qn,s=o.sanitizeChildren(Zn(n)||n);return Ln()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=Zn(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function Zn(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xn=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Qn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ei=/^url\(([^)]+)\)$/;function ti(e){if(!(e=String(e).trim()))return"";var t=e.match(ei);return t&&En(t[1])===t[1]||e.match(Qn)&&function(e){for(var t=!0,n=!0,i=0;ia?"":r[u+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==bi(h,l,0)||2&i&&l!==d){if(ki(i))return!1;o=!0}}}}else{if(!o&&!ki(i)&&!ki(c))return!1;if(o&&ki(c))continue;o=!1,i=c|1&i}}return ki(i)||o}function ki(e){return 0==(1&e)}function wi(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var a=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||ki(o)||(t+=xi(a,r),r=""),i=o,a=a||!ki(i);n++}return""!==r&&(t+=xi(a,r)),t}var Li={};function Oi(e){var t=e[3];return Pe(t)?t[3]:t}function Di(e){Ti(Ne(),ze(),ft()+e,$e())}function Ti(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&>(t,r,n)}else{var a=e.preOrderHooks;null!==a&&vt(t,a,0,n)}pt(n)}var Ai={marker:"element"},Ei={marker:"comment"};function Pi(e,t){return e<<17|t<<2}function Ri(e){return e>>17&32767}function Ii(e){return 2|e}function ji(e){return(131068&e)>>2}function Yi(e,t){return-131069&e|t<<2}function Vi(e){return 1|e}function Wi(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i>1==-1){for(var i=9;i19&&Ti(e,t,0,$e()),n(i,r)}finally{pt(a)}}function Ji(e,t,n){if(Re(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:ai,i=t.localNames;if(null!==i)for(var r=t.index+1,a=0;a0&&(e[n-1][4]=i[4]);var a=le(e,9+t);Rr(i[1],i,!1,null);var o=a[5];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Yr(e,t){if(!(256&t[2])){var n=t[11];Lt(n)&&n.destroyNode&&$r(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Wr(e[1],e);for(;t;){var n=null;if(Ee(t))n=t[13];else{var i=t[9];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ee(t)&&Wr(t[1],t),t=Vr(t,e);null===t&&(t=e),Ee(t)&&Wr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Vr(e,t){var n;return Ee(e)&&(n=e[6])&&2===n.type?Tr(n,e):e[3]===t?null:e[3]}function Wr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[c]():i[-c].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Lt(t[11])&&t[11].destroy();var i=t[17];if(null!==i&&Pe(t[3])){i!==t[3]&&Ir(i,t);var r=t[5];null!==r&&r.detachView(e)}}}function Fr(e,t,n){for(var i=t.parent;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){var r=n[6];return 2===r.type?Ar(r,n):n[0]}if(t&&5===t.type&&4&t.flags)return ai(t,n).parentNode;if(2&i.flags){var a=e.data,o=a[a[i.index].directiveStart].encapsulation;if(o!==me.ShadowDom&&o!==me.Native)return null}return ai(i,n)}function Hr(e,t,n,i){Lt(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function Br(e,t,n){Lt(e)?e.appendChild(t,n):t.appendChild(n)}function zr(e,t,n,i){null!==i?Hr(e,t,n,i):Br(e,t,n)}function Nr(e,t){return Lt(e)?e.parentNode(t):t.parentNode}function Ur(e,t){if(2===e.type){var n=Tr(e,t);return null===n?null:Jr(n.indexOf(t,9)-9,n)}return 4===e.type||5===e.type?ai(e,t):null}function qr(e,t,n,i){var r=Fr(e,i,t);if(null!=r){var a=t[11],o=Ur(i.parent||t[6],t);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,i;t=this._lView[1],i=e,Sr(n=this._lView).push(i),t.firstCreatePass&&xr(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){vr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){yr(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Ze(!0);try{yr(e,t,n)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,$r(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,i,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=n[i.index];if(null!==o&&r.push(ii(o)),Pe(o))for(var s=9;s0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;if(!r&&null==e.ngModule&&a){var o=a.get(re,null);o&&(r=o)}var s=e.create(a,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Pe(n[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var a=n[3],o=new ia(a,a[6],a[3]);o.detach(o.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,i){var r=9+i,a=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return oa(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new an(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Gt(this._hostTNode,this._hostView),t=Yt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.parent.injectorIndex;)r=r.parent;return r}for(var a=jt(e),o=t,s=t[6];a>1;)s=(o=o[15])[6],a--;return s}(e,this._hostView,this._hostTNode);return Rt(e)&&null!=n?new an(n,t):new an(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-9}}]),n}(e));var a=i[n.index];if(Pe(a))(function(e,t){e[2]=-2})(r=a);else{var o;if(4===n.type)o=ii(a);else if(o=i[11].createComment(""),Ve(i)){var s=i[11],c=ai(n,i);Hr(s,Nr(s,c),o,function(e,t){return Lt(e)?e.nextSibling(t):t.nextSibling}(s,c))}else qr(i[1],i,o,n);i[n.index]=r=pr(a,i,o,n),gr(i,r)}return new ia(r,n,i)}function la(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Ie(e)){var i=ci(e.index,t);return new ra(i,i)}return 3===e.type||0===e.type||4===e.type||5===e.type?new ra(t[16],t):null}(qe(),ze(),e)}var ua=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return da()},e}(),da=la,ha=new N("Set Injector scope."),fa={},pa={},ma=[],_a=void 0;function ba(){return void 0===_a&&(_a=new ie),_a}function ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return t=t||ba(),new va(e,n,t,i)}var va=function(){function e(t,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&se(n,(function(e){return r.processProvider(e,t,n)})),se([t],(function(e){return r.processInjectorType(e,[],o)})),this.records.set(U,wa(void 0,this));var s=this.records.get(ha);this.scope=null!=s?s.value:null,this.injectorDefTypes.forEach((function(e){return r.get(e)})),this.source=a||("object"==typeof t?null:M(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.Default;this.assertNotDestroyed();var i,r=$(this);try{if(!(n&f.SkipSelf)){var a=this.records.get(e);if(void 0===a){var o=("function"==typeof(i=e)||"object"==typeof i&&i instanceof N)&&g(e);a=o&&this.injectableDefInScope(o)?wa(ya(e),fa):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(n&f.Self?ba():this.parent).get(e,t=n&f.Optional&&t===q?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(M(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=M(t);if(Array.isArray(t))r=t.map(M).join(" -> ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):M(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(J,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{$(r)}}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(M(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=T(e)))return!1;var r=y(e),a=null==r&&e.ngModule||void 0,o=void 0===a?e:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=y(a)),null==r)return!1;if(null!=r.imports&&!s){var c;n.push(o);try{se(r.imports,(function(e){i.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var l=function(e){var t=c[e],n=t.ngModule,r=t.providers;se(r,(function(e){return i.processProvider(e,n,r||ma)}))},u=0;u0){var n=ue(t,"?");throw new Error("Can't resolve all parameters for ".concat(M(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[k]||e[S]||e[C]&&e[C]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in v10. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ka(e,t,n){var i,r=void 0;if(Sa(e)){var a=T(e);return Te(a)||ya(a)}if(Ca(e))r=function(){return T(e.useValue)};else if((i=e)&&i.useFactory)r=function(){return e.useFactory.apply(e,_toConsumableArray(ne(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return Q(T(e.useExisting))};else{var o=T(e&&(e.useClass||e.provide));if(o||function(e,t,n){var i="";throw e&&t&&(i=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(M(e),"'")+i)}(t,n,e),!function(e){return!!e.deps}(e))return Te(o)||ya(o);r=function(){return _construct(o,_toConsumableArray(ne(e.deps)))}}return r}function wa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ca(e){return null!==e&&"object"==typeof e&&K in e}function Sa(e){return"function"==typeof e}var xa=function(e,t,n){return ga({name:n},t,e,n)},Ma=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?xa(e,t,""):xa(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=q,e.NULL=new ie,e.\u0275prov=_({token:e,providedIn:"any",factory:function(){return Q(U)}}),e.__NG_ELEMENT_ID__=-1,e}(),La=new N("AnalyzeForEntryComponents"),Oa=new Map,Da=new Set;function Ta(e){return"string"==typeof e?e:e.text()}function Aa(e,t){for(var n=e.styles,i=e.classes,r=0,a=0;a1&&void 0!==arguments[1]?arguments[1]:f.Default,n=ze();return null==n?Q(e,t):Zt(qe(),n,T(e),t)}function Ga(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var i=n.length,r=0;r2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=ze(),a=Ne(),o=qe();return uo(a,r,r[11],o,e,t,n,i),co}function lo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=qe(),a=ze(),o=Mr(r,a);return uo(Ne(),a,o,r,e,t,n,i),lo}function uo(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=je(i),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=Sr(t),d=!0;if(3===i.type){var h=ai(i,t),f=s?s(h):be,p=f.target||h,m=u.length,_=s?function(e){return s(ii(e[i.index])).target}:i.index;if(Lt(n)){var b=null;if(!s&&c&&(b=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var a=0;ac?s[c]:null}"string"==typeof o&&(a+=2)}return null}(e,t,r,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=a,b.__ngLastListenerFn__=a,d=!1;else{a=fo(i,t,a,!1);var g=n.listen(f.name||p,r,a);u.push(a,g),l&&l.push(r,_,m,m+1)}}else a=fo(i,t,a,!0),p.addEventListener(r,a,o),u.push(a),l&&l.push(r,_,m,o)}var v,y=i.outputs;if(d&&null!==y&&(v=y[r])){var k=v.length;if(k)for(var w=0;w0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(We.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,We.lFrame.contextLView))[8]}(e)}function mo(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=ze(),r=Ne(),a=Bi(r,i[6],e,1,null,n||null);null===a.projection&&(a.projection=t),Ge(),bo||Zr(r,i,a)}function yo(e,t,n){return ko(e,"",t,"",n),yo}function ko(e,t,n,i,r){var a=ze(),o=Na(a,t,n,i);if(o!==Li){var s=ft();er(Ne(),a,s,e,o,r)}return ko}function wo(e,t,n,i,r,a,o){var s=ze(),c=Ua(s,t,n,i,r,a);if(c!==Li){var l=ft();er(Ne(),s,l,e,c,o)}return wo}var Co=[];function So(e,t,n,i,r){for(var a=e[n+1],o=null===t,s=i?Ri(a):ji(a),c=!1;0!==s&&(!1===c||o);){var l=e[s+1];xo(e[s],t)&&(c=!0,e[s+1]=i?Vi(l):Ii(l)),s=i?Ri(l):ji(l)}c&&(e[n+1]=i?Ii(a):Vi(a))}function xo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&fe(e,t)>=0}var Mo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Lo(e){return e.substring(Mo.key,Mo.keyEnd)}function Oo(e,t){var n=Mo.textEnd;return n===t?-1:(t=Mo.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Mo.key=t,n),Do(e,t,n))}function Do(e,t,n){for(;t=0;n=Oo(t,n))de(e,Lo(t),!0)}function Ro(e,t,n,i){var r,a,o=ze(),s=Ne(),c=nt(2);(s.firstUpdatePass&&Yo(s,e,c,i),t!==Li&&Fa(o,c,t))&&(null==n&&(r=null===(a=We.lFrame)?null:a.currentSanitizer)&&(n=r),Fo(s,s.data[ft()+19],o,o[11],e,o[c+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=M(bn(e)))),e}(t,n),i,c))}function Io(e,t,n,i){var r=Ne(),a=nt(2);r.firstUpdatePass&&Yo(r,null,a,i);var o=ze();if(n!==Li&&Fa(o,a,n)){var s=r.data[ft()+19];if(zo(s,i)&&!jo(r,a)){var c=i?s.classes:s.styles;null!==c&&(n=L(c,n||"")),Xa(r,s,o,n,i)}else!function(e,t,n,i,r,a,o,s){r===Li&&(r=Co);for(var c=0,l=0,u=0=e.expandoStartIndex}function Yo(e,t,n,i){var r=e.data;if(null===r[n+1]){var a=r[ft()+19],o=jo(e,n);zo(a,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){var r=function(e){var t=We.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Wo(n=Vo(null,e,t,n,i),t.attrs,i),a=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=Vo(r,e,t,n,i),null===a){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==ji(i))return e[Ri(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[Ri(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Wo(s=Vo(null,e,t,s[1],i),t.attrs,i))}else a=function(e,t,n){for(var i=void 0,r=t.directiveEnd,a=1+t.directiveStylingLast;a0)&&(u=!0)}else l=n;if(r)if(0!==c){var h=Ri(e[s+1]);e[i+1]=Pi(h,s),0!==h&&(e[h+1]=Yi(e[h+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=Pi(s,0),0!==s&&(e[s+1]=Yi(e[s+1],i)),s=i;else e[i+1]=Pi(c,0),0===s?s=i:e[c+1]=Yi(e[c+1],i),c=i;u&&(e[i+1]=Ii(e[i+1])),So(e,l,i,!0),So(e,l,i,!1),function(e,t,n,i,r){var a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&fe(a,t)>=0&&(n[i+1]=Vi(n[i+1]))}(t,l,e,i,a),o=Pi(s,c),a?t.classBindings=o:t.styleBindings=o}(r,a,t,n,o,i)}}function Vo(e,t,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var c=e[r],l=Array.isArray(c),u=l?c[1]:c,d=null===u,h=n[r+1];h===Li&&(h=d?Co:void 0);var f=d?he(h,i):u===i?h:void 0;if(l&&!Bo(f)&&(f=he(c,i)),Bo(f)&&(s=f,o))return s;var p=e[r+1];r=o?Ri(p):ji(p)}if(null!==t){var m=a?t.residualClasses:t.residualStyles;null!=m&&(s=he(m,i))}return s}function Bo(e){return void 0!==e}function zo(e,t){return 0!=(e.flags&(t?16:32))}function No(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=ze(),i=Ne(),r=e+19,a=i.firstCreatePass?Bi(i,n[6],e,3,null,null):i.data[r],o=n[r]=Pr(t,n[11]);qr(i,n,o,a),Je(a,!1)}function Uo(e){return qo("",e,""),Uo}function qo(e,t,n){var i=ze(),r=Na(i,e,t,n);return r!==Li&&Dr(i,ft(),r),qo}function Jo(e,t,n,i,r){var a=ze(),o=Ua(a,e,t,n,i,r);return o!==Li&&Dr(a,ft(),o),Jo}function Ko(e,t,n,i,r,a,o){var s=ze(),c=function(e,t,n,i,r,a,o,s){var c=function(e,t,n,i,r){var a=Ha(e,t,n,i);return Fa(e,t+2,r)||a}(e,Qe(),n,r,o);return nt(3),c?t+Vt(n)+i+Vt(r)+a+Vt(o)+s:Li}(s,e,t,n,i,r,a,o);return c!==Li&&Dr(s,ft(),c),Ko}function Go(e,t,n,i,r,a,o,s,c){var l=ze(),u=function(e,t,n,i,r,a,o,s,c,l){var u=Ba(e,Qe(),n,r,o,c);return nt(4),u?t+Vt(n)+i+Vt(r)+a+Vt(o)+s+Vt(c)+l:Li}(l,e,t,n,i,r,a,o,s,c);return u!==Li&&Dr(l,ft(),u),Go}function $o(e,t,n,i,r,a,o,s,c,l,u,d,h,f,p,m,_){var b=ze(),g=function(e,t,n,i,r,a,o,s,c,l,u,d,h,f,p,m,_,b){var g=Qe(),v=Ba(e,g,n,r,o,c);return v=Ba(e,g+4,u,h,p,_)||v,nt(8),v?t+Vt(n)+i+Vt(r)+a+Vt(o)+s+Vt(c)+l+Vt(u)+d+Vt(h)+f+Vt(p)+m+Vt(_)+b:Li}(b,e,t,n,i,r,a,o,s,c,l,u,d,h,f,p,m,_);return g!==Li&&Dr(b,ft(),g),$o}function Zo(e){var t=ze(),n=function(e,t){for(var n=!1,i=Qe(),r=1;r=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Et(r.hostAttrs,n=Et(n,r.hostAttrs))}}(i)}function is(e){return e===be?{}:e===ge?[]:e}function rs(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function as(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function os(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var ss=function(){function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function cs(){return ls.ngInherit=!0,ls}function ls(e){e.type.prototype.ngOnChanges&&(e.setInput=us,e.onChanges=function(){var e=ds(this),t=e&&e.current;if(t){var n=e.previous;if(n===be)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}})}function us(e,t,n,i){var r=ds(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:be,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],c=o[s];a[s]=new ss(c&&c.currentValue,t,o===be),e[i]=t}function ds(e){return e.__ngSimpleChanges__||null}function hs(e,t,n,i,r){if(e=T(e),Array.isArray(e))for(var a=0;a>16;if(Sa(e)||!e.multi){var p=new Ct(l,r,Ka),m=ms(c,t,r?d:d+f,h);-1===m?($t(qt(u,s),o,c),fs(o,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var _=ms(c,t,d+f,h),b=ms(c,t,d,d+f),g=_>=0&&n[_],v=b>=0&&n[b];if(r&&!v||!r&&!g){$t(qt(u,s),o,c);var y=function(e,t,n,i,r){var a=new Ct(e,n,Ka);return a.multi=[],a.index=t,a.componentProviders=0,ps(a,r,i&&!n),a}(r?bs:_s,n.length,r,i,l);!r&&v&&(n[b].providerFactory=y),fs(o,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(y),s.push(y)}else fs(o,e,_>-1?_:b),ps(n[r?b:_],l,!r&&i);!r&&i&&v&&n[b].componentProviders++}}}function fs(e,t,n){if(Sa(t)||t.useClass){var i=(t.useClass||t).prototype.ngOnDestroy;i&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i)}}function ps(e,t,n){e.multi.push(t),n&&e.componentProviders++}function ms(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=Ne();if(i.firstCreatePass){var r=Ye(e);hs(n,i.data,i.blueprint,r,!0),hs(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var ys=function e(){_classCallCheck(this,e)},ks=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(M(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),ws=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new ks,e}(),Cs=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Ss(e)},e}(),Ss=function(e){return oa(e,qe(),ze())},xs=function e(){_classCallCheck(this,e)},Ms=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Ls=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Os()},e}(),Os=function(){var e=ze(),t=ci(qe().index,e);return function(e){var t=e[11];if(Lt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ee(t)?t:e)},Ds=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=_({token:e,providedIn:"root",factory:function(){return null}}),e}(),Ts=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},As=new Ts("9.0.4"),Es=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return ja(e)}},{key:"create",value:function(e){return new Rs(e)}}]),e}(),Ps=function(e,t){return t},Rs=function(){function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ps}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var a=!n||t&&t.currentIndex0&&ea(l,d,y.join(" "))}a=oi(_[1],0),t&&(a.projection=t.map((function(e){return Array.from(e)}))),r=function(e,t,n,i,r){var a=n[1],o=function(e,t,n){var i=qe();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ar(e,i,1),lr(e,t,n));var r=tn(t,e,t.length-1,i);pi(r,t);var a=ai(i,t);return a&&pi(a,t),r}(a,n,t);i.components.push(o),e[8]=o,r&&r.forEach((function(e){return e(o,t)})),t.contentQueries&&t.contentQueries(1,o,n.length-1);var s=qe();if(a.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){pt(s.index-19);var c=n[1];nr(c,t),ir(c,n,t.hostVars),rr(t,o)}return o}(b,this.componentDef,_,p,[ts]),zi(m,_,null)}finally{ht()}var k=new nc(this.componentType,r,oa(Cs,a,_),_,a);return n&&!f||(k.hostView._tViewNode.child=a),k}},{key:"inputs",get:function(){return Qs(this.componentDef.inputs)}},{key:"outputs",get:function(){return Qs(this.componentDef.outputs)}}]),t}(ys),nc=function(e){function t(e,n,i,r,a){var o,s,c,l;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).location=i,o._rootLView=r,o._tNode=a,o.destroyCbs=[],o.instance=n,o.hostView=o.changeDetectorRef=new aa(r),o.hostView._tViewNode=(s=r[1],c=r,null==(l=s.node)&&(s.node=l=Xi(0,null,2,-1,null,null)),c[6]=l),o.componentType=e,o}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new an(this._tNode,this._rootLView)}}]),t}(function(){return function e(){_classCallCheck(this,e)}}()),ic=void 0,rc=["en",[["a","p"],["AM","PM"],ic],[["AM","PM"],ic,ic],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ic,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ic,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ic,"{1} 'at' {0}",ic],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],ac={};function oc(e,t,n){"string"!=typeof t&&(n=t,t=e[dc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ac[t]=e,n&&(ac[t][dc.ExtraData]=n)}function sc(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=uc(t);if(n)return n;var i=t.split("-")[0];if(n=uc(i))return n;if("en"===i)return rc;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function cc(e){return sc(e)[dc.CurrencyCode]||null}function lc(e){return sc(e)[dc.PluralCase]}function uc(e){return e in ac||(ac[e]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[e]),ac[e]}var dc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),hc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,pc=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,mc=/\ufffd(\d+):?\d*\ufffd/gi,_c=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi;function bc(e){if(!e)return[];var t,n=0,i=[],r=[],a=/[{}]/g;for(a.lastIndex=0;t=a.exec(e);){var o=t.index;if("}"==t[0]){if(i.pop(),0==i.length){var s=e.substring(n,o);hc.test(s)?r.push(gc(s)):r.push(s),n=o+1}}else{if(0==i.length){var c=e.substring(n,o);r.push(c),n=o+1}i.push("{")}}var l=e.substring(n);return r.push(l),r}function gc(e){for(var t=[],n=[],i=1,r=0,a=bc(e=e.replace(hc,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""}))),o=0;on.length&&n.push(c)}return{type:i,mainBinding:r,cases:t,values:n}}function vc(e){for(var t,n,i="",r=0,a=!1;null!==(t=fc.exec(e));)a?t[0]==="\ufffd/*".concat(n,"\ufffd")&&(r=t.index,a=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],a=!0);return i+=e.substr(r)}function yc(e,t,n){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=[null,null],a=e.split(mc),o=0,s=0;s1&&void 0!==arguments[1]?arguments[1]:0;n|=Sc(e.mainBinding);for(var i=0;i>>17;o=Lc(n,a,h===e?i[6]:oi(n,h),o,i);break;case 0:var f=l>=0,p=(f?l:~l)>>>3;s.push(p),o=a,(a=oi(n,p))&&Je(a,f);break;case 5:o=a=oi(n,l>>>3),Je(a,!1);break;case 4:dr(l>>>3,t[++c],t[++c],n,i);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case Ei:var m=t[++c],_=t[++c],b=r.createComment(m);o=a,a=Oc(n,i,_,5,b,null),s.push(_),pi(b,i),a.activeCaseIndex=null,Ge();break;case Ai:var g=t[++c],v=t[++c];o=a,a=Oc(n,i,v,3,r.createElement(g),g),s.push(v);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}}return Ge(),s}function Tc(e,t,n,i){var r=oi(e,n),a=ri(n,t);a&&Kr(t[11],a);var o=si(t,n);if(Pe(o)){var s=o;0!==r.type&&Kr(t[11],s[7])}i&&(r.flags|=64)}function Ac(e,t,n){var i;(function(e,t,n){var i=Ne();wc[++Cc]=e,go(!0),i.firstCreatePass&&null===i.data[e+19]&&function(e,t,n,i,r){var a=t.blueprint.length-19;xc=0;var o=qe(),s=Ke()?o:o&&o.parent,c=s&&s!==e[6]?s.index-19:n,l=0;Mc[l]=c;var u=[];if(n>0&&o!==s){var d=o.index-19;Ke()||(d=~d),u.push(d<<3|0)}for(var h,f=[],p=[],m=(h=function(e,t){if("number"!=typeof t)return vc(e);var n=e.indexOf(":".concat(t,"\ufffd"))+2+t.toString().length,i=e.search(new RegExp("\ufffd\\/\\*\\d+:".concat(t,"\ufffd")));return vc(e.substring(n,i))}(i,r),h.replace(Hc," ")).split(pc),_=0;_0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(var i=0;i>1),o++}}(Ne(),i),go(!1)}function Ec(e,t){!function(e,t,n,i){for(var r=qe().index-19,a=[],o=0;o6&&void 0!==arguments[6]&&arguments[6],c=!1,l=0;l>>2,_=void 0,b=void 0;switch(3&p){case 1:er(a,o,m,t[++f],h,t[++f]);break;case 0:Dr(o,m,h);break;case 2:if(_=n[t[++f]],null!==(b=oi(a,m)).activeCaseIndex)for(var g=_.remove[b.activeCaseIndex],v=0;v>>3,!1);break;case 6:var k=oi(a,g[v+1]>>>3).activeCaseIndex;null!==k&&oe(n[y>>>3].remove[k],g)}}var w=Yc(_,h);b.activeCaseIndex=-1!==w?w:null,w>-1&&(Dc(-1,_.create[w],a,o),c=!0);break;case 3:_=n[t[++f]],null!==(b=oi(a,m)).activeCaseIndex&&e(_.update[b.activeCaseIndex],n,i,r,a,o,c)}}}l+=d}}(t,r,a,Pc,n,o),Pc=0,Rc=0}}function Yc(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var i=function(e,t){switch(lc(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,Bc);-1===(n=e.cases.indexOf(i))&&"other"!==i&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function Vc(e,t,n,i){for(var r=[],a=[],o=[],s=[],c=[],l=0;l null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&(Bc=e.toLowerCase().replace(/_/g,"-"))}var Nc=new Map,Uc=function(e){function t(e,n){var i;_classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._parent=n,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new Xs(_assertThisInitialized(i));var r=Ae(e),a=e[H]||null;return a&&zc(a),i._bootstrapComponents=Bt(r.bootstrap),i._r3Injector=ga(e,n,[{provide:re,useValue:_assertThisInitialized(i)},{provide:ws,useValue:i.componentFactoryResolver}],M(e)),i.instance=i.get(e),i}return _inherits(t,e),_createClass(t,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ma.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.Default;return e===Ma||e===re||e===U?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),t}(re),qc=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).moduleType=e,null!==Ae(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(M(t)," vs ").concat(M(t.name)))})(n,Nc.get(n),t),Nc.set(n,t)}var i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach((function(t){return e(t)}))}(e),n}return _inherits(t,e),_createClass(t,[{key:"create",value:function(e){return new Uc(this.moduleType,e)}}]),t}(ae);function Jc(e,t,n){var i=Xe()+e,r=ze();return r[i]===Li?Va(r,i,n?t.call(n):t()):Wa(r,i)}function Kc(e,t,n,i){return $c(ze(),Xe(),e,t,n,i)}function Gc(e,t,n,i,r){return function(e,t,n,i,r,a,o){var s=t+n;return Ha(e,s,r,a)?Va(e,s+2,o?i.call(o,r,a):i(r,a)):Wa(e,s+2)}(ze(),Xe(),e,t,n,i,r)}function $c(e,t,n,i,r,a){var o=t+n;return Fa(e,o,r)?Va(e,o+1,a?i.call(a,r):i(r)):Wa(e,o+1)}function Zc(e,t){var n,i=Ne(),r=e+19;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=Te(n.type)),o=Z(Ka),s=a();return Z(o),function(e,t,n,i){var r=n+19;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(i,ze(),e,s),s}function Xc(e,t,n){var i=ze(),r=si(i,e);return function(e,t){return Ia.isWrapped(t)&&(t=Ia.unwrap(t),e[Qe()]=Li),t}(i,function(e,t){return e[1].data[t+19].pure}(i,e)?$c(i,Xe(),t,r.transform,n,r):r.transform(n))}var Qc=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).__isAsync=n,e}return _inherits(t,e),_createClass(t,[{key:"emit",value:function(e){_get(_getPrototypeOf(t.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,n,i){var a,o=function(e){return null},s=function(){return null};e&&"object"==typeof e?(a=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(a=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(o=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),i&&(s=this.__isAsync?function(){setTimeout((function(){return i()}))}:function(){i()}));var c=_get(_getPrototypeOf(t.prototype),"subscribe",this).call(this,a,o,s);return e instanceof r.a&&e.add(c),c}}]),t}(i.a);function el(){return this._results[Pa()]()}var tl=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Qc,this.length=0;var t=Pa(),n=e.prototype;n[t]||(n[t]=el)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],a=0;a3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=i,this.read=r},al=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,i=0;i0)r.push(s[c/2]);else{for(var u=o[c+1],d=n[-l],h=9;h0&&void 0!==arguments[0]?arguments[0]:f.Default,t=la(!0);if(null!=t||e&f.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var wl=new N("Application Initializer"),Cl=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var i=0;i0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(e){return e.timeoutId!==r})),e(i._didWork,i.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Nl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}(),Ql=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,nu.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return nu.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function eu(e){nu=e}var tu,nu=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),iu=function(e,t,n){var i=new qc(n);if(0===Oa.size)return Promise.resolve(i);var r,a,o=(r=e.get(Hl,[]).concat(t).map((function(e){return e.providers})),a=[],r.forEach((function(e){return e&&a.push.apply(a,_toConsumableArray(e))})),a);if(0===o.length)return Promise.resolve(i);var s=function(){var e=j.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),c=Ma.create({providers:o}).get(s.ResourceLoader);return function(e){var t=[],n=new Map;function i(e){var t=n.get(e);if(!t){var i=function(e){return Promise.resolve(c.get(e))}(e);n.set(e,t=i.then(Ta))}return t}return Oa.forEach((function(e,n){var r=[];e.templateUrl&&r.push(i(e.templateUrl).then((function(t){e.template=t})));var a=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;a&&a.forEach((function(t,n){o.push(""),r.push(i(t).then((function(i){o[s+n]=i,a.splice(a.indexOf(t),1),0==a.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(r).then((function(){return function(e){Da.delete(e)}(n)}));t.push(c)})),Oa=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},ru=new N("AllowMultipleToken"),au=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function ou(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new N(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=su();if(!a||a.injector.get(ru,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var o=n.concat(t).concat({provide:r,useValue:!0},{provide:ha,useValue:"platform"});!function(e){if(tu&&!tu.destroyed&&!tu.injector.get(ru,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");tu=e.get(cu);var t=e.get(Ll,null);t&&t.forEach((function(e){return e()}))}(Ma.create({providers:o,name:i}))}return function(e){var t=su();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function su(){return tu&&!tu.destroyed?tu:null}var cu=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,a=(n=t?t.ngZone:void 0,i=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Zl:("zone.js"===n?void 0:n)||new Nl({enableLongStackTrace:Ln(),shouldCoalesceEventChangeDetection:i})),o=[{provide:Nl,useValue:a}];return a.run((function(){var t=Ma.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(un,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return du(r._modules,n)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(e){i.handleError(e)}})})),function(e,t,i){try{var a=((o=n.injector.get(Cl)).runInitializers(),o.donePromise.then((function(){return zc(n.injector.get(Al,"en-US")||"en-US"),r._moduleDoBootstrap(n),n})));return oo(a)?a.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):a}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var o}(i,a)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=lu({},n);return iu(this.injector,i,e).then((function(e){return t.bootstrapModuleFactory(e,i)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(uu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(M(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Ma))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function lu(e,t){return Array.isArray(t)?t.reduce(lu,e):Object.assign(Object.assign({},e),t)}var uu=function(){var e=function(){function e(t,n,i,r,c,l){var u=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=c,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ln(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var d=new a.a((function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){e.next(u._stable),e.complete()}))})),h=new a.a((function(e){var t;u._zone.runOutsideAngular((function(){t=u._zone.onStable.subscribe((function(){Nl.assertNotInAngularZone(),zl((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){Nl.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(o.a)(d,h.pipe(Object(s.a)()))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof ys?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(re),a=n.create(Ma.NULL,[],t||n.selector,r);a.onDestroy((function(){i._unloadComponent(a)}));var o=a.injector.get(Xl,null);return o&&a.injector.get(Ql).registerApplication(a.location.nativeElement,o),this._loadComponent(a),Ln()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t=!0,n=!1,i=void 0;try{for(var r,a=this._views[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){r.value.detectChanges()}}catch(d){n=!0,i=d}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}if(this._enforceNoNewChanges){var o=!0,s=!1,c=void 0;try{for(var l,u=this._views[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){l.value.checkNoChanges()}}catch(d){s=!0,c=d}finally{try{o||null==u.return||u.return()}finally{if(s)throw c}}}}catch(h){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(h)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;du(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Dl,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),du(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Nl),Q(Tl),Q(Ma),Q(un),Q(ws),Q(Cl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function du(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var hu=function e(){_classCallCheck(this,e)},fu=function e(){_classCallCheck(this,e)},pu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},mu=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||pu}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray(e.split("#"),2),r=i[0],a=i[1];return void 0===a&&(a="default"),n("crnd")(r).then((function(e){return e[a]})).then((function(e){return _u(e,r,a)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),i=t[0],r=t[1],a="NgFactory";return void 0===r&&(r="default",a=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(e){return e[r+a]})).then((function(e){return _u(e,i,r)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Fl),Q(fu,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function _u(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var bu=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(ua)),gu=function(e){return null},vu=ou(null,"core",[{provide:Ol,useValue:"unknown"},{provide:cu,deps:[Ma]},{provide:Ql,deps:[]},{provide:Tl,deps:[]}]),yu=[{provide:uu,useClass:uu,deps:[Nl,Tl,Ma,un,ws,Cl]},{provide:ec,deps:[Nl],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:Cl,useClass:Cl,deps:[[new u,wl]]},{provide:Fl,useClass:Fl,deps:[]},xl,{provide:Bs,useFactory:function(){return Us},deps:[]},{provide:zs,useFactory:function(){return qs},deps:[]},{provide:Al,useFactory:function(e){return zc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new l(Al),new u,new h]]},{provide:El,useValue:"USD"}],ku=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=Se({type:e}),e.\u0275inj=b({factory:function(t){return new(t||e)(Q(uu))},providers:yu}),e}()}).call(this,n("aWmh"))},fZJM:function(e,t,n){var i=t;i.utils=n("w8CP"),i.common=n("7ckf"),i.sha=n("WRkp"),i.ripemd=n("u0Sq"),i.hmac=n("ITfd"),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},fnjI:function(e,t,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,r.call(this,64,56)}function l(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function d(e,t,n,i){return 0===e?t&n|~t&i:2===e?t&n|t&i|n&i:t^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,h=0;h<16;++h)n[h]=e.readInt32BE(4*h);for(;h<80;++h)n[h]=(t=n[h-3]^n[h-8]^n[h-14]^n[h-16])<<1|t>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=l(i)+d(p,r,a,s)+c+n[f]+o[p]|0;c=s,s=a,a=u(r),r=i,i=m}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g2Dh:function(e,t,n){var i=n("Qd/k").Reporter,r=n("Qd/k").EncoderBuffer,a=n("Qd/k").DecoderBuffer,o=n("2j6C"),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function l(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=l;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var e=this._baseState,t={};u.forEach((function(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},l.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},l.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),o.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(o(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0),t[e[n]]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){throw new Error(e+" not implemented for encoding: "+this._baseState.enc)}})),s.forEach((function(e){l.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(n),this}})),l.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){var t=this._baseState;return o(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var i,r=n.default,o=!0,s=null;if(null!==n.key&&(s=e.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(o=this._peekTag(e,c,n.any),e.isError(o))return o}else{var l=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),o=!0}catch(p){o=!1}e.restore(l)}}if(n.obj&&o&&(i=e.enterObject()),o){if(null!==n.explicit){var u=this._decodeTag(e,n.explicit);if(e.isError(u))return u;e=u}var d=e.offset;if(null===n.use&&null===n.choice){n.any&&(l=e.save());var h=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(h))return h;n.any?r=e.raw(l):e=h}if(t&&t.track&&null!==n.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),r=n.any?r:null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),e.isError(r))return r;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var f=new a(r);r=this._getUse(n.contains,e._reporterState.obj)._decode(f,t)}}return n.obj&&o&&(r=e.leaveObject(i)),null===n.key||null===r&&!0!==o?null!==s&&e.exitKey(s):e.leaveKey(s,n.key,r),r},l.prototype._decodeGeneric=function(e,t,n){var i=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,i.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&i.args?this._decodeObjid(t,i.args[0],i.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,i.args&&i.args[0],n):null!==i.use?this._getUse(i.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),o(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(e,t){var n=this._baseState,i=null,r=!1;return Object.keys(n.choice).some((function(a){var o=e.save(),s=n.choice[a];try{var c=s._decode(e,t);if(e.isError(c))return!1;i={type:a,value:c},r=!0}catch(l){return e.restore(o),!1}return!0}),this),r?i:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},l.prototype._encode=function(e,t,n){var i=this._baseState;if(null===i.default||i.default!==e){var r=this._encodeValue(e,t,n);if(void 0!==r&&!this._skipDefault(r,t,n))return r}},l.prototype._encodeValue=function(e,t,n){var r=this._baseState;if(null===r.parent)return r.children[0]._encode(e,t||new i);var a=null;if(this.reporter=t,r.optional&&void 0===e){if(null===r.default)return;e=r.default}var o=null,s=!1;if(r.any)a=this._createEncoderBuffer(e);else if(r.choice)a=this._encodeChoice(e,t);else if(r.contains)o=this._getUse(r.contains,n)._encode(e,t),s=!0;else if(r.children)o=r.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var i=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var r=n._encode(e[n._baseState.key],t,e);return t.leaveKey(i),r}),this).filter((function(e){return e})),o=this._createEncoderBuffer(o);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,o=this._createEncoderBuffer(e.map((function(n){return this._getUse(this._baseState.args[0],e)._encode(n,t)}),c))}else null!==r.use?a=this._getUse(r.use,n)._encode(e,t):(o=this._encodePrimitive(r.tag,e),s=!0);if(!r.any&&null===r.choice){var l=null!==r.implicit?r.implicit:r.tag,u=null===r.implicit?"universal":"context";null===l?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(a=this._encodeComposite(l,s,u,o))}return null!==r.explicit&&(a=this._encodeComposite(r.explicit,!1,"context",a)),a},l.prototype._encodeChoice=function(e,t){var n=this._baseState,i=n.choice[e.type];return i||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),i._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},g9U9:function(e,t){e.exports=function(e,t){for(var n=e.length,i=-1;++i10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hbMA:function(e,t,n){var i=n("P7XM"),r=n("N2jm");function a(e){r.call(this,e),this.enc="pem"}i(a,r),e.exports=a,a.prototype.encode=function(e,t){for(var n=r.prototype.encode.call(this,e).toString("base64"),i=["-----BEGIN "+t.label+"-----"],a=0;a15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),n=-1;++n0){var s=new i(this.degree);return s.fill(0),a.copy(s,o),s}return a},e.exports=a},jUeY:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/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:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(i(e)?"godziny":"godzin");case"MM":return r+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?""===i?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_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\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("quSY");function a(e,t){return new i.a((function(n){var i=new r.a,a=0;return i.add(t.schedule((function(){a!==e.length?(n.next(e[a++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}},jfSC:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".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:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jfd1:function(e,t,n){var i=n("P7XM"),r=n("tjlA").Buffer,a=n("z71Z");function o(e){a.call(this,e),this.enc="pem"}i(o,a),e.exports=o,o.prototype.decode=function(e,t){for(var n=e.toString().split(/[\r\n]+/g),i=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,l=0;l=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(e){return function(t,n,a,o){var s=i(t),c=r[e][i(t)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},"k+aG":function(e,t,n){"use strict";var i=n("hwdV").Buffer,r=n("1IWx").Transform;function a(e){r.call(this),this._block=i.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n("P7XM")(a,r),a.prototype._transform=function(e,t,n){var i=null;try{this.update(e,t)}catch(r){i=r}n(i)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(n){t=n}e(t)},a.prototype.update=function(e,t){if(function(e,t){if(!i.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer")}(e),this._finalized)throw new Error("Digest already called");i.isBuffer(e)||(e=i.from(e,t));for(var n=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var a=this._blockOffset;a0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},a.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=a},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},"kVK+":function(e,t){t.read=function(e,t,n,i,r){var a,o,s=8*r-i-1,c=(1<>1,u=-7,d=n?r-1:0,h=n?-1:1,f=e[t+d];for(d+=h,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=i;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-l;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),a-=l}return(f?-1:1)*o*Math.pow(2,a-i)},t.write=function(e,t,n,i,r,a){var o,s,c,l=8*a-r-1,u=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+d>=1?h/c:h*Math.pow(2,1-d))*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*Math.pow(2,r),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;e[n+f]=255&s,f+=p,s/=256,r-=8);for(o=o<0;e[n+f]=255&o,f+=p,o/=256,l-=8);e[n+f-p]|=128*m}},"kk9/":function(e,t,n){var i=n("e/Dd").getSymbolSize;t.getPositions=function(e){var t=i(e);return[[0,0],[t-7,0],[0,t-7]]}},l5ep:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),t}(n("7o/Q").a)},lF1L:function(e,t,n){"use strict";var i=n("fZJM"),r=n("DLvh"),a=n("86MQ"),o=a.assert,s=a.parseBytes,c=n("OA+I"),l=n("RKMU");function u(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);this.curve=e=r[e].curve,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}e.exports=u,u.prototype.sign=function(e,t){e=s(e);var n=this.keyFromSecret(t),i=this.hashInt(n.messagePrefix(),e),r=this.g.mul(i),a=this.encodePoint(r),o=this.hashInt(a,n.pubBytes(),e).mul(n.priv()),c=i.add(o).umod(this.curve.n);return this.makeSignature({R:r,S:c,Rencoded:a})},u.prototype.verify=function(e,t,n){e=s(e),t=this.makeSignature(t);var i=this.keyFromPublic(n),r=this.hashInt(t.Rencoded(),i.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(i.pub().mul(r)).eq(a)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t>>7)^(p<<14|p>>>18)^p>>>3)+l[f-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+l[f-16]}var _=i&r^i&a^r&a,b=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[f]+l[f];h=d,d=u,u=s,s=o+b|0,o=a,a=r,r=i,i=b+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+_)|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),i.SHA256)},lWpZ:function(e,t,n){var i=n("Hjy1"),r=n("/ab2"),a=n("usKN"),o=n("C+gy"),s=n("roQf");function c(e,t,n){if(e=e.toLowerCase(),a[e])return r.createCipheriv(e,t,n);if(o[e])return new i({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function l(e,t,n){if(e=e.toLowerCase(),a[e])return r.createDecipheriv(e,t,n);if(o[e])return new i({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var n,i;if(e=e.toLowerCase(),a[e])n=a[e].key,i=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,i=o[e].iv}var r=s(t,!1,n,i);return c(e,r.key,r.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var n,i;if(e=e.toLowerCase(),a[e])n=a[e].key,i=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,i=o[e].iv}var r=s(t,!1,n,i);return l(e,r.key,r.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(o).concat(r.getCiphers())}},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYJp:function(e,t,n){var i=n("e/Dd"),r=i.getBCHDigit(1335);t.getEncodedBits=function(e,t){for(var n=e.bit<<3|t,a=n<<10;i.getBCHDigit(a)-r>=0;)a^=1335<=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lm0R:function(e,t,n){"use strict";(function(t){e.exports=!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?function(e,n,i,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,i)}));case 4:return t.nextTick((function(){e.call(null,n,i,r)}));default:for(a=new Array(s-1),o=0;o=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".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\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},mAz1:function(e,t,n){(function(t){var i=n("OZ/i"),r=n("MzeL").ec,a=n("Ku4m"),o=n("zZGF");function s(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,n,c,l,u){var d=a(c);if("ec"===d.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var i=o[n.data.algorithm.curve.join(".")];if(!i)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));return new r(i).verify(t,e,n.data.subjectPrivateKey.data)}(e,n,d)}if("dsa"===d.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,o=n.data.q,c=n.data.g,l=n.data.pub_key,u=a.signature.decode(e,"der"),d=u.s,h=u.r;s(d,o),s(h,o);var f=i.mont(r),p=d.invm(o);return 0===c.toRed(f).redPow(new i(t).mul(p).mod(o)).fromRed().mul(l.toRed(f).redPow(h.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(h)}(e,n,d)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");n=t.concat([u,n]);for(var h=d.modulus.byteLength(),f=[1],p=0;n.length+f.length+2=6?"utf-8":"binary",e.exports=n}).call(this,n("8oxB"))},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",(function(){return i}))},nZSm:function(e,t,n){var i=n("u/Db"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function a(e){this.mode=i.ALPHANUMERIC,this.data=e}a.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var n=45*r.indexOf(this.data[t]);n+=r.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},e.exports=a},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return function(t){for(var n=0,i=e.length;n>>2]}},i.pad.Iso10126)},olUY:function(e,t,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,r.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}i(c,r),c.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},c.prototype._update=function(e){for(var t,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,_=0|this._h,b=0;b<16;++b)n[b]=e.readInt32BE(4*b);for(;b<64;++b)n[b]=0|(((t=n[b-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[b-7]+f(n[b-15])+n[b-16];for(var g=0;g<64;++g){var v=_+h(c)+l(c,p,m)+o[g]+n[g]|0,y=d(i)+u(i,r,a)|0;_=m,m=p,p=c,c=s+v|0,s=a,a=r,r=i,i=v+y|0}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=_+this._h|0},c.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pA7S:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib,n=t.WordArray,r=t.BlockCipher,a=e.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var i=o[n]-1;t[n]=e[i>>>5]>>>31-i%32&1}for(var r=this._subKeys=[],a=0;a<16;a++){var l=r[a]=[],u=c[a];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=r[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var i=0;i<16;i++){for(var r=n[i],a=this._lBlock,o=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((o^r[c])&u[c])>>>0];this._lBlock=o,this._rBlock=a^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<>>2]|=r<<24-a%4*8,e.sigBytes+=r},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},i.pad.Ansix923)},qM6L:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(){var e=i.lib.WordArray,t=i.enc;function n(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>16-r%4*8&65535));return i.join("")},parse:function(t){for(var n=t.length,i=[],r=0;r>>1]|=t.charCodeAt(r)<<16-r%2*16;return e.create(i,2*n)}},t.Utf16LE={stringify:function(e){for(var t=e.words,i=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var i=t.length,r=[],a=0;a>>1]|=n(t.charCodeAt(a)<<16-a%2*16);return e.create(r,2*i)}}}(),i.enc.Utf16)},qVij:function(e,t,n){(function(t){var i=n("OZ/i"),r=n("Edxu");function a(e,n){var r=function(e){var t=o(e);return{blinder:t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(n),a=n.modulus.byteLength(),s=(i.mont(n.modulus),new i(e).mul(r.blinder).umod(n.modulus)),c=s.toRed(i.mont(n.prime1)),l=s.toRed(i.mont(n.prime2)),u=n.coefficient,d=n.prime1,h=n.prime2,f=c.redPow(n.exponent1),p=l.redPow(n.exponent2);f=f.fromRed(),p=p.fromRed();var m=f.isub(p).imul(u).umod(d);return m.imul(h),p.iadd(m),new t(p.imul(r.unblinder).umod(n.modulus).toArray(!1,a))}function o(e){for(var t=e.modulus.byteLength(),n=new i(r(t));n.cmp(e.modulus)>=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new i(r(t));return n}e.exports=a,a.getr=o}).call(this,n("tjlA").Buffer)},qlaj:function(e,t,n){"use strict";var i=n("w8CP").rotr32;function r(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,i){return 0===e?r(t,n,i):1===e||3===e?o(t,n,i):2===e?a(t,n,i):void 0},t.ch32=r,t.maj32=a,t.p32=o,t.s0_256=function(e){return i(e,2)^i(e,13)^i(e,22)},t.s1_256=function(e){return i(e,6)^i(e,11)^i(e,25)},t.g0_256=function(e){return i(e,7)^i(e,18)^e>>>3},t.g1_256=function(e){return i(e,17)^i(e,19)^e>>>10}},qmMu:function(e,t,n){var i=n("Wogr"),r=n("e/Dd"),a=n("ekOh"),o=n("e6BP"),s=n("V35J"),c=n("1sBl"),l=n("kk9/"),u=n("eQOe"),d=n("NPxG"),h=n("jSPq"),f=n("yKow"),p=n("lYJp"),m=n("u/Db"),_=n("vvrf"),b=n("7uVY");function g(e,t,n){var i,r,a=e.size,o=p.getEncodedBits(t,n);for(i=0;i<15;i++)e.set(i<6?i:i<8?i+1:a-15+i,8,r=1==(o>>i&1),!0),e.set(8,i<8?a-i-1:i<9?15-i-1+1:15-i-1,r,!0);e.set(a-8,8,1,!0)}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var n,p,v=a.M;return void 0!==t&&(v=a.from(t.errorCorrectionLevel,a.M),n=f.from(t.version),p=u.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,n,a){var p;if(b(e))p=_.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var v=t;if(!v){var y=_.rawSplit(e);v=f.getBestVersionForData(y,n)}p=_.fromString(e,v||40)}var k=f.getBestVersionForData(p,n);if(!k)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t=0&&s<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===s||6===s)||s>=2&&s<=4&&c>=2&&c<=4,!0)}(S,t),function(e){for(var t=e.size,n=8;n=7&&function(e,t){for(var n,i,r,a=e.size,o=f.getEncodedBits(t),s=0;s<18;s++)n=Math.floor(s/3),e.set(n,i=s%3+a-8-3,r=1==(o>>s&1),!0),e.set(i,n,r,!0)}(S,t),function(e,t){for(var n=e.size,i=-1,r=n-1,a=7,o=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var c=0;c<2;c++)if(!e.isReserved(r,s-c)){var l=!1;o>>a&1)),e.set(r,s-c,l),-1==--a&&(o++,a=7)}if((r+=i)<0||n<=r){r-=i,i=-i;break}}}(S,w),isNaN(a)&&(a=u.getBestMask(S,g.bind(null,S,n))),u.applyMask(a,S),g(S,n,a),{modules:S,version:t,errorCorrectionLevel:n,maskPattern:a,segments:p}}(e,n,v,p)}},qu8F:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CTRGladman=function(){var e=i.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}else e+=1<<24;return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(o);var s=o.slice(0);i.encryptBlock(s,0);for(var c=0;cn-h-2)throw new Error("message too long");var f=d.alloc(n-i-h-2),p=n-u-1,m=r(u),_=s(d.concat([l,f,d.alloc(1,1),t],p),o(m,p)),b=s(m,o(_,u));return new c(d.concat([d.alloc(1),b,_],n))}(p,t);else if(1===h)f=function(e,t,n){var i,a=t.length,o=e.modulus.byteLength();if(a>o-11)throw new Error("message too long");return i=n?d.alloc(o-a-3,255):function(e){for(var t,n=d.allocUnsafe(e),i=0,a=r(2*e),o=0;i=0)throw new Error("data too long for modulus")}return n?u(f,p):l(f,p)}},"rVI/":function(e,t,n){var i=n("tjlA"),r=i.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(r.prototype),a(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},rXFu:function(e,t,n){"use strict";(function(t,i){var r=n("lm0R");e.exports=v;var a,o=n("49sm");v.ReadableState=g,n("+qE3");var s=function(e,t){return e.listeners(t).length},c=n("QpuX"),l=n("hwdV").Buffer,u=t.Uint8Array||function(){},d=n("Onz0");d.inherits=n("P7XM");var h=n(1),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=n("Xhqo"),_=n("RoFp");d.inherits(v,c);var b=["error","close","destroy","pause","resume"];function g(e,t){a=a||n("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark;this.highWaterMark=i||0===i?i:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n("fXKp").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function v(e){if(a=a||n("sZro"),!(this instanceof v))return new v(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function y(e,t,n,i,r){var a,o=e._readableState;return null===t?(o.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,C(e)}}(e,o)):(r||(a=function(e,t){var n,i;return l.isBuffer(i=t)||i instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),i?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?k(e,o,t,!1):x(e,o)):k(e,o,t,!1))):i||(o.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r(S,e):S(e))}function S(e){f("emit readable"),e.emit("readable"),D(e)}function x(e,t){t.readingMore||(t.readingMore=!0,r(M,e,t))}function M(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var i;return ea.length?a.length:e;if(r+=o===a.length?a:a.slice(0,e),0==(e-=o)){o===a.length?(++i,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t):function(e,t){var n=l.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var a=i.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),0==(e-=o)){o===a.length?(++r,t.head=i.next?i.next:t.tail=null):(t.head=i,i.data=a.slice(o));break}++r}return t.length-=r,n}(e,t),i}(e,t.buffer,t.decoder),n);var n}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,r(E,t,e))}function E(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function P(e,t){for(var n=0,i=e.length;n=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?A(this):C(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&A(this),null;var i,r=t.needReadable;return f("need readable",r),(0===t.length||t.length-e0?T(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&A(this)),null!==i&&this.emit("data",i),i},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,f("pipe count=%d opts=%j",a.pipesCount,t);var c=t&&!1===t.end||e===i.stdout||e===i.stderr?g:l;function l(){f("onend"),e.end()}a.endEmitted?r(c):n.once("end",c),e.on("unpipe",(function t(i,r){f("onunpipe"),i===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",_),e.removeListener("finish",b),e.removeListener("drain",u),e.removeListener("error",m),e.removeListener("unpipe",t),n.removeListener("end",l),n.removeListener("end",g),n.removeListener("data",p),d=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}));var u=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,D(e))}}(n);e.on("drain",u);var d=!1,h=!1;function p(t){f("ondata"),h=!1,!1!==e.write(t)||h||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==P(a.pipes,e))&&!d&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function m(t){f("onerror",t),g(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",b),g()}function b(){f("onfinish"),e.removeListener("close",_),g()}function g(){f("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener("error",n);e._events&&e._events.error?o(e._events.error)?e._events.error.unshift(n):e._events.error=[n,e._events.error]:e.on("error",n)}(e,0,m),e.once("close",_),e.once("finish",b),e.emit("pipe",n),a.flowing||(f("pipe resume"),n.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},roQf:function(e,t,n){var i=n("hwdV").Buffer,r=n("9XZ3");e.exports=function(e,t,n,a){if(i.isBuffer(e)||(e=i.from(e,"binary")),t&&(i.isBuffer(t)||(t=i.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=n/8,s=i.alloc(o),c=i.alloc(a||0),l=i.alloc(0);o>0||a>0;){var u=new r;u.update(l),u.update(e),t&&u.update(t),l=u.digest();var d=0;if(o>0){var h=s.length-o;d=Math.min(o,l.length),l.copy(s,h,0,d),o-=d}if(d0){var f=c.length-a,p=Math.min(a,l.length-d);l.copy(c,f,d,d+p),a-=p}}return l.fill(0),{key:s,iv:c}}},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sZro:function(e,t,n){"use strict";var i=n("lm0R"),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var a=n("Onz0");a.inherits=n("P7XM");var o=n("rXFu"),s=n("3BRs");a.inherits(d,o);for(var c=r(s.prototype),l=0;l4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],c=[],l=-1,u=null;if(r.forEach((function(e){var n=e.offset,r=n==l,d=r&&u||{};Object.keys(e).forEach((function(n){var r=n,c=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),c){case i.p:c=a[n];break;case i.a:c=o[n];break;default:c=t.normalizeStyleValue(n,r,c,s)}d[r]=c})),r||c.push(d),u=d,l=n})),s.length){var d="\n - ";throw new Error("Unable to animate due to the following errors:".concat(d).concat(s.join(d)))}return c}function c(e,t,n,i){switch(t){case"start":e.onStart((function(){return i(n&&l(n,"start",e))}));break;case"done":e.onDone((function(){return i(n&&l(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return i(n&&l(n,"destroy",e))}))}}function l(e,t,n){var i=n.totalTime,r=u(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),a=e._data;return null!=a&&(r._data=a),r}function u(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function d(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function h(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var f=function(e,t){return!1},p=function(e,t){return!1},m=function(e,t,n){return[]},_=a();(_||"undefined"!=typeof Element)&&(f=function(e,t){return e.contains(t)},p=function(){if(_||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:p}(),m=function(e,t,n){var i=[];if(n)i.push.apply(i,_toConsumableArray(e.querySelectorAll(t)));else{var r=e.querySelector(t);r&&i.push(r)}return i});var b=null,g=!1;function v(e){b||(b=("undefined"!=typeof document?document.body:null)||{},g=!!b.style&&"WebkitAppearance"in b.style);var t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in b.style)&&g)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}var y=p,k=f,w=m;function C(e){var t={};return Object.keys(e).forEach((function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]})),t}var S=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return y(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return w(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,a){arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&arguments[6];return new i.d(n,r)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Lb({token:e,factory:e.\u0275fac}),e}(),x=function(){var e=function e(){_classCallCheck(this,e)};return e.NOOP=new S,e}();function M(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:L(parseFloat(t[1]),t[2])}function L(e,t){switch(t){case"s":return 1e3*e;default:return e}}function O(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,r=0,a="";if("string"==typeof e){var o=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=L(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=L(parseFloat(s),o[4]));var c=o[5];c&&(a=c)}else i=e;if(!n){var l=!1,u=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),l=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&t.splice(u,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:i,delay:r,easing:a}}(e,t,n)}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else D(e,n);return n}function A(e,t,n){return n?t+":"+n+";":""}function E(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var a=r[1],o=r[2],s=r[3];t.push(K(a,s)),"<"!=o[0]||"*"==a&&"*"==s||t.push(K(s,a))}(e,r,i)})):r.push(n),r),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:ee(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return N(n,e,t)})),options:ee(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,a=e.steps.map((function(e){t.currentTime=i;var a=N(n,e,t);return r=Math.max(r,t.currentTime),a}));return t.currentTime=r,{type:3,steps:a,options:ee(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return te(O(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var r=te(0,0,"");return r.dynamic=!0,r.strValue=i,r}return te((n=n||O(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var a=e.styles?e.styles:Object(i.l)({});if(5==a.type)n=this.visitKeyframes(a,t);else{var o=e.styles,s=!1;if(!o){s=!0;var c={};r.easing&&(c.easing=r.easing),o=Object(i.l)(c)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=s,n=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==i.a?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var r=!1,a=null;return n.forEach((function(e){if(Q(e)){var t=e,n=t.easing;if(n&&(a=n,delete t.easing),!r)for(var i in t)if(t[i].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,a=t.currentTime;i&&a>0&&(a-=i.duration+i.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(i){if(n._driver.validateStyleProperty(i)){var o,s,c,l,u,d=t.collectedStyles[t.currentQuerySelector],h=d[i],f=!0;h&&(a!=r&&a>=h.startTime&&r<=h.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(h.startTime,'ms" and "').concat(h.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),f=!1),a=h.startTime),f&&(d[i]={startTime:a,endTime:r}),t.options&&(o=e[i],s=t.options,c=t.errors,l=s.params||{},(u=Y(o)).length&&u.forEach((function(e){l.hasOwnProperty(e)||c.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,c=0,l=e.steps.map((function(e){var i=n._makeStyleAst(e,t),l=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(Q(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(Q(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),u=0;return null!=l&&(r++,u=i.offset=l),s=s||u<0||u>1,o=o||u0&&r0?r==h?1:d*r:a[r],s=o*m;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=o,i.styles.push(e)})),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:N(this,I(e.animation),t),options:ee(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ee(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ee(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(G,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),a=r[0],o=r[1];t.currentQuerySelector=n.length?n+" "+a:a,d(t.collectedStyles,t.currentQuerySelector,{});var s=N(this,I(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:ee(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:O(e.timings,t.errors,!0);return{type:12,animation:N(this,I(e.animation),t),timings:n,options:null}}}]),e}(),X=function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Q(e){return!Array.isArray(e)&&"object"==typeof e}function ee(e){var t;return e?(e=D(e)).params&&(e.params=(t=e.params)?D(t):null):e={},e}function te(e,t,n){return{duration:e,delay:t,easing:n}}function ne(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var ie=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),re=new RegExp(":enter","g"),ae=new RegExp(":leave","g");function oe(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new se).buildKeyframes(e,t,n,i,r,a,o,s,c,l)}var se=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,a,o,s,c){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new ie;var u=new le(e,t,c,i,r,l,[]);u.options=s,u.currentTimeline.setStyles([a],null,u.errors,s),N(this,n,u);var d=u.timelines.filter((function(e){return e.containsAnimation()}));if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,u.errors,s)}return d.length?d.map((function(e){return e.buildKeyframes()})):[ne(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?M(n.duration):null,a=null!=n.delay?M(n.delay):null;return 0!==r&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,r,a);i=Math.max(i,n.duration+n.delay)})),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),N(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,a=e.options;if(a&&(a.params||a.delay)&&((r=t.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ce);var o=M(a.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach((function(e){return N(n,e,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,a=e.options&&e.options.delay?M(e.options.delay):0;e.steps.forEach((function(o){var s=t.createSubContext(e.options);a&&s.delayNextStep(a),N(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return O(t.params?V(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach((function(e){a.forwardTime((e.offset||0)*r),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},a=r.delay?M(r.delay):0;a&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ce);var o=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach((function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);a&&s.delayNextStep(a),i===t.element&&(c=s.currentTimeline),N(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var l=c.currentTime;N(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),e}(),ce={},le=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ce,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new ue(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=M(i.duration)),null!=i.delay&&(r.delay=M(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(e){t&&o.hasOwnProperty(e)||(o[e]=V(a[e],o,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ce,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new de(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,a){var o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(re,"."+this._enterClassName)).replace(ae,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,_toConsumableArray(s))}return r||0!=o.length||a.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),o}},{key:"params",get:function(){return this.options.params}}]),e}(),ue=function(){function e(t,n,i,r){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||i.a,t._currentKeyframe[e]=i.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var a=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]=i.a})):T(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=V(s[e],o,n);a._pendingStyles[e]=t,a._localTimelineStyles.hasOwnProperty(e)||(a._backFill[e]=a._globalTimelineStyles.hasOwnProperty(e)?a._globalTimelineStyles[e]:i.a),a._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,a=[];this._keyframes.forEach((function(o,s){var c=T(o,!0);Object.keys(c).forEach((function(e){var r=c[e];r==i.p?t.add(e):r==i.a&&n.add(e)})),r||(c.offset=s/e.duration),a.push(c)}));var o=t.size?W(t.values()):[],s=n.size?W(n.values()):[];if(r){var c=a[0],l=D(c);c.offset=0,l.offset=1,a=[c,l]}return ne(this.element,a,o,s,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),de=function(e){function t(e,n,i,r,a,o){var s,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,t),(s=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,o.delay))).element=n,s.keyframes=i,s.preStyleProps=r,s.postStyleProps=a,s._stretchStartingKeyframe=c,s.timings={duration:o.duration,delay:o.delay,easing:o.easing},s}return _inherits(t,e),_createClass(t,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,c=T(e[0],!1);c.offset=0,a.push(c);var l=T(e[0],!1);l.offset=he(s),a.push(l);for(var u=e.length-1,d=1;d<=u;d++){var h=T(e[d],!1);h.offset=he((n+h.offset*i)/o),a.push(h)}i=o,n=0,r="",e=a}return ne(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),t}(ue);function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var fe,pe,me=function e(){_classCallCheck(this,e)},_e=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"normalizePropertyName",value:function(e,t){return H(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",a=n.toString().trim();if(be[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return a+r}}]),t}(me),be=(fe="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),pe={},fe.forEach((function(e){return pe[e]=!0})),pe);function ge(e,t,n,i,r,a,o,s,c,l,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}var ve={},ye=function(){function e(t,n,i){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return _createClass(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some((function(e){return e(t,n,i,r)}))}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],a=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):a}},{key:"build",value:function(e,t,n,i,r,a,o,s,c,l){var u=[],h=this.ast.options&&this.ast.options.params||ve,f=this.buildStyles(n,o&&o.params||ve,u),p=s&&s.params||ve,m=this.buildStyles(i,p,u),_=new Set,b=new Map,g=new Map,v="void"===i,y={params:Object.assign(Object.assign({},h),p)},k=l?[]:oe(e,t,this.ast.animation,r,a,f,m,y,c,u),w=0;if(k.forEach((function(e){w=Math.max(e.duration+e.delay,w)})),u.length)return ge(t,this._triggerName,n,i,v,f,m,[],[],b,g,w,u);k.forEach((function(e){var n=e.element,i=d(b,n,{});e.preStyleProps.forEach((function(e){return i[e]=!0}));var r=d(g,n,{});e.postStyleProps.forEach((function(e){return r[e]=!0})),n!==t&&_.add(n)}));var C=W(_.values());return ge(t,this._triggerName,n,i,v,f,m,k,C,b,g,w)}}]),e}(),ke=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},i=D(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(i[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach((function(e){var a=r[e];a.length>1&&(a=V(a,i,t)),n[e]=a}))}})),n}}]),e}(),we=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){i.states[e.name]=new ke(e.style,e.options&&e.options.params||{})})),Ce(this.states,"true","1"),Ce(this.states,"false","0"),n.transitions.forEach((function(e){i.transitionFactories.push(new ye(t,e,i.states))})),this.fallbackTransition=new ye(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find((function(r){return r.match(e,t,n,i)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function Ce(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Se=new ie,xe=function(){function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],i=$(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=s(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],c=this._animations[e],l=new Map;if(c?(n=oe(this._driver,t,c,"ng-enter","ng-leave",{},{},a,Se,s)).forEach((function(e){var t=d(l,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(s.push("The requested animation doesn't exist or has already been destroyed"),n=[]),s.length)throw new Error("Unable to create the animation due to the following errors: ".concat(s.join("\n")));l.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,i.a)}))}));var u=o(n.map((function(e){var t=l.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=u,u.onDestroy((function(){return r.destroy(e)})),this.players.push(u),u}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=u(t,"","","");return c(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Me=[],Le={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},De=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var a=D(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),Te=new De("void"),Ae=function(){function e(t,n,i){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ve(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var o=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);var c=d(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(Ve(e,"ng-trigger"),Ve(e,"ng-trigger-"+t),c[t]=Te),function(){a._engine.afterFlush((function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),a._triggers[t]||delete c[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(t),o=new Pe(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Ve(e,"ng-trigger"),Ve(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],l=new De(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s[t]=l,c||(c=Te),"void"===l.value||c.value!==l.value){var u=d(this._engine.playersByElement,e,[]);u.forEach((function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()}));var h=a.matchTransition(c.value,l.value,e,l.params),f=!1;if(!h){if(!r)return;h=a.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:c,toState:l,player:o,isFallbackTransition:f}),f||(Ve(e,"ng-animate-queued"),o.onStart((function(){We(e,"ng-animate-queued")}))),o.onDone((function(){var t=i.players.indexOf(o);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}})),this.players.push(o),u.push(o),o}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(a,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ve(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),We(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Re(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Re(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return o(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Le,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;D--)this._namespaceList[D].drainQueuedTransitions(t).forEach((function(e){var t=e.player,i=e.element;if(L.push(t),n.collectedEnterElements.length){var o=i.__ng_removed;if(o&&o.setForMove)return void t.destroy()}var s=!p||!n.driver.containsElement(p,i),f=x.get(i),m=b.get(i),_=n._buildInstruction(e,r,m,f,s);if(!_.errors||!_.errors.length)return s?(t.onStart((function(){return R(i,_.fromStyles)})),t.onDestroy((function(){return P(i,_.toStyles)})),void a.push(t)):e.isFallbackTransition?(t.onStart((function(){return R(i,_.fromStyles)})),t.onDestroy((function(){return P(i,_.toStyles)})),void a.push(t)):(_.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(i,_.timelines),c.push({instruction:_,player:t,element:i}),_.queriedElements.forEach((function(e){return d(l,e,[]).push(t)})),_.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var i=u.get(t);i||u.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}})),void _.postStyleProps.forEach((function(e,t){var n=Object.keys(e),i=h.get(t);i||h.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))})));O.push(_)}));if(O.length){var T=[];O.forEach((function(e){T.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return T.push("- ".concat(e,"\n"))}))})),L.forEach((function(e){return e.destroy()})),this.reportError(T)}var A=new Map,E=new Map;c.forEach((function(e){var t=e.element;r.has(t)&&(E.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,A))})),a.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){d(A,t,[]).push(e),e.destroy()}))}));var I=v.filter((function(e){return He(e,u,h)})),j=new Map;je(j,this.driver,k,h,i.a).forEach((function(e){He(e,u,h)&&I.push(e)}));var Y=new Map;_.forEach((function(e,t){je(Y,n.driver,new Set(e),u,i.p)})),I.forEach((function(e){var t=j.get(e),n=Y.get(e);j.set(e,Object.assign(Object.assign({},t),n))}));var V=[],W=[],F={};c.forEach((function(e){var t=e.element,i=e.player,c=e.instruction;if(r.has(t)){if(f.has(t))return i.onDestroy((function(){return P(t,c.toStyles)})),i.disabled=!0,i.overrideTotalTime(c.totalTime),void a.push(i);var l=F;if(E.size>1){for(var u=t,d=[];u=u.parentNode;){var h=E.get(u);if(h){l=h;break}d.push(u)}d.forEach((function(e){return E.set(e,l)}))}var p=n._buildAnimation(i.namespaceId,c,A,s,Y,j);if(i.setRealPlayer(p),l===F)V.push(i);else{var m=n.playersByElement.get(l);m&&m.length&&(i.parentPlayer=o(m)),a.push(i)}}else R(t,c.fromStyles),i.onDestroy((function(){return P(t,c.toStyles)})),W.push(i),f.has(t)&&a.push(i)})),W.forEach((function(e){var t=s.get(e.element);if(t&&t.length){var n=o(t);e.setRealPlayer(n)}})),a.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var H=0;H0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new i.d(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),Pe=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new i.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return c(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){d(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Re(e){return e&&1===e.nodeType}function Ie(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function je(e,t,n,i,r){var a=[];n.forEach((function(e){return a.push(Ie(e))}));var o=[];i.forEach((function(n,i){var a={};n.forEach((function(e){var n=a[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Oe,o.push(i))})),e.set(i,a)}));var s=0;return n.forEach((function(e){return Ie(e,a[s++])})),o}function Ye(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var i=new Set(t),r=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var a=r.get(t);if(a)return a;var o=t.parentNode;return a=n.has(o)?o:i.has(o)?1:e(o),r.set(t,a),a}(e);1!==t&&n.get(t).push(e)})),n}function Ve(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function We(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Fe(e,t,n){o(n).onDone((function(){return e.processLeaveNode(t)}))}function He(e,t,n){var i=n.get(e);if(!i)return!1;var r=t.get(e);return r?i.forEach((function(e){return r.add(e)})):t.set(e,i),n.delete(e),!0}var Be=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Ee(t,n,i),this._timelineEngine=new xe(t,n,i),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return _createClass(e,[{key:"registerTrigger",value:function(e,t,n,i,r){var a=e+"-"+i,o=this._triggerCache[a];if(!o){var s=[],c=$(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));o=function(e,t){return new we(e,t)}(i,c),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}},{key:"onRemove",value:function(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,i){if("@"==n.charAt(0)){var r=_slicedToArray(h(n),2),a=r[0],o=r[1];this._timelineEngine.command(a,t,o,i)}else this._transitionEngine.trigger(e,t,n,i)}},{key:"listen",value:function(e,t,n,i,r){if("@"==n.charAt(0)){var a=_slicedToArray(h(n),2),o=a[0],s=a[1];return this._timelineEngine.listen(o,t,s,r)}return this._transitionEngine.listen(e,t,n,i,r)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function ze(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=Ue(t[0]),t.length>1&&(i=Ue(t[t.length-1]))):t&&(n=Ue(t)),n||i?new Ne(e,n,i):null}var Ne=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&P(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(P(this._element,this._initialStyles),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),P(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function Ue(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Ze(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=Qe(e,"").split(","),(i=$e(n,t))>=0&&(n.splice(i,1),Xe(e,"",n.join(","))))}}]),e}();function Ke(e,t,n){Xe(e,"PlayState",n,Ge(e,t))}function Ge(e,t){var n=Qe(e,"");return n.indexOf(",")>0?$e(n.split(","),t):$e([n],t)}function $e(e,t){for(var n=0;n=0)return n;return-1}function Ze(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Xe(e,t,n,i){var r="animation"+t;if(null!=i){var a=e.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}e.style[r]=n}function Qe(e,t){return e.style["animation"+t]}var et=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Je(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:U(e.element,i))}))}this.currentSnapshot=t}}]),e}(),tt=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).element=e,i._startingStyles={},i.__initialized=!1,i._styles=C(n),i}return _inherits(t,e),_createClass(t,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),_get(_getPrototypeOf(t.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),_get(_getPrototypeOf(t.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,_get(_getPrototypeOf(t.prototype),"destroy",this).call(this))}}]),t}(i.d),nt=function(){function e(){_classCallCheck(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return y(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return w(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return C(e)}));var i="@keyframes ".concat(t," {\n"),r="";n.forEach((function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}})),i+="".concat(r,"}\n")})),i+="}\n";var a=document.createElement("style");return a.innerHTML=i,a}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;o&&this._notifyFaultyScrubber();var s=a.filter((function(e){return e instanceof et})),c={};B(n,i)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=z(e,t,c));if(0==n)return new tt(e,l);var u="gen_css_kf_".concat(this._count++),d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);var h=ze(e,t),f=new et(e,t,u,n,i,r,l,h);return f.onDestroy((function(){var e;(e=d).parentNode.removeChild(e)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}(),it=function(){function e(t,n,i,r){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:U(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),rt=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ot().toString()),this._cssKeyframesDriver=new nt}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return y(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return w(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,a);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var c={},l=a.filter((function(e){return e instanceof it}));B(n,i)&&l.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=ze(e,t=z(e,t=t.map((function(e){return T(e,!1)})),c));return new it(e,t,s,u)}}]),e}();function at(){return"function"==typeof ot()}function ot(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,n("8oxB"))},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tOiH:function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},tSWc:function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("2j6C"),o=i.rotr64_hi,s=i.rotr64_lo,c=i.shr64_hi,l=i.shr64_lo,u=i.sum64,d=i.sum64_hi,h=i.sum64_lo,f=i.sum64_4_hi,p=i.sum64_4_lo,m=i.sum64_5_hi,_=i.sum64_5_lo,b=r.BlockHash,g=[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 v(){if(!(this instanceof v))return new v;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function y(e,t,n,i,r){var a=e&n^~e&r;return a<0&&(a+=4294967296),a}function k(e,t,n,i,r,a){var o=t&i^~t&a;return o<0&&(o+=4294967296),o}function w(e,t,n,i,r){var a=e&n^e&r^n&r;return a<0&&(a+=4294967296),a}function C(e,t,n,i,r,a){var o=t&i^t&a^i&a;return o<0&&(o+=4294967296),o}function S(e,t){var n=o(e,t,28)^o(t,e,2)^o(t,e,7);return n<0&&(n+=4294967296),n}function x(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function M(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function L(e,t){var n=o(e,t,1)^o(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function O(e,t){var n=s(e,t,1)^s(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function D(e,t){var n=s(e,t,19)^s(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}i.inherits(v,b),e.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(e,t){for(var n=this.W,i=0;i<32;i++)n[i]=e[t+i];for(;i=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tcrS:function(e,t,n){"use strict";var i=n("tjlA").Buffer,r=n("P7XM"),a=n("k+aG"),o=new Array(16),s=[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],c=[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],l=[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],u=[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],d=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function m(e,t,n,i,r,a,o,s){return p(e+(t^n^i)+a+o|0,s)+r|0}function _(e,t,n,i,r,a,o,s){return p(e+(t&n|~t&i)+a+o|0,s)+r|0}function b(e,t,n,i,r,a,o,s){return p(e+((t|~n)^i)+a+o|0,s)+r|0}function g(e,t,n,i,r,a,o,s){return p(e+(t&i|n&~i)+a+o|0,s)+r|0}function v(e,t,n,i,r,a,o,s){return p(e+(t^(n|~i))+a+o|0,s)+r|0}r(f,a),f.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,i=0|this._b,r=0|this._c,a=0|this._d,f=0|this._e,y=0|this._a,k=0|this._b,w=0|this._c,C=0|this._d,S=0|this._e,x=0;x<80;x+=1){var M,L;x<16?(M=m(n,i,r,a,f,e[s[x]],d[0],l[x]),L=v(y,k,w,C,S,e[c[x]],h[0],u[x])):x<32?(M=_(n,i,r,a,f,e[s[x]],d[1],l[x]),L=g(y,k,w,C,S,e[c[x]],h[1],u[x])):x<48?(M=b(n,i,r,a,f,e[s[x]],d[2],l[x]),L=b(y,k,w,C,S,e[c[x]],h[2],u[x])):x<64?(M=g(n,i,r,a,f,e[s[x]],d[3],l[x]),L=_(y,k,w,C,S,e[c[x]],h[3],u[x])):(M=v(n,i,r,a,f,e[s[x]],d[4],l[x]),L=m(y,k,w,C,S,e[c[x]],h[4],u[x])),n=f,f=a,a=p(r,10),r=i,i=M,y=S,S=C,C=p(w,10),w=k,k=L}var O=this._b+r+C|0;this._b=this._c+a+S|0,this._c=this._d+f+y|0,this._d=this._e+n+k|0,this._e=this._a+i+w|0,this._a=O},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 e=i.alloc?i.alloc(20):new i(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=f},tjlA:function(e,t,n){"use strict";(function(e){var i=n("H7XF"),r=n("kVK+"),a=n("49sm");function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(e).length;default:if(i)return W(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return L(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function _(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function b(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=c.from(t,i)),c.isBuffer(t))return 0===t.length?-1:g(e,t,n,i,r);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,i,r){var a,o=1,s=e.length,c=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var u=-1;for(a=n;as&&(n=s-c),a=n;a>=0;a--){for(var d=!0,h=0;hr&&(i=r):i=r;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o>8,r.push(n%256),r.push(i);return r}(t,e.length-n),e,n,i)}function x(e,t,n){return i.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r239?4:l>223?3:l>191?2:1;if(r+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(a=e[r+1]))&&(c=(31&l)<<6|63&a)>127&&(u=c);break;case 3:o=e[r+2],128==(192&(a=e[r+1]))&&128==(192&o)&&(c=(15&l)<<12|(63&a)<<6|63&o)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[r+2],s=e[r+3],128==(192&(a=e[r+1]))&&128==(192&o)&&128==(192&s)&&(c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(i.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;ir)&&(n=r);for(var a="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,n,i,r,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function P(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function R(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function I(e,t,n,i,r,a){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,i,a){return a||I(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function Y(e,t,n,i,a){return a||I(e,0,n,8),r.write(e,t,n,i,52,8),n+8}t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=o(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,i){return u(t),t<=0?s(null,t):void 0!==n?"string"==typeof i?s(null,t).fill(n,i):s(null,t).fill(n):s(null,t)}(0,e,t,n)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,a=Math.min(n,i);r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,i,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(i,r),u=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},c.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var i=this[e],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var i=t,r=1,a=this[e+--i];i>0&&(r*=256);)a+=this[e+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||E(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+r]=e/a&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return Y(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return Y(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function F(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}}).call(this,n("aWmh"))},tnIz:function(e,t,n){var i=n("hwdV").Buffer;function r(e,t){this._block=i.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(e=i.from(e,t=t||"utf8"));for(var n=this._block,r=this._blockSize,a=e.length,o=this._len,s=0;s=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 i=(4294967295&n)>>>0;this._block.writeUInt32BE((n-i)/4294967296,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var r=this._hash();return e?r.toString(e):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r},tpL1:function(e,t,n){(function(t){var i=n("mObS"),r=n("1IWx"),a=n("P7XM"),o=n("b+dc"),s=n("mAz1"),c=n("tOiH");function l(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new l(e)}function h(e){return new u(e)}Object.keys(c).forEach((function(e){c[e].id=new t(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),a(l,r.Writable),l.prototype._write=function(e,t,n){this._hash.update(e),n()},l.prototype.update=function(e,n){return"string"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),i=o(n,e,this._hashType,this._signType,this._tag);return t?i.toString(t):i},a(u,r.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,n){return"string"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},u.prototype.verify=function(e,n,i){"string"==typeof n&&(n=new t(n,i)),this.end();var r=this._hash.digest();return s(n,r,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}}).call(this,n("tjlA").Buffer)},"tz+M":function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ"),a=r.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new i(e.r,16),this.s=new i(e.s,16),this.recoveryParam=void 0===e.recoveryParam?null:e.recoveryParam)}function s(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;for(var i=15&n,r=0,a=0,o=t.place;a>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=r.toArray(e,t);var n=new s;if(48!==e[n.place++])return!1;if(c(e,n)+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var a=c(e,n),o=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var l=c(e,n);if(e.length!==l+n.place)return!1;var u=e.slice(n.place,l+n.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===u[0]&&128&u[1]&&(u=u.slice(1)),this.r=new i(o),this.s=new i(u),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var i=[2];u(i,t.length),(i=i.concat(t)).push(2),u(i,n.length);var a=i.concat(n),o=[48];return u(o,a.length),o=o.concat(a),r.encode(o,e)}},"u/Db":function(e,t,n){var i=n("J6Nv"),r=n("BCVQ");t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!i.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return r.testNumeric(e)?t.NUMERIC:r.testAlphanumeric(e)?t.ALPHANUMERIC:r.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(i){return n}}},u0Sq:function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=i.rotl32,o=i.sum32,s=i.sum32_3,c=i.sum32_4,l=r.BlockHash;function u(){if(!(this instanceof u))return new u;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,n,i){return e<=15?t^n^i:e<=31?t&n|~t&i:e<=47?(t|~n)^i:e<=63?t&i|n&~i:t^(n|~i)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}i.inherits(u,l),t.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var n=this.h[0],i=this.h[1],r=this.h[2],l=this.h[3],u=this.h[4],g=n,v=i,y=r,k=l,w=u,C=0;C<80;C++){var S=o(a(c(n,d(C,i,r,l),e[p[C]+t],h(C)),_[C]),u);n=u,u=l,l=a(r,10),r=i,i=S,S=o(a(c(g,d(79-C,v,y,k),e[m[C]+t],f(C)),b[C]),w),g=w,w=k,k=a(y,10),y=v,v=S}S=s(this.h[1],r,k),this.h[1]=s(this.h[2],l,w),this.h[2]=s(this.h[3],u,g),this.h[3]=s(this.h[4],n,v),this.h[4]=s(this.h[0],i,y),this.h[0]=S},u.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var p=[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],m=[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],_=[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],b=[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]},u3GI:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uDfV:function(e,t,n){var i=n("P7XM"),r=n("T9HO"),a=n("tnIz"),o=n("hwdV").Buffer,s=new Array(160);function c(){this.init(),this._w=s,a.call(this,128,112)}i(c,r),c.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},c.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,n,i){e.writeInt32BE(t,i),e.writeInt32BE(n,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},uEye:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),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\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] 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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uGsb:function(e,t,n){var i,r,a,o,s,c,l,u;e.exports=(u=n("Ib8C"),n("MlIO"),n("1uat"),a=(r=(i=u).x64).Word,o=r.WordArray,l=(s=i.algo).SHA384=(c=s.SHA512).extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),i.SHA384=c._createHelper(l),i.HmacSHA384=c._createHmacHelper(l),u.SHA384)},uGxW:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding)},uXwI:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_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:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uagp:function(e,t,n){"use strict";var i=n("OZ/i"),r=n("aqI/"),a=n("86MQ"),o=n("DLvh"),s=n("/ayr"),c=a.assert,l=n("uzSA"),u=n("tz+M");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(c(o.hasOwnProperty(e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new l(this,e)},d.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new i(2));;){var o=new i(t.generate(n));if(!(o.cmp(a)>0))return o.iaddn(1),this.keyFromPrivate(o)}},d.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,n,a){"object"==typeof n&&(a=n,n=null),a||(a={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new i(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),c=e.toArray("be",o),l=new r({hash:this.hash,entropy:s,nonce:c,pers:a.pers,persEnc:a.persEnc||"utf8"}),d=this.n.sub(new i(1)),h=0;;h++){var f=a.k?a.k(h):new i(l.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(d)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var m=p.getX(),_=m.umod(this.n);if(0!==_.cmpn(0)){var b=f.invm(this.n).mul(_.mul(t.getPrivate()).iadd(e));if(0!==(b=b.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(_)?2:0);return a.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),g^=1),new u({r:_,s:b,recoveryParam:g})}}}}}},d.prototype.verify=function(e,t,n,r){e=this._truncateToN(new i(e,16)),n=this.keyFromPublic(n,r);var a=(t=new u(t,"hex")).r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,c=o.invm(this.n),l=c.mul(e).umod(this.n),d=c.mul(a).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,n.getPublic(),d)).isInfinity()&&s.eqXToP(a):!(s=this.g.mulAdd(l,n.getPublic(),d)).isInfinity()&&0===s.getX().umod(this.n).cmp(a)},d.prototype.recoverPubKey=function(e,t,n,r){c((3&n)===n,"The recovery param is more than two bits"),t=new u(t,r);var a=this.n,o=new i(e),s=t.r,l=t.s,d=1&n,h=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=this.curve.pointFromX(h?s.add(this.curve.n):s,d);var f=t.r.invm(a),p=a.sub(o).mul(f).umod(a),m=l.mul(f).umod(a);return this.g.mulAdd(p,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,n,i){if(null!==(t=new u(t,i)).recoveryParam)return t.recoveryParam;for(var r=0;r<4;r++){var a;try{a=this.recoverPubKey(e,t,r)}catch(e){continue}if(a.eq(n))return r}throw new Error("Unable to find valid recovery factor")}},usKN:function(e,t,n){var i={ECB:n("AUX7"),CBC:n("wRn4"),CFB:n("NQVK"),CFB8:n("YskG"),CFB1:n("Ujlg"),OFB:n("UWVS"),CTR:n("at63"),GCM:n("at63")},r=n("6F8h");for(var a in r)r[a].module=i[r[a].mode];e.exports=r},uzSA:function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ").assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,n){return t instanceof a?t:new a(e,{pub:t,pubEnc:n})},a.fromPrivate=function(e,t,n){return t instanceof a?t:new a(e,{priv:t,privEnc:n})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.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"}},a.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return""}},vZ2G:function(e,t){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},vvrf:function(e,t,n){var i=n("u/Db"),r=n("3X7Y"),a=n("nZSm"),o=n("AZa5"),s=n("Lzq4"),c=n("BCVQ"),l=n("e/Dd"),u=n("ELBg");function d(e){return unescape(encodeURIComponent(e)).length}function h(e,t,n){for(var i,r=[];null!==(i=e.exec(n));)r.push({data:i[0],index:i.index,mode:t,length:i[0].length});return r}function f(e){var t,n,r=h(c.NUMERIC,i.NUMERIC,e),a=h(c.ALPHANUMERIC,i.ALPHANUMERIC,e);return l.isKanjiModeEnabled()?(t=h(c.BYTE,i.BYTE,e),n=h(c.KANJI,i.KANJI,e)):(t=h(c.BYTE_KANJI,i.BYTE,e),n=[]),r.concat(a,t,n).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function p(e,t){switch(t){case i.NUMERIC:return r.getBitsLength(e);case i.ALPHANUMERIC:return a.getBitsLength(e);case i.KANJI:return s.getBitsLength(e);case i.BYTE:return o.getBitsLength(e)}}function m(e,t){var n,c=i.getBestModeForData(e);if((n=i.from(t,c))!==i.BYTE&&n.bit=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,l.isKanjiModeEnabled()))}},w1tV:function(e,t,n){"use strict";var i=n("XNiG"),r=n("HDdC"),a=n("7o/Q"),o=n("quSY");function s(){return function(e){return e.lift(new l(e))}}var c,l=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new u(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),u=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).connectable=n,i}return _inherits(t,e),_createClass(t,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),t}(a.a),d=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return _inherits(t,e),_createClass(t,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new o.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}},{key:"refCount",value:function(){return s()(this)}}]),t}(r.a),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(c=d.prototype)._subscribe},_isComplete:{value:c._isComplete,writable:!0},getSubject:{value:c.getSubject},connect:{value:c.connect},refCount:{value:c.refCount}},f=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).connectable=n,i}return _inherits(t,e),_createClass(t,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(t.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(t.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),t}(i.b);function p(){return new i.a}function m(){return function(e){return s()((t=p,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,h);return i.source=e,i.subjectFactory=n,i})(e));var t}}n.d(t,"a",(function(){return m}))},w7YG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var a=0;r<256;r++){var o=r%n,s=i[r];i[r]=i[a=(a+i[r]+(t[o>>>2]>>>24-o%4*8&255))%256],i[a]=s}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,i=0,r=0;r<4;r++){var a=e[t=(t+1)%256];e[t]=e[n=(n+e[t])%256],e[n]=a,i|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,i}e.RC4=t._createHelper(r);var o=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});e.RC4Drop=t._createHelper(o)}(),i.RC4)},w8CP:function(e,t,n){"use strict";var i=n("2j6C"),r=n("P7XM");function a(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=r,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r>6|192,n[i++]=63&o|128):a(e,r)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++r)),n[i++]=o>>18|240,n[i++]=o>>12&63|128,n[i++]=o>>6&63|128,n[i++]=63&o|128):(n[i++]=o>>12|224,n[i++]=o>>6&63|128,n[i++]=63&o|128)}else for(r=0;r>>0;return o},t.split32=function(e,t){for(var n=new Array(4*e.length),i=0,r=0;i>>24,n[r+1]=a>>>16&255,n[r+2]=a>>>8&255,n[r+3]=255&a):(n[r+3]=a>>>24,n[r+2]=a>>>16&255,n[r+1]=a>>>8&255,n[r]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,i){return e+t+n+i>>>0},t.sum32_5=function(e,t,n,i,r){return e+t+n+i+r>>>0},t.sum64=function(e,t,n,i){var r=i+e[t+1]>>>0;e[t]=(r>>0,e[t+1]=r},t.sum64_hi=function(e,t,n,i){return(t+i>>>0>>0},t.sum64_lo=function(e,t,n,i){return t+i>>>0},t.sum64_4_hi=function(e,t,n,i,r,a,o,s){var c=0,l=t;return c+=(l=l+i>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,i,r,a,o,s){return t+i+a+s>>>0},t.sum64_5_hi=function(e,t,n,i,r,a,o,s,c,l){var u=0,d=t;return u+=(d=d+i>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,i,r,a,o,s,c,l){return t+i+a+s+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".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:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wRn4:function(e,t,n){var i=n("jIre");t.encrypt=function(e,t){var n=i(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var r=e._cipher.decryptBlock(t);return i(r,n)}},wZgz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.BlockCipher,n=e.algo,r=[],a=[],o=[],s=[],c=[],l=[],u=[],d=[],h=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var p=i^i<<1^i<<2^i<<3^i<<4;r[n]=p=p>>>8^255&p^99,a[p]=n;var m,_=e[n],b=e[_],g=e[b];o[n]=(m=257*e[p]^16843008*p)<<24|m>>>8,s[n]=m<<16|m>>>16,c[n]=m<<8|m>>>24,l[n]=m,u[p]=(m=16843009*g^65537*b^257*_^16843008*n)<<24|m>>>8,d[p]=m<<16|m>>>16,h[p]=m<<8|m>>>24,f[p]=m,n?(n=_^e[e[e[g^_]]],i^=e[e[i]]):n=i=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],o=0;o6&&o%n==4&&(s=r[s>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s]):(s=r[(s=s<<8|s>>>24)>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s],s^=p[o/n|0]<<24),a[o]=a[o-n]^s}for(var c=this._invKeySchedule=[],l=0;l>>24]]^d[r[s>>>16&255]]^h[r[s>>>8&255]]^f[r[255&s]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,s,c,l,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,h,f,a),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,i,r,a,o,s){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],f=4,p=1;p>>24]^r[u>>>16&255]^a[d>>>8&255]^o[255&h]^n[f++],_=i[u>>>24]^r[d>>>16&255]^a[h>>>8&255]^o[255&l]^n[f++],b=i[d>>>24]^r[h>>>16&255]^a[l>>>8&255]^o[255&u]^n[f++],g=i[h>>>24]^r[l>>>16&255]^a[u>>>8&255]^o[255&d]^n[f++];l=m,u=_,d=b,h=g}m=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&h])^n[f++],_=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^n[f++],b=(s[d>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^n[f++],g=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[f++],e[t]=m,e[t+1]=_,e[t+2]=b,e[t+3]=g},keySize:8});e.AES=t._createHelper(m)}(),i.AES)},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[];for(n=0;n>>0,i=0;i0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function N(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(z[e]=r),t&&(z[t[0]]=function(){return W(r.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),B[t]=B[t]||function(e){var t,n,i,r=e.match(F);for(t=0,n=r.length;t=0&&H.test(e);)e=e.replace(H,i),H.lastIndex=0,n-=1;return e}var J=/\d/,K=/\d\d/,G=/\d{3}/,$=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,ie=/[+-]?\d{1,6}/,re=/\d+/,ae=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ue(e,t,n){le[e]=T(t)?t:function(e,i){return e&&n?n:t}}function de(e,t){return d(le,e)?le[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=C(e)}),n=0;n68?1900:2e3)};var ve,ye=ke("FullYear",!0);function ke(e,t){return function(n){return null!=n?(Ce(this,e,n),r.updateOffset(this,t),this):we(this,e)}}function we(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ce(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ge(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Se(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Se(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?ge(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ie(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function je(e,t,n){var i=7+t-n;return-(7+Ie(e,0,i).getUTCDay()-t)%7+i-1}function Ye(e,t,n,i,r){var a,o,s=1+7*(t-1)+(7+n-i)%7+je(e,i,r);return s<=0?o=be(a=e-1)+s:s>be(e)?(a=e+1,o=s-be(e)):(a=e,o=s),{year:a,dayOfYear:o}}function Ve(e,t,n){var i,r,a=je(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?i=o+We(r=e.year()-1,t,n):o>We(e.year(),t,n)?(i=o-We(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function We(e,t,n){var i=je(e,t,n),r=je(e+1,t,n);return(be(e)-i+r)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),V("week",5),V("isoWeek",5),ue("w",X),ue("ww",X,K),ue("W",X),ue("WW",X,K),me(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=C(e)})),N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),ue("d",X),ue("e",X),ue("E",X),ue("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ue("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ue("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e})),me(["d","e","E"],(function(e,t,n,i){t[i]=C(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ne(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))?r:-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:-1!==(r=ve.call(this._weekdaysParse,o))?r:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:-1!==(r=ve.call(this._weekdaysParse,o))?r:-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null}var Ue=ce,qe=ce,Je=ce;function Ke(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),c.push(a),l.push(i),l.push(r),l.push(a);for(o.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=he(s[t]),c[t]=he(c[t]),l[t]=he(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ge(){return this.hours()%12||12}function $e(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Ge),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+Ge.apply(this)+W(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Ge.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+W(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)})),$e("a",!0),$e("A",!1),R("hour","h"),V("hour",13),ue("a",Ze),ue("A",Ze),ue("H",X),ue("h",X),ue("k",X),ue("HH",X,K),ue("hh",X,K),ue("kk",X,K),ue("hmm",Q),ue("hmmss",ee),ue("Hmm",Q),ue("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var i=C(e);t[3]=24===i?0:i})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=C(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var i=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i,2)),t[5]=C(e.substr(r)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var i=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i))})),pe("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i,2)),t[5]=C(e.substr(r))}));var Xe,Qe=ke("Hours",!0),et={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:Le,week:{dow:0,doy:6},weekdays:He,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var i=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{i=Xe._abbr,n("RnhZ")("./"+t),at(i)}catch(r){}return tt[t]}function at(e,t){var n;return e&&((n=s(t)?st(e):ot(e,t))?Xe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function ot(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new E(A(i,t)),nt[e]&&nt[e].forEach((function(e){ot(e.name,e.config)})),at(e),tt[e]}return delete tt[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!a(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,i,r,a=0;a0;){if(i=rt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&S(r,n,!0)>=t-1)break;t--}a++}return Xe}(e)}function ct(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Se(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,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var t,n,i,a,o,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,a,o,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,o=4,n=lt(t.GG,e._a[0],Ve(St(),1,4).year),i=lt(t.W,1),((r=lt(t.E,1))<1||r>7)&&(c=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var l=Ve(St(),a,o);n=lt(t.gg,e._a[0],l.year),i=lt(t.w,l.week),null!=t.d?((r=t.d)<0||r>6)&&(c=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(c=!0)):r=a}i<1||i>We(n,a,o)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=Ye(n,i,r,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=lt(e._a[0],i[0]),(e._dayOfYear>be(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ie(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ie:Re).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}var dt=/^\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)?)?$/,ht=/^\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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/]],mt=[["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/]],_t=/^\/?Date\((\-?\d+)/i;function bt(e){var t,n,i,r,a,o,s=e._i,c=dt.exec(s)||ht.exec(s);if(c){for(p(e).iso=!0,t=0,n=pt.length;t0&&p(e).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),l+=n.length),z[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),_e(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=c-l,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ut(e),ct(e)}else yt(e);else bt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new y(ct(t)):(l(t)?e._d=t:a(n)?function(e){var t,n,i,r,a;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:_()}));function Lt(e,t){var n,i;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Qt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){N(0,[e,e.length],0,t)}function tn(e,t,n,i,r){var a;return null==e?Ve(this,i,r).year:(t>(a=We(e,i,r))&&(t=a),nn.call(this,e,t,n,i,r))}function nn(e,t,n,i,r){var a=Ye(e,t,n,i,r),o=Ie(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),ue("G",ae),ue("g",ae),ue("GG",X,K),ue("gg",X,K),ue("GGGG",ne,$),ue("gggg",ne,$),ue("GGGGG",ie,Z),ue("ggggg",ie,Z),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=C(e)})),me(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),R("quarter","Q"),V("quarter",7),ue("Q",J),pe("Q",(function(e,t){t[1]=3*(C(e)-1)})),N("D",["DD",2],"Do","date"),R("date","D"),V("date",9),ue("D",X),ue("DD",X,K),ue("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=C(e.match(X)[0])}));var rn=ke("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),V("dayOfYear",4),ue("DDD",te),ue("DDDD",G),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=C(e)})),N("m",["mm",2],0,"minute"),R("minute","m"),V("minute",14),ue("m",X),ue("mm",X,K),pe(["m","mm"],4);var an=ke("Minutes",!1);N("s",["ss",2],0,"second"),R("second","s"),V("second",15),ue("s",X),ue("ss",X,K),pe(["s","ss"],5);var on,sn=ke("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),R("millisecond","ms"),V("millisecond",16),ue("S",te,J),ue("SS",te,K),ue("SSS",te,G),on="SSSS";on.length<=9;on+="S")ue(on,re);function cn(e,t){t[6]=C(1e3*("0."+e))}for(on="S";on.length<=9;on+="S")pe(on,cn);var ln=ke("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var un=y.prototype;function dn(e){return e}un.add=Ut,un.calendar=function(e,t){var n=e||St(),i=It(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(T(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,St(n)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=It(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=I(t)){case"year":a=Jt(this,i)/12;break;case"month":a=Jt(this,i);break;case"quarter":a=Jt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:w(a)},un.endOf=function(e){var t;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Qt:Xt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},un.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(St(),e)},un.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(St(),e)},un.get=function(e){return T(this[e=I(e)])?this[e]():this},un.invalidAt=function(){return p(this).overflow},un.isAfter=function(e,t){var n=k(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=ye,un.isLeapYear=function(){return ge(this.year())},un.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=Te,un.daysInMonth=function(){return Se(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return We(this.year(),1,4)},un.date=rn,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=Qe,un.minute=un.minutes=an,un.second=un.seconds=sn,un.millisecond=un.milliseconds=ln,un.utcOffset=function(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Rt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=jt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Nt(this,Ft(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:jt(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Rt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=Yt,un.isUTC=Yt,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=M("dates accessor is deprecated. Use date instead.",rn),un.months=M("months accessor is deprecated. Use month instead",Te),un.years=M("years accessor is deprecated. Use year instead",ye),un.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),un.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=wt(e))._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&S(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var hn=E.prototype;function fn(e,t,n,i){var r=st(),a=f().set(i,t);return r[n](a,e)}function pn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=fn(e,i,n,"month");return r}function mn(e,t,n,i){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var r,a=st(),o=e?a._week.dow:0;if(null!=n)return fn(t,(n+o)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=fn(t,(r+o)%7,i,"day");return s}hn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return T(i)?i.call(t,n):i},hn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return T(r)?r(e,t,n,i):r.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},hn.set=function(e){var t,n;for(n in e)T(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},hn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(e,t,n){var i,r,a;if(this._monthsParseExact)return Oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},hn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},hn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.weekdaysParse=function(e,t,n){var i,r,a;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===C(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",at),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",st);var _n=Math.abs;function bn(e,t,n,i){var r=Ft(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function yn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var wn=kn("ms"),Cn=kn("s"),Sn=kn("m"),xn=kn("h"),Mn=kn("d"),Ln=kn("w"),On=kn("M"),Dn=kn("Q"),Tn=kn("y");function An(e){return function(){return this.isValid()?this._data[e]:NaN}}var En=An("milliseconds"),Pn=An("seconds"),Rn=An("minutes"),In=An("hours"),jn=An("days"),Yn=An("months"),Vn=An("years"),Wn=Math.round,Fn={ss:44,s:45,m:45,h:22,d:26,M:11};function Hn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Bn=Math.abs;function zn(e){return(e>0)-(e<0)||+e}function Nn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Bn(this._milliseconds)/1e3,i=Bn(this._days),r=Bn(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var a=w(r/12),o=r%=12,s=i,c=t,l=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=zn(this._months)!==zn(d)?"-":"",p=zn(this._days)!==zn(d)?"-":"",m=zn(this._milliseconds)!==zn(d)?"-":"";return h+"P"+(a?f+a+"Y":"")+(o?f+o+"M":"")+(s?p+s+"D":"")+(c||l||u?"T":"")+(c?m+c+"H":"")+(l?m+l+"M":"")+(u?m+u+"S":"")}var Un=Dt.prototype;return Un.isValid=function(){return this._isValid},Un.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},Un.add=function(e,t){return bn(this,e,t,1)},Un.subtract=function(e,t){return bn(this,e,t,-1)},Un.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(n=this._months+vn(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(yn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Un.asMilliseconds=wn,Un.asSeconds=Cn,Un.asMinutes=Sn,Un.asHours=xn,Un.asDays=Mn,Un.asWeeks=Ln,Un.asMonths=On,Un.asQuarters=Dn,Un.asYears=Tn,Un.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12):NaN},Un._bubble=function(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*gn(yn(s)+o),o=0,s=0),c.milliseconds=a%1e3,e=w(a/1e3),c.seconds=e%60,t=w(e/60),c.minutes=t%60,n=w(t/60),c.hours=n%24,o+=w(n/24),s+=r=w(vn(o)),o-=gn(yn(r)),i=w(s/12),s%=12,c.days=o,c.months=s,c.years=i,this},Un.clone=function(){return Ft(this)},Un.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},Un.milliseconds=En,Un.seconds=Pn,Un.minutes=Rn,Un.hours=In,Un.days=jn,Un.weeks=function(){return w(this.days()/7)},Un.months=Yn,Un.years=Vn,Un.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Ft(e).abs(),r=Wn(i.as("s")),a=Wn(i.as("m")),o=Wn(i.as("h")),s=Wn(i.as("d")),c=Wn(i.as("M")),l=Wn(i.as("y")),u=r<=Fn.ss&&["s",r]||r0,u[4]=n,Hn.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Un.toISOString=Nn,Un.toString=Nn,Un.toJSON=Nn,Un.locale=Kt,Un.localeData=$t,Un.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nn),Un.lang=Gt,N("X",0,0,"unix"),N("x",0,0,"valueOf"),ue("x",ae),ue("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(C(e))})),r.version="2.24.0",t=St,r.fn=un,r.min=function(){var e=[].slice.call(arguments,0);return Lt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Lt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return St(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=l,r.locale=at,r.invalid=_,r.duration=Ft,r.isMoment=k,r.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},r.parseZone=function(){return St.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=Tt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=(i=rt(e))&&(r=i._config),(n=new E(t=A(r,t))).parentLocale=tt[e],tt[e]=n,at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return L(tt)},r.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},r.normalizeUnits=I,r.relativeTimeRounding=function(e){return void 0===e?Wn:"function"==typeof e&&(Wn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Fn[e]&&(void 0===t?Fn[e]:(Fn[e]=t,"s"===e&&(Fn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=un,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("2pl3")(e))},wk3p:function(e){e.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"}}')},wq4j:function(e,t,n){e.exports=n("43KI").PassThrough},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]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:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("HDdC"),r=n("ngJS"),a=n("jZKg");function o(e,t){return t?Object(a.a)(e,t):new i.a(Object(r.a)(e))}},yKow:function(e,t,n){var i=n("e/Dd"),r=n("NPxG"),a=n("ekOh"),o=n("u/Db"),s=n("J6Nv"),c=n("7uVY"),l=i.getBCHDigit(7973);function u(e,t){return o.getCharCountIndicator(e,t)+4}function d(e,t){var n=0;return e.forEach((function(e){var i=u(e.mode,t);n+=i+e.getBitsLength()})),n}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw new Error("Invalid QR Code version");void 0===n&&(n=o.BYTE);var a=8*(i.getSymbolTotalCodewords(e)-r.getTotalCodewordsCount(e,t));if(n===o.MIXED)return a;var c=a-u(n,e);switch(n){case o.NUMERIC:return Math.floor(c/10*3);case o.ALPHANUMERIC:return Math.floor(c/11*2);case o.KANJI:return Math.floor(c/13);case o.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){var i,r=a.from(n,a.M);if(c(e)){if(e.length>1)return function(e,n){for(var i=1;i<=40;i++)if(d(e,i)<=t.getCapacity(i,n,o.MIXED))return i}(e,r);if(0===e.length)return 1;i=e[0]}else i=e;return function(e,n,i){for(var r=1;r<=40;r++)if(n<=t.getCapacity(r,i,e))return r}(i.mode,i.getLength(),r)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;i.getBCHDigit(t)-l>=0;)t^=7973<11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var a=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+t[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}(e);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".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\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z71Z:function(e,t,n){var i=n("P7XM"),r=n("f3pb"),a=r.base,o=r.bignum,s=r.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){a.Node.call(this,"der",e)}function u(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var i=s.tagClass[n>>6],r=0==(32&n);if(31==(31&n)){var a=n;for(n=0;128==(128&a);){if(a=e.readUInt8(t),e.isError(a))return a;n<<=7,n|=127&a}}else n&=31;return{cls:i,primitive:r,tag:n,tagStr:s.tag[n]}}function d(e,t,n){var i=e.readUInt8(n);if(e.isError(i))return i;if(!t&&128===i)return null;if(0==(128&i))return i;var r=127&i;if(r>4)return e.error("length octect is too long");i=0;for(var a=0;a0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),t}(v)).\u0275fac=function(e){return new(e||C)(i.fc(c),i.fc(S,8))},C.\u0275prov=i.Lb({token:C,factory:C.\u0275fac}),C),M=((w=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._platformLocation=e,i._baseHref="",null!=n&&(i._baseHref=n),i}return _inherits(t,e),_createClass(t,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=m(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),t}(v)).\u0275fac=function(e){return new(e||w)(i.fc(c),i.fc(S,8))},w.\u0275prov=i.Lb({token:w,factory:w.\u0275fac}),w),L=((k=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=_(D(a)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+b(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,D(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}()).\u0275fac=function(e){return new(e||k)(i.fc(v),i.fc(c))},k.normalizeQueryParams=b,k.joinWithSlash=m,k.stripTrailingSlash=_,k.\u0275prov=Object(i.Lb)({factory:O,token:k,providedIn:"root"}),k);function O(){return new L(Object(i.fc)(v),Object(i.fc)(c))}function D(e){return e.replace(/\/index.html$/,"")}var T,A=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),E=i.ob,P=function e(){_classCallCheck(this,e)},R=((T=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).locale=e,n}return _inherits(t,e),_createClass(t,[{key:"getPluralCategory",value:function(e,t){switch(E(t||this.locale)(e)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}]),t}(P)).\u0275fac=function(e){return new(e||T)(i.fc(i.v))},T.\u0275prov=i.Lb({token:T,factory:T.\u0275fac}),T);function I(e,t){t=encodeURIComponent(t);var n=!0,i=!1,r=void 0;try{for(var a,o=e.split(";")[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value,c=s.indexOf("="),l=_slicedToArray(-1==c?[s,""]:[s.slice(0,c),s.slice(c+1)],2),u=l[0],d=l[1];if(u.trim()===t)return decodeURIComponent(d)}}catch(h){i=!0,r=h}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return null}var j,Y,V,W=((j=function(){function e(t,n,i,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Object(i.xb)(e.item)));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}()).\u0275fac=function(e){return new(e||j)(i.Pb(i.t),i.Pb(i.u),i.Pb(i.l),i.Pb(i.F))},j.\u0275dir=i.Kb({type:j,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),j),F=function(){function e(t,n,i,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),H=((Y=function(){function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,i,r){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new F(null,t._ngForOf,-1,-1),null===r?void 0:r),o=new B(e,a);n.push(o)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var c=new B(e,s);n.push(c)}}));for(var i=0;i1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},i.qb.getAllAngularTestabilities=function(){return e.getAllTestabilities()},i.qb.getAllAngularRootElements=function(){return e.getAllRootElements()},i.qb.frameworkStabilizers||(i.qb.frameworkStabilizers=[]),i.qb.frameworkStabilizers.push((function(e){var t=i.qb.getAllAngularTestabilities(),n=t.length,r=!1,a=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(a)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?a().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(i.Y)(new e)}}]),e}(),ye=new i.r("EventManagerPlugins"),ke=((ue=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=i})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(n.splice(t,1),a+=e+".")})),a+=r,0!=n.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Be.hasOwnProperty(t)&&(t=Be[t]))}return He[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Fe.forEach((function(i){i!=n&&(0,ze[i])(e)&&(t+=i+".")})),t+=n}},{key:"eventCallback",value:function(e,n,i){return function(r){t.getEventFullKey(r)===e&&i.runGuarded((function(){return n(r)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),t}(we)).\u0275fac=function(e){return new(e||Pe)(i.fc(s))},Pe.\u0275prov=i.Lb({token:Pe,factory:Pe.\u0275fac}),Pe),Ue=((Ee=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Ee)},Ee.\u0275prov=Object(i.Lb)({factory:function(){return Object(i.fc)(qe)},token:Ee,providedIn:"root"}),Ee),qe=((Ae=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._doc=e,n}return _inherits(t,e),_createClass(t,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case i.J.NONE:return t;case i.J.HTML:return Object(i.fb)(t,"HTML")?Object(i.yb)(t):Object(i.cb)(this._doc,String(t));case i.J.STYLE:return Object(i.fb)(t,"Style")?Object(i.yb)(t):Object(i.db)(t);case i.J.SCRIPT:if(Object(i.fb)(t,"Script"))return Object(i.yb)(t);throw new Error("unsafe value used in a script context");case i.J.URL:return Object(i.pb)(t),Object(i.fb)(t,"URL")?Object(i.yb)(t):Object(i.eb)(String(t));case i.J.RESOURCE_URL:if(Object(i.fb)(t,"ResourceURL"))return Object(i.yb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(i.gb)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(i.jb)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(i.ib)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(i.kb)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(i.hb)(e)}}]),t}(Ue)).\u0275fac=function(e){return new(e||Ae)(i.fc(s))},Ae.\u0275prov=Object(i.Lb)({factory:function(){return e=Object(i.fc)(i.p),new qe(e.get(s));var e},token:Ae,providedIn:"root"}),Ae),Je=[{provide:i.C,useValue:"browser"},{provide:i.D,useValue:function(){me.makeCurrent(),ve.init()},multi:!0},{provide:s,useFactory:function(){return Object(i.wb)(document),document},deps:[]}],Ke=Object(i.S)(i.X,"browser",Je),Ge=[[],{provide:i.ab,useValue:"root"},{provide:i.n,useFactory:function(){return new i.n},deps:[]},{provide:ye,useClass:We,multi:!0,deps:[s,i.A,i.C]},{provide:ye,useClass:Ne,multi:!0,deps:[s]},[],{provide:Ie,useClass:Ie,deps:[ke,Se,i.c]},{provide:i.G,useExisting:Ie},{provide:Ce,useExisting:Se},{provide:Se,useClass:Se,deps:[s]},{provide:i.N,useClass:i.N,deps:[i.A]},{provide:ke,useClass:ke,deps:[ye,i.A]},[]],$e=((Re=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:i.c,useValue:t.appId},{provide:be,useExisting:i.c},ge]}}}]),e}()).\u0275mod=i.Nb({type:Re}),Re.\u0275inj=i.Mb({factory:function(e){return new(e||Re)(i.fc(Re,12))},providers:Ge,imports:[ae,i.f]}),Re);"undefined"!=typeof window&&window;var Ze,Xe=n("R0Ic"),Qe=n("t9l1"),et=((Ze=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:i.Q.None,styles:[],data:{animation:[]}}),r}return _inherits(t,e),_createClass(t,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(Xe.j)(e):e;return it(this._renderer,null,t,"register",[n]),new tt(t,this._renderer)}}]),t}(Xe.b)).\u0275fac=function(e){return new(e||Ze)(i.fc(i.G),i.fc(s))},Ze.\u0275prov=i.Lb({token:Ze,factory:Ze.\u0275fac}),Ze),tt=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._id=e,i._renderer=n,i}return _inherits(t,e),_createClass(t,[{key:"create",value:function(e,t){return new nt(this._id,e,t||{},this._renderer)}}]),t}(Xe.c),nt=function(){function e(t,n,i,r){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&ee?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return Wt(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return Wt(e.value)?null:Bt.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(Wt(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),n=new RegExp(i)):(i=t.toString(),n=t),function(e){if(Wt(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:i,actualValue:t}}}):e.nullValidator;var n,i}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(Nt);return 0==t.length?null:function(e){return qt(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(Nt);return 0==t.length?null:function(e){return yt(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(Ut)).pipe(Object(bt.a)(qt))}}}]),e}();function Nt(e){return null!=e}function Ut(e){var t=Object(i.tb)(e)?Object(vt.a)(e):e;if(!Object(i.sb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function qt(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function Jt(e){return e.validate?function(t){return e.validate(t)}:e}function Kt(e){return e.validate?function(t){return e.validate(t)}:e}var Gt,$t,Zt,Xt,Qt={provide:Mt,useExisting:Object(i.U)((function(){return en})),multi:!0},en=((Gt=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Gt)(i.Pb(i.F),i.Pb(i.l))},Gt.\u0275dir=i.Kb({type:Gt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.Bb([Qt])]}),Gt),tn={provide:Mt,useExisting:Object(i.U)((function(){return rn})),multi:!0},nn=((Zt=function(){function e(){_classCallCheck(this,e),this._accessors=[]}return _createClass(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}()).\u0275fac=function(e){return new(e||Zt)},Zt.\u0275prov=i.Lb({token:Zt,factory:Zt.\u0275fac}),Zt),rn=(($t=function(){function e(t,n,i,r){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return _createClass(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(Yt),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}}]),e}()).\u0275fac=function(e){return new(e||$t)(i.Pb(i.F),i.Pb(i.l),i.Pb(nn),i.Pb(i.s))},$t.\u0275dir=i.Kb({type:$t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i.jc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Bb([tn])]}),$t),an={provide:Mt,useExisting:Object(i.U)((function(){return on})),multi:!0},on=((Xt=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Xt)(i.Pb(i.F),i.Pb(i.l))},Xt.\u0275dir=i.Kb({type:Xt,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.Bb([an])]}),Xt),sn='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',cn='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',ln='\n
\n
\n \n
\n
',un={provide:Mt,useExisting:Object(i.U)((function(){return pn})),multi:!0};function dn(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var hn,fn,pn=((fn=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=i.ub}return _createClass(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=dn(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,a=0;a1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function On(e){return null!=e?zt.compose(e.map(Jt)):null}function Dn(e){return null!=e?zt.composeAsync(e.map(Kt)):null}var Tn=[Ot,on,en,pn,yn,rn];function An(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function En(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pn(e){var t=In(e)?e.validators:e;return Array.isArray(t)?On(t):t||null}function Rn(e,t){var n=In(t)?t.asyncValidators:e;return Array.isArray(n)?Dn(n):n||null}function In(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var jn,Yn,Vn,Wn,Fn,Hn,Bn,zn,Nn,Un=function(){function e(t,n){_classCallCheck(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _createClass(e,[{key:"setValidators",value:function(e){this.validator=Pn(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=Rn(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Ut(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach((function(e){i=i instanceof Jn?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Kn&&i.at(e)||null})),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new i.o,this.statusChanges=new i.o}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){In(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),qn=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,Pn(i),Rn(r,i))))._onChange=[],e._applyFormState(n),e._setUpdateStrategy(i),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _inherits(t,e),_createClass(t,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),t}(Un),Jn=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,Pn(n),Rn(i,n)))).controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return _inherits(t,e),_createClass(t,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof qn?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(i,r){n=n||t.contains(r)&&e(i)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,i){n=t(n,e,i)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),t}(Un),Kn=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,Pn(n),Rn(i,n)))).controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return _inherits(t,e),_createClass(t,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof qn?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e=!0,t=!1,n=void 0;try{for(var i,r=this.controls[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){if(i.value.enabled)return!1}}catch(a){t=!0,n=a}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),t}(Un),Gn={provide:Pt,useExisting:Object(i.U)((function(){return Zn}))},$n=Promise.resolve(null),Zn=((Yn=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).submitted=!1,r._directives=[],r.ngSubmit=new i.o,r.form=new Jn({},On(e),Dn(n)),r}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Cn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),En(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path),i=new Jn({});xn(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;$n.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,An(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),t}(Pt)).\u0275fac=function(e){return new(e||Yn)(i.Pb(Ft,10),i.Pb(Ht,10))},Yn.\u0275dir=i.Kb({type:Yn,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([Gn]),i.zb]}),Yn),Xn=((jn=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return wn(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return On(this._validators)}},{key:"asyncValidator",get:function(){return Dn(this._asyncValidators)}}]),t}(Pt)).\u0275fac=function(e){return Qn(e||jn)},jn.\u0275dir=i.Kb({type:jn,features:[i.zb]}),jn),Qn=i.Zb(Xn),ei=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(sn,'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(cn,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(ln))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(cn,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(ln))}}]),e}(),ti={provide:Pt,useExisting:Object(i.U)((function(){return ni}))},ni=((Vn=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._parent=e,r._validators=n,r._asyncValidators=i,r}return _inherits(t,e),_createClass(t,[{key:"_checkParentType",value:function(){this._parent instanceof t||this._parent instanceof Zn||ei.modelGroupParentException()}}]),t}(Xn)).\u0275fac=function(e){return new(e||Vn)(i.Pb(Pt,5),i.Pb(Ft,10),i.Pb(Ht,10))},Vn.\u0275dir=i.Kb({type:Vn,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.Bb([ti]),i.zb]}),Vn),ii={provide:Yt,useExisting:Object(i.U)((function(){return ai}))},ri=Promise.resolve(null),ai=((Wn=function(e){function t(e,n,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).control=new qn,o._registered=!1,o.update=new i.o,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Ln(e,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return t.forEach((function(t){var a;t.constructor===At?n=t:(a=t,Tn.some((function(e){return a.constructor===e}))?(i&&Ln(e,"More than one built-in value accessor matches form control with"),i=t):(r&&Ln(e,"More than one custom value accessor matches form control with"),r=t))})),r||i||n||(Ln(e,"No valid value accessor for form control with"),null)}(_assertThisInitialized(o),a),o}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(i.ub)(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){Cn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof ni)&&this._parent instanceof Xn?ei.formGroupNameException():this._parent instanceof ni||this._parent instanceof Zn||ei.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ei.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;ri.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;ri.then((function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()}))}},{key:"path",get:function(){return this._parent?wn(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return On(this._rawValidators)}},{key:"asyncValidator",get:function(){return Dn(this._rawAsyncValidators)}}]),t}(Yt)).\u0275fac=function(e){return new(e||Wn)(i.Pb(Pt,9),i.Pb(Ft,10),i.Pb(Ht,10),i.Pb(Mt,10))},Wn.\u0275dir=i.Kb({type:Wn,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Bb([ii]),i.zb,i.Ab()]}),Wn),oi={provide:Pt,useExisting:Object(i.U)((function(){return si}))},si=((Fn=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new i.o,r}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return Cn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){En(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);xn(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);xn(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,An(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return Mn(t)})),t.valueAccessor.registerOnTouched((function(){return Mn(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&Cn(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=On(this._validators);this.form.validator=zt.compose([this.form.validator,e]);var t=Dn(this._asyncValidators);this.form.asyncValidator=zt.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),t}(Pt)).\u0275fac=function(e){return new(e||Fn)(i.Pb(Ft,10),i.Pb(Ht,10))},Fn.\u0275dir=i.Kb({type:Fn,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([oi]),i.zb,i.Ab()]}),Fn),ci={provide:Ft,useExisting:Object(i.U)((function(){return li})),multi:!0},li=((Hn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validate",value:function(e){return this.required?zt.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!=="".concat(e),this._onChange&&this._onChange()}}]),e}()).\u0275fac=function(e){return new(e||Hn)},Hn.\u0275dir=i.Kb({type:Hn,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("required",t.required?"":null)},inputs:{required:"required"},features:[i.Bb([ci])]}),Hn),ui={provide:Ft,useExisting:Object(i.U)((function(){return di})),multi:!0},di=((Nn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=zt.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}()).\u0275fac=function(e){return new(e||Nn)},Nn.\u0275dir=i.Kb({type:Nn,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Bb([ui]),i.Ab()]}),Nn),hi=((zn=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:zn}),zn.\u0275inj=i.Mb({factory:function(e){return new(e||zn)}}),zn),fi=((Bn=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bn}),Bn.\u0275inj=i.Mb({factory:function(e){return new(e||Bn)},providers:[nn],imports:[hi]}),Bn),pi=n("z+Ro"),mi=n("yCtX"),_i=n("jZKg");function bi(){for(var e=arguments.length,t=new Array(e),n=0;n0){var i=e.slice(0,t),r=i.toLowerCase(),a=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))}))}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var a=this.headers.get(t);if(!a)return;0===(a=a.filter((function(e){return-1===r.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),Li=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return Oi(e)}},{key:"encodeValue",value:function(e){return Oi(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function Oi(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Di=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Li,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var i=e.indexOf("="),r=_slicedToArray(-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],2),a=r[0],o=r[1],s=n.get(a)||[];s.push(o),n.set(a,s)})),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])}))):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function Ti(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Ai(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Ei(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Pi=function(){function e(t,n,i,r){var a;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new Mi),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,a=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),l)),new e(n,i,a,{params:l,headers:c,reportProgress:s,responseType:r,withCredentials:o})}}]),e}(),Ri=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),Ii=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new Mi,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},ji=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).type=Ri.ResponseHeader,e}return _inherits(t,e),_createClass(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),t}(Ii),Yi=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).type=Ri.Response,e.body=void 0!==n.body?n.body:null,e}return _inherits(t,e),_createClass(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),t}(Ii),Vi=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,0,"Unknown Error"))).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),n.error=e.error||null,n}return _inherits(t,e),t}(Ii);function Wi(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Fi,Hi,Bi,zi,Ni,Ui,qi,Ji,Ki,Gi=((Fi=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Pi)n=e;else{var a=void 0;a=r.headers instanceof Mi?r.headers:new Mi(r.headers);var o=void 0;r.params&&(o=r.params instanceof Di?r.params:new Di({fromObject:r.params})),n=new Pi(e,t,void 0!==r.body?r.body:null,{headers:a,params:o,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=bi(n).pipe(vi((function(e){return i.handler.handle(e)})));if(e instanceof Pi||"events"===r.observe)return s;var c=s.pipe(ki((function(e){return e instanceof Yi})));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return c.pipe(Object(bt.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return c.pipe(Object(bt.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return c.pipe(Object(bt.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return c.pipe(Object(bt.a)((function(e){return e.body})))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new Di).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,Wi(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,Wi(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,Wi(n,t))}}]),e}()).\u0275fac=function(e){return new(e||Fi)(i.fc(Si))},Fi.\u0275prov=i.Lb({token:Fi,factory:Fi.\u0275fac}),Fi),$i=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),Zi=new i.r("HTTP_INTERCEPTORS"),Xi=((Hi=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Hi)},Hi.\u0275prov=i.Lb({token:Hi,factory:Hi.\u0275fac}),Hi),Qi=/^\)\]\}',?\n/,er=function e(){_classCallCheck(this,e)},tr=((zi=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||zi)},zi.\u0275prov=i.Lb({token:zi,factory:zi.\u0275fac}),zi),nr=((Bi=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new mt.a((function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((function(e,t){return i.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var a=e.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Mi(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new ji({headers:r,status:t,statusText:n,url:a})},l=function(){var t=c(),r=t.headers,a=t.status,o=t.statusText,s=t.url,l=null;204!==a&&(l=void 0===i.response?i.responseText:i.response),0===a&&(a=l?200:0);var u=a>=200&&a<300;if("json"===e.responseType&&"string"==typeof l){var d=l;l=l.replace(Qi,"");try{l=""!==l?JSON.parse(l):null}catch(h){l=d,u&&(u=!1,l={error:h,text:l})}}u?(n.next(new Yi({body:l,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new Vi({error:l,headers:r,status:a,statusText:o,url:s||void 0}))},u=function(e){var t=c().url,r=new Vi({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},d=!1,h=function(t){d||(n.next(c()),d=!0);var r={type:Ri.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(e){var t={type:Ri.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",l),i.addEventListener("error",u),e.reportProgress&&(i.addEventListener("progress",h),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),n.next({type:Ri.Sent}),function(){i.removeEventListener("error",u),i.removeEventListener("load",l),e.reportProgress&&(i.removeEventListener("progress",h),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.abort()}}))}}]),e}()).\u0275fac=function(e){return new(e||Bi)(i.fc(er))},Bi.\u0275prov=i.Lb({token:Bi,factory:Bi.\u0275fac}),Bi),ir=new i.r("XSRF_COOKIE_NAME"),rr=new i.r("XSRF_HEADER_NAME"),ar=function e(){_classCallCheck(this,e)},or=((Ki=function(){function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=I(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||Ki)(i.fc(s),i.fc(i.C),i.fc(ir))},Ki.\u0275prov=i.Lb({token:Ki,factory:Ki.\u0275fac}),Ki),sr=((Ji=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Ji)(i.fc(ar),i.fc(rr))},Ji.\u0275prov=i.Lb({token:Ji,factory:Ji.\u0275fac}),Ji),cr=((qi=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(Zi,[]);this.chain=t.reduceRight((function(e,t){return new $i(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||qi)(i.fc(xi),i.fc(i.s))},qi.\u0275prov=i.Lb({token:qi,factory:qi.\u0275fac}),qi),lr=((Ui=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:sr,useClass:Xi}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:ir,useValue:t.cookieName}:[],t.headerName?{provide:rr,useValue:t.headerName}:[]]}}}]),e}()).\u0275mod=i.Nb({type:Ui}),Ui.\u0275inj=i.Mb({factory:function(e){return new(e||Ui)},providers:[sr,{provide:Zi,useExisting:sr,multi:!0},{provide:ar,useClass:or},{provide:ir,useValue:"XSRF-TOKEN"},{provide:rr,useValue:"X-XSRF-TOKEN"}]}),Ui),ur=((Ni=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Ni}),Ni.\u0275inj=i.Mb({factory:function(e){return new(e||Ni)},providers:[Gi,{provide:Si,useClass:cr},nr,{provide:xi,useExisting:nr},tr,{provide:er,useExisting:tr}],imports:[[lr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ni),dr=n("XNiG"),hr=n("9ppp"),fr=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._value=e,n}return _inherits(t,e),_createClass(t,[{key:"_subscribe",value:function(e){var n=_get(_getPrototypeOf(t.prototype),"_subscribe",this).call(this,e);return n&&!n.closed&&e.next(this._value),n}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new hr.a;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(t.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),t}(dr.a),pr=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),mr=n("l7GE"),_r=n("ZUHj"),br={};function gr(){for(var e=arguments.length,t=new Array(e),n=0;n0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:Pr;return function(t){return t.lift(new Ar(e))}}var Ar=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Er(e,this.errorFactory))}}]),e}(),Er=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).errorFactory=n,i.hasValue=!1,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),t}(yi.a);function Pr(){return new pr}function Rr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new Ir(e))}}var Ir=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new jr(e,this.defaultValue))}}]),e}(),jr=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).defaultValue=n,i.isEmpty=!0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),t}(yi.a),Yr=n("SpAZ");function Vr(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?ki((function(t,n){return e(t,n,i)})):Yr.a,Lr(1),n?Rr(t):Tr((function(){return new pr})))}}var Wr=n("51Dv");function Fr(e){return function(t){var n=new Hr(e),i=t.lift(n);return n.caught=i}}var Hr=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Br(e,this.selector,this.caught))}}]),e}(),Br=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).selector=n,r.caught=i,r}return _inherits(t,e),_createClass(t,[{key:"error",value:function(e){if(!this.isStopped){var n;try{n=this.selector(e,this.caught)}catch(a){return void _get(_getPrototypeOf(t.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var i=new Wr.a(this,void 0,void 0);this.add(i);var r=Object(_r.a)(this,n,void 0,void 0,i);r!==i&&this.add(r)}}}]),t}(mr.a);function zr(e){return function(t){return 0===e?wr():t.lift(new Nr(e))}}var Nr=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Mr}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Ur(e,this.total))}}]),e}(),Ur=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).total=n,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),t}(yi.a);function qr(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?ki((function(t,n){return e(t,n,i)})):Yr.a,zr(1),n?Rr(t):Tr((function(){return new pr})))}}var Jr=function(){function e(t,n,i){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Kr(e,this.predicate,this.thisArg,this.source))}}]),e}(),Kr=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).predicate=n,a.thisArg=i,a.source=r,a.index=0,a.thisArg=i||_assertThisInitialized(a),a}return _inherits(t,e),_createClass(t,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),t}(yi.a);function Gr(e,t){return"function"==typeof t?function(n){return n.pipe(Gr((function(n,i){return Object(vt.a)(e(n,i)).pipe(Object(bt.a)((function(e,r){return t(n,e,i,r)})))})))}:function(t){return t.lift(new $r(e))}}var $r=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Zr(e,this.project))}}]),e}(),Zr=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).project=n,i.index=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new Wr.a(this,t,n),a=this.destination;a.add(r),this.innerSubscription=Object(_r.a)(this,e,void 0,void 0,r),this.innerSubscription!==r&&a.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(t.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(t.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}}]),t}(mr.a);function Xr(){return xr()(bi.apply(void 0,arguments))}function Qr(){for(var e=arguments.length,t=new Array(e),n=0;n=2&&(n=!0),function(i){return i.lift(new ta(e,t,n))}}var ta=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new na(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),na=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).accumulator=n,a._seed=i,a.hasSeed=r,a.index=0,a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),t}(yi.a),ia=n("mCNh"),ra=n("KqfI"),aa=n("n6bG");function oa(e,t,n){return function(i){return i.lift(new sa(e,t,n))}}var sa=function(){function e(t,n,i){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ca(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),ca=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._tapNext=ra.a,a._tapError=ra.a,a._tapComplete=ra.a,a._tapError=i||ra.a,a._tapComplete=r||ra.a,Object(aa.a)(n)?(a._context=_assertThisInitialized(a),a._tapNext=n):n&&(a._context=n,a._tapNext=n.next||ra.a,a._tapError=n.error||ra.a,a._tapComplete=n.complete||ra.a),a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),t}(yi.a),la=n("quSY");function ua(e){return function(t){return t.lift(new ha(e))}}var da,ha=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new fa(e,this.callback))}}]),e}(),fa=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).add(new la.a(n)),i}return _inherits(t,e),t}(yi.a),pa=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},ma=function(e){function t(e,n){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).navigationTrigger=r,i.restoredState=a,i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(pa),_a=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(pa),ba=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).reason=i,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(pa),ga=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).error=i,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(pa),va=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),ya=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),ka=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,o.state=r,o.shouldActivate=a,o}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(pa),wa=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),Ca=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),Sa=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),xa=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),Ma=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),La=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Oa=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Da=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Ta=function(){function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),Aa=((da=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||da)},da.\u0275cmp=i.Jb({type:da,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i.Rb(0,"router-outlet")},directives:function(){return[Ws]},encapsulation:2}),da),Ea=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Pa(e){return new Ea(e)}function Ra(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Ia(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length1&&void 0!==arguments[1]?arguments[1]:"",n=0;n-1})):e===t}function za(e){return Array.prototype.concat.apply([],e)}function Na(e){return e.length>0?e[e.length-1]:null}function Ua(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function qa(e){return Object(i.sb)(e)?e:Object(i.tb)(e)?Object(vt.a)(Promise.resolve(e)):bi(e)}function Ja(e,t,n){return n?function(e,t){return Ha(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Za(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return Ba(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,r){if(n.segments.length>r.length)return!!Za(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Za(n.segments,r))return!1;for(var a in i.children){if(!n.children[a])return!1;if(!e(n.children[a],i.children[a]))return!1}return!0}var o=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Za(n.segments,o)&&!!n.children.primary&&t(n.children.primary,i,s)}(t,n,n.segments)}(e.root,t.root)}var Ka=function(){function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}return _createClass(e,[{key:"toString",value:function(){return to.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pa(this.queryParams)),this._queryParamMap}}]),e}(),Ga=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,Ua(n,(function(e,t){return e.parent=i}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return no(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),$a=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return co(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Pa(this.parameters)),this._parameterMap}}]),e}();function Za(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Xa(e,t){var n=[];return Ua(e.children,(function(e,i){"primary"===i&&(n=n.concat(t(e,i)))})),Ua(e.children,(function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))})),n}var Qa=function e(){_classCallCheck(this,e)},eo=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new po(e);return new Ka(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i;return"".concat("/".concat(function e(t,n){if(!t.hasChildren())return no(t);if(n){var i=t.children.primary?e(t.children.primary,!1):"",r=[];return Ua(t.children,(function(t,n){"primary"!==n&&r.push("".concat(n,":").concat(e(t,!1)))})),r.length>0?"".concat(i,"(").concat(r.join("//"),")"):i}var a=Xa(t,(function(n,i){return"primary"===i?[e(t.children.primary,!1)]:["".concat(i,":").concat(e(n,!1))]}));return"".concat(no(t),"/(").concat(a.join("//"),")")}(e.root,!0)),(n=e.queryParams,i=Object.keys(n).map((function(e){var t=n[e];return Array.isArray(t)?t.map((function(t){return"".concat(ro(e),"=").concat(ro(t))})).join("&"):"".concat(ro(e),"=").concat(ro(t))})),i.length?"?".concat(i.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),to=new eo;function no(e){return e.segments.map((function(e){return co(e)})).join("/")}function io(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ro(e){return io(e).replace(/%3B/gi,";")}function ao(e){return io(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oo(e){return decodeURIComponent(e)}function so(e){return oo(e.replace(/\+/g,"%20"))}function co(e){return"".concat(ao(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(ao(e),"=").concat(ao(t[e]))})).join("")));var t}var lo=/^[^\/()?;=#]+/;function uo(e){var t=e.match(lo);return t?t[0]:""}var ho=/^[^=?&#]+/,fo=/^[^?&#]+/,po=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ga([],{}):new Ga([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ga(e,t)),n}},{key:"parseSegment",value:function(){var e=uo(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new $a(oo(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=uo(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=uo(this.remaining);i&&(n=i,this.capture(n))}e[oo(t)]=oo(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(ho);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(fo);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=so(t),a=so(n);if(e.hasOwnProperty(r)){var o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(a)}else e[r]=a}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=uo(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var a=this.parseChildren();t[r]=1===Object.keys(a).length?a.primary:new Ga([],a),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),mo=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=_o(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=_o(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=bo(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return bo(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function _o(e,t){if(e===t.value)return t;var n=!0,i=!1,r=void 0;try{for(var a,o=t.children[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=_o(e,a.value);if(s)return s}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return null}function bo(e,t){if(e===t.value)return[t];var n=!0,i=!1,r=void 0;try{for(var a,o=t.children[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=bo(e,a.value);if(s.length)return s.unshift(t),s}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return[]}var go=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function vo(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var yo=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).snapshot=n,Mo(_assertThisInitialized(i),e),i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(mo);function ko(e,t){var n=function(e,t){var n=new So([],{},{},"",{},"primary",t,null,e.root,-1,{});return new xo("",new go(n,[]))}(e,t),i=new fr([new $a("",{})]),r=new fr({}),a=new fr({}),o=new fr({}),s=new fr(""),c=new wo(i,r,o,s,a,"primary",t,n.root);return c.snapshot=n.root,new yo(new go(c,[]),n)}var wo=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(bt.a)((function(e){return Pa(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(bt.a)((function(e){return Pa(e)})))),this._queryParamMap}}]),e}();function Co(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var So=function(){function e(t,n,i,r,a,o,s,c,l,u,d){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=u,this._resolve=d}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Pa(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pa(this.queryParams)),this._queryParamMap}}]),e}(),xo=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).url=e,Mo(_assertThisInitialized(i),n),i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return Lo(this._root)}}]),t}(mo);function Mo(e,t){t.value._routerState=e,t.children.forEach((function(t){return Mo(e,t)}))}function Lo(e){var t=e.children.length>0?" { ".concat(e.children.map(Lo).join(", ")," } "):"";return"".concat(e.value).concat(t)}function Oo(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ha(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ha(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&To(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==Na(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Po=function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function Ro(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:"".concat(e)}function Io(e,t,n){if(e||(e=new Ga([],{})),0===e.segments.length&&e.hasChildren())return jo(e,t,n);var i=function(e,t,n){for(var i=0,r=t,a={match:!1,pathIndex:0,commandIndex:0};r=n.length)return a;var o=e.segments[r],s=Ro(n[i]),c=i0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!Fo(s,c,o))return a;i+=2}else{if(!Fo(s,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex0?new Ga([],{primary:e}):e;return new Ka(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(bt.a)((function(e){return new Ga([],e)}))):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return bi({});var a=[],o=[],s={};return Ua(n,(function(n,r){var c,l,u=(c=r,l=n,i.expandSegmentGroup(e,t,l,c)).pipe(Object(bt.a)((function(e){return s[r]=e})));"primary"===r?a.push(u):o.push(u)})),bi.apply(null,a.concat(o)).pipe(xr(),Vr(),Object(bt.a)((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,i,r,a){var o=this;return bi.apply(void 0,_toConsumableArray(n)).pipe(Object(bt.a)((function(s){return o.expandSegmentAgainstRoute(e,t,n,s,i,r,a).pipe(Fr((function(e){if(e instanceof Uo)return bi(null);throw e})))})),xr(),qr((function(e){return!!e})),Fr((function(e,n){if(e instanceof pr||"EmptyError"===e.name){if(o.noLeftoversInUrl(t,i,r))return bi(new Ga([],{}));throw new Uo(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,a,o){return es(i)!==a?Jo(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a):Jo(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ko(a):this.lineralizeSegments(n,a).pipe(Object(gi.a)((function(n){var a=new Ga(n,{});return r.expandSegment(e,a,t,n,i,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){var o=this,s=Zo(t,i,r),c=s.matched,l=s.consumedSegments,u=s.lastChild,d=s.positionalParamSegments;if(!c)return Jo(t);var h=this.applyRedirectCommands(l,i.redirectTo,d);return i.redirectTo.startsWith("/")?Ko(h):this.lineralizeSegments(i,h).pipe(Object(gi.a)((function(i){return o.expandSegment(e,t,n,i.concat(r.slice(u)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(bt.a)((function(e){return n._loadedConfig=e,new Ga(i,{})}))):bi(new Ga(i,{}));var a=Zo(t,n,i),o=a.matched,s=a.consumedSegments,c=a.lastChild;if(!o)return Jo(t);var l=i.slice(c);return this.getChildConfig(e,n,i).pipe(Object(gi.a)((function(e){var n=e.module,i=e.routes,a=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some((function(n){return Qo(e,t,n)&&"primary"!==es(n)}))}(e,n,i)?{segmentGroup:Xo(new Ga(t,function(e,t){var n={};n.primary=t;var i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;""===c.path&&"primary"!==es(c)&&(n[es(c)]=new Ga([],{}))}}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(i,new Ga(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Qo(e,t,n)}))}(e,n,i)?{segmentGroup:Xo(new Ga(e.segments,function(e,t,n,i){var r={},a=!0,o=!1,s=void 0;try{for(var c,l=n[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var u=c.value;Qo(e,t,u)&&!i[es(u)]&&(r[es(u)]=new Ga([],{}))}}catch(d){o=!0,s=d}finally{try{a||null==l.return||l.return()}finally{if(o)throw s}}return Object.assign(Object.assign({},i),r)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,i),o=a.segmentGroup,c=a.slicedSegments;return 0===c.length&&o.hasChildren()?r.expandChildren(n,i,o).pipe(Object(bt.a)((function(e){return new Ga(s,e)}))):0===i.length&&0===c.length?bi(new Ga(s,{})):r.expandSegment(n,o,i,c,"primary",!0).pipe(Object(bt.a)((function(e){return new Ga(s.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?bi(new ja(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?bi(t._loadedConfig):function(e,t,n){var i,r=t.canLoad;return r&&0!==r.length?Object(vt.a)(r).pipe(Object(bt.a)((function(i){var r,a=e.get(i);if(function(e){return e&&zo(e.canLoad)}(a))r=a.canLoad(t,n);else{if(!zo(a))throw new Error("Invalid CanLoad guard");r=a(t,n)}return qa(r)}))).pipe(xr(),(i=function(e){return!0===e},function(e){return e.lift(new Jr(i,void 0,e))})):bi(!0)}(e.injector,t,n).pipe(Object(gi.a)((function(n){return n?i.configLoader.load(e.injector,t).pipe(Object(bt.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new mt.a((function(t){return t.error(Ra("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):bi(new ja([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return bi(n);if(i.numberOfChildren>1||!i.children.primary)return Go(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Ka(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Ua(e,(function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,a=this.createSegments(e,t.segments,n,i),o={};return Ua(t.children,(function(t,a){o[a]=r.createSegmentGroup(e,t,n,i)})),new Ga(a,o)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map((function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n=0,i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;if(c.path===e.path)return t.splice(n),c;n++}}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return e}}]),e}();function Zo(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(t.matcher||Ia)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Xo(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Ga(e.segments.concat(t.segments),t.children)}return e}function Qo(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function es(e){return e.outlet||"primary"}var ts=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},ns=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function is(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function rs(e,t,n){var i=vo(e),r=e.value;Ua(i,(function(e,i){rs(e,r.component?t?t.children.getContext(i):null:t,n)})),n.canDeactivateChecks.push(new ns(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var as=Symbol("INITIAL_VALUE");function os(){return Gr((function(e){return gr.apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(zr(1),Qr(as))})))).pipe(ea((function(e,t){var n=!1;return t.reduce((function(e,i,r){if(e!==as)return e;if(i===as&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||No(i))return i}return e}),e)}),as),ki((function(e){return e!==as})),Object(bt.a)((function(e){return No(e)?e:!0===e})),zr(1))}))}function ss(e,t){return null!==e&&t&&t(new Oa(e)),bi(!0)}function cs(e,t){return null!==e&&t&&t(new Ma(e)),bi(!0)}function ls(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?bi(i.map((function(i){return Cr((function(){var r,a=is(i,t,n);if(function(e){return e&&zo(e.canActivate)}(a))r=qa(a.canActivate(t,e));else{if(!zo(a))throw new Error("Invalid CanActivate guard");r=qa(a(t,e))}return r.pipe(qr())}))}))).pipe(os()):bi(!0)}function us(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return Cr((function(){return bi(t.guards.map((function(r){var a,o=is(r,t.node,n);if(function(e){return e&&zo(e.canActivateChild)}(o))a=qa(o.canActivateChild(i,e));else{if(!zo(o))throw new Error("Invalid CanActivateChild guard");a=qa(o(i,e))}return a.pipe(qr())}))).pipe(os())}))}));return bi(r).pipe(os())}var ds=function e(){_classCallCheck(this,e)},hs=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return _createClass(e,[{key:"recognize",value:function(){try{var e=ms(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new So([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new go(n,t),r=new xo(this.url,i);return this.inheritParamsAndData(r._root),bi(r)}catch(a){return new mt.a((function(e){return e.error(a)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=Co(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,i=this,r=Xa(t,(function(t,n){return i.processSegmentGroup(e,t,n)}));return n={},r.forEach((function(e){var t=n[e.value.outlet];if(t){var i=t.url.map((function(e){return e.toString()})).join("/"),r=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(i,"' and '").concat(r,"'."))}n[e.value.outlet]=e.value})),r.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),r}},{key:"processSegment",value:function(e,t,n,i){var r=!0,a=!1,o=void 0;try{for(var s,c=e[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value;try{return this.processSegmentAgainstRoute(l,t,n,i)}catch(u){if(!(u instanceof ds))throw u}}}catch(d){a=!0,o=d}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}if(this.noLeftoversInUrl(t,n,i))return[];throw new ds}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,i){if(e.redirectTo)throw new ds;if((e.outlet||"primary")!==i)throw new ds;var r,a=[],o=[];if("**"===e.path){var s=n.length>0?Na(n).parameters:{};r=new So(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gs(e),i,e.component,e,fs(t),ps(t)+n.length,vs(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new ds;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||Ia)(n,e,t);if(!i)throw new ds;var r={};Ua(i.posParams,(function(e,t){r[t]=e.path}));var a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,o=n.slice(c.lastChild),r=new So(a,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gs(e),i,e.component,e,fs(t),ps(t)+a.length,vs(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=ms(t,a,o,l,this.relativeLinkResolution),d=u.segmentGroup,h=u.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(l,d);return[new go(r,f)]}if(0===l.length&&0===h.length)return[new go(r,[])];var p=this.processSegment(l,d,h,"primary");return[new go(r,p)]}}]),e}();function fs(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function ps(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function ms(e,t,n,i,r){if(n.length>0&&function(e,t,n){return n.some((function(n){return _s(e,t,n)&&"primary"!==bs(n)}))}(e,n,i)){var a=new Ga(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var a=!0,o=!1,s=void 0;try{for(var c,l=n[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var u=c.value;if(""===u.path&&"primary"!==bs(u)){var d=new Ga([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,r[bs(u)]=d}}}catch(h){o=!0,s=h}finally{try{a||null==l.return||l.return()}finally{if(o)throw s}}return r}(e,t,i,new Ga(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return _s(e,t,n)}))}(e,n,i)){var o=new Ga(e.segments,function(e,t,n,i,r,a){var o={},s=!0,c=!1,l=void 0;try{for(var u,d=i[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var h=u.value;if(_s(e,n,h)&&!r[bs(h)]){var f=new Ga([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===a?e.segments.length:t.length,o[bs(h)]=f}}}catch(p){c=!0,l=p}finally{try{s||null==d.return||d.return()}finally{if(c)throw l}}return Object.assign(Object.assign({},r),o)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new Ga(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function _s(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function bs(e){return e.outlet||"primary"}function gs(e){return e.data||{}}function vs(e){return e.resolve||{}}function ys(e,t,n,i){var r=is(e,t,i);return qa(r.resolve?r.resolve(t,n):r(t,n))}function ks(e){return function(t){return t.pipe(Gr((function(t){var n=e(t);return n?Object(vt.a)(n).pipe(Object(bt.a)((function(){return t}))):Object(vt.a)([t])})))}}var ws=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}(),Cs=new i.r("ROUTES"),Ss=function(){function e(t,n,i,r){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(bt.a)((function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new ja(za(r.injector.get(Cs)).map(Fa),r)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Object(vt.a)(this.loader.load(e)):qa(e()).pipe(Object(gi.a)((function(e){return e instanceof i.w?bi(e):Object(vt.a)(t.compiler.compileModuleAsync(e))})))}}]),e}(),xs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Ms(e){throw e}function Ls(e,t,n){return t.parse("/")}function Os(e,t){return bi(null)}var Ds,Ts,As=((Ts=function(){function e(t,n,r,a,o,s,c,l){var u=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=a,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new dr.a,this.errorHandler=Ms,this.malformedUriErrorHandler=Ls,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Os,afterPreactivation:Os},this.urlHandlingStrategy=new xs,this.routeReuseStrategy=new ws,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.y),this.console=o.get(i.Z);var d=o.get(i.A);this.isNgZoneEnabled=d instanceof i.A,this.resetConfig(l),this.currentUrlTree=new Ka(new Ga([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ss(s,c,(function(e){return u.triggerEvent(new Sa(e))}),(function(e){return u.triggerEvent(new xa(e))})),this.routerState=ko(this.currentUrlTree,this.rootComponentType),this.transitions=new fr({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(ki((function(e){return 0!==e.id})),Object(bt.a)((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Gr((function(e){var i,r,a,o=!1,s=!1;return bi(e).pipe(oa((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Gr((function(e){var i,r,a,o,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return bi(e).pipe(Gr((function(e){var i=t.transitions.getValue();return n.next(new ma(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?kr:[e]})),Gr((function(e){return Promise.resolve(e)})),(i=t.ngModule.injector,r=t.configLoader,a=t.urlSerializer,o=t.config,function(e){return e.pipe(Gr((function(e){return function(e,t,n,i,r){return new $o(e,t,n,i,r).apply()}(i,r,a,e.extractedUrl,o).pipe(Object(bt.a)((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),oa((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,i,r,a){return function(i){return i.pipe(Object(gi.a)((function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new hs(e,t,n,i,r,a).recognize()}(e,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,t.serializeUrl(o)),r,a).pipe(Object(bt.a)((function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})})));var o})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),oa((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),oa((function(e){var i=new va(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var c=e.id,l=e.extractedUrl,u=e.source,d=e.restoredState,h=e.extras,f=new ma(c,t.serializeUrl(l),u,d);n.next(f);var p=ko(l,t.rootComponentType).snapshot;return bi(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:l,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),kr})),ks((function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),oa((function(e){var n=new ya(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(bt.a)((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,r=t.rootContexts,a=n._root,function e(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=vo(n);return t.children.forEach((function(t){!function(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,s=n?n.value:null,c=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Za(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Za(e.url,t.url)||!Ha(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Do(e,t)||!Ha(e.queryParams,t.queryParams);case"paramsChange":default:return!Do(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?a.canActivateChecks.push(new ts(r)):(o.data=s.data,o._resolvedData=s._resolvedData),e(t,n,o.component?c?c.children:null:i,r,a),l&&a.canDeactivateChecks.push(new ns(c&&c.outlet&&c.outlet.component||null,s))}else s&&rs(n,c,a),a.canActivateChecks.push(new ts(r)),e(t,null,o.component?c?c.children:null:i,r,a)}(t,o[t.value.outlet],i,r.concat([t.value]),a),delete o[t.value.outlet]})),Ua(o,(function(e,t){return rs(e,i.getContext(t),a)})),a}(a,i?i._root:null,r,[a.value]))});var n,i,r,a})),function(e,t){return function(n){return n.pipe(Object(gi.a)((function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?bi(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(vt.a)(e).pipe(Object(gi.a)((function(e){return function(e,t,n,i,r){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return a&&0!==a.length?bi(a.map((function(a){var o,s=is(a,t,r);if(function(e){return e&&zo(e.canDeactivate)}(s))o=qa(s.canDeactivate(e,t,n,i));else{if(!zo(s))throw new Error("Invalid CanDeactivate guard");o=qa(s(e,t,n,i))}return o.pipe(qr())}))).pipe(os()):bi(!0)}(e.component,e.route,n,t,i)})),qr((function(e){return!0!==e}),!0))}(s,i,r,e).pipe(Object(gi.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return Object(vt.a)(t).pipe(vi((function(t){return Object(vt.a)([cs(t.route.parent,i),ss(t.route,i),us(e,t.path,n),ls(e,t.route,n)]).pipe(xr(),qr((function(e){return!0!==e}),!0))})),qr((function(e){return!0!==e}),!0))}(i,o,e,t):bi(n)})),Object(bt.a)((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),oa((function(e){if(No(e.guardsResult)){var n=Ra('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),oa((function(e){var n=new ka(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),ki((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new ba(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0})),ks((function(e){if(e.guards.canActivateChecks.length)return bi(e).pipe(oa((function(e){var n=new wa(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(Object(gi.a)((function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;return r.length?Object(vt.a)(r).pipe(vi((function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return bi({});if(1===r.length){var a=r[0];return ys(e[a],t,n,i).pipe(Object(bt.a)((function(e){return _defineProperty({},a,e)})))}var o={};return Object(vt.a)(r).pipe(Object(gi.a)((function(r){return ys(e[r],t,n,i).pipe(Object(bt.a)((function(e){return o[r]=e,e})))}))).pipe(Vr(),Object(bt.a)((function(){return o})))}(e._resolve,e,t,i).pipe(Object(bt.a)((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Co(e,n).resolve),null})))}(e.route,t,n,i)})),function(e,t){return arguments.length>=2?function(n){return Object(ia.a)(ea(e,t),Lr(1),Rr(t))(n)}:function(t){return Object(ia.a)(ea((function(t,n,i){return e(t,n,i+1)})),Lr(1))(t)}}((function(e,t){return e})),Object(bt.a)((function(t){return e}))):bi(e)})))}),oa((function(e){var n=new Ca(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,i})),ks((function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(bt.a)((function(e){var n=function(e,t,n){var i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){var r=i.value;r._futureSnapshot=n.value;var a=function(t,n,i){return n.children.map((function(n){var r=!0,a=!1,o=void 0;try{for(var s,c=i.children[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value;if(t.shouldReuseRoute(l.value.snapshot,n.value))return e(t,n,l)}}catch(u){a=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return e(t,n)}))}(t,n,i);return new go(r,a)}var o=t.retrieve(n.value);if(o){var s=o.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,r=t.queryParams,a=t.fragment,o=t.preserveQueryParams,s=t.queryParamsHandling,c=t.preserveFragment;Object(i.W)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,u=c?this.currentUrlTree.fragment:a,d=null;if(s)switch(s){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=o?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,i,r){if(0===n.length)return Ao(t.root,t.root,t,i,r);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Eo(!0,0,e);var t=0,n=!1,i=e.reduce((function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return Ua(i.outlets,(function(e,t){a[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:a}])}if(i.segmentPath)return[].concat(_toConsumableArray(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(e),[i]):0===r?(i.split("/").forEach((function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))})),e):[].concat(_toConsumableArray(e),[i])}),[]);return new Eo(n,t,i)}(n);if(a.toRoot())return Ao(t.root,new Ga([],{}),t,i,r);var o=function(e,t,n){if(e.isAbsolute)return new Po(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Po(n.snapshot._urlSegment,!0,0);var i=To(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,a=n;a>r;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new Po(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(a,t,e),s=o.processChildren?jo(o.segmentGroup,o.index,a.commands):Io(o.segmentGroup,o.index,a.commands);return Ao(o.segmentGroup,s,t,i,r)}(l,this.currentUrlTree,e,d,u)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(i.W)()&&this.isNgZoneEnabled&&!i.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=No(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof ma?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof _a&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Ta&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new Ta(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){i.ic()},Is.\u0275dir=i.Kb({type:Is}),Is),Us=new i.r("ROUTER_CONFIGURATION"),qs=new i.r("ROUTER_FORROOT_GUARD"),Js=[L,{provide:Qa,useClass:eo},{provide:As,useFactory:function(e,t,n,i,r,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,d=new As(null,e,t,n,i,r,o,za(s));if(l&&(d.urlHandlingStrategy=l),u&&(d.routeReuseStrategy=u),c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){var h=a();d.events.subscribe((function(e){h.logGroup("Router Event: ".concat(e.constructor.name)),h.log(e.toString()),h.log(e),h.logGroupEnd()}))}return c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),d},deps:[Qa,Vs,L,i.s,i.x,i.i,Cs,Us,[function(){return function e(){_classCallCheck(this,e)}}(),new i.B],[function(){return function e(){_classCallCheck(this,e)}}(),new i.B]]},Vs,{provide:wo,useFactory:function(e){return e.routerState.root},deps:[As]},{provide:i.x,useClass:i.L},zs,Bs,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(Fr((function(){return bi(null)})))}}]),e}(),{provide:Us,useValue:{enableTracing:!1}}];function Ks(){return new i.z("Router",As)}var Gs,$s=((Gs=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Js,ec(t),{provide:qs,useFactory:Qs,deps:[[As,new i.B,new i.K]]},{provide:Us,useValue:n||{}},{provide:v,useFactory:Xs,deps:[c,[new i.q(S),new i.B],Us]},{provide:Ns,useFactory:Zs,deps:[As,fe,Us]},{provide:Hs,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bs},{provide:i.z,multi:!0,useFactory:Ks},[nc,{provide:i.d,multi:!0,useFactory:ic,deps:[nc]},{provide:sc,useFactory:rc,deps:[nc]},{provide:i.b,multi:!0,useExisting:sc}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[ec(t)]}}}]),e}()).\u0275mod=i.Nb({type:Gs}),Gs.\u0275inj=i.Mb({factory:function(e){return new(e||Gs)(i.fc(qs,8),i.fc(As,8))}}),Gs);function Zs(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Ns(e,t,n)}function Xs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new M(e,t):new x(e,t)}function Qs(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function ec(e){return[{provide:i.a,multi:!0,useValue:e},{provide:Cs,multi:!0,useValue:e}]}var tc,nc=((tc=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new dr.a}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(d,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),i=e.injector.get(As),r=e.injector.get(Us);if(e.isLegacyDisabled(r)||e.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));i.hooks.afterPreactivation=function(){return e.initNavigation?bi(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Us),n=this.injector.get(zs),r=this.injector.get(Ns),a=this.injector.get(As),o=this.injector.get(i.g);e===o.components[0]&&(this.isLegacyEnabled(t)?a.initialNavigation():this.isLegacyDisabled(t)&&a.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),a.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||tc)(i.fc(i.s))},tc.\u0275prov=i.Lb({token:tc,factory:tc.\u0275fac}),tc);function ic(e){return e.appInitializer.bind(e)}function rc(e){return e.bootstrapListener.bind(e)}var ac,oc,sc=new i.r("Router Initializer"),cc=function e(){_classCallCheck(this,e)},lc=function e(){_classCallCheck(this,e)},uc=function e(){_classCallCheck(this,e)},dc=function e(){_classCallCheck(this,e)},hc=function(e){return e[e.REMOTE_ADDR=1]="REMOTE_ADDR",e[e.X_Forwarded_For=2]="X_Forwarded_For",e[e.X_REAL_IP=4]="X_REAL_IP",e[e.REAL_IP=8]="REAL_IP",e}({}),fc=function e(){_classCallCheck(this,e)},pc=function(e){return e[e.Reverse_Proxy=1]="Reverse_Proxy",e[e.Local_FastCGI=2]="Local_FastCGI",e[e.Static_Website=4]="Static_Website",e[e.K8S_Ingress=8]="K8S_Ingress",e}({}),mc=function e(){_classCallCheck(this,e)},_c=function e(){_classCallCheck(this,e)},bc=function e(){_classCallCheck(this,e)},gc=function(e){return e[e.Host=1]="Host",e[e.IPAddress=2]="IPAddress",e[e.Method=4]="Method",e[e.URLPath=8]="URLPath",e[e.URLQuery=16]="URLQuery",e[e.FileExt=32]="FileExt",e[e.GetPostKey=128]="GetPostKey",e[e.GetPostValue=256]="GetPostValue",e[e.UploadFileExt=512]="UploadFileExt",e[e.Referer=1024]="Referer",e[e.CookieKey=2048]="CookieKey",e[e.CookieValue=4096]="CookieValue",e[e.UserAgent=8192]="UserAgent",e[e.ContentType=16384]="ContentType",e[e.HeaderKey=32768]="HeaderKey",e[e.HeaderValue=65536]="HeaderValue",e[e.Proto=131072]="Proto",e[e.ResponseStatusCode=33554432]="ResponseStatusCode",e[e.ResponseHeaderKey=67108864]="ResponseHeaderKey",e[e.ResponseHeaderValue=134217728]="ResponseHeaderValue",e[e.ResponseBody=536870912]="ResponseBody",e}({}),vc=function(e){return e[e.BLOCK=100]="BLOCK",e[e.BYPASS_AND_LOG=200]="BYPASS_AND_LOG",e[e.CAPTCHA=300]="CAPTCHA",e[e.OK_PASS=400]="OK_PASS",e}({}),yc=function e(){_classCallCheck(this,e)},kc=function(e){return e[e.Regex_Match=1]="Regex_Match",e[e.Equals_String_Case_Insensitive=2]="Equals_String_Case_Insensitive",e[e.Greater_Than_Integer=4]="Greater_Than_Integer",e[e.Equals_Integer=8]="Equals_Integer",e[e.Length_Greater_Than_Integer=16]="Length_Greater_Than_Integer",e[e.Regex_Not_Match=32]="Regex_Not_Match",e}({}),wc=function e(){_classCallCheck(this,e)},Cc=function e(){_classCallCheck(this,e)},Sc=function e(){_classCallCheck(this,e)},xc=function e(){_classCallCheck(this,e),this.regex_logs=[]},Mc=function e(){_classCallCheck(this,e),this.cc_logs=[]},Lc=function e(t,n,i,r){_classCallCheck(this,e),this.ip=t,this.port=n,this.username=i,this.password=r},Oc=function e(){_classCallCheck(this,e)},Dc=function e(){_classCallCheck(this,e)},Tc=((ac=function(){function e(){_classCallCheck(this,e),this.messages=[]}return _createClass(e,[{key:"add",value:function(e){this.messages.push(e)}},{key:"clear",value:function(){this.messages=[]}}]),e}()).\u0275fac=function(e){return new(e||ac)},ac.\u0275prov=i.Lb({token:ac,factory:ac.\u0275fac}),ac),Ac={headers:new Mi({"Content-Type":"application/json"})},Ec=((oc=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.messageService=n,this.apiUrl="/janusec-admin/ui-api",this.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.certificates=[],this.applications=[],this.vip_apps=[],this.appmap=new Object,this.vip_app_map=new Object,this.domains=[],this.admins=[],this.vulntypes=[],this.vulntypemap=new Object,this.lastRegexLogs=new xc,this.lastCCLogs=new Mc,this.oauth=new Oc}return _createClass(e,[{key:"getResponse",value:function(e,t,n,i){var r=this,a={action:e};null!=n&&(a.id=n),null!=i&&(a.object=i),this.http.post(this.apiUrl,a,Ac).pipe(oa((function(e){})),Fr(this.handleError("Get response"))).subscribe((function(e){null==e.err?t(e.object):r.messageService.add("Error: "+e.err)}))}},{key:"getResponseByCustomBody",value:function(e,t){var n=this;this.http.post(this.apiUrl,e,Ac).pipe(oa((function(e){})),Fr(this.handleError("Get response"))).subscribe((function(e){null==e.err?t(e.object):n.messageService.add("Error: "+e.err)}))}},{key:"getResponseByURL",value:function(e,t,n,i){var r=this;this.http.get(e,Ac).pipe(oa((function(e){})),Fr(this.handleError("Get response"))).subscribe((function(e){null==e.err?t(e.object):r.messageService.add("Error: "+e.err)}))}},{key:"getApplications",value:function(){var e=this;this.getResponse("get_apps",(function(t){if(null==t)e.applications=[];else{e.applications=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.applications[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;e.appmap[s.id]=s.name}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}}))}},{key:"getVipApps",value:function(){var e=this;this.getResponse("get_vip_apps",(function(t){if(null==t)e.vip_apps=[];else{e.vip_apps=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.vip_apps[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;e.vip_app_map[s.id]=s.name}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}}))}},{key:"getCertificates",value:function(){var e=this;this.getResponse("get_certs",(function(t){e.certificates=t;var n=(new Date).getTime(),i=!0,r=!1,a=void 0;try{for(var o,s=e.certificates[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value,l=new Date(1e3*c.expire_time).getTime()-n;c.due_to_expire=l<2592e6}}catch(u){r=!0,a=u}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}}))}},{key:"getAPIKey",value:function(){var e=this;return this.getResponse("get_api_key",(function(t){e.hexAPIKey=t.api_key})),e.hexAPIKey}},{key:"getNodesKey",value:function(){var e=this;return this.getResponse("get_nodes_key",(function(t){e.hexNodesKey=t.nodes_key})),e.hexNodesKey}},{key:"getAuthUser",value:function(e){var t=this;this.getResponse("get_auth_user",(function(n){t.auth_user=n,e(t.auth_user)}))}},{key:"getVulnTypes",value:function(e){var t=this;this.getResponse("get_vuln_types",(function(n){t.vulntypes=n;var i=!0,r=!1,a=void 0;try{for(var o,s=t.vulntypes[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;t.vulntypemap[c.id]=c.name}}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}e()}))}},{key:"getDomains",value:function(){var e=this;this.getResponse("get_domains",(function(t){e.domains=t}))}},{key:"getAppUsers",value:function(){var e=this;this.getResponse("get_app_users",(function(t){e.admins=t}))}},{key:"saveCertificate",value:function(e){return this.http.post(this.apiUrl,{action:"update_cert",certificate:e},Ac).pipe(oa((function(e){})),Fr(this.handleError("Save certificate")))}},{key:"getDateString",value:function(e){var t=new Date(1e3*e);return t.toLocaleDateString()+" "+t.toLocaleTimeString("en-GB",{hour12:!1})}},{key:"handleError",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"operation",n=arguments.length>1?arguments[1]:void 0;return function(i){return console.error(i),e.messageService.add("".concat(t," failed: ").concat(i.message)),bi(n)}}}]),e}()).\u0275fac=function(e){return new(e||oc)(i.fc(Gi),i.fc(Tc))},oc.\u0275prov=i.Lb({token:oc,factory:oc.\u0275fac}),oc);function Pc(e){return null!=e&&"false"!=="".concat(e)}function Rc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Ic(e)?Number(e):t}function Ic(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function jc(e){return Array.isArray(e)?e:[e]}function Yc(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function Vc(e){return e instanceof i.l?e.nativeElement:e}function Wc(e){return e&&"function"==typeof e.connect}var Fc,Hc,Bc,zc,Nc=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new dr.a,i&&i.length&&(n?i.forEach((function(e){return t._markSelected(e)})):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _createClass(e,[{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),e}(),Uc=((Fc=function(){function e(){_classCallCheck(this,e),this._listeners=[]}return _createClass(e,[{key:"notify",value:function(e,t){var n=!0,i=!1,r=void 0;try{for(var a,o=this._listeners[Symbol.iterator]();!(n=(a=o.next()).done);n=!0)(0,a.value)(e,t)}catch(s){i=!0,r=s}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}},{key:"listen",value:function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter((function(t){return e!==t}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),e}()).\u0275fac=function(e){return new(e||Fc)},Fc.\u0275prov=Object(i.Lb)({factory:function(){return new Fc},token:Fc,providedIn:"root"}),Fc),qc=new i.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.V)(s)}}),Jc=((zc=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new i.o,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||zc)(i.fc(qc,8))},zc.\u0275prov=Object(i.Lb)({factory:function(){return new zc(Object(i.fc)(qc,8))},token:zc,providedIn:"root"}),zc),Kc=((Bc=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bc}),Bc.\u0275inj=i.Mb({factory:function(e){return new(e||Bc)}}),Bc);try{Hc="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(UY){Hc=!1}var Gc,$c,Zc,Xc,Qc,el=((Zc=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?oe(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hc)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||Zc)(i.fc(i.C,8))},Zc.\u0275prov=Object(i.Lb)({factory:function(){return new Zc(Object(i.fc)(i.C,8))},token:Zc,providedIn:"root"}),Zc),tl=(($c=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:$c}),$c.\u0275inj=i.Mb({factory:function(e){return new(e||$c)}}),$c),nl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function il(){if(Gc)return Gc;if("object"!=typeof document||!document)return Gc=new Set(nl);var e=document.createElement("input");return Gc=new Set(nl.filter((function(t){return e.setAttribute("type",t),e.type===t})))}function rl(e){return function(){if(null==Xc&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Xc=!0}}))}finally{Xc=Xc||!1}return Xc}()?e:!!e.capture}function al(){if("object"!=typeof document||!document)return 0;if(null==Qc){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),Qc=0,0===e.scrollLeft&&(e.scrollLeft=1,Qc=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return Qc}function ol(e){return function(t){return t.lift(new sl(e))}}var sl=function(){function e(t){_classCallCheck(this,e),this.notifier=t}return _createClass(e,[{key:"call",value:function(e,t){var n=new cl(e),i=Object(_r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),cl=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).seenValue=!1,n}return _inherits(t,e),_createClass(t,[{key:"notifyNext",value:function(e,t,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),t}(mr.a),ll=[[["caption"]]],ul=["caption"];function dl(e){return function(e){function t(){var e,n;_classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),a=0;a3&&void 0!==arguments[3])||arguments[3];_classCallCheck(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=i,this._isBrowser=r}return _createClass(e,[{key:"clearStickyPositioning",value:function(e,t){var n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(s.nodeType===s.ELEMENT_NODE){this._removeStickyStyle(s,t);for(var c=0;c0;r--)t[r]&&(n[r]=i,i+=e[r]);return n}}]),e}();function Ul(e){return Error('Could not find column with id "'.concat(e,'".'))}var ql,Jl,Kl,Gl,$l=((Gl=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}).\u0275fac=function(e){return new(e||Gl)(i.Pb(i.P),i.Pb(i.l))},Gl.\u0275dir=i.Kb({type:Gl,selectors:[["","rowOutlet",""]]}),Gl),Zl=((Kl=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}).\u0275fac=function(e){return new(e||Kl)(i.Pb(i.P),i.Pb(i.l))},Kl.\u0275dir=i.Kb({type:Kl,selectors:[["","headerRowOutlet",""]]}),Kl),Xl=((Jl=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}).\u0275fac=function(e){return new(e||Jl)(i.Pb(i.P),i.Pb(i.l))},Jl.\u0275dir=i.Kb({type:Jl,selectors:[["","footerRowOutlet",""]]}),Jl),Ql=((ql=function(){function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=i,this._dir=a,this._platform=s,this._onDestroy=new dr.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new fr({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Wc(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;t.forEachOperation((function(t,i,r){if(null==t.previousIndex)e._insertRow(t.item,r);else if(null==r)n.remove(i);else{var a=n.get(i);n.move(a,r)}})),this._updateRowIndexContext(),t.forEachIdentityChange((function(e){n.get(e.currentIndex).context.$implicit=e.item.data})),this.updateStickyColumnStyles()}}},{key:"setHeaderRowDef",value:function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}},{key:"setFooterRowDef",value:function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([].concat(_toConsumableArray(t),_toConsumableArray(n),_toConsumableArray(i)),["left","right"]),t.forEach((function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])})),this._rowDefs.forEach((function(t){for(var i=[],r=0;r1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}},{key:"_renderUpdatedColumns",value:function(){var e=function(e,t){return e||!!t.getColumnsDiff()};this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}},{key:"_switchDataSource",value:function(e){this._data=[],Wc(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}},{key:"_observeRenderChanges",value:function(){var e=this;if(this.dataSource){var t,n;if(Wc(this.dataSource)?t=this.dataSource.connect(this):(n=this.dataSource)&&(n instanceof mt.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=bi(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(ol(this._onDestroy)).subscribe((function(t){e._data=t||[],e.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(t,n){return e._renderRow(e._headerRowOutlet,t,n)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(t,n){return e._renderRow(e._footerRowOutlet,t,n)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,i=Array.from(t.columns||[]).map((function(e){var t=n._columnDefsByName.get(e);if(!t)throw Ul(e);return t})),r=i.map((function(e){return e.sticky})),a=i.map((function(e){return e.stickyEnd}));this._stickyStyler.updateStickyColumns(e,r,a)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:{};e.viewContainer.createEmbeddedView(t.template,i,n);var r=!0,a=!1,o=void 0;try{for(var s,c=this._getCellTemplates(t)[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value;Fl.mostRecentCellOutlet&&Fl.mostRecentCellOutlet._viewContainer.createEmbeddedView(l,i)}}catch(u){a=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),t}(function(e){function t(e,n){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),t}(la.a)),au=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),ou=function(e){function t(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:au.now;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,(function(){return t.delegate&&t.delegate!==_assertThisInitialized(n)?t.delegate.now():i()})))).actions=[],n.active=!1,n.scheduled=void 0,n}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(e,n,i):_get(_getPrototypeOf(t.prototype),"schedule",this).call(this,e,n,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),t}(au),su=new ou(ru);function cu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:su;return function(n){return n.lift(new lu(e,t))}}var lu=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new uu(e,this.dueTime,this.scheduler))}}]),e}(),uu=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(du,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),t}(yi.a);function du(e){e.debouncedNext()}var hu,fu,pu,mu,_u=((mu=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}()).\u0275fac=function(e){return new(e||mu)},mu.\u0275prov=Object(i.Lb)({factory:function(){return new mu},token:mu,providedIn:"root"}),mu),bu=((pu=function(){function e(t){_classCallCheck(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))}},{key:"observe",value:function(e){var t=this,n=Vc(e);return new mt.a((function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}}))}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new dr.a,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}()).\u0275fac=function(e){return new(e||pu)(i.fc(_u))},pu.\u0275prov=Object(i.Lb)({factory:function(){return new pu(Object(i.fc)(_u))},token:pu,providedIn:"root"}),pu),gu=((fu=function(){function e(t,n,r){_classCallCheck(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=r,this.event=new i.o,this._disabled=!1,this._currentSubscription=null}return _createClass(e,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(cu(e.debounce)):t).subscribe(e.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Pc(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Rc(e),this._subscribe()}}]),e}()).\u0275fac=function(e){return new(e||fu)(i.Pb(bu),i.Pb(i.l),i.Pb(i.A))},fu.\u0275dir=i.Kb({type:fu,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),fu),vu=((hu=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:hu}),hu.\u0275inj=i.Mb({factory:function(e){return new(e||hu)},providers:[_u]}),hu);function yu(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var ku,wu,Cu=0,Su=new Map,xu=null,Mu=((ku=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"describe",value:function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Su.set(t,{messageElement:t,referenceCount:0})):Su.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}},{key:"removeDescription",value:function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=Su.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}xu&&0===xu.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}}))}return _createClass(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(oa((function(t){return e._pressedLetters.push(t)})),cu(t),ki((function(){return e._pressedLetters.length>0})),Object(bt.a)((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),i=1;i-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||iu(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof i.E?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),e}(),Ou=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(t.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),t}(Lu),Du=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._origin="program",e}return _inherits(t,e),_createClass(t,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_get(_getPrototypeOf(t.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),t}(Lu),Tu=((wu=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(UY){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var i=n&&n.nodeName.toLowerCase();if(-1===Eu(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===i)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var r=e.nodeName.toLowerCase(),a=Eu(e);if(e.hasAttribute("contenteditable"))return-1!==a;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Au(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}]),e}()).\u0275fac=function(e){return new(e||wu)(i.fc(el))},wu.\u0275prov=Object(i.Lb)({factory:function(){return new wu(Object(i.fc)(el))},token:wu,providedIn:"root"}),wu);function Au(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function Eu(e){if(!Au(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var Pu,Ru,Iu=function(){function e(t,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return _createClass(e,[{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe(e)}},{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}}]),e}(),ju=((Ru=function(){function e(t,n,i){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=i}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Iu(e,this._checker,this._ngZone,this._document,t)}}]),e}()).\u0275fac=function(e){return new(e||Ru)(i.fc(Tu),i.fc(i.A),i.fc(s))},Ru.\u0275prov=Object(i.Lb)({factory:function(){return new Ru(Object(i.fc)(Tu),Object(i.fc)(i.A),Object(i.fc)(s))},token:Ru,providedIn:"root"}),Ru),Yu=((Pu=function(){function e(t,n,i){_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=Pc(e)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(e){this._autoCapture=Pc(e)}}]),e}()).\u0275fac=function(e){return new(e||Pu)(i.Pb(i.l),i.Pb(ju),i.Pb(s))},Pu.\u0275dir=i.Kb({type:Pu,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),Pu);"undefined"!=typeof Element&∈var Vu,Wu,Fu,Hu,Bu=new i.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),zu=new i.r("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Nu=((Wu=function(){function e(t,n,i,r){_classCallCheck(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return _createClass(e,[{key:"announce",value:function(e){for(var t,n,i,r=this,a=this._defaultOptions,o=arguments.length,s=new Array(o>1?o-1:0),c=1;c1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return bi(null);var i=Vc(e);if(this._elementInfo.has(i)){var r=this._elementInfo.get(i);return r.checkChildren=n,r.subject.asObservable()}var a={unlisten:function(){},checkChildren:n,subject:new dr.a};this._elementInfo.set(i,a),this._incrementMonitoredElementCount();var o=function(e){return t._onFocus(e,i)},s=function(e){return t._onBlur(e,i)};return this._ngZone.runOutsideAngular((function(){i.addEventListener("focus",o,!0),i.addEventListener("blur",s,!0)})),a.unlisten=function(){i.removeEventListener("focus",o,!0),i.removeEventListener("blur",s,!0)},a.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Vc(e),n=this._elementInfo.get(t);n&&(n.unlisten(),n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())}},{key:"focusVia",value:function(e,t,n){var i=Vc(e);this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_setClasses",value:function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,t._originTimeoutId=setTimeout((function(){return t._origin=null}),1)}))}},{key:"_wasCausedByTouch",value:function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===e.target)){var i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_incrementMonitoredElementCount",value:function(){var e=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular((function(){document.addEventListener("keydown",e._documentKeydownListener,qu),document.addEventListener("mousedown",e._documentMousedownListener,qu),document.addEventListener("touchstart",e._documentTouchstartListener,qu),window.addEventListener("focus",e._windowFocusListener)}))}},{key:"_decrementMonitoredElementCount",value:function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,qu),document.removeEventListener("mousedown",this._documentMousedownListener,qu),document.removeEventListener("touchstart",this._documentTouchstartListener,qu),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}]),e}()).\u0275fac=function(e){return new(e||Hu)(i.fc(i.A),i.fc(el))},Hu.\u0275prov=Object(i.Lb)({factory:function(){return new Hu(Object(i.fc)(i.A),Object(i.fc)(el))},token:Hu,providedIn:"root"}),Hu),Ku=((Fu=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new i.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return r.cdkFocusChange.emit(e)}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||Fu)(i.Pb(i.l),i.Pb(Ju))},Fu.\u0275dir=i.Kb({type:Fu,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Fu);function Gu(e){return 0===e.buttons}var $u,Zu,Xu=((Zu=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=(this._document.defaultView.getComputedStyle(e).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),t){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||Zu)(i.fc(el),i.fc(s))},Zu.\u0275prov=Object(i.Lb)({factory:function(){return new Zu(Object(i.fc)(el),Object(i.fc)(s))},token:Zu,providedIn:"root"}),Zu),Qu=(($u=function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()}).\u0275mod=i.Nb({type:$u}),$u.\u0275inj=i.Mb({factory:function(e){return new(e||$u)(i.fc(Xu))},imports:[[tl,vu]]}),$u),ed=new i.O("9.1.0"),td=["*",[["mat-option"],["ng-container"]]],nd=["*","mat-option, ng-container"];function id(e,t){if(1&e&&i.Rb(0,"mat-pseudo-checkbox",3),2&e){var n=i.nc();i.sc("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var rd,ad=["*"],od=new i.O("9.1.0"),sd=new i.r("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),cd=((rd=function(){function e(t,n){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(e,[{key:"_checksAreEnabled",value:function(){return Object(i.W)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._window;return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&od.full!==ed.full&&console.warn("The Angular Material version ("+od.full+") does not match the Angular CDK version ("+ed.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=i.Nb({type:rd}),rd.\u0275inj=i.Mb({factory:function(e){return new(e||rd)(i.fc(Xu),i.fc(sd,8))},imports:[[Kc],Kc]}),rd);function ld(e){return function(e){function t(){var e,n;_classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return(function(e){function n(){var e,i;_classCallCheck(this,n);for(var r=arguments.length,a=new Array(r),o=0;o0?n:e}},{key:"localeChanges",get:function(){return this._localeChanges}}]),e}(),bd=new i.r("mat-date-formats");try{pd="undefined"!=typeof Intl}catch(UY){pd=!1}var gd={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},vd=wd(31,(function(e){return String(e+1)})),yd={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},kd=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function wd(e,t){for(var n=Array(e),i=0;i11)throw Error('Invalid month index "'.concat(t,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var i=this._createDateWithOverflow(e,t,n);if(i.getMonth()!=t)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(t,'".'));return i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(pd){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(kd.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return _get(_getPrototypeOf(t.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var i=new Date(e,t,n);return e>=0&&e<100&&i.setFullYear(this.getYear(i)-1900),i}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)}}]),t}(_d)).\u0275fac=function(e){return new(e||Sd)(i.fc(md,8),i.fc(el))},Sd.\u0275prov=i.Lb({token:Sd,factory:Sd.\u0275fac}),Sd),Dd=((Cd=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Cd}),Cd.\u0275inj=i.Mb({factory:function(e){return new(e||Cd)},providers:[{provide:_d,useClass:Od}],imports:[[tl]]}),Cd),Td={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Ad=((Ld=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Ld}),Ld.\u0275inj=i.Mb({factory:function(e){return new(e||Ld)},providers:[{provide:bd,useValue:Td}],imports:[[Dd]]}),Ld),Ed=((Md=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}()).\u0275fac=function(e){return new(e||Md)},Md.\u0275prov=Object(i.Lb)({factory:function(){return new Md},token:Md,providedIn:"root"}),Md),Pd=((xd=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||xd)},xd.\u0275dir=i.Kb({type:xd,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),xd);function Rd(e,t,n){var i=e.nativeElement.classList;n?i.add(t):i.remove(t)}var Id,jd,Yd,Vd,Wd,Fd,Hd,Bd=((Id=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Id}),Id.\u0275inj=i.Mb({factory:function(e){return new(e||Id)},imports:[[cd],cd]}),Id),zd=function(){function e(t,n,i){_classCallCheck(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return _createClass(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),Nd={enterDuration:450,exitDuration:400},Ud=rl({passive:!0}),qd=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(e){var t=Gu(e),n=a._lastTouchStartEvent&&Date.now()2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},Nd),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var o=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,c=t-r.top,l=a.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left="".concat(s-o,"px"),u.style.top="".concat(c-o,"px"),u.style.height="".concat(2*o,"px"),u.style.width="".concat(2*o,"px"),null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";var d=new zd(this,u,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone((function(){var e=d===n._mostRecentTransientRipple;d.state=1,i.persistent||e&&n._isPointerDown||d.fadeOut()}),l),d}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},Nd),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone((function(){e.state=3,n.parentNode.removeChild(n)}),i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))}},{key:"setupTriggerEvents",value:function(e){var t=this,n=Vc(e);n&&n!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular((function(){t._triggerEvents.forEach((function(e,t){n.addEventListener(t,e,Ud)}))})),this._triggerElement=n)}},{key:"_runTimeoutOutsideZone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&this._triggerEvents.forEach((function(t,n){e._triggerElement.removeEventListener(n,t,Ud)}))}}]),e}(),Jd=new i.r("mat-ripple-global-options"),Kd=((Wd=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new qd(this,n,t,i),"NoopAnimations"===a&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return _createClass(e,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),e}()).\u0275fac=function(e){return new(e||Wd)(i.Pb(i.l),i.Pb(i.A),i.Pb(el),i.Pb(Jd,8),i.Pb(dt,8))},Wd.\u0275dir=i.Kb({type:Wd,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),Wd),Gd=((Vd=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Vd}),Vd.\u0275inj=i.Mb({factory:function(e){return new(e||Vd)},imports:[[cd,tl],cd]}),Vd),$d=((Yd=function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1}).\u0275fac=function(e){return new(e||Yd)(i.Pb(dt,8))},Yd.\u0275cmp=i.Jb({type:Yd,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.Gb("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Yd),Zd=((jd=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:jd}),jd.\u0275inj=i.Mb({factory:function(e){return new(e||jd)}}),jd),Xd=ld((function e(){_classCallCheck(this,e)})),Qd=0,eh=((Fd=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._labelId="mat-optgroup-label-".concat(Qd++),e}return _inherits(t,e),t}(Xd)).\u0275fac=function(e){return th(e||Fd)},Fd.\u0275cmp=i.Jb({type:Fd,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(i.Db("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),i.Gb("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[i.zb],ngContentSelectors:nd,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(i.rc(td),i.Wb(0,"label",0),i.Jc(1),i.qc(2),i.Vb(),i.qc(3,1)),2&e&&(i.sc("id",t._labelId),i.Cb(1),i.Lc("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Fd),th=i.Zb(eh),nh=0,ih=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=n},rh=new i.r("MAT_OPTION_PARENT_COMPONENT"),ah=((Hd=function(){function e(t,n,r,a){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(nh++),this.onSelectionChange=new i.o,this._stateChanges=new dr.a}return _createClass(e,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){13!==e.keyCode&&32!==e.keyCode||iu(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new ih(this,e))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Pc(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),e}()).\u0275fac=function(e){return new(e||Hd)(i.Pb(i.l),i.Pb(i.h),i.Pb(rh,8),i.Pb(eh,8))},Hd.\u0275cmp=i.Jb({type:Hd,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.jc("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(i.ac("id",t.id),i.Db("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.Gb("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:ad,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(i.rc(),i.Ic(0,id,1,2,"mat-pseudo-checkbox",0),i.Wb(1,"span",1),i.qc(2),i.Vb(),i.Rb(3,"div",2)),2&e&&(i.sc("ngIf",t.multiple),i.Cb(3),i.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[z,Kd,$d],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Hd);function oh(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),a=0,o=0;o0&&void 0!==arguments[0]?arguments[0]:[];return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._renderData=new fr([]),e._filter=new fr(""),e._internalPageChanges=new dr.a,e._renderChangesSubscription=la.a.EMPTY,e.sortingDataAccessor=function(e,t){var n=e[t];if(Ic(n)){var i=Number(n);return i<9007199254740991?i:n}return n},e.sortData=function(t,n){var i=n.active,r=n.direction;return i&&""!=r?t.sort((function(t,n){var a=e.sortingDataAccessor(t,i),o=e.sortingDataAccessor(n,i),s=0;return null!=a&&null!=o?a>o?s=1:a0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,t._internalPageChanges.next())}}))}},{key:"connect",value:function(){return this._renderData}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e)}},{key:"filter",get:function(){return this._filter.value},set:function(e){this._filter.next(e)}},{key:"sort",get:function(){return this._sort},set:function(e){this._sort=e,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(e){this._paginator=e,this._updateChangeSubscription()}}]),t}(function(){return function e(){_classCallCheck(this,e)}}()),ef=["*",[["mat-card-footer"]]],tf=["*","mat-card-footer"],nf=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],rf=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],af=((xh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||xh)},xh.\u0275dir=i.Kb({type:xh,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),xh),of=((Sh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Sh)},Sh.\u0275dir=i.Kb({type:Sh,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),Sh),sf=((Ch=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Ch)},Ch.\u0275dir=i.Kb({type:Ch,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),Ch),cf=((wh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||wh)},wh.\u0275dir=i.Kb({type:wh,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),wh),lf=((kh=function e(t){_classCallCheck(this,e),this._animationMode=t}).\u0275fac=function(e){return new(e||kh)(i.Pb(dt,8))},kh.\u0275cmp=i.Jb({type:kh,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:tf,decls:2,vars:0,template:function(e,t){1&e&&(i.rc(ef),i.qc(0),i.qc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),kh),uf=((yh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||yh)},yh.\u0275cmp=i.Jb({type:yh,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:rf,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(i.rc(nf),i.qc(0),i.Wb(1,"div",0),i.qc(2,1),i.Vb(),i.qc(3,2))},encapsulation:2,changeDetection:0}),yh),df=((vh=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:vh}),vh.\u0275inj=i.Mb({factory:function(e){return new(e||vh)},imports:[[cd],cd]}),vh),hf=["mat-button",""],ff=["*"],pf=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],mf=ud(ld(dd((function e(t){_classCallCheck(this,e),this._elementRef=t})))),_f=((Oh=function(e){function t(e,n,i){var r;_classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._focusMonitor=n,r._animationMode=i,r.isRoundButton=r._hasHostAttributes("mat-fab","mat-mini-fab"),r.isIconButton=r._hasHostAttributes("mat-icon-button");var a=!0,o=!1,s=void 0;try{for(var c,l=pf[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var u=c.value;r._hasHostAttributes(u)&&r._getHostElement().classList.add(u)}}catch(d){o=!0,s=d}finally{try{a||null==l.return||l.return()}finally{if(o)throw s}}return e.nativeElement.classList.add("mat-button-base"),r._focusMonitor.monitor(r._elementRef,!0),r.isRoundButton&&(r.color="accent"),r}return _inherits(t,e),_createClass(t,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),Oh),bf=((Lh=function(e){function t(e,n,i){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n,e,i))}return _inherits(t,e),_createClass(t,[{key:"_haltDisabledEvents",value:function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}]),t}(_f)).\u0275fac=function(e){return new(e||Lh)(i.Pb(Ju),i.Pb(i.l),i.Pb(dt,8))},Lh.\u0275cmp=i.Jb({type:Lh,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){1&e&&i.jc("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(i.Db("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[i.zb],attrs:hf,ngContentSelectors:ff,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"span",0),i.qc(1),i.Vb(),i.Rb(2,"div",1),i.Rb(3,"div",2)),2&e&&(i.Cb(2),i.Gb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.sc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Kd],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),Lh),gf=((Mh=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Mh}),Mh.\u0275inj=i.Mb({factory:function(e){return new(e||Mh)},imports:[[Gd,cd],cd]}),Mh);function vf(e,t,n,i){return Object(aa.a)(n)&&(i=n,n=void 0),i?vf(e,t,n).pipe(Object(bt.a)((function(e){return Object(_t.a)(e)?i.apply(void 0,_toConsumableArray(e)):i(e)}))):new mt.a((function(i){!function e(t,n,i,r,a){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,i,a),o=function(){return s.removeEventListener(n,i,a)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,i),o=function(){return c.off(n,i)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,i),o=function(){return l.removeListener(n,i)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,d=t.length;u1?Array.prototype.slice.call(arguments):e)}),i,n)}))}var yf=["underline"],kf=["connectionContainer"],wf=["inputContainer"],Cf=["label"];function Sf(e,t){1&e&&(i.Ub(0),i.Wb(1,"div",14),i.Rb(2,"div",15),i.Rb(3,"div",16),i.Rb(4,"div",17),i.Vb(),i.Wb(5,"div",18),i.Rb(6,"div",15),i.Rb(7,"div",16),i.Rb(8,"div",17),i.Vb(),i.Tb())}function xf(e,t){1&e&&(i.Wb(0,"div",19),i.qc(1,1),i.Vb())}function Mf(e,t){if(1&e&&(i.Ub(0),i.qc(1,2),i.Wb(2,"span"),i.Jc(3),i.Vb(),i.Tb()),2&e){var n=i.nc(2);i.Cb(3),i.Kc(n._control.placeholder)}}function Lf(e,t){1&e&&i.qc(0,3,["*ngSwitchCase","true"])}function Of(e,t){1&e&&(i.Wb(0,"span",23),i.Jc(1," *"),i.Vb())}function Df(e,t){if(1&e){var n=i.Yb();i.Wb(0,"label",20,21),i.jc("cdkObserveContent",(function(){return i.Cc(n),i.nc().updateOutlineGap()})),i.Ic(2,Mf,4,1,"ng-container",12),i.Ic(3,Lf,1,0,void 0,12),i.Ic(4,Of,2,0,"span",22),i.Vb()}if(2&e){var r=i.nc();i.Gb("mat-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-form-field-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-accent","accent"==r.color)("mat-warn","warn"==r.color),i.sc("cdkObserveContentDisabled","outline"!=r.appearance)("id",r._labelId)("ngSwitch",r._hasLabel()),i.Db("for",r._control.id)("aria-owns",r._control.id),i.Cb(2),i.sc("ngSwitchCase",!1),i.Cb(1),i.sc("ngSwitchCase",!0),i.Cb(1),i.sc("ngIf",!r.hideRequiredMarker&&r._control.required&&!r._control.disabled)}}function Tf(e,t){1&e&&(i.Wb(0,"div",24),i.qc(1,4),i.Vb())}function Af(e,t){if(1&e&&(i.Wb(0,"div",25,26),i.Rb(2,"span",27),i.Vb()),2&e){var n=i.nc();i.Cb(2),i.Gb("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function Ef(e,t){if(1&e&&(i.Wb(0,"div"),i.qc(1,5),i.Vb()),2&e){var n=i.nc();i.sc("@transitionMessages",n._subscriptAnimationState)}}function Pf(e,t){if(1&e&&(i.Wb(0,"div",31),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.sc("id",n._hintLabelId),i.Cb(1),i.Kc(n.hintLabel)}}function Rf(e,t){if(1&e&&(i.Wb(0,"div",28),i.Ic(1,Pf,2,2,"div",29),i.qc(2,6),i.Rb(3,"div",30),i.qc(4,7),i.Vb()),2&e){var n=i.nc();i.sc("@transitionMessages",n._subscriptAnimationState),i.Cb(1),i.sc("ngIf",n.hintLabel)}}var If,jf,Yf=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Vf=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Wf=0,Ff=((If=function e(){_classCallCheck(this,e),this.id="mat-error-".concat(Wf++)}).\u0275fac=function(e){return new(e||If)},If.\u0275dir=i.Kb({type:If,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("id",t.id)},inputs:{id:"id"}}),If),Hf={transitionMessages:Object(Xe.n)("transitionMessages",[Object(Xe.k)("enter",Object(Xe.l)({opacity:1,transform:"translateY(0%)"})),Object(Xe.m)("void => enter",[Object(Xe.l)({opacity:0,transform:"translateY(-100%)"}),Object(Xe.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Bf=((jf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||jf)},jf.\u0275dir=i.Kb({type:jf}),jf);function zf(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}var Nf,Uf,qf,Jf,Kf,Gf,$f,Zf=0,Xf=((Kf=function e(){_classCallCheck(this,e),this.align="start",this.id="mat-hint-".concat(Zf++)}).\u0275fac=function(e){return new(e||Kf)},Kf.\u0275dir=i.Kb({type:Kf,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.Db("id",t.id)("align",null),i.Gb("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),Kf),Qf=((Jf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Jf)},Jf.\u0275dir=i.Kb({type:Jf,selectors:[["mat-label"]]}),Jf),ep=((qf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||qf)},qf.\u0275dir=i.Kb({type:qf,selectors:[["mat-placeholder"]]}),qf),tp=((Uf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Uf)},Uf.\u0275dir=i.Kb({type:Uf,selectors:[["","matPrefix",""]]}),Uf),np=((Nf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Nf)},Nf.\u0275dir=i.Kb({type:Nf,selectors:[["","matSuffix",""]]}),Nf),ip=0,rp=ud((function e(t){_classCallCheck(this,e),this._elementRef=t}),"primary"),ap=new i.r("MAT_FORM_FIELD_DEFAULT_OPTIONS"),op=(($f=function(e){function t(e,n,i,r,a,o,s,c){var l;return _classCallCheck(this,t),(l=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._elementRef=e,l._changeDetectorRef=n,l._dir=r,l._defaults=a,l._platform=o,l._ngZone=s,l._outlineGapCalculationNeededImmediately=!1,l._outlineGapCalculationNeededOnStable=!1,l._destroyed=new dr.a,l._showAlwaysAnimate=!1,l._subscriptAnimationState="",l._hintLabel="",l._hintLabelId="mat-hint-".concat(ip++),l._labelId="mat-form-field-label-".concat(ip++),l._labelOptions=i||{},l.floatLabel=l._getDefaultFloatLabelState(),l._animationsEnabled="NoopAnimations"!==c,l.appearance=a&&a.appearance?a.appearance:"legacy",l._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,l}return _inherits(t,e),_createClass(t,[{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe(Qr(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(ol(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(ol(e._destroyed)).subscribe((function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}))})),Object(Ah.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Qr(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Qr(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(ol(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e.updateOutlineGap()}))})):e.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,vf(this._label.nativeElement,"transitionend").pipe(zr(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(e||n.hintLabel)throw zf("start");e=i}else if("end"===i.align){if(t)throw zf("end");t=i}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find((function(e){return"start"===e.align})):null,n=this._hintChildren?this._hintChildren.find((function(e){return"end"===e.align})):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var s=this._getStartEnd(o),c=this._getStartEnd(e.children[0].getBoundingClientRect()),l=0,u=!0,d=!1,h=void 0;try{for(var f,p=e.children[Symbol.iterator]();!(u=(f=p.next()).done);u=!0)l+=f.value.offsetWidth}catch(b){d=!0,h=b}finally{try{u||null==p.return||p.return()}finally{if(d)throw h}}t=c-s-5,n=l>0?.75*l+10:0}for(var m=0;m=0}function dp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return up(t)?i=Number(t)<1?1:Number(t):Object(pi.a)(t)&&(n=t),Object(pi.a)(n)||(n=su),new mt.a((function(t){var r=up(e)?e:+e-n.now();return n.schedule(hp,r,{index:0,period:i,subscriber:t})}))}function hp(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function fp(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:su;return t=function(){return dp(e,n)},function(e){return e.lift(new cp(t))}}var pp,mp,_p,bp,gp=rl({passive:!0}),vp=((mp=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}return _createClass(e,[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return kr;var n=Vc(e),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var r=new dr.a,a="cdk-text-field-autofilled",o=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(a)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(a)&&(n.classList.remove(a),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!1})}))):(n.classList.add(a),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",o,gp),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",o,gp)}}),r.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Vc(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach((function(t,n){return e.stopMonitoring(n)}))}}]),e}()).\u0275fac=function(e){return new(e||mp)(i.fc(el),i.fc(i.A))},mp.\u0275prov=Object(i.Lb)({factory:function(){return new mp(Object(i.fc)(el),Object(i.fc)(i.A))},token:mp,providedIn:"root"}),mp),yp=((pp=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:pp}),pp.\u0275inj=i.Mb({factory:function(e){return new(e||pp)},imports:[[tl]]}),pp),kp=new i.r("MAT_INPUT_VALUE_ACCESSOR"),wp=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Cp=0,Sp=fd((function e(t,n,i,r){_classCallCheck(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r})),xp=((bp=function(e){function t(e,n,i,r,a,o,s,c,l){var u;_classCallCheck(this,t),(u=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,o,r,a,i)))._elementRef=e,u._platform=n,u.ngControl=i,u._autofillMonitor=c,u._uid="mat-input-".concat(Cp++),u._isServer=!1,u._isNativeSelect=!1,u.focused=!1,u.stateChanges=new dr.a,u.controlType="mat-input",u.autofilled=!1,u._disabled=!1,u._required=!1,u._type="text",u._readonly=!1,u._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(e){return il().has(e)}));var d=u._elementRef.nativeElement;return u._inputValueAccessor=s||d,u._previousNativeValue=u.value,u.id=u.id,n.IOS&&l.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))}))})),u._isServer=!u._platform.isBrowser,u._isNativeSelect="select"===d.nodeName.toLowerCase(),u._isNativeSelect&&(u.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),u}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()}))}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_isTextarea",value:function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){if(wp.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Pc(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea()&&il().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=Pc(e)}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}}]),t}(Sp)).\u0275fac=function(e){return new(e||bp)(i.Pb(i.l),i.Pb(el),i.Pb(Yt,10),i.Pb(Zn,8),i.Pb(si,8),i.Pb(Ed),i.Pb(kp,10),i.Pb(vp),i.Pb(i.A))},bp.\u0275dir=i.Kb({type:bp,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&i.jc("blur",(function(){return t._focusChanged(!1)}))("focus",(function(){return t._focusChanged(!0)}))("input",(function(){return t._onInput()})),2&e&&(i.ac("disabled",t.disabled)("required",t.required),i.Db("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),i.Gb("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[i.Bb([{provide:Bf,useExisting:bp}]),i.zb,i.Ab()]}),bp),Mp=((_p=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:_p}),_p.\u0275inj=i.Mb({factory:function(e){return new(e||_p)},providers:[Ed],imports:[[yp,sp],yp,sp]}),_p),Lp=1,Op=Promise.resolve(),Dp={};function Tp(e){return e in Dp&&(delete Dp[e],!0)}var Ap=function(e){var t=Lp++;return Dp[t]=!0,Op.then((function(){return Tp(t)&&e()})),t},Ep=function(e){Tp(e)},Pp=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).scheduler=e,i.work=n,i}return _inherits(t,e),_createClass(t,[{key:"requestAsyncId",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(t.prototype),"requestAsyncId",this).call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=Ap(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(t.prototype),"recycleAsyncId",this).call(this,e,n,i);0===e.actions.length&&(Ep(n),e.scheduled=void 0)}}]),t}(ru),Rp=new(function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new mt.a((function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(fp(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):bi()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ki((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)})),n}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return vf(window.document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||Up)(i.fc(i.A),i.fc(el))},Up.\u0275prov=Object(i.Lb)({factory:function(){return new Up(Object(i.fc)(i.A),Object(i.fc)(el))},token:Up,providedIn:"root"}),Up),Jp=((Np=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new dr.a,this._elementScrolled=new mt.a((function(e){return a.ngZone.runOutsideAngular((function(){return vf(a.elementRef.nativeElement,"scroll").pipe(ol(a._destroyed)).subscribe(e)}))}))}return _createClass(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=al()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==al()?e.left=e.right:1==al()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==al()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==al()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}()).\u0275fac=function(e){return new(e||Np)(i.Pb(i.l),i.Pb(qp),i.Pb(i.A),i.Pb(Jc,8))},Np.\u0275dir=i.Kb({type:Np,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Np),Kp=((zp=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._platform=t,n.runOutsideAngular((function(){i._change=t.isBrowser?Object(Ah.a)(vf(window,"resize"),vf(window,"orientationchange")):bi(),i._invalidateCache=i.change().subscribe((function(){return i._updateViewportSize()}))}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(fp(e)):this._change}},{key:"_updateViewportSize",value:function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||zp)(i.fc(el),i.fc(i.A))},zp.\u0275prov=Object(i.Lb)({factory:function(){return new zp(Object(i.fc)(el),Object(i.fc)(i.A))},token:zp,providedIn:"root"}),zp),Gp=((Bp=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bp}),Bp.\u0275inj=i.Mb({factory:function(e){return new(e||Bp)},imports:[[Kc,tl],Kc]}),Bp);function $p(){throw Error("Host already has a portal attached")}var Zp,Xp,Qp,em,tm=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"attach",value:function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&$p(),this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),e}(),nm=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).component=e,a.viewContainerRef=n,a.injector=i,a.componentFactoryResolver=r,a}return _inherits(t,e),t}(tm),im=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).templateRef=e,r.viewContainerRef=n,r.context=i,r}return _inherits(t,e),_createClass(t,[{key:"attach",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=n,_get(_getPrototypeOf(t.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(t.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),t}(tm),rm=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).element=e instanceof i.l?e.nativeElement:e,n}return _inherits(t,e),t}(tm),am=function(){function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&$p(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof nm?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof im?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof rm?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),om=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).outletElement=e,o._componentFactoryResolver=n,o._appRef=i,o._defaultInjector=r,o.attachDomPortal=function(e){if(!o._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=e.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=o._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),o.outletElement.appendChild(n),_get(_getPrototypeOf(t.prototype),"setDisposeFn",_assertThisInitialized(o)).call(_assertThisInitialized(o),(function(){i.parentNode&&i.parentNode.replaceChild(n,i)}))},o._document=a,o}return _inherits(t,e),_createClass(t,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(i);-1!==e&&n.remove(e)})),i}},{key:"dispose",value:function(){_get(_getPrototypeOf(t.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),t}(am),sm=((Qp=function(e){function t(e,n){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))}return _inherits(t,e),t}(im)).\u0275fac=function(e){return new(e||Qp)(i.Pb(i.M),i.Pb(i.P))},Qp.\u0275dir=i.Kb({type:Qp,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.zb]}),Qp),cm=((Xp=function(e){function t(e,n,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._componentFactoryResolver=e,a._viewContainerRef=n,a._isInitialized=!1,a.attached=new i.o,a.attachDomPortal=function(e){if(!a._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=e.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=a._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(a)),n.parentNode.insertBefore(i,n),a._getRootNode().appendChild(n),_get(_getPrototypeOf(t.prototype),"setDisposeFn",_assertThisInitialized(a)).call(_assertThisInitialized(a),(function(){i.parentNode&&i.parentNode.replaceChild(n,i)}))},a._document=r,a}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(t.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=n.createComponent(i,n.length,e.injector||n.injector);return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),_get(_getPrototypeOf(t.prototype),"setDisposeFn",this).call(this,(function(){return r.destroy()})),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var n=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _get(_getPrototypeOf(t.prototype),"setDisposeFn",this).call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_get(_getPrototypeOf(t.prototype),"detach",this).call(this),e&&_get(_getPrototypeOf(t.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),t}(am)).\u0275fac=function(e){return new(e||Xp)(i.Pb(i.j),i.Pb(i.P),i.Pb(s))},Xp.\u0275dir=i.Kb({type:Xp,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),Xp),lm=((Zp=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(cm)).\u0275fac=function(e){return um(e||Zp)},Zp.\u0275dir=i.Kb({type:Zp,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i.Bb([{provide:cm,useExisting:Zp}]),i.zb]}),Zp),um=i.Zb(lm),dm=((em=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:em}),em.\u0275inj=i.Mb({factory:function(e){return new(e||em)}}),em),hm=function(){function e(t,n){_classCallCheck(this,e),this._parentInjector=t,this._customTokens=n}return _createClass(e,[{key:"get",value:function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}]),e}(),fm=function(){function e(t,n){_classCallCheck(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return _createClass(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Yc(-this._previousScrollPosition.left),e.style.top=Yc(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=i,n.scrollBehavior=r}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}();function pm(){return Error("Scroll strategy has already been attached.")}var mm=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run((function(){return a._overlayRef.detach()}))}}return _createClass(e,[{key:"attach",value:function(e){if(this._overlayRef)throw pm();this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),_m=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function bm(e,t){return t.some((function(t){return e.bottomt.bottom||e.rightt.right}))}function gm(e,t){return t.some((function(t){return e.topt.bottom||e.leftt.right}))}var vm,ym=function(){function e(t,n,i,r){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _createClass(e,[{key:"attach",value:function(e){if(this._overlayRef)throw pm();this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;bm(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),km=((vm=function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new _m},this.close=function(e){return new mm(a._scrollDispatcher,a._ngZone,a._viewportRuler,e)},this.block=function(){return new fm(a._viewportRuler,a._document)},this.reposition=function(e){return new ym(a._scrollDispatcher,a._viewportRuler,a._ngZone,e)},this._document=r}).\u0275fac=function(e){return new(e||vm)(i.fc(qp),i.fc(Kp),i.fc(i.A),i.fc(s))},vm.\u0275prov=Object(i.Lb)({factory:function(){return new vm(Object(i.fc)(qp),Object(i.fc)(Kp),Object(i.fc)(i.A),Object(i.fc)(s))},token:vm,providedIn:"root"}),vm),wm=function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new _m,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1;i--)if(t[i]._keydownEventSubscriptions>0){t[i]._keydownEvents.next(e);break}},this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),e}()).\u0275fac=function(e){return new(e||Lm)(i.fc(s))},Lm.\u0275prov=Object(i.Lb)({factory:function(){return new Lm(Object(i.fc)(s))},token:Lm,providedIn:"root"}),Lm),Tm=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),Am=((Om=function(){function e(t,n){_classCallCheck(this,e),this._platform=n,this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||Tm)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),n=0;nm&&(m=w,p=k)}}catch(C){b=!0,g=C}finally{try{_||null==y.return||y.return()}finally{if(b)throw g}}return this._isPushed=!1,void this._applyPosition(p.position,p.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Im(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=e.x,a=e.y,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(r+=o),s&&(a+=s);var c=0-a,l=a+t.height-n.height,u=this._subtractOverflows(t.width,0-r,r+t.width-n.width),d=this._subtractOverflows(t.height,c,l),h=u*d;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:u==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,a=jm(this._overlayRef.getConfig().minHeight),o=jm(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=o&&o<=r;return(e.fitsInViewportVertically||null!=a&&a<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,a=this._viewportRect,o=Math.max(e.x+t.width-a.right,0),s=Math.max(e.y+t.height-a.bottom,0),c=Math.max(a.top-n.top-e.y,0),l=Math.max(a.left-n.left-e.x,0);return i=t.width<=a.width?l||-o:e.xd&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-d/2)}if("end"===t.overlayX&&!l||"start"===t.overlayX&&l)s=c.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!l||"end"===t.overlayX&&l)o=e.x,a=c.right-e.x;else{var h=Math.min(c.right-e.x+c.left,e.x),f=this._lastBoundingBoxSize.width;a=2*h,o=e.x-h,a>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.x-f/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Yc(n.height),i.top=Yc(n.top),i.bottom=Yc(n.bottom),i.width=Yc(n.width),i.left=Yc(n.left),i.right=Yc(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Yc(r)),a&&(i.maxWidth=Yc(a))}this._lastBoundingBoxSize=n,Im(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){Im(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Im(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();Im(n,this._getExactOverlayY(t,e,o)),Im(n,this._getExactOverlayX(t,e,o))}else n.position="static";var s="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(s+="translateX(".concat(c,"px) ")),l&&(s+="translateY(".concat(l,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=Yc(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=Yc(a.maxWidth):r&&(n.maxWidth="")),Im(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===e.overlayY?i.bottom="".concat(this._document.documentElement.clientHeight-(r.y+this._overlayRect.height),"px"):i.top=Yc(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right="".concat(this._document.documentElement.clientWidth-(r.x+this._overlayRect.width),"px"):i.left=Yc(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:gm(e,n),isOriginOutsideView:bm(e,n),isOverlayClipped:gm(t,n),isOverlayOutsideView:bm(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),Nm=((Vm=function(){function e(t,n,i,r){_classCallCheck(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return _createClass(e,[{key:"global",value:function(){return new zm}},{key:"connectedTo",value:function(e,t,n){return new Bm(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new Rm(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}()).\u0275fac=function(e){return new(e||Vm)(i.fc(Kp),i.fc(s),i.fc(el),i.fc(Am))},Vm.\u0275prov=Object(i.Lb)({factory:function(){return new Vm(Object(i.fc)(Kp),Object(i.fc)(s),Object(i.fc)(el),Object(i.fc)(Am))},token:Vm,providedIn:"root"}),Vm),Um=0,qm=((Ym=function(){function e(t,n,i,r,a,o,s,c,l,u){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=c,this._directionality=l,this._location=u}return _createClass(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new wm(e);return r.direction=r.direction||this._directionality.value,new Em(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-".concat(Um++),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(i.g)),new om(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}()).\u0275fac=function(e){return new(e||Ym)(i.fc(km),i.fc(Am),i.fc(i.j),i.fc(Nm),i.fc(Dm),i.fc(i.s),i.fc(i.A),i.fc(s),i.fc(Jc),i.fc(L,8))},Ym.\u0275prov=i.Lb({token:Ym,factory:Ym.\u0275fac}),Ym),Jm=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Km=new i.r("cdk-connected-overlay-scroll-strategy"),Gm=((Fm=function e(t){_classCallCheck(this,e),this.elementRef=t}).\u0275fac=function(e){return new(e||Fm)(i.Pb(i.l))},Fm.\u0275dir=i.Kb({type:Fm,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Fm),$m=((Wm=function(){function e(t,n,r,a,o){_classCallCheck(this,e),this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=la.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new i.o,this.positionChange=new i.o,this.attach=new i.o,this.detach=new i.o,this.overlayKeydown=new i.o,this._templatePortal=new im(n,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=Jm),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),27!==t.keyCode||iu(t)||(t.preventDefault(),e._detachOverlay())}))}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new wm({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}}));return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Pc(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=Pc(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Pc(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Pc(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=Pc(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),e}()).\u0275fac=function(e){return new(e||Wm)(i.Pb(qm),i.Pb(i.M),i.Pb(i.P),i.Pb(Km),i.Pb(Jc,8))},Wm.\u0275dir=i.Kb({type:Wm,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[i.Ab()]}),Wm),Zm={provide:Km,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Xm=((Hm=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Hm}),Hm.\u0275inj=i.Mb({factory:function(e){return new(e||Hm)},providers:[qm,Zm],imports:[[Kc,dm,Gp],Gp]}),Hm),Qm=["trigger"],e_=["panel"];function t_(e,t){if(1&e&&(i.Wb(0,"span",8),i.Jc(1),i.Vb()),2&e){var n=i.nc();i.Cb(1),i.Kc(n.placeholder||"\xa0")}}function n_(e,t){if(1&e&&(i.Wb(0,"span"),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.Kc(n.triggerValue||"\xa0")}}function i_(e,t){1&e&&i.qc(0,0,["*ngSwitchCase","true"])}function r_(e,t){if(1&e&&(i.Wb(0,"span",9),i.Ic(1,n_,2,1,"span",10),i.Ic(2,i_,1,0,void 0,11),i.Vb()),2&e){var n=i.nc();i.sc("ngSwitch",!!n.customTrigger),i.Cb(2),i.sc("ngSwitchCase",!0)}}function a_(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",12),i.Wb(1,"div",13,14),i.jc("@transformPanel.done",(function(e){return i.Cc(n),i.nc()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return i.Cc(n),i.nc()._handleKeydown(e)})),i.qc(3,1),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("@transformPanelWrap",void 0),i.Cb(1),i.Fb("mat-select-panel ",r._getPanelTheme(),""),i.Hc("transform-origin",r._transformOrigin)("font-size",r._triggerFontSize,"px"),i.sc("ngClass",r.panelClass)("@transformPanel",r.multiple?"showing-multiple":"showing")}}var o_,s_,c_,l_,u_,d_=[[["mat-select-trigger"]],"*"],h_=["mat-select-trigger","*"],f_={transformPanelWrap:Object(Xe.n)("transformPanelWrap",[Object(Xe.m)("* => void",Object(Xe.i)("@transformPanel",[Object(Xe.f)()],{optional:!0}))]),transformPanel:Object(Xe.n)("transformPanel",[Object(Xe.k)("void",Object(Xe.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(Xe.k)("showing",Object(Xe.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(Xe.k)("showing-multiple",Object(Xe.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(Xe.m)("void => *",Object(Xe.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(Xe.m)("* => void",Object(Xe.e)("100ms 25ms linear",Object(Xe.l)({opacity:0})))])},p_=0,m_=new i.r("mat-select-scroll-strategy"),__=new i.r("MAT_SELECT_CONFIG"),b_={provide:m_,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},g_=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},v_=dd(hd(ld(fd((function e(t,n,i,r,a){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a}))))),y_=((c_=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||c_)},c_.\u0275dir=i.Kb({type:c_,selectors:[["mat-select-trigger"]]}),c_),k_=((s_=function(e){function t(e,n,r,a,o,s,c,l,u,d,h,f,p,m){var _;return _classCallCheck(this,t),(_=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,o,a,c,l,d)))._viewportRuler=e,_._changeDetectorRef=n,_._ngZone=r,_._dir=s,_._parentFormField=u,_.ngControl=d,_._liveAnnouncer=p,_._panelOpen=!1,_._required=!1,_._scrollTop=0,_._multiple=!1,_._compareWith=function(e,t){return e===t},_._uid="mat-select-".concat(p_++),_._destroy=new dr.a,_._triggerFontSize=0,_._onChange=function(){},_._onTouched=function(){},_._optionIds="",_._transformOrigin="top",_._panelDoneAnimatingStream=new dr.a,_._offsetY=0,_._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],_._disableOptionCentering=!1,_._focused=!1,_.controlType="mat-select",_.ariaLabel="",_.optionSelectionChanges=Cr((function(){var e=_.options;return e?e.changes.pipe(Qr(e),Gr((function(){return Object(Ah.a).apply(void 0,_toConsumableArray(e.map((function(e){return e.onSelectionChange}))))}))):_._ngZone.onStable.asObservable().pipe(zr(1),Gr((function(){return _.optionSelectionChanges})))})),_.openedChange=new i.o,_._openedStream=_.openedChange.pipe(ki((function(e){return e})),Object(bt.a)((function(){}))),_._closedStream=_.openedChange.pipe(ki((function(e){return!e})),Object(bt.a)((function(){}))),_.selectionChange=new i.o,_.valueChange=new i.o,_.ngControl&&(_.ngControl.valueAccessor=_assertThisInitialized(_)),_._scrollStrategyFactory=f,_._scrollStrategy=_._scrollStrategyFactory(),_.tabIndex=parseInt(h)||0,_.id=_.id,m&&(null!=m.disableOptionCentering&&(_.disableOptionCentering=m.disableOptionCentering),null!=m.typeaheadDebounceInterval&&(_.typeaheadDebounceInterval=m.typeaheadDebounceInterval)),_}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new Nc(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ip(),ol(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(ol(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(ol(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(Qr(null),ol(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.options&&this._setSelectionByValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&i&&!iu(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,r=t.isTyping();if(36===n||35===n)e.preventDefault(),36===n?t.setFirstItemActive():t.setLastItemActive();else if(i&&e.altKey)e.preventDefault(),this.close();else if(r||13!==n&&32!==n||!t.activeItem||iu(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var a=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(a?e.select():e.deselect())}))}else{var o=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==o&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(zr(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find((function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(r){return Object(i.W)()&&console.warn(r),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new Ou(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ol(this._destroy)).subscribe((function(){!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close()})),this._keyManager.change.pipe(ol(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var e=this,t=Object(Ah.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ol(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),Object(Ah.a).apply(void 0,_toConsumableArray(this.options.map((function(e){return e._stateChanges})))).pipe(ol(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new g_(this,t)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var e,t,n,i,r=this._keyManager.activeItemIndex||0,a=oh(r,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(e=r+a,t=this._getItemHeight(),n=this.panel.nativeElement.scrollTop,(i=e*t)n+256?Math.max(0,i-256+t):n)}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getOptionIndex",value:function(e){return this.options.reduce((function(t,n,i){return void 0!==t?t:e===n?i:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),i=t*e-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=oh(r,this.options,this.optionGroups);var a=n/2;this._scrollTop=this._calculateOverlayScroll(r,a,i),this._offsetY=this._calculateOverlayOffsetY(r,a,i),this._checkOverlayWithinViewport(i)}},{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else{var a=this._selectionModel.selected[0]||this.options.first;e=a&&a.group?32:16}i||(e*=-1);var o=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);o>0?e+=o+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Pc(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Pc(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=Rc(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),t}(v_)).\u0275fac=function(e){return new(e||s_)(i.Pb(Kp),i.Pb(i.h),i.Pb(i.A),i.Pb(Ed),i.Pb(i.l),i.Pb(Jc,8),i.Pb(Zn,8),i.Pb(si,8),i.Pb(op,8),i.Pb(Yt,10),i.gc("tabindex"),i.Pb(m_),i.Pb(Nu),i.Pb(__,8))},s_.\u0275cmp=i.Jb({type:s_,selectors:[["mat-select"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,y_,!0),i.Ib(n,ah,!0),i.Ib(n,eh,!0)),2&e&&(i.zc(r=i.kc())&&(t.customTrigger=r.first),i.zc(r=i.kc())&&(t.options=r),i.zc(r=i.kc())&&(t.optionGroups=r))},viewQuery:function(e,t){var n;1&e&&(i.Sc(Qm,!0),i.Sc(e_,!0),i.Sc($m,!0)),2&e&&(i.zc(n=i.kc())&&(t.trigger=n.first),i.zc(n=i.kc())&&(t.panel=n.first),i.zc(n=i.kc())&&(t.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&i.jc("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(i.Db("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.Gb("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[i.Bb([{provide:Bf,useExisting:s_},{provide:rh,useExisting:s_}]),i.zb,i.Ab()],ngContentSelectors:h_,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.rc(d_),i.Wb(0,"div",0,1),i.jc("click",(function(){return t.toggle()})),i.Wb(3,"div",2),i.Ic(4,t_,2,1,"span",3),i.Ic(5,r_,3,2,"span",4),i.Vb(),i.Wb(6,"div",5),i.Rb(7,"div",6),i.Vb(),i.Vb(),i.Ic(8,a_,4,10,"ng-template",7),i.jc("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){var n=i.Ac(1);i.Cb(3),i.sc("ngSwitch",t.empty),i.Cb(1),i.sc("ngSwitchCase",!0),i.Cb(1),i.sc("ngSwitchCase",!1),i.Cb(3),i.sc("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[Gm,X,Q,$m,ee,W],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[f_.transformPanelWrap,f_.transformPanel]},changeDetection:0}),s_),w_=((o_=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:o_}),o_.\u0275inj=i.Mb({factory:function(e){return new(e||o_)},providers:[b_],imports:[[ae,Xm,Dh,cd],sp,Dh,cd]}),o_),C_=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new S_(e,this.total))}}]),e}(),S_=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).total=n,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),t}(yi.a),x_=new Set,M_=((u_=function(){function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):L_}return _createClass(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!x_.has(e))try{l_||((l_=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(l_)),l_.sheet&&(l_.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),x_.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}()).\u0275fac=function(e){return new(e||u_)(i.fc(el))},u_.\u0275prov=Object(i.Lb)({factory:function(){return new u_(Object(i.fc)(el))},token:u_,providedIn:"root"}),u_);function L_(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var O_,D_=((O_=function(){function e(t,n){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new dr.a}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return T_(jc(e)).some((function(e){return t._registerQuery(e).mql.matches}))}},{key:"observe",value:function(e){var t=this,n=gr(T_(jc(e)).map((function(e){return t._registerQuery(e).observable})));return(n=Xr(n.pipe(zr(1)),n.pipe((function(e){return e.lift(new C_(1))}),cu(0)))).pipe(Object(bt.a)((function(e){var t={matches:!1,breakpoints:{}};return e.forEach((function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches})),t})))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new mt.a((function(e){var i=function(n){return t._zone.run((function(){return e.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Qr(n),Object(bt.a)((function(t){return{query:e,matches:t.matches}})),ol(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}()).\u0275fac=function(e){return new(e||O_)(i.fc(M_),i.fc(i.A))},O_.\u0275prov=Object(i.Lb)({factory:function(){return new O_(Object(i.fc)(M_),Object(i.fc)(i.A))},token:O_,providedIn:"root"}),O_);function T_(e){return e.map((function(e){return e.split(",")})).reduce((function(e,t){return e.concat(t)})).map((function(e){return e.trim()}))}var A_={tooltipState:Object(Xe.n)("state",[Object(Xe.k)("initial, void, hidden",Object(Xe.l)({opacity:0,transform:"scale(0)"})),Object(Xe.k)("visible",Object(Xe.l)({transform:"scale(1)"})),Object(Xe.m)("* => visible",Object(Xe.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.h)([Object(Xe.l)({opacity:0,transform:"scale(0)",offset:0}),Object(Xe.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(Xe.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(Xe.m)("* => hidden",Object(Xe.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({opacity:0})))])},E_=rl({passive:!0});function P_(e){return Error('Tooltip position "'.concat(e,'" is invalid.'))}var R_,I_,j_,Y_=new i.r("mat-tooltip-scroll-strategy"),V_={provide:Y_,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},W_=new i.r("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),F_=((j_=function(){function e(t,n,i,r,a,o,s,c,l,u,d,h){var f=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=s,this._focusMonitor=c,this._dir=u,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new dr.a,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!iu(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run((function(){return f.hide(0)})))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),c.monitor(n).pipe(ol(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&a.run((function(){return f.show()})):a.run((function(){return f.hide(0)}))})),a.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",f._handleKeydown)}))}return _createClass(e,[{key:"ngOnInit",value:function(){this._setupPointerEvents()}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(t,n){e.removeEventListener(n,t,E_)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new nm(H_,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(ol(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(ol(this._destroyed)).subscribe((function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run((function(){return e.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(ol(this._destroyed)).subscribe((function(){return e._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw P_(n);e={originX:"end",originY:"center"}}var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw P_(n);e={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(zr(1),ol(this._destroyed)).subscribe((function(){e._tooltipInstance&&e._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_setupPointerEvents",value:function(){var e=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var t=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",(function(){clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout((function(){return e.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return e.show()})).set("mouseleave",(function(){return e.hide()}));this._passiveListeners.forEach((function(t,n){e._elementRef.nativeElement.addEventListener(n,t,E_)}))}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this._elementRef.nativeElement,t=e.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==n&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}},{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Pc(e),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?"".concat(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),e}()).\u0275fac=function(e){return new(e||j_)(i.Pb(qm),i.Pb(i.l),i.Pb(qp),i.Pb(i.P),i.Pb(i.A),i.Pb(el),i.Pb(Mu),i.Pb(Ju),i.Pb(Y_),i.Pb(Jc,8),i.Pb(W_,8),i.Pb(i.l))},j_.\u0275dir=i.Kb({type:j_,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),j_),H_=((I_=function(){function e(t,n){_classCallCheck(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new dr.a,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}return _createClass(e,[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}()).\u0275fac=function(e){return new(e||I_)(i.Pb(i.h),i.Pb(D_))},I_.\u0275cmp=i.Jb({type:I_,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.jc("click",(function(){return t._handleBodyInteraction()}),!1,i.Bc),2&e&&i.Hc("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.jc("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),i.oc(1,"async"),i.Jc(2),i.Vb()),2&e){var n,r=null==(n=i.pc(1,5,t._isHandset))?null:n.matches;i.Gb("mat-tooltip-handset",r),i.sc("ngClass",t.tooltipClass)("@state",t._visibility),i.Cb(2),i.Kc(t.message)}},directives:[W],pipes:[re],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[A_.tooltipState]},changeDetection:0}),I_),B_=((R_=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:R_}),R_.\u0275inj=i.Mb({factory:function(e){return new(e||R_)},providers:[V_],imports:[[Qu,ae,Xm,cd],cd]}),R_);function z_(e,t){if(1&e&&(i.Wb(0,"mat-option",19),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n),i.Cb(1),i.Lc(" ",n," ")}}function N_(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field",16),i.Wb(1,"mat-select",17),i.jc("selectionChange",(function(e){return i.Cc(n),i.nc(2)._changePageSize(e.value)})),i.Ic(2,z_,2,2,"mat-option",18),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.sc("color",r.color),i.Cb(1),i.sc("value",r.pageSize)("disabled",r.disabled)("aria-label",r._intl.itemsPerPageLabel),i.Cb(1),i.sc("ngForOf",r._displayedPageSizeOptions)}}function U_(e,t){if(1&e&&(i.Wb(0,"div",20),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.Kc(n.pageSize)}}function q_(e,t){if(1&e&&(i.Wb(0,"div",12),i.Wb(1,"div",13),i.Jc(2),i.Vb(),i.Ic(3,N_,3,5,"mat-form-field",14),i.Ic(4,U_,2,1,"div",15),i.Vb()),2&e){var n=i.nc();i.Cb(2),i.Lc(" ",n._intl.itemsPerPageLabel," "),i.Cb(1),i.sc("ngIf",n._displayedPageSizeOptions.length>1),i.Cb(1),i.sc("ngIf",n._displayedPageSizeOptions.length<=1)}}function J_(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",21),i.jc("click",(function(){return i.Cc(n),i.nc().firstPage()})),i.mc(),i.Wb(1,"svg",7),i.Rb(2,"path",22),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),i.Db("aria-label",r._intl.firstPageLabel)}}function K_(e,t){if(1&e){var n=i.Yb();i.mc(),i.lc(),i.Wb(0,"button",23),i.jc("click",(function(){return i.Cc(n),i.nc().lastPage()})),i.mc(),i.Wb(1,"svg",7),i.Rb(2,"path",24),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),i.Db("aria-label",r._intl.lastPageLabel)}}var G_,$_,Z_,X_=((G_=function e(){_classCallCheck(this,e),this.changes=new dr.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of ".concat(n);var i=e*t;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+t,n):i+t," of ").concat(n)}}).\u0275fac=function(e){return new(e||G_)},G_.\u0275prov=Object(i.Lb)({factory:function(){return new G_},token:G_,providedIn:"root"}),G_),Q_={provide:X_,deps:[[new i.B,new i.K,X_]],useFactory:function(e){return e||new X_}},eb=new i.r("MAT_PAGINATOR_DEFAULT_OPTIONS"),tb=ld(function(e){function t(){var e,n;_classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),a=0;a=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var e=this.getNumberOfPages()-1;return this.pageIndex1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(i.J.RESOURCE_URL,e);if(!n)throw sb(e);var r=this._cachedIconsByUrl.get(n);return r?bi(hb(r)):this._loadSvgIconFromConfig(new ub(e)).pipe(oa((function(e){return t._cachedIconsByUrl.set(n,e)})),Object(bt.a)((function(e){return hb(e)})))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=fb(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):Vp(ob(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgElement?bi(hb(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(oa((function(t){return e.svgElement=t})),Object(bt.a)((function(e){return hb(e)})))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,r=this._extractIconWithNameFromAnySet(e,t);return r?bi(r):yt(t.filter((function(e){return!e.svgElement})).map((function(e){return n._loadSvgIconSetFromConfig(e).pipe(Fr((function(t){var r="Loading icon set URL: ".concat(n._sanitizer.sanitize(i.J.RESOURCE_URL,e.url)," failed: ").concat(t.message);return n._errorHandler?n._errorHandler.handleError(new Error(r)):console.error(r),bi(null)})))}))).pipe(Object(bt.a)((function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw ob(e);return i})))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,e,i.options);if(r)return r}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchUrl(e.url).pipe(Object(bt.a)((function(n){return t._createSvgElementForSingleIcon(n,e.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(e){var t=this;return e.svgElement?bi(e.svgElement):this._fetchUrl(e.url).pipe(Object(bt.a)((function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(e,t){var n=this._svgElementFromString(e);return this._setSvgAttributes(n,t),n}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),n=e.attributes,i=0;i collapsed, void => collapsed",Object(Xe.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(Xe.n)("expansionHeight",[Object(Xe.k)("collapsed, void",Object(Xe.l)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(Xe.k)("expanded",Object(Xe.l)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(Xe.m)("expanded <=> collapsed, void => collapsed",Object(Xe.g)([Object(Xe.i)("@indicatorRotate",Object(Xe.f)(),{optional:!0}),Object(Xe.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(Xe.n)("bodyExpansion",[Object(Xe.k)("collapsed, void",Object(Xe.l)({height:"0px",visibility:"hidden"})),Object(Xe.k)("expanded",Object(Xe.l)({height:"*",visibility:"visible"})),Object(Xe.m)("expanded <=> collapsed, void => collapsed",Object(Xe.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},Gg=((Ig=function e(t){_classCallCheck(this,e),this._template=t}).\u0275fac=function(e){return new(e||Ig)(i.Pb(i.M))},Ig.\u0275dir=i.Kb({type:Ig,selectors:[["ng-template","matExpansionPanelContent",""]]}),Ig),$g=0,Zg=new i.r("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Xg=((Wg=function(e){function t(e,n,r,a,o,s,c){var l;return _classCallCheck(this,t),(l=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,r)))._viewContainerRef=a,l._animationMode=s,l._hideToggle=!1,l.afterExpand=new i.o,l.afterCollapse=new i.o,l._inputChanges=new dr.a,l._headerId="mat-expansion-panel-header-".concat($g++),l._bodyAnimationDone=new dr.a,l.accordion=e,l._document=o,l._bodyAnimationDone.pipe(Ip((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){"void"!==e.fromState&&("expanded"===e.toState?l.afterExpand.emit():"collapsed"===e.toState&&l.afterCollapse.emit())})),c&&(l.hideToggle=c.hideToggle),l}return _inherits(t,e),_createClass(t,[{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(Qr(null),ki((function(){return e.expanded&&!e._portal})),zr(1)).subscribe((function(){e._portal=new im(e._lazyContent._template,e._viewContainerRef)}))}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(t.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}},{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=Pc(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}}]),t}(Mg)).\u0275fac=function(e){return new(e||Wg)(i.Pb(Jg,12),i.Pb(i.h),i.Pb(Uc),i.Pb(i.P),i.Pb(s),i.Pb(dt,8),i.Pb(Zg,8))},Wg.\u0275cmp=i.Jb({type:Wg,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,Gg,!0),2&e&&i.zc(r=i.kc())&&(t._lazyContent=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(Og,!0),2&e&&i.zc(n=i.kc())&&(t._body=n.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.Gb("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Bb([{provide:Jg,useValue:void 0}]),i.zb,i.Ab()],ngContentSelectors:Ag,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.rc(Tg),i.qc(0),i.Wb(1,"div",0,1),i.jc("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),i.Wb(3,"div",2),i.qc(4,1),i.Ic(5,Dg,0,0,"ng-template",3),i.Vb(),i.qc(6,2),i.Vb()),2&e&&(i.Cb(1),i.sc("@bodyExpansion",t._getExpandedState())("id",t.id),i.Db("aria-labelledby",t._headerId),i.Cb(4),i.sc("cdkPortalOutlet",t._portal))},directives:[cm],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Kg.bodyExpansion]},changeDetection:0}),Wg),Qg=((Vg=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.panel=t,this._element=n,this._focusMonitor=i,this._changeDetectorRef=r,this._parentChangeSubscription=la.a.EMPTY,this._animationsDisabled=!0;var s=t.accordion?t.accordion._stateChanges.pipe(ki((function(e){return!(!e.hideToggle&&!e.togglePosition)}))):kr;this._parentChangeSubscription=Object(Ah.a)(t.opened,t.closed,s,t._inputChanges.pipe(ki((function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)})))).subscribe((function(){return o._changeDetectorRef.markForCheck()})),t.closed.pipe(ki((function(){return t._containsFocus()}))).subscribe((function(){return i.focusVia(n,"program")})),i.monitor(n).subscribe((function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(o)})),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}return _createClass(e,[{key:"_animationStarted",value:function(){this._animationsDisabled=!1}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_keydown",value:function(e){switch(e.keyCode){case 32:case 13:iu(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._element,e,t)}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}},{key:"disabled",get:function(){return this.panel.disabled}}]),e}()).\u0275fac=function(e){return new(e||Vg)(i.Pb(Xg,1),i.Pb(i.l),i.Pb(Ju),i.Pb(i.h),i.Pb(Zg,8))},Vg.\u0275cmp=i.Jb({type:Vg,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header"],hostVars:19,hostBindings:function(e,t){1&e&&(i.Hb("@expansionHeight.start",(function(){return t._animationStarted()})),i.jc("click",(function(){return t._toggle()}))("keydown",(function(e){return t._keydown(e)}))),2&e&&(i.Db("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Rc("@.disabled",t._animationsDisabled)("@expansionHeight",i.yc(16,Pg,t._getExpandedState(),i.yc(13,Eg,t.collapsedHeight,t.expandedHeight))),i.Gb("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:qg,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.rc(Ug),i.Wb(0,"span",0),i.qc(1),i.qc(2,1),i.qc(3,2),i.Vb(),i.Ic(4,Rg,1,1,"span",1)),2&e&&(i.Cb(4),i.sc("ngIf",t._showToggle()))},directives:[z],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[Kg.indicatorRotate,Kg.expansionHeaderHeight]},changeDetection:0}),Vg),ev=((Yg=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Yg)},Yg.\u0275dir=i.Kb({type:Yg,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),Yg),tv=((jg=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._ownHeaders=new i.E,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(Qr(this._headers)).subscribe((function(t){e._ownHeaders.reset(t.filter((function(t){return t.panel.accordion===e}))),e._ownHeaders.notifyOnChanges()})),this._keyManager=new Du(this._ownHeaders).withWrap()}},{key:"_handleHeaderKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;36===t?iu(e)||(n.setFirstItemActive(),e.preventDefault()):35===t?iu(e)||(n.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=Pc(e)}}]),t}(Sg)).\u0275fac=function(e){return nv(e||jg)},jg.\u0275dir=i.Kb({type:jg,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,Qg,!0),2&e&&i.zc(r=i.kc())&&(t._headers=r)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i.Bb([{provide:Jg,useExisting:jg}]),i.zb]}),jg),nv=i.Zb(tv),iv=((Fg=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Fg}),Fg.\u0275inj=i.Mb({factory:function(e){return new(e||Fg)},imports:[[ae,Lg,dm]]}),Fg),rv=["input"],av=function(){return{enterDuration:150}},ov=["*"],sv=new i.r("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),cv=new i.r("mat-checkbox-click-action"),lv=0,uv={provide:Mt,useExisting:Object(i.U)((function(){return fv})),multi:!0},dv=function e(){_classCallCheck(this,e)},hv=hd(ud(dd(ld((function e(t){_classCallCheck(this,e),this._elementRef=t}))))),fv=((zg=function(e){function t(e,n,r,a,o,s,c,l){var u;return _classCallCheck(this,t),(u=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._changeDetectorRef=n,u._focusMonitor=r,u._ngZone=a,u._clickAction=s,u._animationMode=c,u._options=l,u.ariaLabel="",u.ariaLabelledby=null,u._uniqueId="mat-checkbox-".concat(++lv),u.id=u._uniqueId,u.labelPosition="after",u.name=null,u.change=new i.o,u.indeterminateChange=new i.o,u._onTouched=function(){},u._currentAnimationClass="",u._currentCheckState=0,u._controlValueAccessorChangeFn=function(){},u._checked=!1,u._disabled=!1,u._indeterminate=!1,u._options=u._options||{},u._options.color&&(u.color=u._options.color),u.tabIndex=parseInt(o)||0,u._focusMonitor.monitor(e,!0).subscribe((function(e){e||Promise.resolve().then((function(){u._onTouched(),n.markForCheck()}))})),u._clickAction=u._clickAction||u._options.clickAction,u}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(i)}),1e3)}))}}},{key:"_emitChangeEvent",value:function(){var e=new dv;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t=this;e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){t._indeterminate=!1,t.indeterminateChange.emit(t._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,e,t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=Pc(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=Pc(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),t}(hv)).\u0275fac=function(e){return new(e||zg)(i.Pb(i.l),i.Pb(i.h),i.Pb(Ju),i.Pb(i.A),i.gc("tabindex"),i.Pb(cv,8),i.Pb(dt,8),i.Pb(sv,8))},zg.\u0275cmp=i.Jb({type:zg,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(rv,!0),i.Sc(Kd,!0)),2&e&&(i.zc(n=i.kc())&&(t._inputElement=n.first),i.zc(n=i.kc())&&(t.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.ac("id",t.id),i.Db("tabindex",null),i.Gb("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i.Bb([uv]),i.zb],ngContentSelectors:ov,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.rc(),i.Wb(0,"label",0,1),i.Wb(2,"div",2),i.Wb(3,"input",3,4),i.jc("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),i.Vb(),i.Wb(5,"div",5),i.Rb(6,"div",6),i.Vb(),i.Rb(7,"div",7),i.Wb(8,"div",8),i.mc(),i.Wb(9,"svg",9),i.Rb(10,"path",10),i.Vb(),i.lc(),i.Rb(11,"div",11),i.Vb(),i.Vb(),i.Wb(12,"span",12,13),i.jc("cdkObserveContent",(function(){return t._onLabelTextChange()})),i.Wb(14,"span",14),i.Jc(15,"\xa0"),i.Vb(),i.qc(16),i.Vb(),i.Vb()),2&e){var n=i.Ac(1),r=i.Ac(13);i.Db("for",t.inputId),i.Cb(2),i.Gb("mat-checkbox-inner-container-no-side-margin",!r.textContent||!r.textContent.trim()),i.Cb(1),i.sc("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.Db("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked()),i.Cb(2),i.sc("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.wc(18,av))}},directives:[Kd,gu],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),zg),pv=((Bg=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bg}),Bg.\u0275inj=i.Mb({factory:function(e){return new(e||Bg)}}),Bg),mv=((Hg=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Hg}),Hg.\u0275inj=i.Mb({factory:function(e){return new(e||Hg)},imports:[[Gd,cd,vu,pv],cd,pv]}),Hg);Ng=$localize(_templateObject13());var _v,bv,gv=["placeholder",$localize(_templateObject14())],vv=["placeholder",$localize(_templateObject15())];_v=$localize(_templateObject16()),bv=$localize(_templateObject17());var yv,kv,wv,Cv,Sv,xv,Mv,Lv=["placeholder",$localize(_templateObject18())];yv=$localize(_templateObject19()),kv=$localize(_templateObject20()),wv=$localize(_templateObject21()),Cv=$localize(_templateObject22()),Sv=$localize(_templateObject23()),xv=$localize(_templateObject24(),"\ufffd0\ufffd"),Mv=$localize(_templateObject25());var Ov,Dv,Tv,Av=["placeholder",$localize(_templateObject26())],Ev=["placeholder",$localize(_templateObject27())];Ov=$localize(_templateObject28()),Dv=$localize(_templateObject29()),Tv=$localize(_templateObject30());var Pv,Rv=["matTooltip",$localize(_templateObject31())];Pv=$localize(_templateObject32());var Iv,jv=["matTooltip",$localize(_templateObject33())];function Yv(e,t){if(1&e&&(i.Wb(0,"mat-option",20),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}Iv=$localize(_templateObject34());var Vv,Wv=["matTooltip",$localize(_templateObject35())];Vv=$localize(_templateObject36());var Fv=["matTooltip",$localize(_templateObject37())],Hv=["matTooltip",$localize(_templateObject38())];function Bv(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",25),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delDestination(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function zv(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",21),i.Wb(2,"mat-label"),i.bc(3,Iv),i.Vb(),i.Wb(4,"input",22),i.dc(5,Wv),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].destination=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field",21),i.Wb(7,"mat-label"),i.bc(8,Vv),i.Vb(),i.Wb(9,"input",22),i.dc(10,Fv),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].backend_route=e})),i.Vb(),i.Wb(11,"mat-icon",23),i.dc(12,Hv),i.jc("click",(function(){return i.Cc(n),i.nc(3).addDestination()})),i.Jc(13,"add_circle_outline"),i.Vb(),i.Ic(14,Bv,2,0,"mat-icon",24),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.application.destinations[r].destination)("readonly",a.readOnlyValue),i.Cb(5),i.sc("ngModel",a.application.destinations[r].backend_route)("readonly",a.readOnlyValue),i.Cb(5),i.sc("ngIf",a.application.destinations.length>1)}}var Nv=["matTooltip",$localize(_templateObject39())];function Uv(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",25),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delDestination(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function qv(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",21),i.Wb(2,"mat-label"),i.Jc(3,"K8S Pods API"),i.Vb(),i.Wb(4,"input",26),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].pods_api=e})),i.Vb(),i.Vb(),i.Wb(5,"mat-form-field",21),i.Wb(6,"mat-label"),i.Jc(7,"K8S Pod Port"),i.Vb(),i.Wb(8,"input",27),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].pod_port=e})),i.Vb(),i.Wb(9,"mat-icon",23),i.dc(10,Nv),i.jc("click",(function(){return i.Cc(n),i.nc(3).addDestination()})),i.Jc(11,"add_circle_outline"),i.Vb(),i.Ic(12,Uv,2,0,"mat-icon",24),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.application.destinations[r].pods_api)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.application.destinations[r].pod_port)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.application.destinations.length>1)}}function Jv(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",16),i.Wb(1,"mat-form-field",17),i.Wb(2,"mat-label"),i.bc(3,Tv),i.Vb(),i.Wb(4,"input",18),i.dc(5,Rv),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.destinations[r].request_route=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field",17),i.Wb(7,"mat-label"),i.bc(8,Pv),i.Vb(),i.Wb(9,"mat-select",19),i.dc(10,jv),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.destinations[r].route_type=e})),i.Ic(11,Yv,2,2,"mat-option",10),i.Vb(),i.Vb(),i.Ic(12,zv,15,5,"ng-container",0),i.Ic(13,qv,13,5,"ng-container",0),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc(2);i.Cb(4),i.sc("ngModel",o.application.destinations[a].request_route)("readonly",o.readOnlyValue),i.Cb(5),i.sc("ngModel",o.application.destinations[a].route_type)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_route_types),i.Cb(1),i.sc("ngIf",r.route_type!=o.k8sRoute),i.Cb(1),i.sc("ngIf",r.route_type==o.k8sRoute)}}var Kv,Gv,$v=["placeholder",$localize(_templateObject40()),"matTooltip",$localize(_templateObject41())],Zv=["placeholder",$localize(_templateObject42()),"matTooltip",$localize(_templateObject43())];Kv=$localize(_templateObject44()),Gv=$localize(_templateObject45());var Xv=["matTooltip",$localize(_templateObject46())];function Qv(e,t){if(1&e&&(i.Wb(0,"option"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Kc(n.name)}}function ey(e,t){if(1&e&&(i.Wb(0,"mat-option",20),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.common_name," ")}}function ty(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",39),i.jc("click",(function(){i.Cc(n);var e=i.nc().index;return i.nc(2).delDomain(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function ny(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",16),i.Wb(1,"mat-form-field",17),i.Wb(2,"mat-icon",28),i.Jc(3,"language"),i.Vb(),i.Wb(4,"input",29),i.dc(5,$v),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].name=e})),i.Vb(),i.Wb(6,"datalist",30),i.Ic(7,Qv,2,1,"option",31),i.Vb(),i.Vb(),i.Wb(8,"mat-form-field",17),i.Wb(9,"mat-icon",28),i.Jc(10,"lock_outline"),i.Vb(),i.Wb(11,"mat-select",32),i.dc(12,Zv),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].cert_id=e})),i.Wb(13,"mat-option",33),i.bc(14,Kv),i.Vb(),i.Ic(15,ey,2,2,"mat-option",10),i.Vb(),i.Vb(),i.Wb(16,"mat-form-field",34),i.Wb(17,"mat-checkbox",35),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].redirect=e})),i.bc(18,Gv),i.Vb(),i.Wb(19,"input",36),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].location=e})),i.Vb(),i.Wb(20,"mat-icon",37),i.dc(21,Xv),i.jc("click",(function(){return i.Cc(n),i.nc(2).addDomain()})),i.Jc(22,"add_circle_outline"),i.Vb(),i.Ic(23,ty,2,0,"mat-icon",38),i.Vb(),i.Vb()}if(2&e){var r=t.index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.application.domains[r].name)("disabled",a.readOnlyValue),i.Cb(3),i.sc("ngForOf",a.rpcService.domains),i.Cb(4),i.sc("ngModel",a.application.domains[r].cert_id)("disabled",a.readOnlyValue),i.Cb(4),i.sc("ngForOf",a.optionCertificates),i.Cb(2),i.sc("ngModel",a.application.domains[r].redirect)("disabled",a.readOnlyValue),i.Cb(2),i.sc("ngModel",a.application.domains[r].location)("disabled",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.application.domains.length>1)}}function iy(e,t){if(1&e&&(i.Wb(0,"mat-option",20),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}var ry=["placeholder",$localize(_templateObject47())];function ay(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",40),i.dc(2,ry),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).application.session_seconds=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.application.session_seconds)("readonly",r.readOnlyValue)}}function oy(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"mat-label"),i.Jc(2,"Content-Security-Policy"),i.Vb(),i.Wb(3,"input",41,42),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).application.csp=e})),i.Vb(),i.Wb(5,"mat-hint",4),i.Jc(6),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(4),a=i.nc(2);i.Cb(3),i.sc("ngModel",a.application.csp)("readonly",a.readOnlyValue),i.Cb(3),i.Lc("",(null==r.value?null:r.value.length)||0,"/1024")}}function sy(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"h2",1),i.bc(2,Ng),i.Vb(),i.Wb(3,"div",1),i.Wb(4,"mat-form-field"),i.Wb(5,"input",2,3),i.dc(7,gv),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.name=e})),i.Vb(),i.Wb(8,"mat-hint",4),i.Jc(9),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"mat-select",5),i.dc(12,vv),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.internal_scheme=e})),i.Wb(13,"mat-option",6),i.Jc(14,"http"),i.Vb(),i.Wb(15,"mat-option",7),i.Jc(16,"https"),i.Vb(),i.Vb(),i.Vb(),i.Wb(17,"mat-expansion-panel",8),i.Wb(18,"mat-expansion-panel-header"),i.Wb(19,"mat-panel-title"),i.Wb(20,"h3"),i.bc(21,_v),i.Vb(),i.Vb(),i.Vb(),i.Ic(22,Jv,14,7,"div",9),i.Vb(),i.Wb(23,"mat-expansion-panel",8),i.Wb(24,"mat-expansion-panel-header"),i.Wb(25,"mat-panel-title"),i.Wb(26,"h3"),i.bc(27,bv),i.Vb(),i.Vb(),i.Vb(),i.Ic(28,ny,24,11,"div",9),i.Vb(),i.Wb(29,"mat-form-field"),i.Wb(30,"mat-select",5),i.dc(31,Lv),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.ip_method=e})),i.Ic(32,iy,2,2,"mat-option",10),i.Vb(),i.Vb(),i.Wb(33,"section"),i.Wb(34,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.redirect_https=e})),i.bc(35,yv),i.Vb(),i.Vb(),i.Wb(36,"section"),i.Wb(37,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.hsts_enabled=e})),i.bc(38,kv),i.Vb(),i.Vb(),i.Wb(39,"section"),i.Wb(40,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.waf_enabled=e})),i.bc(41,wv),i.Vb(),i.Vb(),i.Wb(42,"section"),i.Wb(43,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.cache_enabled=e})),i.bc(44,Cv),i.Vb(),i.Vb(),i.Wb(45,"section"),i.Wb(46,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.shield_enabled=e})),i.bc(47,Sv),i.Vb(),i.Vb(),i.Wb(48,"section"),i.Wb(49,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.oauth_required=e})),i.bc(50,xv),i.Vb(),i.Vb(),i.Ic(51,ay,3,2,"mat-form-field",0),i.Wb(52,"section"),i.Wb(53,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.csp_enabled=e})),i.bc(54,Mv),i.Vb(),i.Vb(),i.Ic(55,oy,7,3,"mat-form-field",0),i.Wb(56,"mat-form-field"),i.Wb(57,"input",12),i.dc(58,Av),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.owner=e})),i.Vb(),i.Vb(),i.Wb(59,"mat-form-field"),i.Wb(60,"input",12,13),i.dc(62,Ev),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.description=e})),i.Vb(),i.Wb(63,"mat-hint",4),i.Jc(64),i.Vb(),i.Vb(),i.Wb(65,"div"),i.Wb(66,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().setApplication()})),i.bc(67,Ov),i.Vb(),i.Wb(68,"button",15),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(69),i.Vb(),i.Wb(70,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().deleteApplication()})),i.bc(71,Dv),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(6),a=i.Ac(61),o=i.nc();i.Cb(5),i.sc("ngModel",o.application.name)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",o.application.internal_scheme)("disabled",o.readOnlyValue),i.Cb(6),i.sc("expanded",!0),i.Cb(5),i.sc("ngForOf",o.application.destinations)("ngForTrackBy",o.trackByFn),i.Cb(1),i.sc("expanded",!0),i.Cb(5),i.sc("ngForOf",o.application.domains)("ngForTrackBy",o.trackByFn),i.Cb(2),i.sc("ngModel",o.application.ip_method)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_ip_method_values),i.Cb(2),i.sc("ngModel",o.application.redirect_https)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.hsts_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.waf_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.cache_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.shield_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.oauth_required)("disabled",o.readOnlyValue),i.Cb(1),i.ec(o.oauth.display_name),i.cc(50),i.Cb(1),i.sc("ngIf",o.application.oauth_required),i.Cb(2),i.sc("ngModel",o.application.csp_enabled)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngIf",o.application.csp_enabled),i.Cb(2),i.sc("ngModel",o.application.owner)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.description)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==a.value?null:a.value.length)||0,"/256"),i.Cb(2),i.sc("disabled",o.readOnlyValue),i.Cb(3),i.Kc(o.readOnlyButtonText),i.Cb(1),i.sc("disabled",o.readOnlyValue)}}var cy,ly,uy,dy=((cy=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.http=a,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.enum_ip_method_values=[],this.enum_route_types=[],this.oauth=new Oc,this.k8sRoute=pc.K8S_Ingress}return _createClass(e,[{key:"getApplication",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_app",(function(e){null!=e&&(t.application=e)}),e)}else this.readOnlyValue=!1,this.application=new lc,this.application.id="0",this.application.name="XXX",this.application.internal_scheme="http",this.application.redirect_https=!0,this.application.hsts_enabled=!1,this.application.waf_enabled=!0,this.application.shield_enabled=!1,this.application.domains=[],this.application.ip_method=1,this.application.destinations=[],this.application.oauth_required=!1,this.application.session_seconds=7200,this.application.owner=this.rpcService.auth_user.username,this.application.csp_enabled=!1,this.application.csp="",this.application.cache_enabled=!0,this.application.description="Used for ...",this.addDomain(),this.addDestination()}},{key:"setApplication",value:function(){var e=this;this.rpcService.getResponse("update_app",(function(t){if(null!=t){var n=t.id;e.application.id==n?e.application=t:(e.application.id=n,e.router.navigate(["/application/"+n])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Application "+t.name+" saved.")}else e.messageService.add("Update failed.")}),null,e.application)}},{key:"deleteApplication",value:function(){if(confirm("Are you sure to delete application: "+this.application.name+"?")){var e=this;this.rpcService.getResponse("del_app",(function(){e.messageService.add(e.application.name+" deleted."),e.router.navigate(["/applications"])}),this.application.id,null)}}},{key:"addDestination",value:function(){if(!this.readOnlyValue){var e=new mc;e.id="0",e.route_type=pc.Reverse_Proxy,e.request_route="/",e.backend_route="/",e.destination="127.0.0.1:8080",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",e.app_id=this.application.id,e.node_id="0",this.application.destinations.push(e)}}},{key:"delDestination",value:function(e){this.readOnlyValue||(1!=this.application.destinations.length?this.application.destinations.splice(e,1):alert("At least one item is required!"))}},{key:"addDomain",value:function(){if(!this.readOnlyValue){var e=new _c;e.name="",e.id="0",e.app_id=this.application.id,e.cert_id="0",e.redirect=!1,e.location="",this.application.domains.push(e),console.log(this.application.domains)}}},{key:"delDomain",value:function(e){this.readOnlyValue||(1!=this.application.domains.length?this.application.domains.splice(e,1):alert("At least one item is required!"))}},{key:"ngOnInit",value:function(){for(var e in hc)"number"==typeof hc[e]&&this.enum_ip_method_values.push({value:hc[e],name:e});for(var e in pc)"number"==typeof pc[e]&&this.enum_route_types.push({value:pc[e],name:e});null!=this.rpcService.domains&&0!=this.rpcService.domains.length||this.rpcService.getDomains(),null!=this.rpcService.certificates&&0!=this.rpcService.certificates.length||this.rpcService.getCertificates(),this.getApplication(),this.acme_certificate=new fc,this.acme_certificate.id="0",this.acme_certificate.common_name="Automated Certificate",this.getCertificates();var t=this;this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(e){null!=e&&(t.oauth=e)}))}},{key:"getCertificates",value:function(){var e=this;this.rpcService.getResponse("get_certs",(function(t){null!=t&&(e.optionCertificates=t)}))}},{key:"trackByFn",value:function(e,t){return e}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}]),e}()).\u0275fac=function(e){return new(e||cy)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(Gi))},cy.\u0275cmp=i.Jb({type:cy,selectors:[["app-application-detail"]],inputs:{application:"application"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","http"],["value","https"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","disabled","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"matTooltip"],[3,"value"],[1,"inline-form-field-25"],["matInput","","matTooltipPosition","below",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"],["matPrefix",""],["matInput","","matTooltipPosition","below","list","domains","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["id","domains"],[4,"ngFor","ngForOf"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["value","0"],[1,"inline-form-field-50"],["matPrefix","",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","https://www.your-domain.com/",3,"ngModel","disabled","ngModelChange"],["matSuffix","","matTooltipPosition","right",3,"click",6,"matTooltip"],["matSuffix","",3,"click",4,"ngIf"],["matSuffix","",3,"click"],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","",3,"ngModel","readonly","ngModelChange"],["csp",""]],template:function(e,t){1&e&&i.Ic(0,sy,72,39,"div",0),2&e&&i.sc("ngIf",t.application)},directives:[z,op,xp,At,li,Vt,ai,Xf,k_,ah,Xg,Qg,ev,H,fv,_f,Qf,F_,Mb,np,tp,mn,kn,en],styles:['.required[_ngcontent-%COMP%]{color:red}.align-right[_ngcontent-%COMP%]{text-align:right}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.inner-container[_ngcontent-%COMP%]{border:1px dashed;padding:3px}.inline-form[_ngcontent-%COMP%]{display:-webkit-box;display:flex;margin-top:10px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-25[_ngcontent-%COMP%]{width:25%;margin-right:5px}.inline-form-field-50[_ngcontent-%COMP%]{width:50%}.clickable_btn[_ngcontent-%COMP%]:hover{cursor:pointer}.detail_panel[_ngcontent-%COMP%]{margin:10px 0;background-color:#f5f5f5;box-shadow:5px 5px 3px #d5d5d5}.highlighted[_ngcontent-%COMP%]{color:red}.description_block[_ngcontent-%COMP%]{background-color:#f0f0f0;margin-bottom:20px;padding:5px;border-radius:5px}button[_ngcontent-%COMP%]{margin-right:5px}']}),cy),hy=n("J5zx"),fy=n("NFKh"),py={provide:i.b,useFactory:function(e,t){return function(){if(oe(t)){var n=Array.from(e.querySelectorAll("[class*=".concat(my,"]"))),i=/\bflex-layout-.+?\b/g;n.forEach((function(e){e.classList.contains("".concat(my,"ssr"))&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")}))}}},deps:[s,i.C],multi:!0},my="flex-layout-",_y=((ly=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:ly}),ly.\u0275inj=i.Mb({factory:function(e){return new(e||ly)},providers:[py]}),ly),by=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;_classCallCheck(this,e),this.matches=t,this.mediaQuery=n,this.mqAlias=i,this.suffix=r,this.priority=a,this.property=""}return _createClass(e,[{key:"clone",value:function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}]),e}(),gy=((uy=function(){function e(){_classCallCheck(this,e),this.stylesheet=new Map}return _createClass(e,[{key:"addStyleToElement",value:function(e,t,n){var i=this.stylesheet.get(e);i?i.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(e,t){var n=this.stylesheet.get(e),i="";if(n){var r=n.get(t);"number"!=typeof r&&"string"!=typeof r||(i=r+"")}return i}}]),e}()).\u0275fac=function(e){return new(e||uy)},uy.\u0275prov=Object(i.Lb)({factory:function(){return new uy},token:uy,providedIn:"root"}),uy),vy={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},yy=new i.r("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return vy}}),ky=new i.r("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),wy=new i.r("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function Cy(e,t){return e=e?e.clone():new by,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var Sy=["row","column","row-reverse","column-reverse"];function xy(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var My,Ly=((My=function(){function e(t,n,i,r){_classCallCheck(this,e),this.elementRef=t,this.styleBuilder=n,this.styler=i,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new dr.a,this.styleCache=new Map}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=this;Object.keys(e).forEach((function(n){if(-1!==t.inputs.indexOf(n)){var i=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,i)}}))}},{key:"ngOnDestroy",value:function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}},{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}},{key:"addStyles",value:function(e,t){var n=this.styleBuilder,i=n.shouldCache,r=this.styleCache.get(e);r&&i||(r=n.buildStyles(e,t),i&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(e,r,t)}},{key:"clearStyles",value:function(){var e=this;Object.keys(this.mru).forEach((function(t){e.mru[t]=""})),this.applyStyleToElement(this.mru),this.mru={}}},{key:"triggerUpdate",value:function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}},{key:"getFlexFlowDirection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=this.styler.getFlowDirection(e),i=_slicedToArray(n,2),r=i[0],a=i[1];if(!a&&t){var o=function(e){var t=function(e){var t=_slicedToArray((e=e?e.toLowerCase():"").split(" "),3),n=t[0],i=t[1],r=t[2];return Sy.find((function(e){return e===n}))||(n=Sy[0]),"inline"===i&&(i="inline"!==r?r:"",r="inline"),[n,xy(i),!!r]}(e),n=_slicedToArray(t,3);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(n[0],n[1],n[2])}(r);this.styler.applyStyleToElements(o,[e])}return r.trim()}return"row"}},{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement;this.styler.applyStyleToElement(n,e,t)}},{key:"setValue",value:function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}},{key:"updateWithValue",value:function(e){this.addStyles(e)}},{key:"parentElement",get:function(){return this.elementRef.nativeElement.parentElement}},{key:"nativeElement",get:function(){return this.elementRef.nativeElement}},{key:"activatedValue",get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}}]),e}()).\u0275fac=function(e){i.ic()},My.\u0275dir=i.Kb({type:My,features:[i.Ab()]}),My),Oy=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Dy="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",Ty="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",Ay="(orientation: portrait) and (min-width: 840px)",Ey="(orientation: landscape) and (min-width: 1280px)",Py={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:"".concat(Dy," , ").concat(Ty),WEB:"".concat(Ay,", ").concat(Ey," "),HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:"".concat(Dy," "),WEB_PORTRAIT:"".concat(Ay),HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)]",TABLET_LANDSCAPE:"".concat(Ty),WEB_LANDSCAPE:"".concat(Ey)},Ry=[{alias:"handset",priority:2e3,mediaQuery:Py.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Py.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Py.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Py.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Py.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:Py.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Py.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Py.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Py.WEB_PORTRAIT,overlapping:!0}],Iy=/(\.|-|_)/g;function jy(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var Yy=new i.r("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=Object(i.V)(wy),t=Object(i.V)(yy),n=[].concat.apply([],(e||[]).map((function(e){return Array.isArray(e)?e:[e]})));return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i={};return e.forEach((function(e){i[e.alias]=e})),n.forEach((function(e){i[e.alias]?function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&void 0!==arguments[1]&&arguments[1];if(e&&e.length){var i=this._observable$.pipe(ki((function(t){return!n||e.indexOf(t.mediaQuery)>-1}))),r=new mt.a((function(n){var i=t.registerQuery(e);if(i.length){var r=i.pop();i.forEach((function(e){n.next(e)})),t.source.next(r)}n.complete()}));return Object(Ah.a)(r,i)}return this._observable$}},{key:"registerQuery",value:function(e){var t=this,n=Array.isArray(e)?e:[e],i=[];return function(e,t){var n=e.filter((function(e){return!Uy[e]}));if(n.length>0){var i=n.join(", ");try{var r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ".concat(i," {.fx-query-test{ }}\n"))),t.head.appendChild(r),n.forEach((function(e){return Uy[e]=r}))}catch(a){console.error(a)}}}(n,this._document),n.forEach((function(e){var n=t.registry.get(e);n||((n=t.buildMQL(e)).addListener((function(n){t._zone.run((function(){return t.source.next(new by(n.matches,e))}))})),t.registry.set(e,n)),n.matches&&i.push(new by(!0,e))})),i}},{key:"buildMQL",value:function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}(e,oe(this._platformId))}},{key:"activations",get:function(){var e=[];return this.registry.forEach((function(t,n){t.matches&&e.push(n)})),e}}]),e}()).\u0275fac=function(e){return new(e||Fy)(i.fc(i.A),i.fc(i.C),i.fc(s))},Fy.\u0275prov=Object(i.Lb)({factory:function(){return new Fy(Object(i.fc)(i.A),Object(i.fc)(i.C),Object(i.fc)(s))},token:Fy,providedIn:"root"}),Fy),Uy={},qy={alias:"print",mediaQuery:"print",priority:1e3},Jy=((By=function(){function e(t,n,i){_classCallCheck(this,e),this.breakpoints=t,this.layoutConfig=n,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.isPrinting=!1,this.queue=new Ky,this.deactivations=[]}return _createClass(e,[{key:"withPrintQuery",value:function(e){return[].concat(_toConsumableArray(e),["print"])}},{key:"isPrintEvent",value:function(e){return e.mediaQuery.startsWith("print")}},{key:"getEventBreakpoints",value:function(e){var t=e.mediaQuery,n=this.breakpoints.findByQuery(t);return(n?[].concat(_toConsumableArray(this.printBreakPoints),[n]):this.printBreakPoints).sort(Vy)}},{key:"updateEvent",value:function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),Cy(e,t)}},{key:"registerBeforeAfterPrintHooks",value:function(e){var t=this;this._document.defaultView&&!this.registeredBeforeAfterPrintHooks&&(this.registeredBeforeAfterPrintHooks=!0,this._document.defaultView.addEventListener("beforeprint",(function(){t.isPrinting||(t.isPrintingBeforeAfterEvent=!0,t.startPrinting(e,t.getEventBreakpoints(new by(!0,"print"))),e.updateStyles())})),this._document.defaultView.addEventListener("afterprint",(function(){t.isPrintingBeforeAfterEvent=!1,t.isPrinting&&(t.stopPrinting(e),e.updateStyles())})))}},{key:"interceptEvents",value:function(e){var t=this;return this.registerBeforeAfterPrintHooks(e),function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):n.matches||!t.isPrinting||t.isPrintingBeforeAfterEvent||(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}}},{key:"blockPropagation",value:function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}}},{key:"startPrinting",value:function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}},{key:"stopPrinting",value:function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}},{key:"collectActivations",value:function(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(Vy))}}},{key:"printAlias",get:function(){return this.layoutConfig.printWithBreakpoints||[]}},{key:"printBreakPoints",get:function(){var e=this;return this.printAlias.map((function(t){return e.breakpoints.findByAlias(t)})).filter((function(e){return null!==e}))}}]),e}()).\u0275fac=function(e){return new(e||By)(i.fc(zy),i.fc(yy),i.fc(s))},By.\u0275prov=Object(i.Lb)({factory:function(){return new By(Object(i.fc)(zy),Object(i.fc)(yy),Object(i.fc)(s))},token:By,providedIn:"root"}),By),Ky=function(){function e(){_classCallCheck(this,e),this.printBreakpoints=[]}return _createClass(e,[{key:"addPrintBreakpoints",value:function(e){var t=this;return e.push(qy),e.sort(Vy),e.forEach((function(e){return t.addBreakpoint(e)})),this.printBreakpoints}},{key:"addBreakpoint",value:function(e){e&&void 0===this.printBreakpoints.find((function(t){return t.mediaQuery===e.mediaQuery}))&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e].concat(_toConsumableArray(this.printBreakpoints)):[].concat(_toConsumableArray(this.printBreakpoints),[e]))}},{key:"clear",value:function(){this.printBreakpoints=[]}}]),e}();function Gy(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var $y,Zy=(($y=function(){function e(t,n,i,r){_classCallCheck(this,e),this._serverStylesheet=t,this._serverModuleLoaded=n,this._platformId=i,this.layoutConfig=r}return _createClass(e,[{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={};"string"==typeof t&&(i[t]=n,t=i),i=this.layoutConfig.disableVendorPrefixes?t:Gy(t),this._applyMultiValueStyleToElement(i,e)}},{key:"applyStyleToElements",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=this.layoutConfig.disableVendorPrefixes?e:Gy(e);n.forEach((function(e){t._applyMultiValueStyleToElement(i,e)}))}},{key:"getFlowDirection",value:function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||se(this._platformId)&&this._serverModuleLoaded?t:""]}},{key:"lookupAttributeValue",value:function(e,t){return e.getAttribute(t)||""}},{key:"lookupInlineStyle",value:function(e,t){return oe(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}},{key:"lookupStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="";return e&&((i=this.lookupInlineStyle(e,t))||(oe(this._platformId)?n||(i=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(e,t)))),i?i.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(e,t){var n=this;Object.keys(e).sort().forEach((function(i){var r=e[i],a=Array.isArray(r)?r:[r];a.sort();var o=!0,s=!1,c=void 0;try{for(var l,u=a[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var d=l.value;d=d?d+"":"",oe(n._platformId)||!n._serverModuleLoaded?oe(n._platformId)?t.style.setProperty(i,d):n._setServerStyle(t,i,d):n._serverStylesheet.addStyleToElement(t,i,d)}}catch(h){s=!0,c=h}finally{try{o||null==u.return||u.return()}finally{if(s)throw c}}}))}},{key:"_setServerStyle",value:function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=this._readStyleAttribute(e);i[t]=n||"",this._writeStyleAttribute(e,i)}},{key:"_getServerStyle",value:function(e,t){return this._readStyleAttribute(e)[t]||""}},{key:"_readStyleAttribute",value:function(e){var t={},n=e.getAttribute("style");if(n)for(var i=n.split(/;+/g),r=0;r0){var o=a.indexOf(":");if(-1===o)throw new Error("Invalid CSS style: ".concat(a));t[a.substr(0,o).trim()]=a.substr(o+1).trim()}}return t}},{key:"_writeStyleAttribute",value:function(e,t){var n="";for(var i in t)t[i]&&(n+=i+":"+t[i]+";");e.setAttribute("style",n)}}]),e}()).\u0275fac=function(e){return new(e||$y)(i.fc(gy),i.fc(ky),i.fc(i.C),i.fc(yy))},$y.\u0275prov=Object(i.Lb)({factory:function(){return new $y(Object(i.fc)(gy),Object(i.fc)(ky),Object(i.fc)(i.C),Object(i.fc)(yy))},token:$y,providedIn:"root"}),$y),Xy=function(){function e(){_classCallCheck(this,e),this.shouldCache=!0}return _createClass(e,[{key:"sideEffect",value:function(e,t,n){}}]),e}();function Qy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"1",i=[t,n,e],r=e.indexOf("calc");if(r>0){i[2]=ek(e.substring(r).trim());var a=e.substr(0,r).trim().split(" ");2==a.length&&(i[0]=a[0],i[1]=a[1])}else if(0==r)i[2]=ek(e.trim());else{var o=e.split(" ");i=3===o.length?o:[t,n,e]}return i}function ek(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var tk,nk=((tk=function(){function e(t,n,i){_classCallCheck(this,e),this.matchMedia=t,this.breakpoints=n,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new dr.a,this.observeActivations()}return _createClass(e,[{key:"onMediaChange",value:function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=Cy(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(Vy),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(Vy),this.updateStyles()))}},{key:"init",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];ik(this.updateMap,e,t,n),ik(this.clearMap,e,t,i),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}},{key:"getValue",value:function(e,t,n){var i=this.elementMap.get(e);if(i){var r=void 0!==n?i.get(n):this.getActivatedValues(i,t);if(r)return r.get(t)}}},{key:"hasValue",value:function(e,t){var n=this.elementMap.get(e);if(n){var i=this.getActivatedValues(n,t);if(i)return void 0!==i.get(t)||!1}return!1}},{key:"setValue",value:function(e,t,n,i){var r=this.elementMap.get(e);if(r){var a=(r.get(i)||new Map).set(t,n);r.set(i,a),this.elementMap.set(e,r)}else r=(new Map).set(i,(new Map).set(t,n)),this.elementMap.set(e,r);var o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}},{key:"trackValue",value:function(e,t){return this.subject.asObservable().pipe(ki((function(n){return n.element===e&&n.key===t})))}},{key:"updateStyles",value:function(){var e=this;this.elementMap.forEach((function(t,n){var i=new Set(e.elementKeyMap.get(n)),r=e.getActivatedValues(t);r&&r.forEach((function(t,r){e.updateElement(n,r,t),i.delete(r)})),i.forEach((function(i){if(r=e.getActivatedValues(t,i)){var a=r.get(i);e.updateElement(n,i,a)}else e.clearElement(n,i)}))}))}},{key:"clearElement",value:function(e,t){var n=this.clearMap.get(e);if(n){var i=n.get(t);i&&(i(),this.subject.next({element:e,key:t,value:""}))}}},{key:"updateElement",value:function(e,t,n){var i=this.updateMap.get(e);if(i){var r=i.get(t);r&&(r(n),this.subject.next({element:e,key:t,value:n}))}}},{key:"releaseElement",value:function(e){var t=this.watcherMap.get(e);t&&(t.forEach((function(e){return e.unsubscribe()})),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach((function(e,t){return n.delete(t)})),this.elementMap.delete(e))}},{key:"triggerUpdate",value:function(e,t){var n=this,i=this.elementMap.get(e);if(i){var r=this.getActivatedValues(i,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach((function(t,i){return n.updateElement(e,i,t)})))}}},{key:"buildElementKeyMap",value:function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}},{key:"watchExtraTriggers",value:function(e,t,n){var i=this;if(n&&n.length){var r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){var a=Object(Ah.a).apply(void 0,_toConsumableArray(n)).subscribe((function(){var n=i.getValue(e,t);i.updateElement(e,t,n)}));r.set(t,a)}}}},{key:"findByQuery",value:function(e){return this.breakpoints.findByQuery(e)}},{key:"getActivatedValues",value:function(e,t){for(var n=0;n-1}function sk(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var ck,lk,uk,dk=((ck=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"buildStyles",value:function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}((t=_slicedToArray(ak(e),3))[0],t[1],t[2]);var t}}]),t}(Xy)).\u0275fac=function(e){return hk(e||ck)},ck.\u0275prov=Object(i.Lb)({factory:function(){return new ck},token:ck,providedIn:"root"}),ck),hk=i.Zb(dk),fk=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],pk=((uk=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,i,n,r))).DIRECTIVE_KEY="layout",a.styleCache=bk,a.init(),a}return _inherits(t,e),t}(Ly)).\u0275fac=function(e){return new(e||uk)(i.Pb(i.l),i.Pb(Zy),i.Pb(dk),i.Pb(nk))},uk.\u0275dir=i.Kb({type:uk,features:[i.zb]}),uk),mk=((lk=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))).inputs=fk,e}return _inherits(t,e),t}(pk)).\u0275fac=function(e){return _k(e||lk)},lk.\u0275dir=i.Kb({type:lk,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[i.zb]}),lk),_k=i.Zb(mk),bk=new Map;function gk(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i-1?"column":"row",s=ok(o)?"max-width":"max-height",c=ok(o)?"min-width":"min-height",l=String(a).indexOf("calc")>-1,u=l||"auto"===a,d=String(a).indexOf("%")>-1&&!l,h=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,f=l||h;r="0"==r?0:r;var p=!(i="0"==i?0:i)&&!r,m={},_={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":var b=!1!==this.layoutConfig.useColumnBasisZero;a="row"===o?"0%":b?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,a="auto";break;case"grow":a="100%";break;case"noshrink":r=0,a="auto";break;case"auto":break;case"none":i=0,r=0,a="auto";break;default:f||d||isNaN(a)||(a+="%"),"0%"===a&&(f=!0),"0px"===a&&(a="0%"),m=gk(_,l?{"flex-grow":i,"flex-shrink":r,"flex-basis":f?a:"100%"}:{flex:"".concat(i," ").concat(r," ").concat(f?a:"100%")})}return m.flex||m["flex-grow"]||(m=gk(_,l?{"flex-grow":i,"flex-shrink":r,"flex-basis":a}:{flex:"".concat(i," ").concat(r," ").concat(a)})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(m[c]=p||f&&i?a:null,m[s]=p||!u&&r?a:null),m[c]||m[s]?t.hasWrap&&(m[l?"flex-basis":"flex"]=m[s]?l?m[s]:"".concat(i," ").concat(r," ").concat(m[s]):l?m[c]:"".concat(i," ").concat(r," ").concat(m[c])):m=gk(_,l?{"flex-grow":i,"flex-shrink":r,"flex-basis":a}:{flex:"".concat(i," ").concat(r," ").concat(a)}),gk(m,{"box-sizing":"border-box"})}}]),t}(Xy)).\u0275fac=function(e){return new(e||vk)(i.fc(yy))},vk.\u0275prov=Object(i.Lb)({factory:function(){return new vk(Object(i.fc)(yy))},token:vk,providedIn:"root"}),vk),xk=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],Mk=((kk=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,r,n,a))).layoutConfig=i,o.DIRECTIVE_KEY="flex",o.direction="",o.wrap=!1,o.flexGrow="1",o.flexShrink="1",o.init(),o.parentElement&&(o.marshal.trackValue(o.parentElement,"layout").pipe(ol(o.destroySubject)).subscribe(o.onLayoutChange.bind(_assertThisInitialized(o))),o.marshal.trackValue(o.nativeElement,"layout-align").pipe(ol(o.destroySubject)).subscribe(o.triggerReflow.bind(_assertThisInitialized(o)))),o}return _inherits(t,e),_createClass(t,[{key:"onLayoutChange",value:function(e){var t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}},{key:"updateWithValue",value:function(e){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));var t=this.direction,n=t.startsWith("row"),i=this.wrap;n&&i?this.styleCache=Ak:n&&!i?this.styleCache=Dk:!n&&i?this.styleCache=Ek:n||i||(this.styleCache=Tk);var r=Qy(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(r.join(" "),{direction:t,hasWrap:i})}},{key:"triggerReflow",value:function(){var e=this.activatedValue;if(void 0!==e){var t=Qy(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}},{key:"shrink",get:function(){return this.flexShrink},set:function(e){this.flexShrink=e||"1",this.triggerReflow()}},{key:"grow",get:function(){return this.flexGrow},set:function(e){this.flexGrow=e||"1",this.triggerReflow()}}]),t}(Ly)).\u0275fac=function(e){return new(e||kk)(i.Pb(i.l),i.Pb(Zy),i.Pb(yy),i.Pb(Sk),i.Pb(nk))},kk.\u0275dir=i.Kb({type:kk,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[i.zb]}),kk),Lk=((yk=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))).inputs=xk,e}return _inherits(t,e),t}(Mk)).\u0275fac=function(e){return Ok(e||yk)},yk.\u0275dir=i.Kb({type:yk,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[i.zb]}),yk),Ok=i.Zb(Lk),Dk=new Map,Tk=new Map,Ak=new Map,Ek=new Map,Pk=((wk=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:wk}),wk.\u0275inj=i.Mb({factory:function(e){return new(e||wk)},imports:[[_y,Kc]]}),wk);Ck=$localize(_templateObject48());var Rk,Ik=["placeholder",$localize(_templateObject49())],jk=["placeholder",$localize(_templateObject50())];Rk=$localize(_templateObject51());var Yk=["placeholder",$localize(_templateObject52()),"matTooltip",$localize(_templateObject53())];function Vk(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",9),i.dc(2,Yk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).login_user.totp_key=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.login_user.totp_key)}}function Wk(e,t){if(1&e&&(i.Wb(0,"div",10),i.Wb(1,"a",11),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.tc("href",n.oauth.entrance_url,i.Dc),i.Cb(1),i.Kc(n.oauth.display_name)}}function Fk(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",3),i.Wb(1,"h1"),i.bc(2,Ck),i.Vb(),i.Wb(3,"mat-form-field"),i.Wb(4,"input",4),i.dc(5,Ik),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().login_user.username=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",5),i.dc(8,jk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().password=e})),i.Vb(),i.Vb(),i.Ic(9,Vk,3,1,"mat-form-field",6),i.Wb(10,"button",7),i.jc("click",(function(e){return i.Cc(n),i.nc().onSubmit(e)})),i.bc(11,Rk),i.Vb(),i.Ic(12,Wk,3,2,"div",8),i.Vb()}if(2&e){var r=i.nc();i.Cb(4),i.sc("ngModel",r.login_user.username),i.Cb(3),i.sc("ngModel",r.password),i.Cb(2),i.sc("ngIf",r.oauth.authenticator_enabled),i.Cb(3),i.sc("ngIf",1==r.oauth.use_oauth)}}var Hk,Bk,zk=((Hk=function(){function e(t,n,i,r){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.http=i,this.router=r,this.submitted=!1,this.oauth=new Oc,this.login_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1}}return _createClass(e,[{key:"onSubmit",value:function(e){if(!this.login_user.username||!this.password)return this.messageService.add("Please input your username and password!"),void(this.submitted=!1);this.messageService.clear();var t="$2a$12$"+String(fy.SHA256("Janusec"+this.login_user.username+this.password)).substring(0,22),n=hy.hashSync(this.password,t);this.login_user.passwd=n;var i=this;this.rpcService.getResponse("login",(function(e){null!=e&&(i.rpcService.auth_user=e,i.submitted=!0,i.router.navigate(i.oauth.authenticator_enabled&&!i.rpcService.auth_user.logged?["/authcode-register"]:["/"]))}),null,this.login_user)}},{key:"ngOnInit",value:function(){var e=this;this.messageService.clear(),this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(t){null!=t&&(e.oauth=t)}))}}]),e}()).\u0275fac=function(e){return new(e||Hk)(i.Pb(Ec),i.Pb(Tc),i.Pb(Gi),i.Pb(As))},Hk.\u0275cmp=i.Jb({type:Hk,selectors:[["app-login-form"]],decls:4,vars:1,consts:[["fxLayout","row wrap"],["fxFlex","30%"],["fxFlex","40%","class","container",4,"ngIf"],["fxFlex","40%",1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],[4,"ngIf"],["mat-button","",1,"submit",3,"click"],["class","oauth",4,"ngIf"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","ngModelChange",6,"placeholder","matTooltip"],[1,"oauth"],[3,"href"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Rb(1,"div",1),i.Ic(2,Fk,13,4,"div",2),i.Rb(3,"div",1),i.Vb()),2&e&&(i.Cb(2),i.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[mk,Lk,z,op,xp,At,li,Vt,ai,_f,F_],styles:[".submit[_ngcontent-%COMP%]{background-color:#e5e5e5}.oauth[_ngcontent-%COMP%]{margin-top:20px}"]}),Hk);Bk=$localize(_templateObject54());var Nk,Uk=["placeholder",$localize(_templateObject55())],qk=["placeholder",$localize(_templateObject56())],Jk=["placeholder",$localize(_templateObject57())],Kk=["placeholder",$localize(_templateObject58())];Nk=$localize(_templateObject59());var Gk,$k,Zk=["placeholder",$localize(_templateObject60())];function Xk(e,t){if(1&e&&(i.Wb(0,"mat-form-field"),i.Wb(1,"input",15),i.dc(2,Zk),i.Vb(),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.sc("value",n.getDate(n.certificate.expire_time))("readonly",!0)}}function Qk(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc(2).changeEditable()})),i.Jc(1),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.Kc(r.readOnlyButtonText)}}function ew(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",12),i.jc("click",(function(){return i.Cc(n),i.nc(2).deleteCertificate()})),i.bc(1,Gk),i.Vb()}if(2&e){var r=i.nc(2);i.sc("disabled",r.readOnlyValue)}}function tw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc(2).selfSignCertificate()})),i.bc(1,$k),i.Vb()}}function nw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,Bk),i.Vb(),i.Wb(4,"mat-form-field"),i.Wb(5,"input",2,3),i.dc(7,Uk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.common_name=e})),i.Vb(),i.Wb(8,"mat-hint",4),i.Jc(9),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"textarea",5,6),i.dc(13,qk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.cert_content=e})),i.Jc(14," "),i.Vb(),i.Wb(15,"input",7),i.jc("change",(function(e){return i.Cc(n),i.nc().readCertificateFile(e)})),i.Vb(),i.Wb(16,"mat-hint",4),i.Jc(17),i.Vb(),i.Vb(),i.Wb(18,"mat-form-field"),i.Wb(19,"textarea",8,9),i.dc(21,Jk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.priv_key_content=e})),i.Jc(22," "),i.Vb(),i.Wb(23,"input",7),i.jc("change",(function(e){return i.Cc(n),i.nc().readPrivKeyFile(e)})),i.Vb(),i.Wb(24,"mat-hint",4),i.Jc(25),i.Vb(),i.Vb(),i.Ic(26,Xk,3,2,"mat-form-field",0),i.Wb(27,"mat-form-field"),i.Wb(28,"input",10,11),i.dc(30,Kk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.description=e})),i.Vb(),i.Wb(31,"mat-hint",4),i.Jc(32),i.Vb(),i.Vb(),i.Wb(33,"div"),i.Wb(34,"button",12),i.jc("click",(function(){return i.Cc(n),i.nc().setCertificate()})),i.bc(35,Nk),i.Vb(),i.Ic(36,Qk,2,1,"button",13),i.Ic(37,ew,2,1,"button",14),i.Ic(38,tw,2,0,"button",13),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(6),a=i.Ac(12),o=i.Ac(20),s=i.Ac(29),c=i.nc();i.Cb(5),i.sc("ngModel",c.certificate.common_name)("readonly",c.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",c.certificate.cert_content)("readonly",c.readOnlyValue),i.Cb(4),i.sc("disabled",c.readOnlyValue),i.Cb(2),i.Lc("",(null==a.value?null:a.value.length)||0,"/16384"),i.Cb(2),i.sc("ngModel",c.certificate.priv_key_content)("readonly",c.readOnlyValue),i.Cb(4),i.sc("disabled",c.readOnlyValue),i.Cb(2),i.Lc("",(null==o.value?null:o.value.length)||0,"/4096"),i.Cb(1),i.sc("ngIf",c.certificate.id>0),i.Cb(2),i.sc("ngModel",c.certificate.description)("readonly",c.readOnlyValue),i.Cb(4),i.Lc("",(null==s.value?null:s.value.length)||0,"/256"),i.Cb(2),i.sc("disabled",c.readOnlyValue),i.Cb(2),i.sc("ngIf",1==c.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",c.certificate.id>0),i.Cb(1),i.sc("ngIf",0==c.certificate.id&&c.certificate.common_name)}}Gk=$localize(_templateObject61()),$k=$localize(_templateObject62());var iw,rw,aw,ow,sw,cw,lw,uw=((iw=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.http=a,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",t.params.forEach((function(e){o.startDate=new Date,o.getCertificate()}))}return _createClass(e,[{key:"getCertificate",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_cert",(function(e){null!=e&&(t.certificate=e)}),e)}else this.certificate=new fc,this.certificate.id="0",this.certificate.common_name="*.yourdomain.com",this.certificate.description="New certificate",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}},{key:"setCertificate",value:function(){var e=this;this.rpcService.getResponse("update_cert",(function(t){if(null!=t){var n=t.id;e.certificate.id==n?e.certificate=t:e.router.navigate(["/certificate/"+n]),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Certificate "+t.common_name+" saved.")}}),null,e.certificate)}},{key:"deleteCertificate",value:function(){if(confirm("Are you sure to delete certificate: "+this.certificate.common_name+"?")){var e=this;this.rpcService.getResponse("del_cert",(function(){e.messageService.add(e.certificate.common_name+" deleted."),e.router.navigate(["/certificates"])}),this.certificate.id,null)}}},{key:"selfSignCertificate",value:function(){var e=this;this.rpcService.getResponse("self_sign_cert",(function(t){null!=t&&(e.certificate.cert_content=t.cert_content,e.certificate.priv_key_content=t.priv_key_content)}),null,{common_name:this.certificate.common_name})}},{key:"ngOnInit",value:function(){this.startDate=new Date,this.getCertificate()}},{key:"changeEditable",value:function(){0!=this.rpcService.auth_user.is_super_admin&&(this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel")}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"readCertificateFile",value:function(e){var t=this;if(e.target.files&&e.target.files.length>0){var n=e.target.files[0],i=new FileReader;i.onload=function(e){t.certificate.cert_content=i.result},i.readAsText(n)}}},{key:"readPrivKeyFile",value:function(e){var t=this;if(e.target.files&&e.target.files.length>0){var n=e.target.files[0],i=new FileReader;i.onload=function(e){t.certificate.priv_key_content=i.result},i.readAsText(n)}}}]),e}()).\u0275fac=function(e){return new(e||iw)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(Gi))},iw.\u0275cmp=i.Jb({type:iw,selectors:[["app-certificate-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["common_name",""],["align","end"],["matInput","","rows","5","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["cert_content",""],["type","file",3,"disabled","change"],["matInput","","rows","5",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["priv_key_content",""],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","",3,"value","readonly",6,"placeholder"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&i.Ic(0,nw,39,19,"div",0),2&e&&i.sc("ngIf",t.certificate)},directives:[z,op,xp,At,di,li,Vt,ai,Xf,_f],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:3px;margin-bottom:3px;background-color:#f0f0f0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}button[_ngcontent-%COMP%]{margin-right:5px}']}),iw),dw=["userPaginator"];function hw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",20),i.jc("click",(function(){return i.Cc(n),i.nc().addAdmin()})),i.bc(2,aw),i.Vb(),i.Vb()}}function fw(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function pw(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",21),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/appuser/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function mw(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,ow),i.Vb())}function _w(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",21),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/appuser/",n.id,""),i.Cb(1),i.Lc(" ",n.username," ")}}function bw(e,t){1&e&&(i.Wb(0,"mat-header-cell",22),i.bc(1,sw),i.Vb())}function gw(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"check_circle_outline"),i.Vb())}function vw(e,t){if(1&e&&(i.Wb(0,"mat-cell",22),i.Ic(1,gw,2,0,"mat-icon",23),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_super_admin)}}function yw(e,t){1&e&&(i.Wb(0,"mat-header-cell",22),i.bc(1,cw),i.Vb())}function kw(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"check_circle_outline"),i.Vb())}function ww(e,t){if(1&e&&(i.Wb(0,"mat-cell",22),i.Ic(1,kw,2,0,"mat-icon",23),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_cert_admin)}}function Cw(e,t){1&e&&(i.Wb(0,"mat-header-cell",22),i.bc(1,lw),i.Vb())}function Sw(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"check_circle_outline"),i.Vb())}function xw(e,t){if(1&e&&(i.Wb(0,"mat-cell",22),i.Ic(1,Sw,2,0,"mat-icon",23),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_app_admin)}}function Mw(e,t){1&e&&i.Rb(0,"mat-header-row")}function Lw(e,t){1&e&&i.Rb(0,"mat-row")}rw=$localize(_templateObject63()),aw=$localize(_templateObject64()),ow=$localize(_templateObject65()),sw=$localize(_templateObject66()),cw=$localize(_templateObject67()),lw=$localize(_templateObject68());var Ow,Dw,Tw=function(){return[10,20,50]},Aw=((Ow=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.displayedColumns=["id","username","is_super_admin","is_cert_admin","is_app_admin"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getAppUsers(),setTimeout((function(){e.userDataSource=new Qh(e.rpcService.admins),e.userLength=e.rpcService.admins.length}),500)):this.router.navigate(["/"])}},{key:"addAdmin",value:function(){this.router.navigate(["/appuser/0"])}},{key:"applyFilter",value:function(e){this.userDataSource.filter=e.trim().toLowerCase()}}]),e}()).\u0275fac=function(e){return new(e||Ow)(i.Pb(Ec),i.Pb(As))},Ow.\u0275cmp=i.Jb({type:Ow,selectors:[["app-usermgmt"]],viewQuery:function(e,t){var n;1&e&&i.Sc(dw,!0),2&e&&i.zc(n=i.kc())&&(t.userPaginator=n.first)},decls:33,vars:8,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","username"],["matColumnDef","is_super_admin"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","is_cert_admin"],["matColumnDef","is_app_admin"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["userPaginator",""],["mat-stroked-button","",3,"click"],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,rw),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"div"),i.Ic(6,hw,3,0,"span",1),i.Wb(7,"span"),i.Jc(8,"\xa0\xa0\xa0\xa0"),i.Vb(),i.Wb(9,"mat-form-field",2),i.Wb(10,"input",3),i.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),i.Vb(),i.Vb(),i.Vb(),i.Wb(11,"div",4),i.Wb(12,"mat-table",5,6),i.Ub(14,7),i.Ic(15,fw,2,0,"mat-header-cell",8),i.Ic(16,pw,3,2,"mat-cell",9),i.Tb(),i.Ub(17,10),i.Ic(18,mw,2,0,"mat-header-cell",8),i.Ic(19,_w,3,2,"mat-cell",9),i.Tb(),i.Ub(20,11),i.Ic(21,bw,2,0,"mat-header-cell",12),i.Ic(22,vw,2,1,"mat-cell",13),i.Tb(),i.Ub(23,14),i.Ic(24,yw,2,0,"mat-header-cell",12),i.Ic(25,ww,2,1,"mat-cell",13),i.Tb(),i.Ub(26,15),i.Ic(27,Cw,2,0,"mat-header-cell",12),i.Ic(28,xw,2,1,"mat-cell",13),i.Tb(),i.Ic(29,Mw,1,0,"mat-header-row",16),i.Ic(30,Lw,1,0,"mat-row",17),i.Vb(),i.Rb(31,"mat-paginator",18,19),i.Vb(),i.Vb()),2&e&&(i.Cb(6),i.sc("ngIf",1==t.rpcService.auth_user.is_super_admin),i.Cb(6),i.sc("dataSource",t.userDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.userLength)("pageSize",20)("pageSizeOptions",i.wc(7,Tw)))},directives:[lf,z,op,xp,Rh,Fh,Vh,jh,Nh,qh,nb,_f,Bh,zh,Es,Mb,Kh,$h],styles:['mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),Ow);Dw=$localize(_templateObject69());var Ew,Pw,Rw,Iw,jw,Yw=["placeholder",$localize(_templateObject70())],Vw=["placeholder",$localize(_templateObject71())],Ww=["placeholder",$localize(_templateObject72())],Fw=["placeholder",$localize(_templateObject73())];function Hw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",10),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).appUser.is_super_admin=e})),i.bc(2,Rw),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.appUser.is_super_admin)("disabled",r.readOnlyValue)}}function Bw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",10),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).appUser.is_cert_admin=e})),i.bc(2,Iw),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.appUser.is_cert_admin)("disabled",r.readOnlyValue)}}function zw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",10),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).appUser.is_app_admin=e})),i.bc(2,jw),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.appUser.is_app_admin)("disabled",r.readOnlyValue)}}function Nw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",1),i.Wb(1,"h2"),i.Wb(2,"span"),i.bc(3,Dw),i.Vb(),i.Vb(),i.Wb(4,"div"),i.Wb(5,"mat-form-field"),i.Wb(6,"input",2,3),i.dc(8,Yw),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().appUser.username=e})),i.Vb(),i.Wb(9,"mat-hint",4),i.Jc(10),i.Vb(),i.Vb(),i.Wb(11,"mat-form-field"),i.Wb(12,"input",5),i.dc(13,Vw),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().plainpwd=e})),i.Vb(),i.Vb(),i.Wb(14,"mat-form-field"),i.Wb(15,"input",5),i.dc(16,Ww),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().plainpwd2=e})),i.Vb(),i.Vb(),i.Wb(17,"mat-form-field"),i.Wb(18,"input",2,6),i.dc(20,Fw),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().appUser.email=e})),i.Vb(),i.Wb(21,"mat-hint",4),i.Jc(22),i.Vb(),i.Vb(),i.Ic(23,Hw,3,2,"section",7),i.Ic(24,Bw,3,2,"section",7),i.Ic(25,zw,3,2,"section",7),i.Vb(),i.Wb(26,"div"),i.Wb(27,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().onSave()})),i.bc(28,Ew),i.Vb(),i.Wb(29,"button",9),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(30),i.Vb(),i.Wb(31,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().onDelete()})),i.bc(32,Pw),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(7),a=i.Ac(19),o=i.nc();i.Cb(6),i.sc("ngModel",o.appUser.username)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",o.plainpwd)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.plainpwd2)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.appUser.email)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==a.value?null:a.value.length)||0,"/128"),i.Cb(1),i.sc("ngIf",1==o.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==o.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==o.rpcService.auth_user.is_super_admin),i.Cb(2),i.sc("disabled",o.readOnlyValue),i.Cb(3),i.Kc(o.readOnlyButtonText),i.Cb(1),i.sc("disabled","admin"==o.appUser.username||0==o.appUser.id||o.readOnlyValue)}}Ew=$localize(_templateObject74()),Pw=$localize(_templateObject75()),Rw=$localize(_templateObject76()),Iw=$localize(_templateObject77()),jw=$localize(_templateObject78());var Uw,qw,Jw,Kw,Gw,$w,Zw=((Uw=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.http=a,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}return _createClass(e,[{key:"ngOnInit",value:function(){this.appUser=new cc,this.getAppUser()}},{key:"getAppUser",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_app_user",(function(e){null!=e&&(t.appUser=e),t.appUser.need_modify_pwd&&(t.readOnlyValue=!1)}),e,null)}else this.appUser=new cc,this.appUser.id="0",this.appUser.is_super_admin=!1,this.appUser.is_cert_admin=!1,this.appUser.is_app_admin=!1,this.appUser.need_modify_pwd=!0,this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"onDelete",value:function(){if(confirm("Are you sure to delete user: "+this.appUser.username+"?")){var e=this;this.rpcService.getResponse("del_app_user",(function(){e.messageService.add(e.appUser.username+" deleted."),e.router.navigate(["/usermgmt"])}),this.appUser.id,null)}}},{key:"onSave",value:function(){if(this.plainpwd==this.plainpwd2){if(this.plainpwd){var e="$2a$12$"+String(fy.SHA256("Janusec"+this.appUser.username+this.plainpwd)).substring(0,22),t=hy.hashSync(this.plainpwd,e);this.appUser.password=t}else this.appUser.password="";var n=this;this.rpcService.getResponse("update_app_user",(function(e){if(null!=e){var t=e.id;n.appUser.id==t?n.appUser=e:n.router.navigate(["/appuser/"+t]),n.readOnlyValue=!0,n.readOnlyButtonText="Edit",n.messageService.add(n.appUser.username+" saved."),n.rpcService.getAuthUser((function(){}))}}),null,this.appUser)}else this.messageService.add("Password mismatch")}}]),e}()).\u0275fac=function(e){return new(e||Uw)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(Gi))},Uw.\u0275cmp=i.Jb({type:Uw,selectors:[["app-user-detail"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["username",""],["align","end"],["matInput","","type","password",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["email",""],[4,"ngIf"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[3,"ngModel","disabled","ngModelChange"]],template:function(e,t){1&e&&i.Ic(0,Nw,33,16,"div",0),2&e&&i.sc("ngIf",t.appUser)},directives:[z,op,xp,At,di,li,Vt,ai,Xf,_f,fv],styles:['button[_ngcontent-%COMP%]{margin-top:10px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{display:block;margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),Uw),Xw=["paginator"],Qw=["ipPaginator"],eC=["fileInput"];function tC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc().newGroupPolicy()})),i.bc(2,qw),i.Vb(),i.Vb()}}function nC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc().exportWAF()})),i.bc(2,Jw),i.Vb(),i.Vb()}}function iC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc().importWAF()})),i.bc(2,Kw),i.Vb(),i.Wb(3,"input",17,18),i.jc("change",(function(e){return i.Cc(n),i.nc().readFile(e)})),i.Vb(),i.Vb()}}function rC(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function aC(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/policy/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function oC(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,Gw),i.Vb())}function sC(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.description," ")}}function cC(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,$w),i.Vb())}function lC(e,t){1&e&&(i.Wb(0,"mat-icon",22),i.Jc(1,"check_circle_outline"),i.Vb())}function uC(e,t){1&e&&(i.Wb(0,"mat-icon",23),i.Jc(1,"highlight_off"),i.Vb())}function dC(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Ic(1,lC,2,0,"mat-icon",20),i.Ic(2,uC,2,0,"mat-icon",21),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_enabled),i.Cb(1),i.sc("ngIf",!n.is_enabled)}}function hC(e,t){1&e&&i.Rb(0,"mat-header-row")}function fC(e,t){1&e&&i.Rb(0,"mat-row")}qw=$localize(_templateObject79()),Jw=$localize(_templateObject80()),Kw=$localize(_templateObject81()),Gw=$localize(_templateObject82()),$w=$localize(_templateObject83());var pC,mC,_C=function(){return[10,20,50]},bC=((pC=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.group_policies=[],this.enum_action_values=[],this.displayedColumns=["id","description","is_enabled"],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.dynamicDownload=null,this.global_cc_policy=new bc,this.app_cc_policy=new bc,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getGroupPolicies())}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e});else this.router.navigate(["/"])}},{key:"getCCPolicy",value:function(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(n){null!=n&&("0"==e?t.global_cc_policy=n:(t.app_cc_policy=n,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}},{key:"newCCPolicy",value:function(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}},{key:"updateCCPolicy",value:function(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);var n=this;this.rpcService.getResponse("update_cc_policy",(function(){n.messageService.add("CC policy updated!")}),e,t)}},{key:"deleteCCPolicy",value:function(e){if("0"!=e){this.has_custom_cc_policy=!1;var t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}}},{key:"onSelectApp",value:function(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}},{key:"getGroupPolicies",value:function(){var e=this;this.rpcService.getResponse("get_group_policies",(function(t){if(null!=t){e.group_policies=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.group_policies[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;s.unique_hash=e.calcUniqueHash(s)}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}e.globalRegexDataSource=new Qh(e.group_policies),e.globalRegexDataSource.paginator=e.paginator,e.regexLength=e.group_policies.length,e.paginator.pageIndex=0}}))}},{key:"getVulnNameByID",value:function(e){return this.rpcService.vulntypemap[e]}},{key:"newGroupPolicy",value:function(){this.router.navigate(["/policy/0"])}},{key:"applyFilter",value:function(e){this.globalRegexDataSource.filter=e.trim().toLowerCase()}},{key:"exportWAF",value:function(){var e=this;bi(this.group_policies).subscribe((function(t){var n=JSON.stringify(t);e.dynamicDownload=document.createElement("a"),e.dynamicDownload.setAttribute("href","data:text/json;charset=utf-8,".concat(encodeURIComponent(n))),e.dynamicDownload.setAttribute("download","JANUSEC-WAF.json");var i=new MouseEvent("click");e.dynamicDownload.dispatchEvent(i)}))}},{key:"importWAF",value:function(){this.fileInput.nativeElement.click()}},{key:"readFile",value:function(e){var t=this;if(e.target.files&&e.target.files.length>0){var n=e.target.files[0],i=new FileReader;i.onload=function(e){var n=JSON.parse(i.result);t.importWAFData(n)},i.readAsText(n)}}},{key:"importWAFData",value:function(e){var t=this,n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;this.isInCurrentGroupPolicies(s)||(s.id="0",this.setGroupPolicy(s))}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}setTimeout((function(){t.getGroupPolicies(),t.messageService.add("Import WAF policies finished!")}),3e3)}},{key:"isInCurrentGroupPolicies",value:function(e){var t=this.calcUniqueHash(e),n=!0,i=!1,r=void 0;try{for(var a,o=this.group_policies[Symbol.iterator]();!(n=(a=o.next()).done);n=!0)if(t==a.value.unique_hash)return!0}catch(s){i=!0,r=s}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return!1}},{key:"calcUniqueHash",value:function(e){var t=""+e.app_id+e.description+e.vuln_id+e.hit_value+e.action,n=!0,i=!1,r=void 0;try{for(var a,o=e.check_items[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;t+="^"+s.check_point+s.operation+s.key_name+s.regex_policy}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return String(fy.SHA256(t))}},{key:"setGroupPolicy",value:function(e){this.rpcService.getResponse("update_group_policy",(function(t){if(null!=t){e=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.check_items[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;s.id="0",s.group_policy_id=e.id}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}}),null,e)}}]),e}()).\u0275fac=function(e){return new(e||pC)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},pC.\u0275cmp=i.Jb({type:pC,selectors:[["app-waf"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(Xw,!0),i.Sc(Qw,!0),i.Sc(eC,!0)),2&e&&(i.zc(n=i.kc())&&(t.paginator=n.first),i.zc(n=i.kc())&&(t.ipPaginator=n.first),i.zc(n=i.kc())&&(t.fileInput=n.first))},decls:26,vars:10,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","description"],["matColumnDef","is_enabled"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["paginator",""],["mat-stroked-button","",3,"click"],["type","file",2,"display","none",3,"change"],["fileInput",""],[3,"routerLink"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"div"),i.Ic(3,tC,3,0,"span",1),i.Ic(4,nC,3,0,"span",1),i.Ic(5,iC,5,0,"span",1),i.Wb(6,"span"),i.Jc(7,"\xa0\xa0\xa0\xa0"),i.Vb(),i.Wb(8,"mat-form-field",2),i.Wb(9,"input",3),i.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),i.Vb(),i.Vb(),i.Vb(),i.Wb(10,"div",4),i.Wb(11,"mat-table",5,6),i.Ub(13,7),i.Ic(14,rC,2,0,"mat-header-cell",8),i.Ic(15,aC,3,2,"mat-cell",9),i.Tb(),i.Ub(16,10),i.Ic(17,oC,2,0,"mat-header-cell",8),i.Ic(18,sC,2,1,"mat-cell",9),i.Tb(),i.Ub(19,11),i.Ic(20,cC,2,0,"mat-header-cell",8),i.Ic(21,dC,3,2,"mat-cell",9),i.Tb(),i.Ic(22,hC,1,0,"mat-header-row",12),i.Ic(23,fC,1,0,"mat-row",13),i.Vb(),i.Rb(24,"mat-paginator",14,15),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(3),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(6),i.sc("dataSource",t.globalRegexDataSource),i.Cb(11),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.regexLength)("pageSize",20)("pageSizeOptions",i.wc(9,_C)))},directives:[z,op,xp,Rh,Fh,Vh,jh,Nh,qh,nb,_f,Bh,zh,Es,Mb,Kh,$h],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.float_right[_ngcontent-%COMP%]{display:-webkit-box;display:flex;float:right}']}),pC);mC=$localize(_templateObject84());var gC,vC=["placeholder",$localize(_templateObject85())],yC=["placeholder",$localize(_templateObject86())];gC=$localize(_templateObject87());var kC,wC,CC,SC,xC=["placeholder",$localize(_templateObject88())],MC=["placeholder",$localize(_templateObject89())];kC=$localize(_templateObject90()),wC=$localize(_templateObject91()),CC=$localize(_templateObject92()),SC=$localize(_templateObject93());var LC,OC,DC=["placeholder",$localize(_templateObject94())],TC=["placeholder",$localize(_templateObject95())],AC=["placeholder",$localize(_templateObject96())];function EC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function PC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}LC=$localize(_templateObject97()),OC=$localize(_templateObject98());var RC=["placeholder",$localize(_templateObject99())],IC=["placeholder",$localize(_templateObject100())],jC=["placeholder",$localize(_templateObject101())],YC=["matTooltip",$localize(_templateObject102())];function VC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}function WC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}var FC=["placeholder",$localize(_templateObject103())];function HC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",19),i.dc(2,FC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().$implicit.key_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc().$implicit,a=i.nc(2);i.Cb(1),i.sc("ngModel",r.key_name)("disabled",a.readOnlyValue)}}function BC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",20),i.jc("click",(function(){i.Cc(n);var e=i.nc().index;return i.nc(2).delCheckItem(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function zC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",15),i.Wb(1,"mat-form-field"),i.Wb(2,"mat-select",16),i.dc(3,RC),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).group_policy.check_items[r].check_point=e})),i.Ic(4,VC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Wb(5,"mat-form-field"),i.Wb(6,"mat-select",16),i.dc(7,IC),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).group_policy.check_items[r].operation=e})),i.Ic(8,WC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Ic(9,HC,3,2,"mat-form-field",0),i.Wb(10,"mat-form-field"),i.Wb(11,"input",2),i.dc(12,jC),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.regex_policy=e})),i.Vb(),i.Vb(),i.Wb(13,"div"),i.Wb(14,"mat-icon",17),i.dc(15,YC),i.jc("click",(function(){return i.Cc(n),i.nc(2).addCheckItem()})),i.Jc(16,"add_circle_outline"),i.Vb(),i.Ic(17,BC,2,0,"mat-icon",18),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc(2);i.Cb(2),i.sc("ngModel",o.group_policy.check_items[a].check_point)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_check_values),i.Cb(2),i.sc("ngModel",o.group_policy.check_items[a].operation)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_operation_values),i.Cb(1),i.sc("ngIf",r.check_point==o.chkpointHeadValue),i.Cb(2),i.sc("ngModel",r.regex_policy)("disabled",o.readOnlyValue),i.Cb(6),i.sc("ngIf",o.group_policy.check_items.length>1)}}function NC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}var UC=["placeholder",$localize(_templateObject104())];function qC(e,t){if(1&e&&(i.Wb(0,"mat-form-field"),i.Wb(1,"input",21),i.dc(2,UC),i.Vb(),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.sc("value",n.getDate(n.group_policy.update_time))}}function JC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",13),i.jc("click",(function(){return i.Cc(n),i.nc(2).changeEditable()})),i.Jc(1),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.Kc(r.readOnlyButtonText)}}function KC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"h2",1),i.bc(2,mC),i.Vb(),i.Wb(3,"div",1),i.Wb(4,"mat-form-field"),i.Wb(5,"input",2),i.dc(6,vC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.description=e})),i.Vb(),i.Vb(),i.Wb(7,"mat-form-field"),i.Wb(8,"mat-select",3),i.dc(9,yC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.app_id=e})),i.Wb(10,"mat-option",4),i.bc(11,gC),i.Vb(),i.Ic(12,EC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"mat-select",3),i.dc(15,xC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.vuln_id=e})),i.Ic(16,PC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Ic(17,zC,18,10,"div",6),i.Wb(18,"mat-form-field"),i.Wb(19,"mat-select",3),i.dc(20,MC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.action=e})),i.Ic(21,NC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Ic(22,qC,3,1,"mat-form-field",0),i.Wb(23,"section"),i.Wb(24,"mat-checkbox",7),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.is_enabled=e})),i.bc(25,kC),i.Vb(),i.Vb(),i.Wb(26,"div"),i.Rb(27,"br"),i.Wb(28,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().setGroupPolicy()})),i.bc(29,wC),i.Vb(),i.Ic(30,JC,2,1,"button",9),i.Wb(31,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().delGroupPolicy()})),i.bc(32,CC),i.Vb(),i.Vb(),i.Vb(),i.Rb(33,"hr"),i.Wb(34,"div",1),i.Wb(35,"h3"),i.bc(36,SC),i.Vb(),i.Wb(37,"mat-form-field"),i.Wb(38,"input",10),i.dc(39,DC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.pattern=e})),i.Vb(),i.Vb(),i.Wb(40,"mat-form-field"),i.Wb(41,"input",10),i.dc(42,TC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.payload=e})),i.Vb(),i.Vb(),i.Wb(43,"mat-form-field"),i.Wb(44,"input",11),i.dc(45,AC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.matched=e})),i.Vb(),i.Vb(),i.Wb(46,"section"),i.Wb(47,"mat-checkbox",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.preprocess=e})),i.bc(48,LC),i.Vb(),i.Vb(),i.Wb(49,"div"),i.Rb(50,"br"),i.Wb(51,"button",13),i.jc("click",(function(){return i.Cc(n),i.nc().testRegex()})),i.bc(52,OC),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.sc("ngModel",r.group_policy.description)("disabled",r.readOnlyValue),i.Cb(3),i.sc("ngModel",r.group_policy.app_id)("disabled",r.readOnlyValue),i.Cb(4),i.sc("ngForOf",r.rpcService.applications),i.Cb(2),i.sc("ngModel",r.group_policy.vuln_id)("disabled",r.readOnlyValue),i.Cb(2),i.sc("ngForOf",r.rpcService.vulntypes),i.Cb(1),i.sc("ngForOf",r.group_policy.check_items)("ngForTrackBy",r.trackByFn),i.Cb(2),i.sc("ngModel",r.group_policy.action)("disabled",r.readOnlyValue),i.Cb(2),i.sc("ngForOf",r.enum_action_values),i.Cb(1),i.sc("ngIf",r.group_policy.id>0),i.Cb(2),i.sc("ngModel",r.group_policy.is_enabled)("disabled",r.readOnlyValue),i.Cb(4),i.sc("disabled",r.readOnlyValue),i.Cb(2),i.sc("ngIf",r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("disabled",r.readOnlyValue),i.Cb(7),i.sc("ngModel",r.regex_match.pattern),i.Cb(3),i.sc("ngModel",r.regex_match.payload),i.Cb(3),i.sc("ngModel",r.regex_match.matched),i.Cb(3),i.sc("ngModel",r.regex_match.preprocess)}}var GC,$C,ZC,XC,QC,eS,tS,nS,iS,rS,aS,oS,sS,cS,lS,uS,dS,hS=((GC=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.regex_match=new Cc,this.enum_check_values=[],this.enum_operation_values=[],this.enum_action_values=[],this.chkpointHeadValue=gc.HeaderValue}return _createClass(e,[{key:"getGroupPolicy",value:function(e){var t=this.route.snapshot.paramMap.get("id");if("0"==t)this.readOnlyValue=!1,this.group_policy=new yc,this.group_policy.id="0",this.group_policy.app_id=null!=e?e:"0",this.group_policy.action=vc.BLOCK,this.group_policy.description="Custom",this.group_policy.check_items=[],this.addCheckItem(),this.group_policy.is_enabled=!0,this.readOnlyButtonText="Cancel";else{var n=this;this.rpcService.getResponse("get_group_policy",(function(e){null!=e&&(n.group_policy=e,n.regex_match.pattern=n.group_policy.check_items[0].regex_policy)}),t)}this.regex_match.preprocess=!0}},{key:"setGroupPolicy",value:function(){var e=this;this.rpcService.getResponse("update_group_policy",(function(t){if(null!=t){var n=t.id;e.group_policy.id==n?e.group_policy=t:(e.group_policy=t,e.router.navigate(["/policy/"+n])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Policy saved.")}}),null,e.group_policy)}},{key:"ngOnInit",value:function(){for(var e in this.getGroupPolicy(),0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),gc)"number"==typeof gc[e]&&this.enum_check_values.push({value:gc[e],name:e});for(var e in kc)"number"==typeof kc[e]&&this.enum_operation_values.push({value:kc[e],name:e});for(var e in vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e})}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"testRegex",value:function(){this.regex_match.matched=null;var e=this;this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}},{key:"addCheckItem",value:function(){if(!this.readOnlyValue){var e=new wc;e.id="0",e.operation=kc.Regex_Match,e.key_name="",e.regex_policy="",e.group_policy_id=this.group_policy.id,this.group_policy.check_items.push(e)}}},{key:"delCheckItem",value:function(e){this.readOnlyValue||(1!=this.group_policy.check_items.length?this.group_policy.check_items.splice(e,1):alert("At least one checkpoint is required!"))}},{key:"delGroupPolicy",value:function(){if(!this.readOnlyValue){var e=this;this.rpcService.getResponse("del_group_policy",(function(){e.router.navigate(["/waf"]),e.messageService.add("Policy Deleted.")}),this.group_policy.id,null)}}}]),e}()).\u0275fac=function(e){return new(e||GC)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},GC.\u0275cmp=i.Jb({type:GC,selectors:[["app-policy"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["class","inner-container",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngModel","disabled","ngModelChange"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","readonly","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange"],["mat-stroked-button","",3,"click"],[3,"value"],[1,"inner-container"],["required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],["matTooltipPosition","right",3,"click",6,"matTooltip"],[3,"click",4,"ngIf"],["matInput","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"click"],["matInput","","disabled","true",3,"value",6,"placeholder"]],template:function(e,t){1&e&&i.Ic(0,KC,53,23,"div",0),2&e&&i.sc("ngIf",t.group_policy)},directives:[z,op,xp,At,li,Vt,ai,k_,ah,H,fv,_f,Mb,F_],styles:['button[_ngcontent-%COMP%]{margin-top:5px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),GC),fS=["*"],pS=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],mS=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],_S=ld(dd((function e(){_classCallCheck(this,e)}))),bS=dd((function e(){_classCallCheck(this,e)})),gS=(($C=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._stateChanges=new dr.a,e}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),t}(_S)).\u0275fac=function(e){return vS(e||$C)},$C.\u0275cmp=i.Jb({type:$C,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i.zb,i.Ab()],ngContentSelectors:fS,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),$C),vS=i.Zb(gS),yS=((tS=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._elementRef=e,n._stateChanges=new dr.a,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return _inherits(t,e),_createClass(t,[{key:"_getListType",value:function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),t}(_S)).\u0275fac=function(e){return new(e||tS)(i.Pb(i.l))},tS.\u0275cmp=i.Jb({type:tS,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i.zb,i.Ab()],ngContentSelectors:fS,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),tS),kS=((eS=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||eS)},eS.\u0275dir=i.Kb({type:eS,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),eS),wS=((QC=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||QC)},QC.\u0275dir=i.Kb({type:QC,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),QC),CS=((XC=function(e){function t(e,n,i,r){var a;_classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._element=e,a._isInteractiveList=!1,a._destroyed=new dr.a,a._disabled=!1,a._isInteractiveList=!!(i||r&&"action-list"===r._getListType()),a._list=i||r;var o=a._getHostElement();return"button"!==o.nodeName.toLowerCase()||o.hasAttribute("type")||o.setAttribute("type","button"),a._list&&a._list._stateChanges.pipe(ol(a._destroyed)).subscribe((function(){n.markForCheck()})),a}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentInit",value:function(){var e,t;t=this._element,(e=this._lines).changes.pipe(Qr(e)).subscribe((function(e){var n=e.length;Rd(t,"mat-2-line",!1),Rd(t,"mat-3-line",!1),Rd(t,"mat-multi-line",!1),2===n||3===n?Rd(t,"mat-".concat(n,"-line"),!0):n>3&&Rd(t,"mat-multi-line",!0)}))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=Pc(e)}}]),t}(bS)).\u0275fac=function(e){return new(e||XC)(i.Pb(i.l),i.Pb(i.h),i.Pb(gS,8),i.Pb(yS,8))},XC.\u0275cmp=i.Jb({type:XC,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,kS,!0),i.Ib(n,wS,!0),i.Ib(n,Pd,!0)),2&e&&(i.zc(r=i.kc())&&(t._avatar=r.first),i.zc(r=i.kc())&&(t._icon=r.first),i.zc(r=i.kc())&&(t._lines=r))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.Gb("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.zb],ngContentSelectors:mS,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.rc(pS),i.Wb(0,"div",0),i.Rb(1,"div",1),i.qc(2),i.Wb(3,"div",2),i.qc(4,1),i.Vb(),i.qc(5,2),i.Vb()),2&e&&(i.Cb(1),i.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Kd],encapsulation:2,changeDetection:0}),XC),SS=((ZC=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:ZC}),ZC.\u0275inj=i.Mb({factory:function(e){return new(e||ZC)},imports:[[Bd,Gd,cd,Zd,ae],Bd,cd,Zd,eg]}),ZC),xS=["nodesPaginator"];function MS(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,oS),i.Vb())}function LS(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.last_ip," ")}}function OS(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,sS),i.Vb())}function DS(e,t){1&e&&(i.Wb(0,"mat-icon",23),i.Jc(1,"check_circle_outline"),i.Vb())}function TS(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"highlight_off"),i.Vb())}function AS(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Ic(1,DS,2,0,"mat-icon",21),i.Ic(2,TS,2,0,"mat-icon",22),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.online),i.Cb(1),i.sc("ngIf",!n.online)}}function ES(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,cS),i.Vb())}function PS(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.version," ")}}function RS(e,t){1&e&&(i.Wb(0,"mat-header-cell",25),i.bc(1,lS),i.Vb())}function IS(e,t){if(1&e&&(i.Wb(0,"mat-cell",25),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getDate(n.last_req_time)," ")}}function jS(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,uS),i.Vb())}function YS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"button",1),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().deleteNode(e.id)})),i.bc(2,dS),i.Vb(),i.Vb()}}function VS(e,t){1&e&&i.Rb(0,"mat-header-row")}function WS(e,t){1&e&&i.Rb(0,"mat-row")}nS=$localize(_templateObject105()),iS=$localize(_templateObject106()),rS=$localize(_templateObject107()),aS=$localize(_templateObject108()),oS=$localize(_templateObject109()),sS=$localize(_templateObject110()),cS=$localize(_templateObject111()),lS=$localize(_templateObject112()),uS=$localize(_templateObject113()),dS=$localize(_templateObject114());var FS,HS,BS=function(){return[10,20,50]},zS=((FS=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.nodes=[],this.displayedColumns=["last_ip","online","version","last_req_time","action"],this.rpcService.auth_user.logged&&(this.rpcService.getNodesKey(),this.getNodes())}return _createClass(e,[{key:"ngOnInit",value:function(){0!=this.rpcService.auth_user.logged?this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]):this.router.navigate(["/"])}},{key:"onSelect",value:function(e){this.selectedNode=e,this.router.navigate(["/node/"+this.selectedNode.id])}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getNodes",value:function(){var e=this;this.rpcService.getResponse("get_nodes",(function(t){if(e.nodes=t,e.nodesDataSource=new Qh(e.nodes),e.nodesLength=e.nodes.length,null!=e.nodes){var n=(new Date).getTime(),i=!0,r=!1,a=void 0;try{for(var o,s=e.nodes[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value,l=n-new Date(1e3*c.last_req_time).getTime();c.online=l<36e4}}catch(u){r=!0,a=u}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}}}))}},{key:"deleteNode",value:function(e){var t=this;this.rpcService.getResponse("del_node",(function(){t.getNodes()}),e,null)}}]),e}()).\u0275fac=function(e){return new(e||FS)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},FS.\u0275cmp=i.Jb({type:FS,selectors:[["app-nodes"]],viewQuery:function(e,t){var n;1&e&&i.Sc(xS,!0),2&e&&i.zc(n=i.kc())&&(t.nodesPaginator=n.first)},decls:44,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click"],["matListIcon",""],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","last_ip"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","online"],["matColumnDef","version"],["matColumnDef","last_req_time"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["nodesPaginator",""],["matLine",""],[1,"wrapkey"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"],[1,"center_column"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.Wb(4,"span"),i.bc(5,nS),i.Vb(),i.Wb(6,"span"),i.Jc(7," \xa0\xa0\xa0\xa0 "),i.Vb(),i.Wb(8,"span"),i.Wb(9,"button",1),i.jc("click",(function(){return t.getNodes()})),i.Wb(10,"mat-icon",2),i.Jc(11,"refresh"),i.Vb(),i.Wb(12,"span"),i.bc(13,iS),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(14,"div",3),i.Wb(15,"mat-table",4,5),i.Ub(17,6),i.Ic(18,MS,2,0,"mat-header-cell",7),i.Ic(19,LS,2,1,"mat-cell",8),i.Tb(),i.Ub(20,9),i.Ic(21,OS,2,0,"mat-header-cell",7),i.Ic(22,AS,3,2,"mat-cell",8),i.Tb(),i.Ub(23,10),i.Ic(24,ES,2,0,"mat-header-cell",7),i.Ic(25,PS,2,1,"mat-cell",8),i.Tb(),i.Ub(26,11),i.Ic(27,RS,2,0,"mat-header-cell",12),i.Ic(28,IS,2,1,"mat-cell",13),i.Tb(),i.Ub(29,14),i.Ic(30,jS,2,0,"mat-header-cell",7),i.Ic(31,YS,3,0,"mat-cell",8),i.Tb(),i.Ic(32,VS,1,0,"mat-header-row",15),i.Ic(33,WS,1,0,"mat-row",16),i.Vb(),i.Rb(34,"mat-paginator",17,18),i.Vb(),i.Rb(36,"br"),i.Wb(37,"mat-card"),i.Wb(38,"h3"),i.bc(39,rS),i.Vb(),i.Wb(40,"p",19),i.bc(41,aS),i.Vb(),i.Wb(42,"span",20),i.Jc(43),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(15),i.sc("dataSource",t.nodesDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.nodesLength)("pageSize",20)("pageSizeOptions",i.wc(7,BS)),i.Cb(9),i.Kc(t.rpcService.hexNodesKey))},directives:[lf,_f,Mb,wS,Rh,Fh,Vh,jh,Nh,qh,nb,Pd,Bh,zh,z,Kh,$h],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.wrapkey[_ngcontent-%COMP%]{font-size:10px;font-family:Courier New,Courier,monospace;background-color:#f4f4f4;padding:5px;line-height:2em;word-break:break-all}"]}),FS);function NS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",4),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).node.last_ip=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.node.last_ip)("readonly",!0)}}function US(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).node.version=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.node.version)("readonly",!0)}}function qS(e,t){if(1&e&&(i.Wb(0,"mat-form-field"),i.Rb(1,"input",6),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.sc("value",n.getDate(n.node.last_req_time))("readonly",!0)}}function JS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",7),i.jc("click",(function(){i.Cc(n);var e=i.nc(2);return e.deleteNode(e.node.id)})),i.Jc(1,"Delete"),i.Vb()}if(2&e){var r=i.nc(2);i.sc("disabled",r.readOnlyValue)}}function KS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,HS),i.Vb(),i.Ic(4,NS,2,2,"mat-form-field",0),i.Ic(5,US,2,2,"mat-form-field",0),i.Ic(6,qS,2,2,"mat-form-field",0),i.Wb(7,"div"),i.Wb(8,"button",2),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(9),i.Vb(),i.Ic(10,JS,2,1,"button",3),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(4),i.sc("ngIf",r.node.id>0),i.Cb(1),i.sc("ngIf",r.node.id>0),i.Cb(1),i.sc("ngIf",r.node.id>0),i.Cb(3),i.Kc(r.readOnlyButtonText),i.Cb(1),i.sc("ngIf",r.node.id>0)}}HS=$localize(_templateObject115());var GS,$S,ZS,XS=((GS=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}return _createClass(e,[{key:"ngOnInit",value:function(){this.getNode()}},{key:"getNode",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_node",(function(e){null!=e&&(t.node=e)}),e)}else this.node=new Sc,this.node.id="0",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"deleteNode",value:function(e){this.rpcService.getResponse("del_node",(function(){}),e,null),this.router.navigate(["/nodes"])}}]),e}()).\u0275fac=function(e){return new(e||GS)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},GS.\u0275cmp=i.Jb({type:GS,selectors:[["app-node-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","","placeholder","Node IP",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Node Version",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Last Sync time",3,"value","readonly"],["mat-stroked-button","",3,"disabled","click"]],template:function(e,t){1&e&&i.Ic(0,KS,11,5,"div",0),2&e&&i.sc("ngIf",t.node)},directives:[z,_f,op,xp,At,Vt,ai],styles:["button[_ngcontent-%COMP%]{margin-right:5px}"]}),GS),QS=n("MO+k"),ex=["placeholder",$localize(_templateObject116())];$S=$localize(_templateObject117()),ZS=$localize(_templateObject118());var tx,nx,ix,rx,ax=["placeholder",$localize(_templateObject119())];function ox(e,t){if(1&e&&(i.Wb(0,"mat-option",10),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function sx(e,t){if(1&e&&(i.Wb(0,"mat-option",10),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function cx(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",2),i.Wb(1,"div",3),i.Wb(2,"mat-form-field"),i.Wb(3,"mat-select",4),i.dc(4,ex),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().selected_app_id=e})),i.Wb(5,"mat-option",5),i.bc(6,$S),i.Vb(),i.Ic(7,ox,2,2,"mat-option",6),i.Vb(),i.Vb(),i.Wb(8,"button",7),i.jc("click",(function(){return i.Cc(n),i.nc().statByAppID()})),i.bc(9,ZS),i.Vb(),i.Wb(10,"div",8),i.Wb(11,"canvas",9),i.Jc(12),i.Vb(),i.Vb(),i.Vb(),i.Wb(13,"div",3),i.Wb(14,"mat-form-field"),i.Wb(15,"mat-select",4),i.dc(16,ax),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().selected_vuln_id=e})),i.Wb(17,"mat-option",10),i.bc(18,tx),i.Vb(),i.Ic(19,sx,2,2,"mat-option",6),i.Vb(),i.Vb(),i.Wb(20,"button",7),i.jc("click",(function(){return i.Cc(n),i.nc().statByAppAndVuln()})),i.bc(21,nx),i.Vb(),i.Wb(22,"div",8),i.Wb(23,"canvas",11),i.Jc(24),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(3),i.sc("ngModel",r.selected_app_id),i.Cb(4),i.sc("ngForOf",r.rpcService.applications),i.Cb(5),i.Kc(r.todayVulnChart),i.Cb(3),i.sc("ngModel",r.selected_vuln_id),i.Cb(2),i.sc("value",0),i.Cb(2),i.sc("ngForOf",r.rpcService.vulntypes),i.Cb(5),i.Kc(r.weekCountChart)}}function lx(e,t){if(1&e&&(i.Wb(0,"div",2),i.Wb(1,"div",12),i.Wb(2,"div",13),i.Wb(3,"canvas",14),i.Jc(4),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(4),i.Kc(n.accessStatChart)}}function ux(e,t){if(1&e&&(i.Wb(0,"tr"),i.Wb(1,"td"),i.Jc(2),i.Vb(),i.Wb(3,"td"),i.Jc(4),i.Vb(),i.Wb(5,"td",21),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc(2);i.Cb(2),i.Lc(" ",r.getAppNameByID(n.app_id)," "),i.Cb(2),i.Lc(" ",n.url_path," "),i.Cb(2),i.Lc(" ",n.amount," ")}}function dx(e,t){if(1&e&&(i.Wb(0,"div",2),i.Wb(1,"div",15),i.Wb(2,"table",16),i.Wb(3,"caption"),i.bc(4,ix),i.Vb(),i.Wb(5,"tr"),i.Wb(6,"th",17),i.Jc(7,"Application"),i.Vb(),i.Wb(8,"th",18),i.Jc(9,"URL"),i.Vb(),i.Wb(10,"th",19),i.Jc(11,"Count"),i.Vb(),i.Vb(),i.Ic(12,ux,7,3,"tr",20),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(12),i.sc("ngForOf",n.pop_contents)}}function hx(e,t){if(1&e&&(i.Wb(0,"tr"),i.Wb(1,"td"),i.Wb(2,"a",23),i.Jc(3),i.Vb(),i.Vb(),i.Wb(4,"td",21),i.Jc(5),i.Vb(),i.Wb(6,"td",21),i.Jc(7),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc(2);i.Cb(2),i.vc("routerLink","/referring/",r.selected_app_id,"/",n.host,""),i.Cb(1),i.Lc(" ",n.host," "),i.Cb(2),i.Lc(" ",n.PV," "),i.Cb(2),i.Lc(" ",n.UV," ")}}function fx(e,t){if(1&e&&(i.Wb(0,"div",2),i.Wb(1,"div",15),i.Wb(2,"table",16),i.Wb(3,"caption"),i.bc(4,rx),i.Vb(),i.Wb(5,"tr"),i.Wb(6,"th",17),i.Jc(7,"Site"),i.Vb(),i.Wb(8,"th",22),i.Jc(9,"PV"),i.Vb(),i.Wb(10,"th",22),i.Jc(11,"UV"),i.Vb(),i.Vb(),i.Ic(12,hx,8,5,"tr",20),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(12),i.sc("ngForOf",n.referer_hosts)}}tx=$localize(_templateObject120()),nx=$localize(_templateObject121()),ix=$localize(_templateObject122()),rx=$localize(_templateObject123());var px,mx=((px=function(){function e(t,n,i){_classCallCheck(this,e),this.elementRef=t,this.rpcService=n,this.router=i,this.selected_app_id="0",this.selected_vuln_id=0}return _createClass(e,[{key:"initTodayChart",value:function(){var e=this.elementRef.nativeElement.querySelector("#today_canvas");null!=this.todayVulnChart&&this.todayVulnChart.destroy(),this.todayVulnChart=new QS.Chart(e,{type:"doughnut",data:{labels:this.today_stat_vuln_name,datasets:[{data:this.today_stat_count,backgroundColor:this.today_stat_bgcolor,borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Today Attack Statistics",display:!0},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]}}})}},{key:"initWeekChart",value:function(){var e=this;setTimeout((function(){var t=e.elementRef.nativeElement.querySelector("#week_canvas");null!=e.weekCountChart&&e.weekCountChart.destroy(),e.weekCountChart=new QS.Chart(t,{type:"bar",data:{labels:e.week_stat_date,datasets:[{label:"Count",data:e.week_stat_count,backgroundColor:"rgba(250,10,10,0.8)",borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Week Attack Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})}),300)}},{key:"initAccessStatChart",value:function(){var e=this;setTimeout((function(){var t=e.elementRef.nativeElement.querySelector("#stat_canvas");null!=e.accessStatChart&&e.accessStatChart.destroy(),e.accessStatChart=new QS.Chart(t,{type:"line",data:{labels:e.access_stat_date,datasets:[{label:"Count",lineTension:0,fill:!1,data:e.access_stat_count,borderColor:"rgba(00, 95, 200, 1.0)",borderWidth:1}]},options:{maintainAspectRatio:!1,legend:{display:!0,position:"bottom"},title:{text:"Access Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})}),300)}},{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged){if(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),0==this.rpcService.vulntypes.length){var e=this;this.rpcService.getVulnTypes((function(){e.getTodayVulnStat("0"),e.getWeekStat("0",0),e.getAccessStat("0"),e.getPopContents("0"),e.getRefererHosts("0")}))}else this.getTodayVulnStat("0"),this.getWeekStat("0",0),this.getAccessStat("0"),this.getPopContents("0"),this.getRefererHosts("0");0==this.rpcService.applications.length&&this.rpcService.getApplications(),this.initWeekChart(),this.initAccessStatChart()}else this.router.navigate(["/"])}},{key:"getVulnNameByID",value:function(e){return this.rpcService.vulntypemap[e]}},{key:"getAppNameByID",value:function(e){return this.rpcService.appmap[e]}},{key:"getTodayVulnStat",value:function(e){var t=new Date;t.setHours(0,0,0,0);var n=new Date;n.setHours(23,59,59,0);var i=t.getTime()/1e3,r=n.getTime()/1e3+1;this.today_stat_vuln_name=[],this.today_stat_count=[],this.today_stat_counts=0,this.today_stat_bgcolor=[];var a=this;this.rpcService.getResponseByCustomBody({action:"get_vuln_stat",app_id:e,start_time:i,end_time:r},(function(e){null==e&&(e=[]);var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var s=r.value,c=a.getVulnNameByID(s.vuln_id);a.today_stat_vuln_name.push(c),a.today_stat_count.push(s.count),a.today_stat_counts+=s.count,a.today_stat_bgcolor.push(a.getColorString(s.vuln_id))}}catch(l){n=!0,i=l}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}0==a.today_stat_counts&&(a.today_stat_vuln_name.push("None"),a.today_stat_count.push(1e-9)),a.initTodayChart()}))}},{key:"getWeekStat",value:function(e,t){var n=new Date;n.setHours(0,0,0,0);var i=n.getTime()-5184e5;this.week_stat_date=[];for(var r=0;r<7;r++){var a=new Date(i+864e5*r);this.week_stat_date.push(a.toLocaleDateString())}var o=this;this.rpcService.getResponseByCustomBody({action:"get_week_stat",app_id:e,vuln_id:t,start_time:i/1e3},(function(e){null==e&&(e=[0,0,0,0,0,0,0]),o.week_stat_count=e,o.initWeekChart()}))}},{key:"getAccessStat",value:function(e){var t=new Date;t.setHours(0,0,0,0);var n=t.getTime()-11232e5;this.access_stat_date=[];for(var i=0;i<14;i++){var r=new Date(n+864e5*i);this.access_stat_date.push(r.toLocaleDateString())}var a=this;this.rpcService.getResponseByCustomBody({action:"get_access_stat",app_id:e},(function(e){null==e&&(e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0]),a.access_stat_count=e,a.initAccessStatChart()}))}},{key:"getPopContents",value:function(e){var t=this;this.rpcService.getResponseByCustomBody({action:"get_pop_contents",app_id:e},(function(e){t.pop_contents=e}))}},{key:"getRefererHosts",value:function(e){var t=this;this.rpcService.getResponseByCustomBody({action:"get_referer_hosts",app_id:e},(function(e){t.referer_hosts=e}))}},{key:"getColorString",value:function(e){return"rgba("+60*e%256+","+50*e%256+","+50*e%256+",0.9)"}},{key:"statByAppID",value:function(){this.getTodayVulnStat(this.selected_app_id),this.statByAppAndVuln(),this.getAccessStat(this.selected_app_id),this.getPopContents(this.selected_app_id),this.getRefererHosts(this.selected_app_id)}},{key:"statByAppAndVuln",value:function(){this.getWeekStat(this.selected_app_id,this.selected_vuln_id)}}]),e}()).\u0275fac=function(e){return new(e||px)(i.Pb(i.l),i.Pb(Ec),i.Pb(As))},px.\u0275cmp=i.Jb({type:px,selectors:[["app-dashboard"]],decls:6,vars:4,consts:[[1,"container"],["fxLayout","row wrap",4,"ngIf"],["fxLayout","row wrap"],["fxFlex","50%"],[3,"ngModel","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],[1,"myChart"],["id","today_canvas"],[3,"value"],["id","week_canvas"],["fxFlex","100%"],[1,"statChart"],["id","stat_canvas"],["fxFlex","100%",1,"access_div"],[1,"top_access_table"],["width","30%"],["width","60%"],["width","10%"],[4,"ngFor","ngForOf"],[1,"td-align-center"],["width","35%"],[3,"routerLink"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Ic(1,cx,25,7,"div",1),i.Ic(2,lx,5,1,"div",1),i.Ic(3,dx,13,1,"div",1),i.Rb(4,"br"),i.Ic(5,fx,13,1,"div",1),i.Vb()),2&e&&(i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(2),i.sc("ngIf",t.rpcService.auth_user.logged))},directives:[z,mk,Lk,op,k_,Vt,ai,ah,H,_f,Es],styles:['.container[_ngcontent-%COMP%], .mat-form-field[_ngcontent-%COMP%], .mat-option[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%], button[_ngcontent-%COMP%], div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;font-size:14px}button[_ngcontent-%COMP%]{margin-left:10px}.myChart[_ngcontent-%COMP%], .statChart[_ngcontent-%COMP%]{background-color:#e5e5e5;margin:15px}.statChart[_ngcontent-%COMP%]{height:300px}.access_div[_ngcontent-%COMP%]{padding:0 15px}.top_access_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.top_access_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.top_access_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.top_access_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}']}),px);function _x(e,t){}var bx=function e(){_classCallCheck(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},gx={dialogContainer:Object(Xe.n)("dialogContainer",[Object(Xe.k)("void, exit",Object(Xe.l)({opacity:0,transform:"scale(0.7)"})),Object(Xe.k)("enter",Object(Xe.l)({transform:"none"})),Object(Xe.m)("* => enter",Object(Xe.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({transform:"none",opacity:1}))),Object(Xe.m)("* => void, * => exit",Object(Xe.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(Xe.l)({opacity:0})))])};function vx(){throw Error("Attempting to attach dialog content after content is already attached")}var yx,kx,wx,Cx,Sx,xx,Mx=((yx=function(e){function t(e,n,r,a,o){var s;return _classCallCheck(this,t),(s=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._elementRef=e,s._focusTrapFactory=n,s._changeDetectorRef=r,s._config=o,s._elementFocusedBeforeDialogWasOpened=null,s._state="enter",s._animationStateChanged=new i.o,s.attachDomPortal=function(e){return s._portalOutlet.hasAttached()&&vx(),s._savePreviouslyFocusedElement(),s._portalOutlet.attachDomPortal(e)},s._ariaLabelledBy=o.ariaLabelledBy||null,s._document=a,s}return _inherits(t,e),_createClass(t,[{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached()&&vx(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached()&&vx(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_trapFocus",value:function(){var e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var t=this._document.activeElement;t===e||e.contains(t)||e.focus()}}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._document.activeElement,n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var e=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e._elementRef.nativeElement.focus()})))}},{key:"_onAnimationDone",value:function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),t}(am)).\u0275fac=function(e){return new(e||yx)(i.Pb(i.l),i.Pb(ju),i.Pb(i.h),i.Pb(s,8),i.Pb(bx))},yx.\u0275cmp=i.Jb({type:yx,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var n;1&e&&i.Gc(cm,!0),2&e&&i.zc(n=i.kc())&&(t._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.Hb("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(i.Db("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.Rc("@dialogContainer",t._state))},features:[i.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.Ic(0,_x,0,0,"ng-template",0)},directives:[cm],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[gx.dialogContainer]}}),yx),Lx=0,Ox=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(Lx++);_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new dr.a,this._afterClosed=new dr.a,this._beforeClosed=new dr.a,this._state=0,n._id=r,n._animationStateChanged.pipe(ki((function(e){return"done"===e.phaseName&&"enter"===e.toState})),zr(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),n._animationStateChanged.pipe(ki((function(e){return"done"===e.phaseName&&"exit"===e.toState})),zr(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._overlayRef.dispose()})),t.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),t.keydownEvents().pipe(ki((function(e){return 27===e.keyCode&&!i.disableClose&&!iu(e)}))).subscribe((function(e){e.preventDefault(),i.close()}))}return _createClass(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(ki((function(e){return"start"===e.phaseName})),zr(1)).subscribe((function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._state=2,t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout((function(){t._overlayRef.dispose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}(),Dx=new i.r("MatDialogData"),Tx=new i.r("mat-dialog-default-options"),Ax=new i.r("mat-dialog-scroll-strategy"),Ex={provide:Ax,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},Px=((xx=function(){function e(t,n,i,r,a,o,s){var c=this;_classCallCheck(this,e),this._overlay=t,this._injector=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new dr.a,this._afterOpenedAtThisLevel=new dr.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Cr((function(){return c.openDialogs.length?c._afterAllClosed:c._afterAllClosed.pipe(Qr(void 0))})),this._scrollStrategy=a}return _createClass(e,[{key:"open",value:function(e,t){var n=this;if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new bx)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'.concat(t.id,'" exists already. The dialog id must be unique.'));var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),a=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe((function(){return n._removeOpenDialog(a)})),this.afterOpened.next(a),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find((function(t){return t.id===e}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new wm({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=new hm(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[bx,t]])),i=new nm(Mx,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,r){var a=new Ox(n,t,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe((function(){a.disableClose||a.close()})),e instanceof i.M)t.attachTemplatePortal(new im(e,null,{$implicit:r.data,dialogRef:a}));else{var o=this._createInjector(r,a,t),s=t.attachComponentPortal(new nm(e,r.viewContainerRef,o));a.componentInstance=s.instance}return a.updateSize(r.width,r.height).updatePosition(r.position),a}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=new WeakMap([[Mx,n],[Dx,e.data],[Ox,t]]);return!e.direction||i&&i.get(Jc,null)||r.set(Jc,{value:e.direction,change:bi()}),new hm(i||this._injector,r)}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}},{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_afterAllClosed",get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}}]),e}()).\u0275fac=function(e){return new(e||xx)(i.fc(qm),i.fc(i.s),i.fc(L,8),i.fc(Tx,8),i.fc(Ax),i.fc(xx,12),i.fc(Am))},xx.\u0275prov=i.Lb({token:xx,factory:xx.\u0275fac}),xx),Rx=0,Ix=((Sx=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=i,this.type="button"}return _createClass(e,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=Wx(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}}]),e}()).\u0275fac=function(e){return new(e||Sx)(i.Pb(Ox,8),i.Pb(i.l),i.Pb(Px))},Sx.\u0275dir=i.Kb({type:Sx,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.jc("click",(function(){return t.dialogRef.close(t.dialogResult)})),2&e&&i.Db("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[i.Ab()]}),Sx),jx=((Cx=function(){function e(t,n,i){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-".concat(Rx++)}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=Wx(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)}))}}]),e}()).\u0275fac=function(e){return new(e||Cx)(i.Pb(Ox,8),i.Pb(i.l),i.Pb(Px))},Cx.\u0275dir=i.Kb({type:Cx,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.ac("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),Cx),Yx=((wx=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||wx)},wx.\u0275dir=i.Kb({type:wx,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),wx),Vx=((kx=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||kx)},kx.\u0275dir=i.Kb({type:kx,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),kx);function Wx(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find((function(e){return e.id===n.id})):null}var Fx,Hx=((Fx=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Fx}),Fx.\u0275inj=i.Mb({factory:function(e){return new(e||Fx)},providers:[Px,Ex],imports:[[Xm,dm,cd],cd]}),Fx),Bx=["mat-calendar-body",""];function zx(e,t){if(1&e&&(i.Wb(0,"tr",2),i.Wb(1,"td",3),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(1),i.Hc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),i.Db("colspan",n.numCols),i.Cb(1),i.Lc(" ",n.label," ")}}function Nx(e,t){if(1&e&&(i.Wb(0,"td",7),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.Hc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),i.Db("colspan",n._firstRowOffset),i.Cb(1),i.Lc(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function Ux(e,t){if(1&e){var n=i.Yb();i.Wb(0,"td",8),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc(2)._cellClicked(e)})),i.Wb(1,"div",9),i.Jc(2),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc().index,s=i.nc();i.Hc("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),i.Gb("mat-calendar-body-disabled",!r.enabled)("mat-calendar-body-active",s._isActiveCell(o,a)),i.sc("ngClass",r.cssClasses)("tabindex",s._isActiveCell(o,a)?0:-1),i.Db("aria-label",r.ariaLabel)("aria-disabled",!r.enabled||null)("aria-selected",s.selectedValue===r.value),i.Cb(1),i.Gb("mat-calendar-body-selected",s.selectedValue===r.value)("mat-calendar-body-today",s.todayValue===r.value),i.Cb(1),i.Lc(" ",r.displayValue," ")}}function qx(e,t){if(1&e&&(i.Wb(0,"tr",4),i.Ic(1,Nx,2,6,"td",5),i.Ic(2,Ux,3,20,"td",6),i.Vb()),2&e){var n=t.$implicit,r=t.index,a=i.nc();i.Cb(1),i.sc("ngIf",0===r&&a._firstRowOffset),i.Cb(1),i.sc("ngForOf",n)}}function Jx(e,t){if(1&e&&(i.Wb(0,"th",5),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Db("aria-label",n.long),i.Cb(1),i.Kc(n.narrow)}}var Kx=["*"];function Gx(e,t){}function $x(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-month-view",5),i.jc("activeDateChange",(function(e){return i.Cc(n),i.nc().activeDate=e}))("selectedChange",(function(e){return i.Cc(n),i.nc()._dateSelected(e)}))("_userSelection",(function(){return i.Cc(n),i.nc()._userSelected()})),i.Vb()}if(2&e){var r=i.nc();i.sc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function Zx(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-year-view",6),i.jc("activeDateChange",(function(e){return i.Cc(n),i.nc().activeDate=e}))("monthSelected",(function(e){return i.Cc(n),i.nc()._monthSelectedInYearView(e)}))("selectedChange",(function(e){return i.Cc(n),i.nc()._goToDateInView(e,"month")})),i.Vb()}if(2&e){var r=i.nc();i.sc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)}}function Xx(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-multi-year-view",7),i.jc("activeDateChange",(function(e){return i.Cc(n),i.nc().activeDate=e}))("yearSelected",(function(e){return i.Cc(n),i.nc()._yearSelectedInMultiYearView(e)}))("selectedChange",(function(e){return i.Cc(n),i.nc()._goToDateInView(e,"year")})),i.Vb()}if(2&e){var r=i.nc();i.sc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)}}var Qx=["button"];function eM(e,t){1&e&&(i.mc(),i.Wb(0,"svg",3),i.Rb(1,"path",4),i.Vb())}var tM=[[["","matDatepickerToggleIcon",""]]],nM=["[matDatepickerToggleIcon]"];function iM(e){return Error("MatDatepicker: No provider found for ".concat(e,". You must import one of the following ")+"modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}var rM,aM,oM,sM,cM=((rM=function(){function e(){_classCallCheck(this,e),this.changes=new dr.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return _createClass(e,[{key:"formatYearRange",value:function(e,t){return"".concat(e," \u2013 ").concat(t)}}]),e}()).\u0275fac=function(e){return new(e||rM)},rM.\u0275prov=Object(i.Lb)({factory:function(){return new rM},token:rM,providedIn:"root"}),rM),lM=function e(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};_classCallCheck(this,e),this.value=t,this.displayValue=n,this.ariaLabel=i,this.enabled=r,this.cssClasses=a},uM=((sM=function(){function e(t,n){_classCallCheck(this,e),this._elementRef=t,this._ngZone=n,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new i.o}return _createClass(e,[{key:"_cellClicked",value:function(e){e.enabled&&this.selectedValueChange.emit(e.value)}},{key:"ngOnChanges",value:function(e){var t=e.numCols,n=this.rows,i=this.numCols;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding="".concat(50*this.cellAspectRatio/i,"%")),!t&&this._cellWidth||(this._cellWidth="".concat(100/i,"%"))}},{key:"_isActiveCell",value:function(e,t){var n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){var t=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()}))}))}}]),e}()).\u0275fac=function(e){return new(e||sM)(i.Pb(i.l),i.Pb(i.A))},sM.\u0275cmp=i.Jb({type:sM,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[i.Ab()],attrs:Bx,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell mat-focus-indicator","role","button",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell","role","button",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(i.Ic(0,zx,3,6,"tr",0),i.Ic(1,qx,3,2,"tr",1)),2&e&&(i.sc("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n"],encapsulation:2,changeDetection:0}),sM),dM=((oM=function(){function e(t,n,r,a){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=r,this._dir=a,this._rerenderSubscription=la.a.EMPTY,this.selectedChange=new i.o,this._userSelection=new i.o,this.activeDateChange=new i.o,!this._dateAdapter)throw iM("DateAdapter");if(!this._dateFormats)throw iM("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qr(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(e){if(this._selectedDate!=e){var t=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(t,n,e);this.selectedChange.emit(i)}this._userSelection.emit()}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map((function(e,n){return{long:e,narrow:t[n]}}));this._weekdays=n.slice(e).concat(n.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}}]),e}()).\u0275fac=function(e){return new(e||oM)(i.Pb(i.h),i.Pb(bd,8),i.Pb(_d,8),i.Pb(Jc,8))},oM.\u0275cmp=i.Jb({type:oM,selectors:[["mat-month-view"]],viewQuery:function(e,t){var n;1&e&&i.Sc(uM,!0),2&e&&i.zc(n=i.kc())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(i.Wb(0,"table",0),i.Wb(1,"thead",1),i.Wb(2,"tr"),i.Ic(3,Jx,2,2,"th",2),i.Vb(),i.Wb(4,"tr"),i.Rb(5,"th",3),i.Vb(),i.Vb(),i.Wb(6,"tbody",4),i.jc("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),i.Vb(),i.Vb()),2&e&&(i.Cb(3),i.sc("ngForOf",t._weekdays),i.Cb(3),i.sc("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[H,uM],encapsulation:2,changeDetection:0}),oM),hM=((aM=function(){function e(t,n,r){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateAdapter=n,this._dir=r,this._rerenderSubscription=la.a.EMPTY,this.selectedChange=new i.o,this.yearSelected=new i.o,this.activeDateChange=new i.o,!this._dateAdapter)throw iM("DateAdapter");this._activeDate=this._dateAdapter.today()}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qr(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate)-pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<24;n++)i.push(t+n),4==i.length&&(this._years.push(i.map((function(t){return e._createCellForYear(t)}))),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var t=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_getActiveCell",value:function(){return pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(e){var t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new lM(e,t,t,this._shouldEnableYear(e))}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&en||e===n&&t>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,t){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e enter",Object(Xe.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({opacity:1,transform:"scale(1, 1)"}))),Object(Xe.m)("* => void",Object(Xe.e)("100ms linear",Object(Xe.l)({opacity:0})))]),fadeInCalendar:Object(Xe.n)("fadeInCalendar",[Object(Xe.k)("void",Object(Xe.l)({opacity:0})),Object(Xe.k)("enter",Object(Xe.l)({opacity:1})),Object(Xe.m)("void => *",Object(Xe.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},TM=0,AM=new i.r("mat-datepicker-scroll-strategy"),EM={provide:AM,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},PM=ud((function e(t){_classCallCheck(this,e),this._elementRef=t})),RM=((yM=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._changeDetectorRef=n,i._animationState="enter",i._animationDone=new dr.a,i}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._animationDone.complete()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}]),t}(PM)).\u0275fac=function(e){return new(e||yM)(i.Pb(i.l),i.Pb(i.h))},yM.\u0275cmp=i.Jb({type:yM,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var n;1&e&&i.Sc(OM,!0),2&e&&i.zc(n=i.kc())&&(t._calendar=n.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&i.Hb("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(i.Rc("@transformPanel",t._animationState),i.Gb("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[i.zb],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(i.Wb(0,"mat-calendar",0),i.jc("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(){return t.datepicker.close()})),i.Vb()),2&e&&i.sc("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[OM,Yu,W],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[DM.transformPanel,DM.fadeInCalendar]},changeDetection:0}),yM),IM=((vM=function(){function e(t,n,r,a,o,s,c,l){if(_classCallCheck(this,e),this._dialog=t,this._overlay=n,this._ngZone=r,this._viewContainerRef=a,this._dateAdapter=s,this._dir=c,this._document=l,this.startView="month",this._touchUi=!1,this.yearSelected=new i.o,this.monthSelected=new i.o,this.openedStream=new i.o,this.closedStream=new i.o,this._opened=!1,this.id="mat-datepicker-".concat(TM++),this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=la.a.EMPTY,this._disabledChange=new dr.a,this._selectedChanged=new dr.a,!this._dateAdapter)throw iM("DateAdapter");this._scrollStrategy=o}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}},{key:"select",value:function(e){var t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_registerInput",value:function(e){var t=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(e){return t._selected=e}))}},{key:"open",value:function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}},{key:"close",value:function(){var e=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(zr(1)).subscribe((function(){return e._destroyPopup()}))}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var n=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(n)):n()}}},{key:"_openAsDialog",value:function(){var e=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(RM,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe((function(){return e.close()})),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}},{key:"_openAsPopup",value:function(){var e=this,t=new nm(RM,this._viewContainerRef);this._destroyPopup(),this._createPopup();var n=this._popupComponentRef=this._popupRef.attach(t);n.instance.datepicker=this,n.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){e._popupRef.updatePosition()}))}},{key:"_createPopup",value:function(){var e=this,t=new wm({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(Ah.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(ki((function(t){return 27===t.keyCode||e._datepickerInput&&t.altKey&&38===t.keyCode})))).subscribe((function(t){t&&t.preventDefault(),e.close()}))}},{key:"_destroyPopup",value:function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}},{key:"_createPopupPositionStrategy",value:function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"startAt",get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=Pc(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(e){var t=Pc(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}},{key:"opened",get:function(){return this._opened},set:function(e){e?this.open():this.close()}},{key:"_selected",get:function(){return this._validSelected},set:function(e){this._validSelected=e}},{key:"_minDate",get:function(){return this._datepickerInput&&this._datepickerInput.min}},{key:"_maxDate",get:function(){return this._datepickerInput&&this._datepickerInput.max}},{key:"_dateFilter",get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter}}]),e}()).\u0275fac=function(e){return new(e||vM)(i.Pb(Px),i.Pb(qm),i.Pb(i.A),i.Pb(i.P),i.Pb(AM),i.Pb(_d,8),i.Pb(Jc,8),i.Pb(s,8))},vM.\u0275cmp=i.Jb({type:vM,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),vM),jM={provide:Mt,useExisting:Object(i.U)((function(){return WM})),multi:!0},YM={provide:Ft,useExisting:Object(i.U)((function(){return WM})),multi:!0},VM=function e(t,n){_classCallCheck(this,e),this.target=t,this.targetElement=n,this.value=this.target.value},WM=((SM=function(){function e(t,n,r,a){var o=this;if(_classCallCheck(this,e),this._elementRef=t,this._dateAdapter=n,this._dateFormats=r,this._formField=a,this.dateChange=new i.o,this.dateInput=new i.o,this._valueChange=new i.o,this._disabledChange=new i.o,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=la.a.EMPTY,this._localeSubscription=la.a.EMPTY,this._parseValidator=function(){return o._lastValueValid?null:{matDatepickerParse:{text:o._elementRef.nativeElement.value}}},this._minValidator=function(e){var t=o._getValidDateOrNull(o._dateAdapter.deserialize(e.value));return!o.min||!t||o._dateAdapter.compareDate(o.min,t)<=0?null:{matDatepickerMin:{min:o.min,actual:t}}},this._maxValidator=function(e){var t=o._getValidDateOrNull(o._dateAdapter.deserialize(e.value));return!o.max||!t||o._dateAdapter.compareDate(o.max,t)>=0?null:{matDatepickerMax:{max:o.max,actual:t}}},this._filterValidator=function(e){var t=o._getValidDateOrNull(o._dateAdapter.deserialize(e.value));return o._dateFilter&&t&&!o._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=zt.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw iM("DateAdapter");if(!this._dateFormats)throw iM("MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe((function(){o.value=o.value}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}},{key:"registerOnValidatorChange",value:function(e){this._validatorOnChange=e}},{key:"validate",value:function(e){return this._validator?this._validator(e):null}},{key:"getPopupConnectionElementRef",value:function(){return this.getConnectedOverlayOrigin()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._cvaOnChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_onKeydown",value:function(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}},{key:"_onInput",value:function(e){var t=this._lastValueValid,n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n),this._dateAdapter.sameDate(n,this._value)?t!==this._lastValueValid&&this._validatorOnChange():(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new VM(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new VM(this,this._elementRef.nativeElement))}},{key:"_getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"matDatepicker",set:function(e){var t=this;e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe((function(e){t.value=e,t._cvaOnChange(e),t._onTouched(),t.dateInput.emit(new VM(t,t._elementRef.nativeElement)),t.dateChange.emit(new VM(t,t._elementRef.nativeElement))})))}},{key:"matDatepickerFilter",set:function(e){this._dateFilter=e,this._validatorOnChange()}},{key:"value",get:function(){return this._value},set:function(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);var t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}},{key:"min",get:function(){return this._min},set:function(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"max",get:function(){return this._max},set:function(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"disabled",get:function(){return!!this._disabled},set:function(e){var t=Pc(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&n.blur&&n.blur()}}]),e}()).\u0275fac=function(e){return new(e||SM)(i.Pb(i.l),i.Pb(_d,8),i.Pb(bd,8),i.Pb(op,8))},SM.\u0275dir=i.Kb({type:SM,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&i.jc("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(i.ac("disabled",t.disabled),i.Db("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[i.Bb([jM,YM,{provide:kp,useExisting:SM}])]}),SM),FM=((CM=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||CM)},CM.\u0275dir=i.Kb({type:CM,selectors:[["","matDatepickerToggleIcon",""]]}),CM),HM=((wM=function(){function e(t,n,i){_classCallCheck(this,e),this._intl=t,this._changeDetectorRef=n,this._stateChanges=la.a.EMPTY;var r=Number(i);this.tabIndex=r||0===r?r:null}return _createClass(e,[{key:"ngOnChanges",value:function(e){e.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}},{key:"_watchStateChanges",value:function(){var e=this,t=this.datepicker?this.datepicker._disabledChange:bi(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:bi(),i=this.datepicker?Object(Ah.a)(this.datepicker.openedStream,this.datepicker.closedStream):bi();this._stateChanges.unsubscribe(),this._stateChanges=Object(Ah.a)(this._intl.changes,t,n,i).subscribe((function(){return e._changeDetectorRef.markForCheck()}))}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=Pc(e)}}]),e}()).\u0275fac=function(e){return new(e||wM)(i.Pb(cM),i.Pb(i.h),i.gc("tabindex"))},wM.\u0275cmp=i.Jb({type:wM,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,FM,!0),2&e&&i.zc(r=i.kc())&&(t._customIcon=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(Qx,!0),2&e&&i.zc(n=i.kc())&&(t._button=n.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&i.jc("focus",(function(){return t._button.focus()})),2&e&&(i.Db("tabindex",t.disabled?null:-1),i.Gb("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[i.Ab()],ngContentSelectors:nM,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(i.rc(tM),i.Wb(0,"button",0,1),i.jc("click",(function(e){return t._open(e)})),i.Ic(2,eM,2,0,"svg",2),i.qc(3),i.Vb()),2&e&&(i.sc("disabled",t.disabled)("disableRipple",t.disableRipple),i.Db("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),i.Cb(2),i.sc("ngIf",!t._customIcon))},directives:[_f,z],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),wM),BM=((kM=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:kM}),kM.\u0275inj=i.Mb({factory:function(e){return new(e||kM)},providers:[cM,EM],imports:[[ae,gf,Hx,Xm,Qu,dm]]}),kM),zM=["placeholder",$localize(_templateObject124())],NM=["placeholder",$localize(_templateObject125())],UM=["placeholder",$localize(_templateObject126())];function qM(e,t){if(1&e&&(i.Wb(0,"mat-option",25),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function JM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function KM(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",26),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/log/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function GM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Time "),i.Vb())}function $M(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getDate(n.request_time)," ")}}function ZM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Client IP "),i.Vb())}function XM(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.client_ip," ")}}function QM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Method "),i.Vb())}function eL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.method," ")}}function tL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Host "),i.Vb())}function nL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.host," ")}}function iL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," URL Path "),i.Vb())}function rL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.url_path," ")}}function aL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Action "),i.Vb())}function oL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getPolicyActionEnumString(n.action)," ")}}function sL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," PolicyID "),i.Vb())}function cL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.policy_id," ")}}function lL(e,t){1&e&&i.Rb(0,"mat-header-row")}function uL(e,t){1&e&&i.Rb(0,"mat-row")}xM=$localize(_templateObject127());var dL,hL,fL,pL=function(){return[10,20,50]},mL=((dL=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action","policy_id"]}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.regexLogDataSource=new _L(this.rpcService),this.rpcService.lastRegexLogs.length>0&&(this.regexLogDataSource.loadLast(),this.app_id=this.rpcService.lastRegexLogs.app_id,this.start_date=this.rpcService.lastRegexLogs.start_date,this.end_date=this.rpcService.lastRegexLogs.end_date,this.pageLength=this.rpcService.lastRegexLogs.length,this.pageIndex=this.rpcService.lastRegexLogs.page_index)}else this.router.navigate(["/"])}},{key:"getRegexLogsCount",value:function(e,t,n){var i={action:"get_regex_logs_count",app_id:e,start_time:t,end_time:n},r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(i,(function(e){null!=e&&(r.paginator.length=e.count,r.regexLogDataSource.loadLogs(r.app_id,t,n,0,r.request_count),r.rpcService.lastRegexLogs.length=e.count)}))}},{key:"queryRegexLogs",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getRegexLogsCount(this.app_id,e,t)}},{key:"pageChanged",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.regexLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||dL)(i.Pb(Ec),i.Pb(As),i.Pb(Tc))},dL.\u0275cmp=i.Jb({type:dL,selectors:[["app-logs"]],viewQuery:function(e,t){var n;1&e&&i.Sc(nb,!0),2&e&&i.zc(n=i.kc())&&(t.paginator=n.first)},decls:51,vars:17,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageIndex","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-form-field"),i.Wb(3,"mat-select",1),i.dc(4,zM),i.jc("ngModelChange",(function(e){return t.app_id=e})),i.Ic(5,qM,2,2,"mat-option",2),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",3),i.dc(8,NM),i.jc("ngModelChange",(function(e){return t.start_date=e})),i.Vb(),i.Rb(9,"mat-datepicker-toggle",4),i.Rb(10,"mat-datepicker",null,5),i.Vb(),i.Wb(12,"mat-form-field"),i.Wb(13,"input",3),i.dc(14,UM),i.jc("ngModelChange",(function(e){return t.end_date=e})),i.Vb(),i.Rb(15,"mat-datepicker-toggle",4),i.Rb(16,"mat-datepicker",null,6),i.Vb(),i.Wb(18,"button",7),i.jc("click",(function(){return t.queryRegexLogs()})),i.bc(19,xM),i.Vb(),i.Vb(),i.Wb(20,"div",8),i.Wb(21,"mat-table",9,10),i.Ub(23,11),i.Ic(24,JM,2,0,"mat-header-cell",12),i.Ic(25,KM,3,2,"mat-cell",13),i.Tb(),i.Ub(26,14),i.Ic(27,GM,2,0,"mat-header-cell",12),i.Ic(28,$M,2,1,"mat-cell",13),i.Tb(),i.Ub(29,15),i.Ic(30,ZM,2,0,"mat-header-cell",12),i.Ic(31,XM,2,1,"mat-cell",13),i.Tb(),i.Ub(32,16),i.Ic(33,QM,2,0,"mat-header-cell",12),i.Ic(34,eL,2,1,"mat-cell",13),i.Tb(),i.Ub(35,17),i.Ic(36,tL,2,0,"mat-header-cell",12),i.Ic(37,nL,2,1,"mat-cell",13),i.Tb(),i.Ub(38,18),i.Ic(39,iL,2,0,"mat-header-cell",12),i.Ic(40,rL,2,1,"mat-cell",13),i.Tb(),i.Ub(41,19),i.Ic(42,aL,2,0,"mat-header-cell",12),i.Ic(43,oL,2,1,"mat-cell",13),i.Tb(),i.Ub(44,20),i.Ic(45,sL,2,0,"mat-header-cell",12),i.Ic(46,cL,2,1,"mat-cell",13),i.Tb(),i.Ic(47,lL,1,0,"mat-header-row",21),i.Ic(48,uL,1,0,"mat-row",22),i.Vb(),i.Wb(49,"mat-paginator",23,24),i.jc("page",(function(){return t.pageChanged()})),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.Ac(11),r=i.Ac(17);i.Cb(3),i.sc("ngModel",t.app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(2),i.sc("ngModel",t.start_date)("matDatepicker",n),i.Cb(2),i.sc("for",n),i.Cb(4),i.sc("ngModel",t.end_date)("matDatepicker",r),i.Cb(2),i.sc("for",r),i.Cb(6),i.sc("dataSource",t.regexLogDataSource),i.Cb(26),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.pageLength)("pageSize",20)("pageIndex",t.pageIndex)("pageSizeOptions",i.wc(16,pL))("showFirstLastButtons",!0)}},directives:[op,k_,Vt,ai,H,xp,At,WM,HM,np,IM,_f,Rh,Fh,Vh,jh,Nh,qh,nb,ah,Bh,zh,Es,Kh,$h],styles:[""]}),dL),_L=function(){function e(t){_classCallCheck(this,e),this.rpcService=t,this.logsSubject=new fr([]),this.loadingSubject=new fr(!1),this.loading$=this.loadingSubject.asObservable()}return _createClass(e,[{key:"connect",value:function(e){return this.logsSubject.asObservable()}},{key:"disconnect",value:function(e){this.logsSubject.complete(),this.loadingSubject.complete()}},{key:"loadLogs",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4?arguments[4]:void 0;this.loadingSubject.next(!0);var a=this;this.rpcService.getResponseByCustomBody({action:"get_regex_logs",app_id:e,start_time:t,end_time:n,request_count:r,offset:i*r},(function(r){null!=r&&(a.logsSubject.next(r),a.rpcService.lastRegexLogs.app_id=e,a.rpcService.lastRegexLogs.start_date=new Date(1e3*t),a.rpcService.lastRegexLogs.end_date=new Date(1e3*(n-1)),a.rpcService.lastRegexLogs.page_index=i,a.rpcService.lastRegexLogs.regex_logs=r)}))}},{key:"loadLast",value:function(){this.logsSubject.next(this.rpcService.lastRegexLogs.regex_logs)}}]),e}();function bL(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,hL),i.Vb(),i.Wb(4,"mat-form-field"),i.Rb(5,"input",2),i.Vb(),i.Wb(6,"mat-form-field"),i.Rb(7,"input",3),i.Vb(),i.Wb(8,"mat-form-field"),i.Rb(9,"input",4),i.Vb(),i.Wb(10,"mat-form-field"),i.Rb(11,"input",5),i.Vb(),i.Wb(12,"mat-form-field"),i.Rb(13,"input",6),i.Vb(),i.Wb(14,"mat-form-field"),i.Rb(15,"input",7),i.Vb(),i.Wb(16,"mat-form-field"),i.Rb(17,"input",8),i.Vb(),i.Wb(18,"mat-form-field"),i.Rb(19,"textarea",9),i.Vb(),i.Wb(20,"mat-form-field"),i.Rb(21,"input",10),i.Vb(),i.Wb(22,"mat-form-field"),i.Rb(23,"textarea",11),i.Vb(),i.Wb(24,"mat-form-field"),i.Rb(25,"input",12),i.Vb(),i.Wb(26,"section"),i.Wb(27,"label"),i.Jc(28,"Policy"),i.Vb(),i.Wb(29,"a",13),i.Jc(30),i.Vb(),i.Vb(),i.Rb(31,"section"),i.Rb(32,"div"),i.Wb(33,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().goBack()})),i.bc(34,fL),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.sc("value",r.getDate(r.log.request_time)),i.Cb(2),i.sc("value",r.log.client_ip),i.Cb(2),i.sc("value",r.log.host),i.Cb(2),i.sc("value",r.log.method),i.Cb(2),i.sc("value",r.log.url_path),i.Cb(2),i.sc("value",r.log.url_query),i.Cb(2),i.sc("value",r.log.content_type),i.Cb(2),i.sc("value",r.log.user_agent),i.Cb(2),i.sc("value",r.log.cookies),i.Cb(2),i.sc("value",r.log.raw_request),i.Cb(2),i.sc("value",r.getPolicyActionEnumString(r.log.action)),i.Cb(4),i.uc("routerLink","/policy/",r.log.policy_id,""),i.Cb(1),i.Kc(r.log.policy_id)}}hL=$localize(_templateObject128()),fL=$localize(_templateObject129());var gL,vL,yL=((gL=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.location=a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this.route.snapshot.paramMap.get("id"),t=this;this.rpcService.getResponse("get_regex_log",(function(e){null!=e&&(t.log=e)}),e)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"goBack",value:function(){this.location.back()}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||gL)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(L))},gL.\u0275cmp=i.Jb({type:gL,selectors:[["app-log-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],[3,"routerLink"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&i.Ic(0,bL,35,13,"div",0),2&e&&i.sc("ngIf",t.log)},directives:[z,op,xp,Es,_f],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),gL),kL=["placeholder",$localize(_templateObject130())],wL=["placeholder",$localize(_templateObject131())],CL=["placeholder",$localize(_templateObject132())];function SL(e,t){if(1&e&&(i.Wb(0,"mat-option",25),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function xL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function ML(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",26),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/cclog/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function LL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Time "),i.Vb())}function OL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getDate(n.request_time)," ")}}function DL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Client IP "),i.Vb())}function TL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.client_ip," ")}}function AL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Method "),i.Vb())}function EL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.method," ")}}function PL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Host "),i.Vb())}function RL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.host," ")}}function IL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," URL Path "),i.Vb())}function jL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.url_path," ")}}function YL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Action "),i.Vb())}function VL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getPolicyActionEnumString(n.action)," ")}}function WL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," PolicyID "),i.Vb())}function FL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.policy_id," ")}}function HL(e,t){1&e&&i.Rb(0,"mat-header-row")}function BL(e,t){1&e&&i.Rb(0,"mat-row")}vL=$localize(_templateObject133());var zL,NL,UL,qL=function(){return[10,20,50]},JL=((zL=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action"]}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.ccLogDataSource=new KL(this.rpcService),this.rpcService.lastCCLogs.length>0&&(this.ccLogDataSource.loadLast(),this.app_id=this.rpcService.lastCCLogs.app_id,this.start_date=this.rpcService.lastCCLogs.start_date,this.end_date=this.rpcService.lastCCLogs.end_date,this.paginator.length=this.rpcService.lastCCLogs.length,this.paginator.pageIndex=this.rpcService.lastCCLogs.page_index)}else this.router.navigate(["/"])}},{key:"getCCLogsCount",value:function(e,t,n){var i={action:"get_cc_logs_count",app_id:e,start_time:t,end_time:n},r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(i,(function(e){null!=e&&(r.paginator.length=e.count,r.ccLogDataSource.loadLogs(r.app_id,t,n,0,r.request_count),r.rpcService.lastCCLogs.length=e.count)}))}},{key:"queryCCLogs",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getCCLogsCount(this.app_id,e,t)}},{key:"pageChanged",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.ccLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||zL)(i.Pb(Ec),i.Pb(As),i.Pb(Tc))},zL.\u0275cmp=i.Jb({type:zL,selectors:[["app-cclogs"]],viewQuery:function(e,t){var n;1&e&&i.Sc(nb,!0),2&e&&i.zc(n=i.kc())&&(t.paginator=n.first)},decls:51,vars:15,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-form-field"),i.Wb(3,"mat-select",1),i.dc(4,kL),i.jc("ngModelChange",(function(e){return t.app_id=e})),i.Ic(5,SL,2,2,"mat-option",2),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",3),i.dc(8,wL),i.jc("ngModelChange",(function(e){return t.start_date=e})),i.Vb(),i.Rb(9,"mat-datepicker-toggle",4),i.Rb(10,"mat-datepicker",null,5),i.Vb(),i.Wb(12,"mat-form-field"),i.Wb(13,"input",3),i.dc(14,CL),i.jc("ngModelChange",(function(e){return t.end_date=e})),i.Vb(),i.Rb(15,"mat-datepicker-toggle",4),i.Rb(16,"mat-datepicker",null,6),i.Vb(),i.Wb(18,"button",7),i.jc("click",(function(){return t.queryCCLogs()})),i.bc(19,vL),i.Vb(),i.Vb(),i.Wb(20,"div",8),i.Wb(21,"mat-table",9,10),i.Ub(23,11),i.Ic(24,xL,2,0,"mat-header-cell",12),i.Ic(25,ML,3,2,"mat-cell",13),i.Tb(),i.Ub(26,14),i.Ic(27,LL,2,0,"mat-header-cell",12),i.Ic(28,OL,2,1,"mat-cell",13),i.Tb(),i.Ub(29,15),i.Ic(30,DL,2,0,"mat-header-cell",12),i.Ic(31,TL,2,1,"mat-cell",13),i.Tb(),i.Ub(32,16),i.Ic(33,AL,2,0,"mat-header-cell",12),i.Ic(34,EL,2,1,"mat-cell",13),i.Tb(),i.Ub(35,17),i.Ic(36,PL,2,0,"mat-header-cell",12),i.Ic(37,RL,2,1,"mat-cell",13),i.Tb(),i.Ub(38,18),i.Ic(39,IL,2,0,"mat-header-cell",12),i.Ic(40,jL,2,1,"mat-cell",13),i.Tb(),i.Ub(41,19),i.Ic(42,YL,2,0,"mat-header-cell",12),i.Ic(43,VL,2,1,"mat-cell",13),i.Tb(),i.Ub(44,20),i.Ic(45,WL,2,0,"mat-header-cell",12),i.Ic(46,FL,2,1,"mat-cell",13),i.Tb(),i.Ic(47,HL,1,0,"mat-header-row",21),i.Ic(48,BL,1,0,"mat-row",22),i.Vb(),i.Wb(49,"mat-paginator",23,24),i.jc("page",(function(){return t.pageChanged()})),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.Ac(11),r=i.Ac(17);i.Cb(3),i.sc("ngModel",t.app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(2),i.sc("ngModel",t.start_date)("matDatepicker",n),i.Cb(2),i.sc("for",n),i.Cb(4),i.sc("ngModel",t.end_date)("matDatepicker",r),i.Cb(2),i.sc("for",r),i.Cb(6),i.sc("dataSource",t.ccLogDataSource),i.Cb(26),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("pageSize",20)("pageSizeOptions",i.wc(14,qL))("showFirstLastButtons",!0)}},directives:[op,k_,Vt,ai,H,xp,At,WM,HM,np,IM,_f,Rh,Fh,Vh,jh,Nh,qh,nb,ah,Bh,zh,Es,Kh,$h],styles:[""]}),zL),KL=function(){function e(t){_classCallCheck(this,e),this.rpcService=t,this.logsSubject=new fr([]),this.loadingSubject=new fr(!1),this.loading$=this.loadingSubject.asObservable()}return _createClass(e,[{key:"connect",value:function(e){return this.logsSubject.asObservable()}},{key:"disconnect",value:function(e){this.logsSubject.complete(),this.loadingSubject.complete()}},{key:"loadLogs",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4?arguments[4]:void 0;this.loadingSubject.next(!0);var a=this;this.rpcService.getResponseByCustomBody({action:"get_cc_logs",app_id:e,start_time:t,end_time:n,request_count:r,offset:i*r},(function(r){null!=r&&(a.logsSubject.next(r),a.rpcService.lastCCLogs.app_id=e,a.rpcService.lastCCLogs.start_date=new Date(1e3*t),a.rpcService.lastCCLogs.end_date=new Date(1e3*(n-1)),a.rpcService.lastCCLogs.page_index=i,a.rpcService.lastCCLogs.cc_logs=r)}))}},{key:"loadLast",value:function(){this.logsSubject.next(this.rpcService.lastCCLogs.cc_logs)}}]),e}();function GL(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,NL),i.Vb(),i.Wb(4,"mat-form-field"),i.Rb(5,"input",2),i.Vb(),i.Wb(6,"mat-form-field"),i.Rb(7,"input",3),i.Vb(),i.Wb(8,"mat-form-field"),i.Rb(9,"input",4),i.Vb(),i.Wb(10,"mat-form-field"),i.Rb(11,"input",5),i.Vb(),i.Wb(12,"mat-form-field"),i.Rb(13,"input",6),i.Vb(),i.Wb(14,"mat-form-field"),i.Rb(15,"input",7),i.Vb(),i.Wb(16,"mat-form-field"),i.Rb(17,"input",8),i.Vb(),i.Wb(18,"mat-form-field"),i.Rb(19,"textarea",9),i.Vb(),i.Wb(20,"mat-form-field"),i.Rb(21,"input",10),i.Vb(),i.Wb(22,"mat-form-field"),i.Rb(23,"textarea",11),i.Vb(),i.Wb(24,"mat-form-field"),i.Rb(25,"input",12),i.Vb(),i.Rb(26,"section"),i.Rb(27,"div"),i.Wb(28,"button",13),i.jc("click",(function(){return i.Cc(n),i.nc().goBack()})),i.bc(29,UL),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.sc("value",r.getDate(r.log.request_time)),i.Cb(2),i.sc("value",r.log.client_ip),i.Cb(2),i.sc("value",r.log.host),i.Cb(2),i.sc("value",r.log.method),i.Cb(2),i.sc("value",r.log.url_path),i.Cb(2),i.sc("value",r.log.url_query),i.Cb(2),i.sc("value",r.log.content_type),i.Cb(2),i.sc("value",r.log.user_agent),i.Cb(2),i.sc("value",r.log.cookies),i.Cb(2),i.sc("value",r.log.raw_request),i.Cb(2),i.sc("value",r.getPolicyActionEnumString(r.log.action))}}NL=$localize(_templateObject134()),UL=$localize(_templateObject135());var $L,ZL=(($L=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.location=a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this.route.snapshot.paramMap.get("id"),t=this;this.rpcService.getResponse("get_cc_log",(function(e){null!=e&&(t.log=e)}),e)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"goBack",value:function(){this.location.back()}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||$L)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(L))},$L.\u0275cmp=i.Jb({type:$L,selectors:[["app-cclog-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&i.Ic(0,GL,30,11,"div",0),2&e&&i.sc("ngIf",t.log)},directives:[z,op,xp,_f],styles:[".container[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace}"]}),$L);function XL(e,t){1&e&&i.qc(0)}var QL=["*"];function eO(e,t){}var tO=function(e){return{animationDuration:e}},nO=function(e,t){return{value:e,params:t}},iO=["tabBodyWrapper"],rO=["tabHeader"];function aO(e,t){}function oO(e,t){if(1&e&&i.Ic(0,aO,0,0,"ng-template",9),2&e){var n=i.nc().$implicit;i.sc("cdkPortalOutlet",n.templateLabel)}}function sO(e,t){if(1&e&&i.Jc(0),2&e){var n=i.nc().$implicit;i.Kc(n.textLabel)}}function cO(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",6),i.jc("click",(function(){i.Cc(n);var e=t.$implicit,r=t.index,a=i.nc(),o=i.Ac(1);return a._handleClick(e,o,r)})),i.Wb(1,"div",7),i.Ic(2,oO,1,1,"ng-template",8),i.Ic(3,sO,1,1,"ng-template",8),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc();i.Gb("mat-tab-label-active",o.selectedIndex==a),i.sc("id",o._getTabLabelId(a))("disabled",r.disabled)("matRippleDisabled",r.disabled||o.disableRipple),i.Db("tabIndex",o._getTabIndex(r,a))("aria-posinset",a+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(a))("aria-selected",o.selectedIndex==a)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),i.Cb(2),i.sc("ngIf",r.templateLabel),i.Cb(1),i.sc("ngIf",!r.templateLabel)}}function lO(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-tab-body",10),i.jc("_onCentered",(function(){return i.Cc(n),i.nc()._removeTabBodyWrapperHeight()}))("_onCentering",(function(e){return i.Cc(n),i.nc()._setTabBodyWrapperHeight(e)})),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc();i.Gb("mat-tab-body-active",o.selectedIndex==a),i.sc("id",o._getTabContentId(a))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",o.animationDuration),i.Db("aria-labelledby",o._getTabLabelId(a))}}var uO,dO,hO,fO,pO,mO,_O,bO,gO,vO,yO,kO,wO,CO,SO,xO,MO=["tabListContainer"],LO=["tabList"],OO=["nextPaginator"],DO=["previousPaginator"],TO=new i.r("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),AO=((hO=function(){function e(t,n,i,r){_classCallCheck(this,e),this._elementRef=t,this._ngZone=n,this._inkBarPositioner=i,this._animationMode=r}return _createClass(e,[{key:"alignToElement",value:function(e){var t=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return t._setStyles(e)}))})):this._setStyles(e)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(e){var t=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=t.left,n.style.width=t.width}}]),e}()).\u0275fac=function(e){return new(e||hO)(i.Pb(i.l),i.Pb(i.A),i.Pb(TO),i.Pb(dt,8))},hO.\u0275dir=i.Kb({type:hO,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),hO),EO=((dO=function e(t){_classCallCheck(this,e),this.template=t}).\u0275fac=function(e){return new(e||dO)(i.Pb(i.M))},dO.\u0275dir=i.Kb({type:dO,selectors:[["","matTabContent",""]]}),dO),PO=((uO=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(sm)).\u0275fac=function(e){return RO(e||uO)},uO.\u0275dir=i.Kb({type:uO,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i.zb]}),uO),RO=i.Zb(PO),IO=ld((function e(){_classCallCheck(this,e)})),jO=new i.r("MAT_TAB_GROUP"),YO=((fO=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._viewContainerRef=e,i._closestTabGroup=n,i.textLabel="",i._contentPortal=null,i._stateChanges=new dr.a,i.position=null,i.origin=null,i.isActive=!1,i}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new im(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"templateLabel",get:function(){return this._templateLabel},set:function(e){e&&(this._templateLabel=e)}},{key:"content",get:function(){return this._contentPortal}}]),t}(IO)).\u0275fac=function(e){return new(e||fO)(i.Pb(i.P),i.Pb(jO,8))},fO.\u0275cmp=i.Jb({type:fO,selectors:[["mat-tab"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,PO,!0),i.Fc(n,EO,!0,i.M)),2&e&&(i.zc(r=i.kc())&&(t.templateLabel=r.first),i.zc(r=i.kc())&&(t._explicitContent=r.first))},viewQuery:function(e,t){var n;1&e&&i.Gc(i.M,!0),2&e&&i.zc(n=i.kc())&&(t._implicitContent=n.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[i.zb,i.Ab()],ngContentSelectors:QL,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.Ic(0,XL,1,0,"ng-template"))},encapsulation:2}),fO),VO={translateTab:Object(Xe.n)("translateTab",[Object(Xe.k)("center, void, left-origin-center, right-origin-center",Object(Xe.l)({transform:"none"})),Object(Xe.k)("left",Object(Xe.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(Xe.k)("right",Object(Xe.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(Xe.m)("* => left, * => right, left => center, right => center",Object(Xe.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(Xe.m)("void => left-origin-center",[Object(Xe.l)({transform:"translate3d(-100%, 0, 0)"}),Object(Xe.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(Xe.m)("void => right-origin-center",[Object(Xe.l)({transform:"translate3d(100%, 0, 0)"}),Object(Xe.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},WO=((_O=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,r)))._host=i,a._centeringSub=la.a.EMPTY,a._leavingSub=la.a.EMPTY,a}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(t.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Qr(this._host._isCenterPosition(this._host._position))).subscribe((function(t){t&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(t.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),t}(cm)).\u0275fac=function(e){return new(e||_O)(i.Pb(i.j),i.Pb(i.P),i.Pb(Object(i.U)((function(){return HO}))),i.Pb(s))},_O.\u0275dir=i.Kb({type:_O,selectors:[["","matTabBodyHost",""]],features:[i.zb]}),_O),FO=((mO=function(){function e(t,n,r){var a=this;_classCallCheck(this,e),this._elementRef=t,this._dir=n,this._dirChangeSubscription=la.a.EMPTY,this._translateTabComplete=new dr.a,this._onCentering=new i.o,this._beforeCentering=new i.o,this._afterLeavingCenter=new i.o,this._onCentered=new i.o(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe((function(e){a._computePositionAnimationState(e),r.markForCheck()}))),this._translateTabComplete.pipe(Ip((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){a._isCenterPosition(e.toState)&&a._isCenterPosition(a._position)&&a._onCentered.emit(),a._isCenterPosition(e.fromState)&&!a._isCenterPosition(a._position)&&a._afterLeavingCenter.emit()}))}return _createClass(e,[{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}},{key:"_computePositionAnimationState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(e){var t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}},{key:"position",set:function(e){this._positionIndex=e,this._computePositionAnimationState()}}]),e}()).\u0275fac=function(e){return new(e||mO)(i.Pb(i.l),i.Pb(Jc,8),i.Pb(i.h))},mO.\u0275dir=i.Kb({type:mO,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),mO),HO=((pO=function(e){function t(e,n,i){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i))}return _inherits(t,e),t}(FO)).\u0275fac=function(e){return new(e||pO)(i.Pb(i.l),i.Pb(Jc,8),i.Pb(i.h))},pO.\u0275cmp=i.Jb({type:pO,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var n;1&e&&i.Sc(lm,!0),2&e&&i.zc(n=i.kc())&&(t._portalHost=n.first)},hostAttrs:[1,"mat-tab-body"],features:[i.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(i.Wb(0,"div",0,1),i.jc("@translateTab.start",(function(e){return t._onTranslateTabStarted(e)}))("@translateTab.done",(function(e){return t._translateTabComplete.next(e)})),i.Ic(2,eO,0,0,"ng-template",2),i.Vb()),2&e&&i.sc("@translateTab",i.yc(3,nO,t._position,i.xc(1,tO,t.animationDuration)))},directives:[WO],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[VO.translateTab]}}),pO),BO=new i.r("MAT_TABS_CONFIG"),zO=0,NO=function e(){_classCallCheck(this,e)},UO=ud(dd((function e(t){_classCallCheck(this,e),this._elementRef=t})),"primary"),qO=((gO=function(e){function t(e,n,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._changeDetectorRef=n,o._animationMode=a,o._tabs=new i.E,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=la.a.EMPTY,o._tabLabelSubscription=la.a.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new i.o,o.focusChange=new i.o,o.animationDone=new i.o,o.selectedTabChange=new i.o(!0),o._groupId=zO++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,o}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentChecked",value:function(){var e=this,t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then((function(){e._tabs.forEach((function(e,n){return e.isActive=n===t})),n||e.selectedIndexChange.emit(t)}))}this._tabs.forEach((function(n,i){n.position=i-t,null==e._selectedIndex||0!=n.position||n.origin||(n.origin=t-e._selectedIndex)})),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var e=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(e._clampTabIndex(e._indexToSelect)===e._selectedIndex)for(var t=e._tabs.toArray(),n=0;n.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),bO),KO=ld((function e(){_classCallCheck(this,e)})),GO=((vO=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).elementRef=e,n}return _inherits(t,e),_createClass(t,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),t}(KO)).\u0275fac=function(e){return new(e||vO)(i.Pb(i.l))},vO.\u0275dir=i.Kb({type:vO,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(i.Db("aria-disabled",!!t.disabled),i.Gb("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[i.zb]}),vO),$O=rl({passive:!0}),ZO=((CO=function(){function e(t,n,r,a,o,s,c){var l=this;_classCallCheck(this,e),this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=a,this._ngZone=o,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new dr.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new dr.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.o,this.indexFocused=new i.o,o.runOutsideAngular((function(){vf(t.nativeElement,"mouseleave").pipe(ol(l._destroyed)).subscribe((function(){l._stopInterval()}))}))}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;vf(this._previousPaginator.nativeElement,"touchstart",$O).pipe(ol(this._destroyed)).subscribe((function(){e._handlePaginatorPress("before")})),vf(this._nextPaginator.nativeElement,"touchstart",$O).pipe(ol(this._destroyed)).subscribe((function(){e._handlePaginatorPress("after")}))}},{key:"ngAfterContentInit",value:function(){var e=this,t=this._dir?this._dir.change:bi(null),n=this._viewportRuler.change(150),i=function(){e.updatePagination(),e._alignInkBarToSelectedTab()};this._keyManager=new Du(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),Object(Ah.a)(t,n,this._items.changes).pipe(ol(this._destroyed)).subscribe((function(){i(),e._keyManager.withHorizontalOrientation(e._getLayoutDirection())})),this._keyManager.change.pipe(ol(this._destroyed)).subscribe((function(t){e.indexFocused.emit(t),e._setTabFocus(t)}))}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(e){if(!iu(e))switch(e.keyCode){case 36:this._keyManager.setFirstItemActive(),e.preventDefault();break;case 35:this._keyManager.setLastItemActive(),e.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e);break;default:this._keyManager.onKeydown(e)}}},{key:"_onContentChanges",value:function(){var e=this,t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run((function(){e.updatePagination(),e._alignInkBarToSelectedTab(),e._changeDetectorRef.markForCheck()})))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"_isValidIndex",value:function(e){if(!this._items)return!0;var t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}},{key:"_setTabFocus",value:function(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();var t=this._tabListContainer.nativeElement,n=this._getLayoutDirection();t.scrollLeft="ltr"==n?0:t.scrollWidth-t.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var e=this.scrollDistance,t=this._platform,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(n),"px)"),t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"_scrollHeader",value:function(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(e){this._stopInterval(),this._scrollHeader(e)}},{key:"_scrollToLabel",value:function(e){if(!this.disablePagination){var t=this._items?this._items.toArray()[e]:null;if(t){var n,i,r=this._tabListContainer.nativeElement.offsetWidth,a=t.elementRef.nativeElement,o=a.offsetLeft,s=a.offsetWidth;"ltr"==this._getLayoutDirection()?i=(n=o)+s:n=(i=this._tabList.nativeElement.offsetWidth-o)-s;var c=this.scrollDistance,l=this.scrollDistance+r;nl&&(this.scrollDistance+=i-l+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(e,t){var n=this;t&&null!=t.button&&0!==t.button||(this._stopInterval(),dp(650,100).pipe(ol(Object(Ah.a)(this._stopScrolling,this._destroyed))).subscribe((function(){var t=n._scrollHeader(e),i=t.maxScrollDistance,r=t.distance;(0===r||r>=i)&&n._stopInterval()})))}},{key:"_scrollTo",value:function(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){e=Rc(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(e){this._scrollTo(e)}}]),e}()).\u0275fac=function(e){return new(e||CO)(i.Pb(i.l),i.Pb(i.h),i.Pb(Kp),i.Pb(Jc,8),i.Pb(i.A),i.Pb(el),i.Pb(dt,8))},CO.\u0275dir=i.Kb({type:CO,inputs:{disablePagination:"disablePagination"}}),CO),XO=((wO=function(e){function t(e,n,i,r,a,o,s){var c;return _classCallCheck(this,t),(c=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i,r,a,o,s)))._disableRipple=!1,c}return _inherits(t,e),_createClass(t,[{key:"_itemSelected",value:function(e){e.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Pc(e)}}]),t}(ZO)).\u0275fac=function(e){return new(e||wO)(i.Pb(i.l),i.Pb(i.h),i.Pb(Kp),i.Pb(Jc,8),i.Pb(i.A),i.Pb(el),i.Pb(dt,8))},wO.\u0275dir=i.Kb({type:wO,inputs:{disableRipple:"disableRipple"},features:[i.zb]}),wO),QO=((kO=function(e){function t(e,n,i,r,a,o,s){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i,r,a,o,s))}return _inherits(t,e),t}(XO)).\u0275fac=function(e){return new(e||kO)(i.Pb(i.l),i.Pb(i.h),i.Pb(Kp),i.Pb(Jc,8),i.Pb(i.A),i.Pb(el),i.Pb(dt,8))},kO.\u0275cmp=i.Jb({type:kO,selectors:[["mat-tab-header"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,GO,!1),2&e&&i.zc(r=i.kc())&&(t._items=r)},viewQuery:function(e,t){var n;1&e&&(i.Gc(AO,!0),i.Gc(MO,!0),i.Gc(LO,!0),i.Sc(OO,!0),i.Sc(DO,!0)),2&e&&(i.zc(n=i.kc())&&(t._inkBar=n.first),i.zc(n=i.kc())&&(t._tabListContainer=n.first),i.zc(n=i.kc())&&(t._tabList=n.first),i.zc(n=i.kc())&&(t._nextPaginator=n.first),i.zc(n=i.kc())&&(t._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&i.Gb("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[i.zb],ngContentSelectors:QL,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"div",0,1),i.jc("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),i.Rb(2,"div",2),i.Vb(),i.Wb(3,"div",3,4),i.jc("keydown",(function(e){return t._handleKeydown(e)})),i.Wb(5,"div",5,6),i.jc("cdkObserveContent",(function(){return t._onContentChanges()})),i.Wb(7,"div",7),i.qc(8),i.Vb(),i.Rb(9,"mat-ink-bar"),i.Vb(),i.Vb(),i.Wb(10,"div",8,9),i.jc("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),i.Rb(12,"div",2),i.Vb()),2&e&&(i.Gb("mat-tab-header-pagination-disabled",t._disableScrollBefore),i.sc("matRippleDisabled",t._disableScrollBefore||t.disableRipple),i.Cb(5),i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.Cb(5),i.Gb("mat-tab-header-pagination-disabled",t._disableScrollAfter),i.sc("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Kd,gu,AO],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),kO),eD=((yO=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:yO}),yO.\u0275inj=i.Mb({factory:function(e){return new(e||yO)},imports:[[ae,cd,dm,Gd,vu,Qu],cd]}),yO),tD=["label",$localize(_templateObject136())];SO=$localize(_templateObject137()),xO=$localize(_templateObject138());var nD,iD=["placeholder",$localize(_templateObject139())];nD=$localize(_templateObject140());var rD,aD,oD,sD,cD,lD,uD,dD=["label",$localize(_templateObject141())];rD=$localize(_templateObject142()),aD=$localize(_templateObject143()),oD=$localize(_templateObject144()),sD=$localize(_templateObject145()),cD=$localize(_templateObject146()),lD=$localize(_templateObject147()),uD=$localize(_templateObject148());var hD,fD,pD,mD,_D=["label",$localize(_templateObject149())],bD=["placeholder",$localize(_templateObject150())],gD=["placeholder",$localize(_templateObject151())],vD=["placeholder",$localize(_templateObject152())],yD=["label",$localize(_templateObject153())];hD=$localize(_templateObject154()),fD=$localize(_templateObject155()),pD=$localize(_templateObject156()),mD=$localize(_templateObject157());var kD,wD,CD,SD,xD,MD,LD,OD=["label",$localize(_templateObject158())];kD=$localize(_templateObject159()),wD=$localize(_templateObject160()),CD=$localize(_templateObject161()),SD=$localize(_templateObject162()),xD=$localize(_templateObject163()),MD=$localize(_templateObject164()),LD=$localize(_templateObject165());var DD=["placeholder",$localize(_templateObject166())];function TD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,DD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.display_name)("readonly",r.readOnlyValue)}}var AD=["placeholder",$localize(_templateObject167())];function ED(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,AD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.callback)("readonly",r.readOnlyValue)}}function PD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.corpid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.corpid)("readonly",r.readOnlyValue)}}function RD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",24),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.agentid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.agentid)("readonly",r.readOnlyValue)}}function ID(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",25),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.corpsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.corpsecret)("readonly",r.readOnlyValue)}}var jD=["placeholder",$localize(_templateObject168())];function YD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,jD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.display_name)("readonly",r.readOnlyValue)}}var VD=["placeholder",$localize(_templateObject169())];function WD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,VD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.callback)("readonly",r.readOnlyValue)}}function FD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",26),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.appid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.appid)("readonly",r.readOnlyValue)}}function HD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",27),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.appsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.appsecret)("readonly",r.readOnlyValue)}}var BD=["placeholder",$localize(_templateObject170())];function zD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,BD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.display_name)("readonly",r.readOnlyValue)}}var ND=["placeholder",$localize(_templateObject171())];function UD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,ND),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.callback)("readonly",r.readOnlyValue)}}function qD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",26),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.appid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.appid)("readonly",r.readOnlyValue)}}function JD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",27),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.appsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.appsecret)("readonly",r.readOnlyValue)}}var KD=["placeholder",$localize(_templateObject172())];function GD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,KD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.display_name)("readonly",r.readOnlyValue)}}var $D=["placeholder",$localize(_templateObject173())];function ZD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,$D),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.callback)("readonly",r.readOnlyValue)}}function XD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",26),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.appid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.appid)("readonly",r.readOnlyValue)}}function QD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",27),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.appsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.appsecret)("readonly",r.readOnlyValue)}}var eT,tT,nT,iT=["placeholder",$localize(_templateObject174())];function rT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,iT),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.display_name)("readonly",r.readOnlyValue)}}function aT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",28),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.entrance=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.entrance)("readonly",r.readOnlyValue)}}function oT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",29),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.address=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.address)("readonly",r.readOnlyValue)}}function sT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",30),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.dn=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.dn)("readonly",r.readOnlyValue)}}function cT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.bind_required=e})),i.bc(2,eT),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.bind_required)("disabled",r.readOnlyValue)}}function lT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",31),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.base_dn=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.base_dn)("readonly",r.readOnlyValue)}}function uT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"mat-label"),i.Jc(2,"Bind Username"),i.Vb(),i.Wb(3,"input",32),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.bind_username=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(3),i.sc("ngModel",r.ldapConfig.bind_username)("readonly",r.readOnlyValue)}}function dT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"mat-label"),i.Jc(2,"Bind Password"),i.Vb(),i.Wb(3,"input",33),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.bind_password=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(3),i.sc("ngModel",r.ldapConfig.bind_password)("readonly",r.readOnlyValue)}}function hT(e,t){1&e&&i.Rb(0,"mat-divider")}function fT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.using_tls=e})),i.bc(2,tT),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.using_tls)("disabled",r.readOnlyValue)}}function pT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.authenticator_enabled=e})),i.bc(2,nT),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.authenticator_enabled)("disabled",r.readOnlyValue)}}eT=$localize(_templateObject175()),tT=$localize(_templateObject176()),nT=$localize(_templateObject177());var mT=["placeholder",$localize(_templateObject178())];function _T(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,mT),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).cas2Config.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.cas2Config.display_name)("readonly",r.readOnlyValue)}}function bT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",28),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).cas2Config.entrance=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.cas2Config.entrance)("readonly",r.readOnlyValue)}}var gT=["placeholder",$localize(_templateObject179())];function vT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",22),i.dc(2,gT),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).cas2Config.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.cas2Config.callback)("readonly",r.readOnlyValue)}}function yT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"mat-tab-group"),i.Wb(2,"mat-tab",1),i.dc(3,tD),i.Wb(4,"div",2),i.Wb(5,"section"),i.Wb(6,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.authenticator_enabled=e})),i.bc(7,SO),i.Vb(),i.Vb(),i.Wb(8,"section"),i.Wb(9,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.auth_enabled=e})),i.bc(10,xO),i.Vb(),i.Vb(),i.Rb(11,"br"),i.Wb(12,"mat-form-field"),i.Wb(13,"mat-select",4),i.dc(14,iD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.auth_provider=e}))("selectionChange",(function(){i.Cc(n);var e=i.nc();return e.loadAuthProvider(e.settings.auth_provider)})),i.Wb(15,"mat-option",5),i.Jc(16,"WxWork\uff08\u4f01\u4e1a\u5fae\u4fe1\u626b\u7801\uff09"),i.Vb(),i.Wb(17,"mat-option",6),i.Jc(18,"DingTalk\uff08\u9489\u9489\u626b\u7801\uff09"),i.Vb(),i.Wb(19,"mat-option",7),i.Jc(20,"Feishu\uff08\u98de\u4e66\u626b\u7801\uff09"),i.Vb(),i.Wb(21,"mat-option",8),i.Jc(22,"Lark\uff08Lark\u626b\u7801\uff09"),i.Vb(),i.Wb(23,"mat-option",9),i.Jc(24,"LDAP"),i.Vb(),i.Wb(25,"mat-option",10),i.Jc(26,"CAS 2.0 Protocol"),i.Vb(),i.Vb(),i.Vb(),i.Ic(27,TD,3,2,"mat-form-field",0),i.Ic(28,ED,3,2,"mat-form-field",0),i.Ic(29,PD,2,2,"mat-form-field",0),i.Ic(30,RD,2,2,"mat-form-field",0),i.Ic(31,ID,2,2,"mat-form-field",0),i.Ic(32,YD,3,2,"mat-form-field",0),i.Ic(33,WD,3,2,"mat-form-field",0),i.Ic(34,FD,2,2,"mat-form-field",0),i.Ic(35,HD,2,2,"mat-form-field",0),i.Ic(36,zD,3,2,"mat-form-field",0),i.Ic(37,UD,3,2,"mat-form-field",0),i.Ic(38,qD,2,2,"mat-form-field",0),i.Ic(39,JD,2,2,"mat-form-field",0),i.Ic(40,GD,3,2,"mat-form-field",0),i.Ic(41,ZD,3,2,"mat-form-field",0),i.Ic(42,XD,2,2,"mat-form-field",0),i.Ic(43,QD,2,2,"mat-form-field",0),i.Ic(44,rT,3,2,"mat-form-field",0),i.Ic(45,aT,2,2,"mat-form-field",0),i.Ic(46,oT,2,2,"mat-form-field",0),i.Ic(47,sT,2,2,"mat-form-field",0),i.Ic(48,cT,3,2,"section",0),i.Ic(49,lT,2,2,"mat-form-field",0),i.Ic(50,uT,4,2,"mat-form-field",0),i.Ic(51,dT,4,2,"mat-form-field",0),i.Ic(52,hT,1,0,"mat-divider",0),i.Ic(53,fT,3,2,"section",0),i.Ic(54,pT,3,2,"section",0),i.Ic(55,_T,3,2,"mat-form-field",0),i.Ic(56,bT,2,2,"mat-form-field",0),i.Ic(57,vT,3,2,"mat-form-field",0),i.Rb(58,"br"),i.Rb(59,"mat-divider"),i.Wb(60,"div",11),i.bc(61,nD),i.Vb(),i.Vb(),i.Vb(),i.Wb(62,"mat-tab",1),i.dc(63,dD),i.Wb(64,"div",2),i.Wb(65,"h2"),i.bc(66,rD),i.Vb(),i.Wb(67,"section"),i.Wb(68,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.skip_se_enabled=e})),i.bc(69,aD),i.Vb(),i.Vb(),i.Rb(70,"br"),i.Wb(71,"mat-form-field"),i.Wb(72,"mat-label"),i.bc(73,oD),i.Vb(),i.Wb(74,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.search_engines=e})),i.Vb(),i.Wb(75,"mat-hint"),i.bc(76,sD),i.Vb(),i.Vb(),i.Vb(),i.Wb(77,"div",2),i.Wb(78,"h2"),i.bc(79,cD),i.Vb(),i.Wb(80,"section"),i.Wb(81,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.webssh_enabled=e})),i.bc(82,lD),i.Vb(),i.Vb(),i.Vb(),i.Wb(83,"div",2),i.Wb(84,"h2"),i.bc(85,uD),i.Vb(),i.Wb(86,"mat-form-field"),i.Wb(87,"textarea",13,14),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.block_html=e})),i.Jc(89," "),i.Vb(),i.Wb(90,"mat-hint",15),i.Jc(91),i.Vb(),i.Vb(),i.Ub(92),i.Qb(),i.Wb(93,"div",11),i.Jc(94," Built-in variables: "),i.Wb(95,"ul"),i.Wb(96,"li"),i.Jc(97," {{ .PolicyID }} : the id of WAF policy/rule."),i.Vb(),i.Wb(98,"li"),i.Jc(99," {{ .VulnName }} : the vulnerability name. "),i.Vb(),i.Vb(),i.Vb(),i.Xb(),i.Tb(),i.Vb(),i.Vb(),i.Wb(100,"mat-tab",1),i.dc(101,_D),i.Wb(102,"div",2),i.Wb(103,"mat-form-field"),i.Wb(104,"input",16),i.dc(105,bD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.waf_log_days=e})),i.Vb(),i.Vb(),i.Wb(106,"mat-form-field"),i.Wb(107,"input",16),i.dc(108,gD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.cc_log_days=e})),i.Vb(),i.Vb(),i.Wb(109,"mat-form-field"),i.Wb(110,"input",16),i.dc(111,vD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.access_log_days=e})),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(112,"mat-tab",1),i.dc(113,yD),i.Wb(114,"div",2),i.Wb(115,"section"),i.Wb(116,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_enabled=e})),i.bc(117,hD),i.Vb(),i.Vb(),i.Wb(118,"mat-form-field"),i.Wb(119,"mat-label"),i.Jc(120,"API"),i.Vb(),i.Wb(121,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_api=e})),i.Vb(),i.Vb(),i.Wb(122,"mat-form-field"),i.Wb(123,"mat-label"),i.Jc(124,"Tenant ID"),i.Vb(),i.Wb(125,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_tenant_id=e})),i.Vb(),i.Vb(),i.Wb(126,"mat-form-field"),i.Wb(127,"mat-label"),i.bc(128,fD),i.Vb(),i.Wb(129,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_key=e})),i.Vb(),i.Vb(),i.Wb(130,"section"),i.Wb(131,"a",17),i.bc(132,pD),i.Vb(),i.Vb(),i.Rb(133,"br"),i.Rb(134,"mat-divider"),i.Wb(135,"div",11),i.bc(136,mD),i.Vb(),i.Vb(),i.Vb(),i.Wb(137,"mat-tab",1),i.dc(138,OD),i.Wb(139,"div",2),i.Wb(140,"section"),i.Wb(141,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_enabled=e})),i.bc(142,kD),i.Vb(),i.Vb(),i.Wb(143,"mat-form-field"),i.Wb(144,"mat-label"),i.bc(145,wD),i.Vb(),i.Wb(146,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_server=e})),i.Vb(),i.Vb(),i.Wb(147,"mat-form-field"),i.Wb(148,"mat-label"),i.bc(149,CD),i.Vb(),i.Wb(150,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_port=e})),i.Vb(),i.Vb(),i.Wb(151,"mat-form-field"),i.Wb(152,"mat-label"),i.bc(153,SD),i.Vb(),i.Wb(154,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_account=e})),i.Vb(),i.Vb(),i.Wb(155,"mat-form-field"),i.Wb(156,"mat-label"),i.bc(157,xD),i.Vb(),i.Wb(158,"input",18),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_password=e})),i.Vb(),i.Vb(),i.Wb(159,"section"),i.Wb(160,"button",19),i.jc("click",(function(){return i.Cc(n),i.nc().testSMTP()})),i.bc(161,MD),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(162,"div",2),i.Wb(163,"section"),i.Wb(164,"button",20),i.jc("click",(function(){return i.Cc(n),i.nc().saveSettings()})),i.bc(165,LD),i.Vb(),i.Wb(166,"button",21),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(167),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(88),a=i.nc();i.Cb(6),i.sc("ngModel",a.settings.authenticator_enabled)("disabled",a.readOnlyValue),i.Cb(3),i.sc("ngModel",a.settings.auth_enabled)("disabled",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.settings.auth_provider)("disabled",a.readOnlyValue),i.Cb(14),i.sc("ngIf","wxwork"==a.settings.auth_provider&&a.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==a.settings.auth_provider&&a.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==a.settings.auth_provider&&a.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==a.settings.auth_provider&&a.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==a.settings.auth_provider&&a.wxworkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==a.settings.auth_provider&&a.dingtalkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==a.settings.auth_provider&&a.dingtalkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==a.settings.auth_provider&&a.dingtalkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==a.settings.auth_provider&&a.dingtalkConfig),i.Cb(1),i.sc("ngIf","feishu"==a.settings.auth_provider&&a.feishuConfig),i.Cb(1),i.sc("ngIf","feishu"==a.settings.auth_provider&&a.feishuConfig),i.Cb(1),i.sc("ngIf","feishu"==a.settings.auth_provider&&a.feishuConfig),i.Cb(1),i.sc("ngIf","feishu"==a.settings.auth_provider&&a.feishuConfig),i.Cb(1),i.sc("ngIf","lark"==a.settings.auth_provider&&a.larkConfig),i.Cb(1),i.sc("ngIf","lark"==a.settings.auth_provider&&a.larkConfig),i.Cb(1),i.sc("ngIf","lark"==a.settings.auth_provider&&a.larkConfig),i.Cb(1),i.sc("ngIf","lark"==a.settings.auth_provider&&a.larkConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig&&a.ldapConfig.bind_required),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig&&a.ldapConfig.bind_required),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig&&a.ldapConfig.bind_required),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==a.settings.auth_provider&&a.ldapConfig),i.Cb(1),i.sc("ngIf","cas2"==a.settings.auth_provider&&a.cas2Config),i.Cb(1),i.sc("ngIf","cas2"==a.settings.auth_provider&&a.cas2Config),i.Cb(1),i.sc("ngIf","cas2"==a.settings.auth_provider&&a.cas2Config),i.Cb(11),i.sc("ngModel",a.settings.skip_se_enabled)("disabled",a.readOnlyValue),i.Cb(6),i.sc("ngModel",a.settings.search_engines)("readonly",a.readOnlyValue),i.Cb(7),i.sc("ngModel",a.settings.webssh_enabled)("disabled",a.readOnlyValue),i.Cb(6),i.sc("ngModel",a.settings.block_html)("readonly",a.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/4096"),i.Cb(13),i.sc("ngModel",a.settings.waf_log_days)("readonly",a.readOnlyValue),i.Cb(3),i.sc("ngModel",a.settings.cc_log_days)("readonly",a.readOnlyValue),i.Cb(3),i.sc("ngModel",a.settings.access_log_days)("readonly",a.readOnlyValue),i.Cb(6),i.sc("ngModel",a.settings.data_discovery_enabled)("disabled",a.readOnlyValue),i.Cb(5),i.sc("ngModel",a.settings.data_discovery_api)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.settings.data_discovery_tenant_id)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.settings.data_discovery_key)("readonly",a.readOnlyValue),i.Cb(12),i.sc("ngModel",a.settings.smtp.smtp_enabled)("disabled",a.readOnlyValue),i.Cb(5),i.sc("ngModel",a.settings.smtp.smtp_server)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.settings.smtp.smtp_port)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.settings.smtp.smtp_account)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.settings.smtp.smtp_password)("readonly",a.readOnlyValue),i.Cb(6),i.sc("disabled",a.readOnlyValue),i.Cb(3),i.Kc(a.readOnlyButtonText)}}var kT,wT,CT,ST,xT,MT,LT,OT,DT,TT,AT,ET=((kT=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.readOnlyValue=!0,this.readOnlyButtonText="Edit";var i=this;this.rpcService.getResponse("get_primary_setting",(function(e){i.settings=e,i.loadAuthProvider(i.settings.auth_provider)}))}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"loadAuthProvider",value:function(e){var t=this;switch(this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("get_wxwork_config",(function(e){t.wxworkConfig=e}));break;case"dingtalk":this.rpcService.getResponse("get_dingtalk_config",(function(e){t.dingtalkConfig=e}));break;case"feishu":this.rpcService.getResponse("get_feishu_config",(function(e){t.feishuConfig=e}));break;case"lark":this.rpcService.getResponse("get_lark_config",(function(e){t.larkConfig=e}));break;case"ldap":this.rpcService.getResponse("get_ldap_config",(function(e){t.ldapConfig=e}));break;case"cas2":this.rpcService.getResponse("get_cas2_config",(function(e){t.cas2Config=e}))}}},{key:"saveSettings",value:function(){var e=this;switch(this.rpcService.getResponse("update_primary_setting",(function(t){e.settings=t,e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Settings saved.")}),null,this.settings),this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("update_wxwork_config",(function(t){e.wxworkConfig=t}),"0",this.wxworkConfig);break;case"dingtalk":this.rpcService.getResponse("update_dingtalk_config",(function(t){e.dingtalkConfig=t}),"0",this.dingtalkConfig);break;case"feishu":this.rpcService.getResponse("update_feishu_config",(function(t){e.feishuConfig=t}),"0",this.feishuConfig);break;case"lark":this.rpcService.getResponse("update_lark_config",(function(t){e.larkConfig=t}),"0",this.larkConfig);break;case"ldap":this.rpcService.getResponse("update_ldap_config",(function(t){e.ldapConfig=t}),"0",this.ldapConfig);break;case"cas2":this.rpcService.getResponse("update_cas2_config",(function(t){e.cas2Config=t}),"0",this.cas2Config)}}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"testSMTP",value:function(){var e=this;this.rpcService.getResponse("test_smtp",(function(){e.messageService.add("Email sent, please check your inbox. If not, check your information under user management.")}),"0",this.settings.smtp)}}]),e}()).\u0275fac=function(e){return new(e||kT)(i.Pb(Ec),i.Pb(Tc))},kT.\u0275cmp=i.Jb({type:kT,selectors:[["app-settings"]],decls:1,vars:1,consts:[[4,"ngIf"],[6,"label"],[1,"container"],[3,"ngModel","disabled","ngModelChange"],[3,"ngModel","disabled","ngModelChange","selectionChange",6,"placeholder"],["value","wxwork"],["value","dingtalk"],["value","feishu"],["value","lark"],["value","ldap"],["value","cas2"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matInput","","rows","30","required","",3,"ngModel","readonly","ngModelChange"],["block_html",""],["align","end"],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["mat-stroked-button","","routerLink","/discovery-rules"],["matInput","","type","password","required","",3,"ngModel","readonly","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","corpid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","agentid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","corpsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","entrance",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","address",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","dn",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","BaseDN",3,"ngModel","readonly","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange"],["type","password","matInput","",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&i.Ic(0,yT,168,72,"div",0),2&e&&i.sc("ngIf",t.settings)},directives:[z,JO,YO,fv,Vt,ai,op,k_,ah,Qb,Qf,xp,At,li,Xf,en,bf,Es,_f],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{margin-left:0}']}),kT);wT=$localize(_templateObject180()),CT=$localize(_templateObject181()),ST=$localize(_templateObject182()),xT=$localize(_templateObject183()),MT=$localize(_templateObject184()),LT=$localize(_templateObject185()),OT=$localize(_templateObject186()),DT=$localize(_templateObject187()),TT=$localize(_templateObject188()),AT=$localize(_templateObject189());var PT,RT,IT=((PT=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.router=i}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=this;this.rpcService.getAuthUser((function(e){if(e.logged)return e.need_modify_pwd?(t.messageService.add("Please modify your password before next step!"),void t.router.navigate(["/appuser/"+e.user_id])):void t.rpcService.getResponse("get_license",(function(e){if(t.rpcService.license=e,null!=e&&"Trial"==e.edition){var n=t.getDate(e.expire_time);t.messageService.add("This is a trial edition, and will expire at "+n+". Limitation: max number of users: "+e.max_users_count+", max number of applications: "+e.max_apps_count+", max concurrency: "+e.max_concurrency)}}));t.router.navigate(["/login"])})),setTimeout((function(){0==e.rpcService.auth_user.logged&&e.router.navigate(["/login"])}),500)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}}]),e}()).\u0275fac=function(e){return new(e||PT)(i.Pb(Ec),i.Pb(Tc),i.Pb(As))},PT.\u0275cmp=i.Jb({type:PT,selectors:[["app-frontpage"]],decls:51,vars:0,consts:[[1,"container"],[1,"card-content"],["mat-card-image","","src","/janusec-admin/assets/images/gateway.png",1,"card-image"],["mat-card-avatar",""],["mat-list-item","","href","https://www.janusec.com/","target","_blank"],["mat-list-item","","href","https://janusec.github.io/","target","_blank"],["mat-list-item","","href","https://doc.janusec.com/cn/","target","_blank"],["mat-list-item","","href","https://github.com/Janusec/janusec","target","_blank"],["mat-list-item","","href","https://janusec.github.io/documentation/user-agreement/","target","_blank"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"mat-card"),i.Wb(2,"h2"),i.bc(3,wT),i.Vb(),i.Vb(),i.Wb(4,"mat-card"),i.Wb(5,"mat-card-content",1),i.Rb(6,"img",2),i.Wb(7,"p"),i.bc(8,CT),i.Vb(),i.Vb(),i.Vb(),i.Wb(9,"mat-card"),i.Wb(10,"mat-card-header"),i.Wb(11,"mat-card-title"),i.bc(12,ST),i.Vb(),i.Vb(),i.Wb(13,"mat-card-content"),i.Wb(14,"mat-list"),i.Wb(15,"mat-list-item"),i.Wb(16,"mat-icon",3),i.Jc(17,"done"),i.Vb(),i.Wb(18,"span"),i.Jc(19,"HTTP, HTTPS, HTTP2, Web Socket, TCP, UDP"),i.Vb(),i.Vb(),i.Wb(20,"mat-list-item"),i.Wb(21,"mat-icon",3),i.Jc(22,"done"),i.Vb(),i.Wb(23,"span"),i.bc(24,xT),i.Vb(),i.Vb(),i.Wb(25,"mat-list-item"),i.Wb(26,"mat-icon",3),i.Jc(27,"done"),i.Vb(),i.Wb(28,"span"),i.bc(29,MT),i.Vb(),i.Vb(),i.Wb(30,"mat-list-item"),i.Wb(31,"mat-icon",3),i.Jc(32,"done"),i.Vb(),i.Wb(33,"span"),i.bc(34,LT),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(35,"mat-card"),i.Wb(36,"mat-card-header"),i.Wb(37,"mat-card-title"),i.bc(38,OT),i.Vb(),i.Vb(),i.Wb(39,"mat-card-content"),i.Wb(40,"mat-nav-list"),i.Wb(41,"a",4),i.bc(42,DT),i.Vb(),i.Wb(43,"a",5),i.Jc(44,"User Guide (English)"),i.Vb(),i.Wb(45,"a",6),i.Jc(46,"\u7528\u6237\u624b\u518c\uff08\u4e2d\u6587\uff09"),i.Vb(),i.Wb(47,"a",7),i.bc(48,TT),i.Vb(),i.Wb(49,"a",8),i.bc(50,AT),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb())},directives:[lf,af,sf,uf,of,yS,CS,Mb,cf,gS],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:7px;border-radius:0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.card-content[_ngcontent-%COMP%]{padding-top:15px}.card-image[_ngcontent-%COMP%]{width:70%;margin-left:15%}.mat-list-item[_ngcontent-%COMP%]{font-size:14px}.mat-nav-list[_ngcontent-%COMP%]{display:-webkit-box;display:flex}']}),PT),jT=n("/POA"),YT=n("Fzww"),VT=["terminalDiv"];RT=$localize(_templateObject190());var WT,FT,HT,BT,zT=["placeholder",$localize(_templateObject191())],NT=["placeholder",$localize(_templateObject192())],UT=["placeholder",$localize(_templateObject193())],qT=["placeholder",$localize(_templateObject194())],JT=((WT=function(){function e(){_classCallCheck(this,e),this.server=new Lc("127.0.0.1","22","root","")}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"SSHConnect",value:function(){var e,t=window.location;e="https:"===t.protocol?"wss://":"ws://",e+=t.host+"/janusec-admin/webssh",this.term.reset();var n=new WebSocket(e),i=new YT.AttachAddon(n);this.term.loadAddon(i);var r=this;n.onopen=function(){n.send(JSON.stringify(r.server))}}},{key:"ngAfterViewInit",value:function(){this.term=new jT.Terminal,this.term.open(this.terminalDiv.nativeElement)}}]),e}()).\u0275fac=function(e){return new(e||WT)},WT.\u0275cmp=i.Jb({type:WT,selectors:[["app-webssh"]],viewQuery:function(e,t){var n;1&e&&i.Sc(VT,!0),2&e&&i.zc(n=i.kc())&&(t.terminalDiv=n.first)},inputs:{server:"server"},decls:23,vars:4,consts:[[1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],["mat-stroked-button","",3,"click"],["terminalDiv",""]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"h2"),i.Wb(2,"mat-icon"),i.Jc(3,"computer"),i.Vb(),i.Wb(4,"span"),i.bc(5,RT),i.Vb(),i.Vb(),i.Wb(6,"div"),i.Wb(7,"mat-form-field"),i.Wb(8,"input",1),i.dc(9,zT),i.jc("ngModelChange",(function(e){return t.server.ip=e})),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"input",1),i.dc(12,NT),i.jc("ngModelChange",(function(e){return t.server.port=e})),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"input",1),i.dc(15,UT),i.jc("ngModelChange",(function(e){return t.server.username=e})),i.Vb(),i.Vb(),i.Wb(16,"mat-form-field"),i.Wb(17,"input",2),i.dc(18,qT),i.jc("ngModelChange",(function(e){return t.server.password=e})),i.Vb(),i.Vb(),i.Wb(19,"button",3),i.jc("click",(function(){return t.SSHConnect()})),i.Jc(20,"SSH"),i.Vb(),i.Vb(),i.Rb(21,"div",null,4),i.Vb()),2&e&&(i.Cb(8),i.sc("ngModel",t.server.ip),i.Cb(3),i.sc("ngModel",t.server.port),i.Cb(3),i.sc("ngModel",t.server.username),i.Cb(3),i.sc("ngModel",t.server.password))},directives:[Mb,op,xp,At,li,Vt,ai,_f],styles:['.xterm{font-feature-settings:"liga" 0;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}'],encapsulation:2}),WT),KT=["label",$localize(_templateObject195())],GT=["label",$localize(_templateObject196())];FT=$localize(_templateObject197()),HT=$localize(_templateObject198()),BT=$localize(_templateObject199());var $T,ZT,XT,QT,eA,tA,nA,iA,rA,aA,oA,sA,cA,lA=["label",$localize(_templateObject200())],uA=["placeholder",$localize(_templateObject201())];function dA(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"mat-list",4),i.Wb(2,"mat-list-item"),i.Wb(3,"span"),i.bc(4,ZT),i.Vb(),i.Jc(5),i.Vb(),i.Wb(6,"mat-list-item"),i.Wb(7,"span"),i.bc(8,XT),i.Vb(),i.Jc(9),i.Vb(),i.Wb(10,"mat-list-item"),i.Wb(11,"span"),i.bc(12,QT),i.Vb(),i.Jc(13),i.Vb(),i.Wb(14,"mat-list-item"),i.Wb(15,"span"),i.bc(16,eA),i.Vb(),i.Jc(17),i.Vb(),i.Wb(18,"mat-list-item"),i.Wb(19,"span"),i.bc(20,tA),i.Vb(),i.Jc(21),i.Vb(),i.Wb(22,"mat-list-item"),i.Wb(23,"span"),i.bc(24,nA),i.Vb(),i.Jc(25),i.Vb(),i.Wb(26,"mat-list-item"),i.Wb(27,"span"),i.bc(28,iA),i.Vb(),i.Jc(29),i.Vb(),i.Wb(30,"mat-list-item"),i.Wb(31,"span"),i.bc(32,rA),i.Vb(),i.Jc(33),i.Vb(),i.Wb(34,"mat-list-item"),i.Wb(35,"span"),i.bc(36,aA),i.Vb(),i.Jc(37),i.Vb(),i.Wb(38,"mat-list-item"),i.Wb(39,"span"),i.bc(40,oA),i.Vb(),i.Jc(41),i.Vb(),i.Wb(42,"mat-list-item"),i.Wb(43,"span"),i.bc(44,sA),i.Vb(),i.Jc(45),i.Vb(),i.Wb(46,"button",6),i.jc("click",(function(){return i.Cc(n),i.nc().getGatewayHealth()})),i.Wb(47,"mat-icon",7),i.Jc(48,"refresh"),i.Vb(),i.Wb(49,"span"),i.bc(50,cA),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.Lc(": ",r.getDate(r.gate_health.start_time)," "),i.Cb(4),i.Lc(": ",r.getDate(r.gate_health.cur_time)," "),i.Cb(4),i.Mc(": ",r.gate_health.time_zone," ",r.gate_health.time_offset," "),i.Cb(4),i.Lc(": ",r.gate_health.version," "),i.Cb(4),i.Lc(": ",r.gate_health.concurrency," "),i.Cb(4),i.Lc(": ",r.gate_health.cpu_percent.toFixed(2),"% "),i.Cb(4),i.Nc(": ",r.gate_health.cpu_load1.toFixed(2)," ",r.gate_health.cpu_load5.toFixed(2)," ",r.gate_health.cpu_load15.toFixed(2)," "),i.Cb(4),i.Lc(": ",(r.gate_health.mem_used/1073741824).toFixed(2)," GB "),i.Cb(4),i.Lc(": ",(r.gate_health.mem_total/1073741824).toFixed(2)," GB "),i.Cb(4),i.Lc(": ",(r.gate_health.disk_used/1073741824).toFixed(2)," GB "),i.Cb(4),i.Lc(": ",(r.gate_health.disk_total/1073741824).toFixed(2)," GB ")}}function hA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",11),i.Jc(2,"error"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getAppNameByID(n.app_id),") "),i.Cb(2),i.Lc(" Offline Time: ",r.getDate(n.check_time)," ")}}function fA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",11),i.Jc(2,"error"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getVipAppNameByID(n.vip_app_id),") "),i.Cb(2),i.Lc(" Offline Time: ",r.getDate(n.check_time)," ")}}function pA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",12),i.Jc(2,"help"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getAppNameByID(n.app_id),") "),i.Cb(2),i.Lc(" Last Access Time: ",r.getDate(n.check_time)," ")}}function mA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",12),i.Jc(2,"help"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getVipAppNameByID(n.vip_app_id),") "),i.Cb(2),i.Lc(" Last Access Time: ",r.getDate(n.check_time)," ")}}function _A(e,t){if(1&e&&(i.Wb(0,"mat-option",13),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function bA(e,t){1&e&&(i.Wb(0,"mat-icon",11),i.Jc(1,"error"),i.Vb())}function gA(e,t){1&e&&(i.Wb(0,"mat-icon",16),i.Jc(1,"check_circle_outline"),i.Vb())}function vA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Ic(1,bA,2,0,"mat-icon",14),i.Ic(2,gA,2,0,"mat-icon",15),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc(2);i.Cb(1),i.sc("ngIf",0==n.online),i.Cb(1),i.sc("ngIf",1==n.online),i.Cb(2),i.Mc(" ",n.destination," (",r.selected_app.name,") "),i.Cb(2),i.Lc(" Check Time: ",r.getDate(n.check_time)," ")}}function yA(e,t){if(1&e&&(i.Wb(0,"mat-list",4),i.Ic(1,vA,7,5,"mat-list-item",5),i.Vb()),2&e){var n=i.nc();i.Cb(1),i.sc("ngForOf",n.selected_app.destinations)}}$T=$localize(_templateObject202()),ZT=$localize(_templateObject203()),XT=$localize(_templateObject204()),QT=$localize(_templateObject205()),eA=$localize(_templateObject206()),tA=$localize(_templateObject207()),nA=$localize(_templateObject208()),iA=$localize(_templateObject209()),rA=$localize(_templateObject210()),aA=$localize(_templateObject211()),oA=$localize(_templateObject212()),sA=$localize(_templateObject213()),cA=$localize(_templateObject214());var kA,wA,CA,SA,xA,MA,LA,OA,DA=((kA=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[]}return _createClass(e,[{key:"ngOnInit",value:function(){0!=this.rpcService.auth_user.logged?(this.getGatewayHealth(),this.updateDestinations()):this.router.navigate(["/"])}},{key:"updateDestinations",value:function(){this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[];var e=this,t=(new Date).getTime();this.rpcService.getResponse("get_apps",(function(n){e.rpcService.applications=n;var i=!0,r=!1,a=void 0;try{for(var o,s=e.rpcService.applications[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;e.rpcService.appmap[c.id]=c.name}}catch(k){r=!0,a=k}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}var l=!0,u=!1,d=void 0;try{for(var h,f=e.rpcService.applications[Symbol.iterator]();!(l=(h=f.next()).done);l=!0){var p=h.value,m=!0,_=!1,b=void 0;try{for(var g,v=p.destinations[Symbol.iterator]();!(m=(g=v.next()).done);m=!0){var y=g.value;y.route_type==pc.Reverse_Proxy&&(0==y.online?e.offlineDestinations.push(y):t-1e3*y.check_time>864e5&&e.unvisitedDestinations.push(y))}}catch(k){_=!0,b=k}finally{try{m||null==v.return||v.return()}finally{if(_)throw b}}}}catch(k){u=!0,d=k}finally{try{l||null==f.return||f.return()}finally{if(u)throw d}}})),this.rpcService.getResponse("get_vip_apps",(function(n){e.rpcService.vip_apps=n;var i=!0,r=!1,a=void 0;try{for(var o,s=e.rpcService.vip_apps[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;e.rpcService.vip_app_map[c.id]=c.name;var l=!0,u=!1,d=void 0;try{for(var h,f=c.targets[Symbol.iterator]();!(l=(h=f.next()).done);l=!0){var p=h.value;0==p.online?e.offlineVipTargets.push(p):t-1e3*p.check_time>864e5&&e.unvisitedVipTargets.push(p)}}catch(m){u=!0,d=m}finally{try{l||null==f.return||f.return()}finally{if(u)throw d}}}}catch(m){r=!0,a=m}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}}))}},{key:"getAppNameByID",value:function(e){return this.rpcService.appmap[e]}},{key:"getVipAppNameByID",value:function(e){return this.rpcService.vip_app_map[e]}},{key:"health_check_by_app_id",value:function(){var e=!0,t=!1,n=void 0;try{for(var i,r=this.rpcService.applications[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){var a=i.value;if(a.id==this.selected_app_id)return void(this.selected_app=a)}}catch(o){t=!0,n=o}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getGatewayHealth",value:function(){var e=this;this.rpcService.getResponse("get_gateway_health",(function(t){e.gate_health=t}))}}]),e}()).\u0275fac=function(e){return new(e||kA)(i.Pb(Ec),i.Pb(As))},kA.\u0275cmp=i.Jb({type:kA,selectors:[["app-health-check"]],decls:40,vars:10,consts:[[1,"container"],[6,"label"],[4,"ngIf"],["matLine",""],[1,"mat-list-item-list-stacked"],[4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],["matListIcon",""],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["class","mat-list-item-list-stacked",4,"ngIf"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn"],["matListIcon","","color","accent"],[3,"value"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"mat-tab-group"),i.Wb(2,"mat-tab",1),i.dc(3,KT),i.Ic(4,dA,51,14,"div",2),i.Vb(),i.Wb(5,"mat-tab",1),i.dc(6,GT),i.Wb(7,"div"),i.Wb(8,"h3",3),i.Wb(9,"span"),i.bc(10,FT),i.Vb(),i.Jc(11),i.Vb(),i.Vb(),i.Wb(12,"div"),i.Wb(13,"mat-list",4),i.Ic(14,hA,7,3,"mat-list-item",5),i.Ic(15,fA,7,3,"mat-list-item",5),i.Vb(),i.Vb(),i.Wb(16,"div"),i.Wb(17,"h3",3),i.Wb(18,"span"),i.bc(19,HT),i.Vb(),i.Jc(20),i.Vb(),i.Vb(),i.Wb(21,"div"),i.Wb(22,"mat-list",4),i.Ic(23,pA,7,3,"mat-list-item",5),i.Ic(24,mA,7,3,"mat-list-item",5),i.Vb(),i.Vb(),i.Wb(25,"button",6),i.jc("click",(function(){return t.updateDestinations()})),i.Wb(26,"mat-icon",7),i.Jc(27,"refresh"),i.Vb(),i.Wb(28,"span"),i.bc(29,BT),i.Vb(),i.Vb(),i.Vb(),i.Wb(30,"mat-tab",1),i.dc(31,lA),i.Wb(32,"mat-form-field"),i.Wb(33,"mat-select",8),i.dc(34,uA),i.jc("ngModelChange",(function(e){return t.selected_app_id=e})),i.Ic(35,_A,2,2,"mat-option",9),i.Vb(),i.Vb(),i.Wb(36,"button",6),i.jc("click",(function(){return t.health_check_by_app_id()})),i.bc(37,$T),i.Vb(),i.Wb(38,"div"),i.Ic(39,yA,2,1,"mat-list",10),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(4),i.sc("ngIf",t.gate_health),i.Cb(7),i.Lc(": ",t.offlineDestinations.length+t.offlineVipTargets.length,""),i.Cb(3),i.sc("ngForOf",t.offlineDestinations),i.Cb(1),i.sc("ngForOf",t.offlineVipTargets),i.Cb(5),i.Lc(": ",t.unvisitedDestinations.length+t.unvisitedVipTargets.length,""),i.Cb(3),i.sc("ngForOf",t.unvisitedDestinations),i.Cb(1),i.sc("ngForOf",t.unvisitedVipTargets),i.Cb(9),i.sc("ngModel",t.selected_app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(4),i.sc("ngIf",t.selected_app))},directives:[JO,YO,z,Pd,yS,H,_f,Mb,wS,op,k_,Vt,ai,CS,F_,ah],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px 0}.refresh_pointer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#e0e0e0}"]}),kA),TA=["appPaginator"];function AA(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",18),i.jc("click",(function(){return i.Cc(n),i.nc().addVipApp()})),i.bc(1,SA),i.Vb()}}function EA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function PA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/vip/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function RA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,xA),i.Vb())}function IA(e,t){1&e&&(i.Wb(0,"span",21),i.Jc(1,"TCP"),i.Vb())}function jA(e,t){1&e&&(i.Wb(0,"span",21),i.Jc(1,"UDP"),i.Vb())}function YA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Ic(1,IA,2,0,"span",20),i.Ic(2,jA,2,0,"span",20),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_tcp),i.Cb(1),i.sc("ngIf",!n.is_tcp)}}function VA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,MA),i.Vb())}function WA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/vip/",n.id,""),i.Cb(1),i.Lc(" ",n.listen_port," ")}}function FA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,LA),i.Vb())}function HA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/vip/",n.id,""),i.Cb(1),i.Lc(" ",n.name," ")}}function BA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,OA),i.Vb())}function zA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.description," ")}}function NA(e,t){1&e&&i.Rb(0,"mat-header-row")}function UA(e,t){1&e&&i.Rb(0,"mat-row")}wA=$localize(_templateObject215()),CA=$localize(_templateObject216()),SA=$localize(_templateObject217()),xA=$localize(_templateObject218()),MA=$localize(_templateObject219()),LA=$localize(_templateObject220()),OA=$localize(_templateObject221());var qA,JA,KA,GA,$A,ZA,XA=function(){return[10,20,50]},QA=((qA=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.displayedColumns=["id","is_tcp","listen_port","name","description"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;0!=this.rpcService.auth_user.logged?(this.rpcService.getVipApps(),setTimeout((function(){e.appDataSource=new Qh(e.rpcService.vip_apps),e.appLength=e.rpcService.vip_apps.length}),500)):this.router.navigate(["/"])}},{key:"addVipApp",value:function(){this.router.navigate(["/vip/0"])}},{key:"applyFilter",value:function(e){this.appDataSource.filter=e.trim().toLowerCase()}}]),e}()).\u0275fac=function(e){return new(e||qA)(i.Pb(Ec),i.Pb(As))},qA.\u0275cmp=i.Jb({type:qA,selectors:[["app-vip-apps"]],viewQuery:function(e,t){var n;1&e&&i.Sc(TA,!0),2&e&&i.zc(n=i.kc())&&(t.appPaginator=n.first)},decls:38,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click",4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8",3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_tcp"],["matColumnDef","listen_port"],["matColumnDef","name"],["matColumnDef","description"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["appPaginator",""],[1,"notes"],["mat-stroked-button","",3,"click"],[3,"routerLink"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,wA),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"div"),i.Wb(6,"span"),i.Ic(7,AA,2,0,"button",1),i.Vb(),i.Wb(8,"span"),i.Jc(9,"\xa0\xa0\xa0\xa0"),i.Vb(),i.Wb(10,"mat-form-field",2),i.Wb(11,"input",3),i.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),i.Vb(),i.Vb(),i.Vb(),i.Wb(12,"div"),i.Wb(13,"mat-table",4,5),i.Ub(15,6),i.Ic(16,EA,2,0,"mat-header-cell",7),i.Ic(17,PA,3,2,"mat-cell",8),i.Tb(),i.Ub(18,9),i.Ic(19,RA,2,0,"mat-header-cell",7),i.Ic(20,YA,3,2,"mat-cell",8),i.Tb(),i.Ub(21,10),i.Ic(22,VA,2,0,"mat-header-cell",7),i.Ic(23,WA,3,2,"mat-cell",8),i.Tb(),i.Ub(24,11),i.Ic(25,FA,2,0,"mat-header-cell",7),i.Ic(26,HA,3,2,"mat-cell",8),i.Tb(),i.Ub(27,12),i.Ic(28,BA,2,0,"mat-header-cell",7),i.Ic(29,zA,2,1,"mat-cell",8),i.Tb(),i.Ic(30,NA,1,0,"mat-header-row",13),i.Ic(31,UA,1,0,"mat-row",14),i.Vb(),i.Rb(32,"mat-paginator",15,16),i.Vb(),i.Rb(34,"br"),i.Rb(35,"mat-divider"),i.Wb(36,"div",17),i.bc(37,CA),i.Vb(),i.Vb()),2&e&&(i.Cb(7),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(6),i.sc("dataSource",t.appDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.appLength)("pageSize",20)("pageSizeOptions",i.wc(7,XA)))},directives:[lf,z,op,xp,Rh,Fh,Vh,jh,Nh,qh,nb,Qb,_f,Bh,zh,Es,Kh,$h],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}"]}),qA),eE=["input"],tE=function(){return{enterDuration:150}},nE=["*"],iE=new i.r("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),rE=0,aE={provide:Mt,useExisting:Object(i.U)((function(){return sE})),multi:!0},oE=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},sE=((JA=function(){function e(t){_classCallCheck(this,e),this._changeDetector=t,this._value=null,this._name="mat-radio-group-".concat(rE++),this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new i.o}return _createClass(e,[{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach((function(t){t.name=e.name,t._markForCheck()}))}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach((function(t){t.checked=e.value===t.value,t.checked&&(e._selected=t)})))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new oE(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach((function(e){return e._markForCheck()}))}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}},{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Pc(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e),this._markRadiosForCheck()}}]),e}()).\u0275fac=function(e){return new(e||JA)(i.Pb(i.h))},JA.\u0275dir=i.Kb({type:JA,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,lE,!0),2&e&&i.zc(r=i.kc())&&(t._radios=r)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[i.Bb([aE])]}),JA),cE=dd(hd((function e(t){_classCallCheck(this,e),this._elementRef=t}))),lE=((GA=function(e){function t(e,n,r,a,o,s,c){var l;return _classCallCheck(this,t),(l=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n)))._changeDetector=r,l._focusMonitor=a,l._radioDispatcher=o,l._animationMode=s,l._providerOverride=c,l._uniqueId="mat-radio-".concat(++rE),l.id=l._uniqueId,l.change=new i.o,l._checked=!1,l._value=null,l._removeUniqueSelectionListener=function(){},l.radioGroup=e,l._removeUniqueSelectionListener=o.listen((function(e,t){e!==l.id&&t===l.name&&(l.checked=!1)})),l}return _inherits(t,e),_createClass(t,[{key:"focus",value:function(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(t){!t&&e.radioGroup&&e.radioGroup._touch()}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new oE(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"_onInputChange",value:function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}},{key:"checked",get:function(){return this._checked},set:function(e){var t=Pc(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){this._setDisabled(Pc(e))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=Pc(e)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}}]),t}(cE)).\u0275fac=function(e){return new(e||GA)(i.Pb(sE,8),i.Pb(i.l),i.Pb(i.h),i.Pb(Ju),i.Pb(Uc),i.Pb(dt,8),i.Pb(iE,8))},GA.\u0275cmp=i.Jb({type:GA,selectors:[["mat-radio-button"]],viewQuery:function(e,t){var n;1&e&&i.Sc(eE,!0),2&e&&i.zc(n=i.kc())&&(t._inputElement=n.first)},hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&i.jc("focus",(function(){return t._inputElement.nativeElement.focus()})),2&e&&(i.Db("tabindex",-1)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Gb("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},exportAs:["matRadioButton"],features:[i.zb],ngContentSelectors:nE,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(i.rc(),i.Wb(0,"label",0,1),i.Wb(2,"div",2),i.Rb(3,"div",3),i.Rb(4,"div",4),i.Wb(5,"div",5),i.Rb(6,"div",6),i.Vb(),i.Wb(7,"input",7,8),i.jc("change",(function(e){return t._onInputChange(e)}))("click",(function(e){return t._onInputClick(e)})),i.Vb(),i.Vb(),i.Wb(9,"div",9),i.Wb(10,"span",10),i.Jc(11,"\xa0"),i.Vb(),i.qc(12),i.Vb(),i.Vb()),2&e){var n=i.Ac(1);i.Db("for",t.inputId),i.Cb(5),i.sc("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.wc(18,tE)),i.Cb(2),i.sc("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),i.Db("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i.Cb(2),i.Gb("mat-radio-label-before","before"==t.labelPosition)}},directives:[Kd],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),GA),uE=((KA=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:KA}),KA.\u0275inj=i.Mb({factory:function(e){return new(e||KA)},imports:[[Gd,cd],cd]}),KA);$A=$localize(_templateObject222()),ZA=$localize(_templateObject223());var dE,hE,fE=["placeholder",$localize(_templateObject224())],pE=["placeholder",$localize(_templateObject225())];dE=$localize(_templateObject226()),hE=$localize(_templateObject227());var mE,_E,bE,gE,vE=["placeholder",$localize(_templateObject228())],yE=["placeholder",$localize(_templateObject229())];mE=$localize(_templateObject230()),_E=$localize(_templateObject231()),bE=$localize(_templateObject232()),gE=$localize(_templateObject233());var kE=["matTooltip",$localize(_templateObject234())];function wE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",24),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delTarget(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function CE(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",20),i.Wb(2,"mat-label"),i.bc(3,gE),i.Vb(),i.Wb(4,"input",21),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).vip_app.targets[t].destination=e})),i.Vb(),i.Wb(5,"mat-icon",22),i.dc(6,kE),i.jc("click",(function(){return i.Cc(n),i.nc(3).addTarget()})),i.Jc(7,"add_circle_outline"),i.Vb(),i.Ic(8,wE,2,0,"mat-icon",23),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.vip_app.targets[r].destination)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.vip_app.targets.length>1)}}var SE=["matTooltip",$localize(_templateObject235())];function xE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",24),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delTarget(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function ME(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",25),i.Wb(2,"mat-label"),i.Jc(3,"K8S Pods API"),i.Vb(),i.Wb(4,"input",26),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).vip_app.targets[t].pods_api=e})),i.Vb(),i.Vb(),i.Wb(5,"mat-form-field",17),i.Wb(6,"mat-label"),i.Jc(7,"K8S Pod Port"),i.Vb(),i.Wb(8,"input",27),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).vip_app.targets[t].pod_port=e})),i.Vb(),i.Wb(9,"mat-icon",22),i.dc(10,SE),i.jc("click",(function(){return i.Cc(n),i.nc(3).addTarget()})),i.Jc(11,"add_circle_outline"),i.Vb(),i.Ic(12,xE,2,0,"mat-icon",23),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.vip_app.targets[r].pods_api)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.vip_app.targets[r].pod_port)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.vip_app.targets.length>1)}}function LE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",16),i.Wb(1,"mat-form-field",17),i.Wb(2,"mat-label"),i.bc(3,bE),i.Vb(),i.Wb(4,"mat-select",18),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).vip_app.targets[r].route_type=e})),i.Wb(5,"mat-option",9),i.Jc(6," Reverse Proxy "),i.Vb(),i.Wb(7,"mat-option",9),i.Jc(8," K8S Ingress "),i.Vb(),i.Vb(),i.Vb(),i.Ic(9,CE,9,3,"ng-container",19),i.Ic(10,ME,13,5,"ng-container",19),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc(2);i.Cb(4),i.sc("ngModel",o.vip_app.targets[a].route_type)("disabled",o.readOnlyValue),i.Cb(1),i.sc("value",o.reverseProxyMode),i.Cb(2),i.sc("value",o.k8sMode),i.Cb(2),i.sc("ngIf",r.route_type==o.reverseProxyMode),i.Cb(1),i.sc("ngIf",r.route_type==o.k8sMode)}}function OE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",1),i.Wb(1,"div"),i.Wb(2,"h2"),i.bc(3,$A),i.Vb(),i.Wb(4,"div",2),i.bc(5,ZA),i.Vb(),i.Vb(),i.Wb(6,"div"),i.Wb(7,"mat-form-field"),i.Wb(8,"input",3,4),i.dc(10,fE),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.name=e})),i.Vb(),i.Wb(11,"mat-hint",5),i.Jc(12),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"input",6,7),i.dc(16,pE),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.listen_port=e})),i.Vb(),i.Wb(17,"mat-hint",5),i.Jc(18),i.Vb(),i.Vb(),i.Wb(19,"mat-radio-group",8),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.is_tcp=e})),i.Wb(20,"mat-radio-button",9),i.Jc(21,"TCP"),i.Vb(),i.Wb(22,"mat-radio-button",9),i.Jc(23,"UDP"),i.Vb(),i.Vb(),i.Wb(24,"div",2),i.bc(25,dE),i.Vb(),i.Wb(26,"mat-expansion-panel",10),i.Wb(27,"mat-expansion-panel-header"),i.Wb(28,"mat-panel-title"),i.Wb(29,"h3"),i.bc(30,hE),i.Vb(),i.Vb(),i.Vb(),i.Ic(31,LE,11,6,"div",11),i.Vb(),i.Wb(32,"mat-form-field"),i.Wb(33,"input",12),i.dc(34,vE),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.owner=e})),i.Vb(),i.Vb(),i.Wb(35,"mat-form-field"),i.Wb(36,"input",12,13),i.dc(38,yE),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.description=e})),i.Vb(),i.Wb(39,"mat-hint",5),i.Jc(40),i.Vb(),i.Vb(),i.Wb(41,"div"),i.Wb(42,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().updateVipApp()})),i.bc(43,mE),i.Vb(),i.Wb(44,"button",15),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(45),i.Vb(),i.Wb(46,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().deleteVipApp()})),i.bc(47,_E),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(9),a=i.Ac(15),o=i.Ac(37),s=i.nc();i.Cb(8),i.sc("ngModel",s.vip_app.name)("readonly",s.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",s.vip_app.listen_port)("readonly",s.readOnlyValue),i.Cb(4),i.Lc("",(null==a.value?null:a.value.length)||0,"/5"),i.Cb(1),i.sc("ngModel",s.vip_app.is_tcp)("disabled",s.readOnlyValue),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1),i.Cb(4),i.sc("expanded",!0),i.Cb(5),i.sc("ngForOf",s.vip_app.targets)("ngForTrackBy",s.trackByFn),i.Cb(2),i.sc("ngModel",s.vip_app.owner)("readonly",s.readOnlyValue),i.Cb(3),i.sc("ngModel",s.vip_app.description)("readonly",s.readOnlyValue),i.Cb(4),i.Lc("",(null==o.value?null:o.value.length)||0,"/256"),i.Cb(2),i.sc("disabled",s.readOnlyValue),i.Cb(3),i.Kc(s.readOnlyButtonText),i.Cb(1),i.sc("disabled",s.readOnlyValue)}}var DE,TE,AE,EE,PE=((DE=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.reverseProxyMode=pc.Reverse_Proxy,this.k8sMode=pc.K8S_Ingress,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}return _createClass(e,[{key:"ngOnInit",value:function(){this.getVipApp()}},{key:"getVipApp",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_vip_app",(function(e){null!=e&&(t.vip_app=e)}),e)}else this.readOnlyValue=!1,this.vip_app=new uc,this.vip_app.id="0",this.vip_app.name="XXX",this.vip_app.listen_port=8001,this.vip_app.is_tcp=!0,this.vip_app.targets=[],this.vip_app.owner=this.rpcService.auth_user.username,this.vip_app.description="Used for YYY",this.addTarget()}},{key:"addTarget",value:function(){if(!this.readOnlyValue){var e=new dc;e.id="0",e.vip_app_id=this.vip_app.id,e.route_type=pc.Reverse_Proxy,e.destination="127.0.0.1:4001",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",this.vip_app.targets.push(e)}}},{key:"delTarget",value:function(e){this.readOnlyValue||(1!=this.vip_app.targets.length?this.vip_app.targets.splice(e,1):alert("At least one item is required!"))}},{key:"updateVipApp",value:function(){var e=this;this.rpcService.getResponse("update_vip_app",(function(t){if(null!=t){var n=t.id;e.vip_app.id==n?e.vip_app=t:(e.vip_app.id=n,e.router.navigate(["/vip/"+n])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Port forwarding "+t.name+" saved.")}else e.messageService.add("Update failed.")}),null,e.vip_app)}},{key:"deleteVipApp",value:function(){if(confirm("Are you sure to delete application: "+this.vip_app.name+"?")){var e=this;this.rpcService.getResponse("del_vip_app",(function(){e.messageService.add(e.vip_app.name+" deleted."),e.router.navigate(["/forwarding"])}),this.vip_app.id,null)}}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}]),e}()).\u0275fac=function(e){return new(e||DE)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},DE.\u0275cmp=i.Jb({type:DE,selectors:[["app-vip-app"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],["matInput","","type","number","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["listen_port",""],["aria-label","Protocol",3,"ngModel","disabled","ngModelChange"],[3,"value"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["required","",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],[1,"inline-form-field-80"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],[1,"inline-form-field-60"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&i.Ic(0,OE,48,21,"div",0),2&e&&i.sc("ngIf",t.vip_app)},directives:[z,op,xp,At,li,Vt,ai,Xf,en,sE,lE,Xg,Qg,ev,H,_f,Qf,k_,ah,Mb,np,F_],styles:['.required[_ngcontent-%COMP%]{color:red}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;width:100%}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}.detail_panel[_ngcontent-%COMP%]{margin-top:20px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;margin-top:5px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-60[_ngcontent-%COMP%]{width:55%;margin-right:5px}.inline-form-field-80[_ngcontent-%COMP%]{width:75%;margin-right:5px}']}),DE);function RE(e,t){if(1&e&&(i.Wb(0,"tr"),i.Wb(1,"td"),i.Wb(2,"a",7),i.Jc(3),i.Vb(),i.Vb(),i.Wb(4,"td",8),i.Jc(5),i.Vb(),i.Wb(6,"td",8),i.Jc(7),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(2),i.tc("href",n.url,i.Dc),i.Cb(1),i.Lc(" ",n.url," "),i.Cb(2),i.Lc(" ",n.PV," "),i.Cb(2),i.Lc(" ",n.UV," ")}}TE=$localize(_templateObject236()),AE=$localize(_templateObject237()),EE=$localize(_templateObject238());var IE,jE,YE,VE,WE,FE,HE,BE,zE=((IE=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r}return _createClass(e,[{key:"ngOnInit",value:function(){this.app_id=this.route.snapshot.paramMap.get("app_id"),this.host=this.route.snapshot.paramMap.get("host"),this.getRefererURLs(this.app_id,this.host)}},{key:"getRefererURLs",value:function(e,t){var n=this;this.rpcService.getResponseByCustomBody({action:"get_referer_urls",app_id:e,host:t},(function(e){n.referer_urls=e}))}},{key:"getAppNameByID",value:function(e){return"0"==e?"All":this.rpcService.appmap[e]}}]),e}()).\u0275fac=function(e){return new(e||IE)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},IE.\u0275cmp=i.Jb({type:IE,selectors:[["app-referer"]],decls:23,vars:3,consts:[[1,"container"],["fxLayout","row wrap"],["fxFlex","100%",1,"access_div"],[1,"referer_table"],["width","60%"],["width","20%"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"td-align-center"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"div"),i.Wb(4,"span"),i.bc(5,TE),i.Vb(),i.Jc(6),i.Vb(),i.Wb(7,"div"),i.Wb(8,"span"),i.bc(9,AE),i.Vb(),i.Jc(10),i.Vb(),i.Vb(),i.Vb(),i.Rb(11,"br"),i.Wb(12,"div",1),i.Wb(13,"div",2),i.Wb(14,"table",3),i.Wb(15,"tr"),i.Wb(16,"th",4),i.bc(17,EE),i.Vb(),i.Wb(18,"th",5),i.Jc(19,"PV (14 days)"),i.Vb(),i.Wb(20,"th",5),i.Jc(21,"UV (14 days)"),i.Vb(),i.Vb(),i.Ic(22,RE,8,4,"tr",6),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(6),i.Lc(": ",t.host," "),i.Cb(4),i.Lc(": ",t.getAppNameByID(t.app_id)," "),i.Cb(12),i.sc("ngForOf",t.referer_urls))},directives:[lf,mk,Lk,H],styles:['.referer_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#ddd}.referer_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.referer_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),IE),NE=n("0FX9"),UE=["qrcElement"],qE=((YE=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.renderer=t,this.platformId=n,this.colordark="",this.colorlight="",this.level="",this.hidetitle=!1,this.size=0,this.usesvg=!1,this.allowEmptyString=!1,this.qrdata="",this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.scale=4,this.width=10,this.qrcode=null,this.isValidQrCodeText=function(e){return!1===i.allowEmptyString?!(void 0===e||""===e||"null"===e||null===e):!(void 0===e)},""!==this.colordark&&console.warn("[angularx-qrcode] colordark is deprecated, use colorDark."),""!==this.colorlight&&console.warn("[angularx-qrcode] colorlight is deprecated, use colorLight."),""!==this.level&&console.warn("[angularx-qrcode] level is deprecated, use errorCorrectionLevel."),!1!==this.hidetitle&&console.warn("[angularx-qrcode] hidetitle is deprecated."),0!==this.size&&console.warn("[angularx-qrcode] size is deprecated, use `width`. Defaults to 10."),!1!==this.usesvg&&console.warn("[angularx-qrcode] usesvg is deprecated, use [elementType]=\"'img'\".")}return _createClass(e,[{key:"ngAfterViewInit",value:function(){se(this.platformId)||this.createQRCode()}},{key:"ngOnChanges",value:function(){this.createQRCode()}},{key:"toDataURL",value:function(){var e=this;return new Promise((function(t,n){Object(NE.toDataURL)(e.qrdata,{color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,version:e.version,width:e.width},(function(e,i){e?n(e):t(i)}))}))}},{key:"toCanvas",value:function(e){var t=this;return new Promise((function(n,i){Object(NE.toCanvas)(e,t.qrdata,{color:{dark:t.colorDark,light:t.colorLight},errorCorrectionLevel:t.errorCorrectionLevel,margin:t.margin,scale:t.scale,version:t.version,width:t.width},(function(e){e?i(e):n("success")}))}))}},{key:"toSVG",value:function(){var e=this;return new Promise((function(t,n){Object(NE.toString)(e.qrdata,{color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,type:"svg",version:e.version,width:e.width},(function(e,i){e?n(e):t(i)}))}))}},{key:"renderElement",value:function(e){var t=!0,n=!1,i=void 0;try{for(var r,a=this.qrcElement.nativeElement.childNodes[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var o=r.value;this.renderer.removeChild(this.qrcElement.nativeElement,o)}}catch(s){n=!0,i=s}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}this.renderer.appendChild(this.qrcElement.nativeElement,e)}},{key:"createQRCode",value:function(){var e=this;this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):void 0!==this.version&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto"),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty");var t;switch(this.elementType){case"canvas":t=this.renderer.createElement("canvas"),this.toCanvas(t).then((function(){e.renderElement(t)})).catch((function(e){console.error("[angularx-qrcode] canvas error: ",e)}));break;case"svg":t=this.renderer.createElement("svg","svg"),this.toSVG().then((function(n){t.innerHTML=n,e.renderer.setAttribute(t,"height","".concat(e.width)),e.renderer.setAttribute(t,"width","".concat(e.width)),e.renderElement(t)})).catch((function(e){console.error("[angularx-qrcode] svg error: ",e)}));break;case"url":case"img":default:t=this.renderer.createElement("img"),this.toDataURL().then((function(n){t.setAttribute("src",n),e.renderElement(t)})).catch((function(e){console.error("[angularx-qrcode] img/url error: ",e)}))}}catch(n){console.error("[angularx-qrcode] Error generating QR Code: ",n.message)}}}]),e}()).\u0275fac=function(e){return new(e||YE)(i.Pb(i.F),i.Pb(i.C))},YE.\u0275cmp=i.Jb({type:YE,selectors:[["qrcode"]],viewQuery:function(e,t){var n;1&e&&i.Gc(UE,!0),2&e&&i.zc(n=i.kc())&&(t.qrcElement=n.first)},inputs:{colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",size:"size",usesvg:"usesvg",allowEmptyString:"allowEmptyString",qrdata:"qrdata",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",margin:"margin",scale:"scale",width:"width",version:"version"},features:[i.Ab()],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,t){1&e&&i.Rb(0,"div",null,0),2&e&&i.Eb(t.cssClass)},encapsulation:2,changeDetection:0}),YE),JE=((jE=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:jE}),jE.\u0275inj=i.Mb({factory:function(e){return new(e||jE)},providers:[]}),jE);VE=$localize(_templateObject239()),WE=$localize(_templateObject240()),FE=$localize(_templateObject241()),HE=$localize(_templateObject242()),BE=$localize(_templateObject243());var KE,GE,$E=((KE=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.router=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.qrData="otpauth://totp/"+this.rpcService.auth_user.username+"?secret="+this.rpcService.auth_user.totp_key+"&issuer=JANUSEC"}},{key:"verify",value:function(){var e=this;this.rpcService.getResponseByCustomBody({action:"verify_totp",uid:this.rpcService.auth_user.username,code:this.code},(function(){e.messageService.add("verify ok, please login"),e.router.navigate(["/login"])}))}}]),e}()).\u0275fac=function(e){return new(e||KE)(i.Pb(Ec),i.Pb(Tc),i.Pb(As))},KE.\u0275cmp=i.Jb({type:KE,selectors:[["app-authcode-register"]],decls:18,vars:5,consts:[[1,"container"],[1,"notes"],[3,"qrdata","width","errorCorrectionLevel"],["matInput","","required","",3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"h1"),i.bc(2,VE),i.Vb(),i.Wb(3,"div",1),i.bc(4,WE),i.Vb(),i.Rb(5,"qrcode",2),i.Wb(6,"div"),i.Wb(7,"span"),i.bc(8,FE),i.Vb(),i.Jc(9),i.Vb(),i.Rb(10,"br"),i.Wb(11,"mat-form-field"),i.Wb(12,"mat-label"),i.bc(13,HE),i.Vb(),i.Wb(14,"input",3),i.jc("ngModelChange",(function(e){return t.code=e})),i.Vb(),i.Vb(),i.Wb(15,"section"),i.Wb(16,"button",4),i.jc("click",(function(){return t.verify()})),i.bc(17,BE),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(5),i.sc("qrdata",t.qrData)("width",256)("errorCorrectionLevel","M"),i.Cb(4),i.Lc(" ",t.rpcService.auth_user.totp_key," "),i.Cb(5),i.sc("ngModel",t.code))},directives:[qE,op,Qf,xp,At,li,Vt,ai,_f],styles:[""]}),KE),ZE=["label",$localize(_templateObject244())];GE=$localize(_templateObject245());var XE,QE,eP,tP,nP,iP,rP=["placeholder",$localize(_templateObject246())],aP=["placeholder",$localize(_templateObject247())],oP=["placeholder",$localize(_templateObject248())],sP=["placeholder",$localize(_templateObject249())];XE=$localize(_templateObject250()),QE=$localize(_templateObject251()),eP=$localize(_templateObject252()),tP=$localize(_templateObject253()),nP=$localize(_templateObject254()),iP=$localize(_templateObject255());var cP,lP=["label",$localize(_templateObject256())];cP=$localize(_templateObject257());var uP,dP=["placeholder",$localize(_templateObject258())];function hP(e,t){if(1&e&&(i.Wb(0,"mat-option",11),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}function fP(e,t){if(1&e&&(i.Wb(0,"mat-option",11),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function pP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"button",12),i.jc("click",(function(){i.Cc(n);var e=i.nc();return e.newCCPolicy(e.selected_app_id)})),i.bc(2,uP),i.Vb(),i.Vb()}}uP=$localize(_templateObject259());var mP,_P,bP,gP,vP,yP,kP=["placeholder",$localize(_templateObject260())],wP=["placeholder",$localize(_templateObject261())],CP=["placeholder",$localize(_templateObject262())],SP=["placeholder",$localize(_templateObject263())];function xP(e,t){if(1&e&&(i.Wb(0,"mat-option",11),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}function MP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"h3"),i.Jc(2),i.Vb(),i.Wb(3,"mat-form-field"),i.Wb(4,"input",2),i.dc(5,kP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.interval_milliseconds=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",2),i.dc(8,wP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.max_count=e})),i.Vb(),i.Vb(),i.Wb(9,"mat-form-field"),i.Wb(10,"input",2),i.dc(11,CP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.block_seconds=e})),i.Vb(),i.Vb(),i.Wb(12,"mat-form-field"),i.Wb(13,"mat-select",3),i.dc(14,SP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.action=e})),i.Ic(15,xP,2,2,"mat-option",4),i.Vb(),i.Vb(),i.Wb(16,"section"),i.Wb(17,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.stat_by_url=e})),i.bc(18,mP),i.Vb(),i.Vb(),i.Wb(19,"section"),i.Wb(20,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.stat_by_ua=e})),i.bc(21,_P),i.Vb(),i.Vb(),i.Wb(22,"section"),i.Wb(23,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.stat_by_cookie=e})),i.bc(24,bP),i.Vb(),i.Vb(),i.Wb(25,"section"),i.Wb(26,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.is_enabled=e})),i.bc(27,gP),i.Vb(),i.Vb(),i.Wb(28,"div"),i.Wb(29,"button",6),i.jc("click",(function(){i.Cc(n);var e=i.nc();return e.updateCCPolicy(e.selected_app_id)})),i.bc(30,vP),i.Vb(),i.Wb(31,"button",12),i.jc("click",(function(){i.Cc(n);var e=i.nc();return e.deleteCCPolicy(e.selected_app_id)})),i.bc(32,yP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(2),i.Lc("",r.application.name," CC Policy"),i.Cb(2),i.sc("ngModel",r.app_cc_policy.interval_milliseconds),i.Cb(3),i.sc("ngModel",r.app_cc_policy.max_count),i.Cb(3),i.sc("ngModel",r.app_cc_policy.block_seconds),i.Cb(3),i.sc("ngModel",r.app_cc_policy.action),i.Cb(2),i.sc("ngForOf",r.enum_action_values),i.Cb(2),i.sc("ngModel",r.app_cc_policy.stat_by_url),i.Cb(3),i.sc("ngModel",r.app_cc_policy.stat_by_ua),i.Cb(3),i.sc("ngModel",r.app_cc_policy.stat_by_cookie),i.Cb(3),i.sc("ngModel",r.app_cc_policy.is_enabled)}}mP=$localize(_templateObject264()),_P=$localize(_templateObject265()),bP=$localize(_templateObject266()),gP=$localize(_templateObject267()),vP=$localize(_templateObject268()),yP=$localize(_templateObject269());var LP,OP,DP,TP,AP,EP,PP,RP,IP,jP,YP,VP,WP,FP,HP=((LP=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.enum_action_values=[],this.global_cc_policy=new bc,this.app_cc_policy=new bc,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getCCPolicy("0"))}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e});else this.router.navigate(["/"])}},{key:"getCCPolicy",value:function(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(n){null!=n&&("0"==e?t.global_cc_policy=n:(t.app_cc_policy=n,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}},{key:"newCCPolicy",value:function(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}},{key:"updateCCPolicy",value:function(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);var n=this;this.rpcService.getResponse("update_cc_policy",(function(){n.messageService.add("CC policy updated!")}),e,t)}},{key:"deleteCCPolicy",value:function(e){if("0"!=e){this.has_custom_cc_policy=!1;var t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}}},{key:"onSelectApp",value:function(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}},{key:"getVulnNameByID",value:function(e){return this.rpcService.vulntypemap[e]}}]),e}()).\u0275fac=function(e){return new(e||LP)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},LP.\u0275cmp=i.Jb({type:LP,selectors:[["app-cc"]],decls:48,vars:13,consts:[[1,"container"],[6,"label"],["matInput","","type","number","required","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],[1,"notes"],[1,"fullrow"],[3,"ngModel","ngModelChange","selectionChange",6,"placeholder"],[4,"ngIf"],[3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"mat-tab-group"),i.Wb(2,"mat-tab",1),i.dc(3,ZE),i.Wb(4,"div"),i.Wb(5,"h2"),i.bc(6,GE),i.Vb(),i.Wb(7,"mat-form-field"),i.Wb(8,"input",2),i.dc(9,rP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.interval_milliseconds=e})),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"input",2),i.dc(12,aP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.max_count=e})),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"input",2),i.dc(15,oP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.block_seconds=e})),i.Vb(),i.Vb(),i.Wb(16,"mat-form-field"),i.Wb(17,"mat-select",3),i.dc(18,sP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.action=e})),i.Ic(19,hP,2,2,"mat-option",4),i.Vb(),i.Vb(),i.Wb(20,"section"),i.Wb(21,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_url=e})),i.bc(22,XE),i.Vb(),i.Vb(),i.Wb(23,"section"),i.Wb(24,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_ua=e})),i.bc(25,QE),i.Vb(),i.Vb(),i.Wb(26,"section"),i.Wb(27,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_cookie=e})),i.bc(28,eP),i.Vb(),i.Vb(),i.Wb(29,"section"),i.Wb(30,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.is_enabled=e})),i.bc(31,tP),i.Vb(),i.Vb(),i.Wb(32,"button",6),i.jc("click",(function(){return t.updateCCPolicy("0")})),i.bc(33,nP),i.Vb(),i.Rb(34,"hr"),i.Wb(35,"div",7),i.bc(36,iP),i.Vb(),i.Vb(),i.Vb(),i.Wb(37,"mat-tab",1),i.dc(38,lP),i.Wb(39,"div"),i.Wb(40,"h2"),i.bc(41,cP),i.Vb(),i.Wb(42,"mat-form-field",8),i.Wb(43,"mat-select",9),i.dc(44,dP),i.jc("ngModelChange",(function(e){return t.selected_app_id=e}))("selectionChange",(function(){return t.onSelectApp()})),i.Ic(45,fP,2,2,"mat-option",4),i.Vb(),i.Vb(),i.Ic(46,pP,3,0,"div",10),i.Vb(),i.Ic(47,MP,33,10,"div",10),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(8),i.sc("ngModel",t.global_cc_policy.interval_milliseconds),i.Cb(3),i.sc("ngModel",t.global_cc_policy.max_count),i.Cb(3),i.sc("ngModel",t.global_cc_policy.block_seconds),i.Cb(3),i.sc("ngModel",t.global_cc_policy.action),i.Cb(2),i.sc("ngForOf",t.enum_action_values),i.Cb(2),i.sc("ngModel",t.global_cc_policy.stat_by_url),i.Cb(3),i.sc("ngModel",t.global_cc_policy.stat_by_ua),i.Cb(3),i.sc("ngModel",t.global_cc_policy.stat_by_cookie),i.Cb(3),i.sc("ngModel",t.global_cc_policy.is_enabled),i.Cb(13),i.sc("ngModel",t.selected_app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(1),i.sc("ngIf",t.selected_app_id&&!t.has_custom_cc_policy),i.Cb(1),i.sc("ngIf",t.has_custom_cc_policy&&t.application))},directives:[JO,YO,op,xp,en,At,li,Vt,ai,k_,H,fv,_f,z,ah],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),LP),BP=["ipPaginator"];function zP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,EP),i.Vb())}function NP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"input",18),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.ip_addr=e})),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.ip_addr)("disabled",!r.editable)}}function UP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,PP),i.Vb())}function qP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-select",19),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.is_allow=e})),i.Wb(2,"mat-option",20),i.bc(3,RP),i.Vb(),i.Wb(4,"mat-option",20),i.bc(5,IP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.is_allow)("disabled",!r.editable),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1)}}function JP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," WAF "),i.Vb())}function KP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-select",19),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.apply_to_waf=e})),i.Wb(2,"mat-option",20),i.bc(3,jP),i.Vb(),i.Wb(4,"mat-option",20),i.bc(5,YP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.apply_to_waf)("disabled",!r.editable),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1)}}function GP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," CC "),i.Vb())}function $P(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-select",19),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.apply_to_cc=e})),i.Wb(2,"mat-option",20),i.bc(3,VP),i.Vb(),i.Wb(4,"mat-option",20),i.bc(5,WP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.apply_to_cc)("disabled",!r.editable),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1)}}function ZP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,FP),i.Vb())}function XP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",24),i.jc("click",(function(){i.Cc(n);var e=i.nc().index;return i.nc().saveIP(e)})),i.Jc(1,"save"),i.Vb()}}function QP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",25),i.jc("click",(function(){return i.Cc(n),i.nc().$implicit.editable=!0})),i.Jc(1,"edit"),i.Vb()}}function eR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Ic(1,XP,2,0,"mat-icon",21),i.Ic(2,QP,2,0,"mat-icon",22),i.Wb(3,"span"),i.Jc(4,"\xa0\xa0\xa0"),i.Vb(),i.Wb(5,"mat-icon",23),i.jc("click",(function(){i.Cc(n);var e=t.index;return i.nc().deleteIP(e)})),i.Jc(6," delete_outline"),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngIf",r.editable),i.Cb(1),i.sc("ngIf",!r.editable)}}function tR(e,t){1&e&&i.Rb(0,"mat-header-row")}function nR(e,t){1&e&&i.Rb(0,"mat-row")}OP=$localize(_templateObject270()),DP=$localize(_templateObject271()),TP=$localize(_templateObject272()),AP=$localize(_templateObject273()),EP=$localize(_templateObject274()),PP=$localize(_templateObject275()),RP=$localize(_templateObject276()),IP=$localize(_templateObject277()),jP=$localize(_templateObject278()),YP=$localize(_templateObject279()),VP=$localize(_templateObject280()),WP=$localize(_templateObject281()),FP=$localize(_templateObject282());var iR,rR,aR,oR,sR,cR,lR,uR,dR=function(){return[10,20,50]},hR=((iR=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.enum_action_values=[],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getIPPolicies())}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e});else this.router.navigate(["/"])}},{key:"getIPPolicies",value:function(){var e=this;this.rpcService.getResponse("get_ip_policies",(function(t){e.ip_policies=t,e.ipPolicyDataSource=new Qh(e.ip_policies),e.ipPolicyDataSource.paginator=e.ipPaginator,e.ipPaginator.pageIndex=0,e.ipPageLength=e.ip_policies.length}))}},{key:"addIPPolicy",value:function(){var e=new Dc;e.id="0",e.ip_addr="127.0.0.1",e.is_allow=!0,e.apply_to_waf=!0,e.apply_to_cc=!0,e.editable=!0,this.ip_policies.splice(0,0,e),this.ipPolicyDataSource.data=this.ip_policies}},{key:"saveIP",value:function(e){var t=this;this.rpcService.getResponse("update_ip_policy",(function(n){t.ip_policies[e]=n,t.ip_policies[e].editable=!1,t.ipPolicyDataSource.data=t.ip_policies}),"0",this.ip_policies[e])}},{key:"deleteIP",value:function(e){var t=this,n=this.ip_policies[e];"0"==n.id?(t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies):this.rpcService.getResponse("del_ip_policy",(function(){t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies}),n.id,null)}}]),e}()).\u0275fac=function(e){return new(e||iR)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},iR.\u0275cmp=i.Jb({type:iR,selectors:[["app-ip-policy"]],viewQuery:function(e,t){var n;1&e&&i.Sc(BP,!0),2&e&&i.zc(n=i.kc())&&(t.ipPaginator=n.first)},decls:35,vars:8,consts:[[1,"container"],[1,"notes"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","ip_addr"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_allow"],["matColumnDef","apply_to_waf"],["matColumnDef","apply_to_cc"],["matColumnDef","editable"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","showFirstLastButtons"],["ipPaginator",""],["mat-stroked-button","",3,"click"],["matListIcon",""],["matInput","","placeholder","IP Address","required","",3,"ngModel","disabled","ngModelChange"],[1,"custom_select",3,"ngModel","disabled","ngModelChange"],[3,"value"],["class","btn_icon","inline","true","matTooltip","Save","matTooltipPosition","left",3,"click",4,"ngIf"],["class","btn_icon","inline","true","matTooltip","Edit","matTooltipPosition","left",3,"click",4,"ngIf"],["inline","true","matTooltip","Delete","matTooltipPosition","right",1,"btn_icon",3,"click"],["inline","true","matTooltip","Save","matTooltipPosition","left",1,"btn_icon",3,"click"],["inline","true","matTooltip","Edit","matTooltipPosition","left",1,"btn_icon",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"h2"),i.bc(2,OP),i.Vb(),i.Wb(3,"ul",1),i.Wb(4,"li"),i.bc(5,DP),i.Vb(),i.Wb(6,"li"),i.bc(7,TP),i.Vb(),i.Vb(),i.Wb(8,"div",2),i.Wb(9,"mat-table",3,4),i.Ub(11,5),i.Ic(12,zP,2,0,"mat-header-cell",6),i.Ic(13,NP,2,2,"mat-cell",7),i.Tb(),i.Ub(14,8),i.Ic(15,UP,2,0,"mat-header-cell",6),i.Ic(16,qP,6,4,"mat-cell",7),i.Tb(),i.Ub(17,9),i.Ic(18,JP,2,0,"mat-header-cell",6),i.Ic(19,KP,6,4,"mat-cell",7),i.Tb(),i.Ub(20,10),i.Ic(21,GP,2,0,"mat-header-cell",6),i.Ic(22,$P,6,4,"mat-cell",7),i.Tb(),i.Ub(23,11),i.Ic(24,ZP,2,0,"mat-header-cell",6),i.Ic(25,eR,7,2,"mat-cell",7),i.Tb(),i.Ic(26,tR,1,0,"mat-header-row",12),i.Ic(27,nR,1,0,"mat-row",13),i.Vb(),i.Rb(28,"mat-paginator",14,15),i.Vb(),i.Wb(30,"button",16),i.jc("click",(function(){return t.addIPPolicy()})),i.Wb(31,"mat-icon",17),i.Jc(32,"add_circle_outline"),i.Vb(),i.Wb(33,"span"),i.bc(34,AP),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(9),i.sc("dataSource",t.ipPolicyDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.ipDisplayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.ipDisplayedColumns),i.Cb(1),i.sc("length",t.ipPageLength)("pageSize",20)("pageSizeOptions",i.wc(7,dR))("showFirstLastButtons",!0))},directives:[Rh,Fh,Vh,jh,Nh,qh,nb,_f,Mb,wS,Bh,zh,xp,At,li,Vt,ai,k_,ah,z,F_,Kh,$h],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),iR);function fR(e,t){1&e&&(i.Wb(0,"mat-icon",15),i.Jc(1,"check_circle_outline"),i.Vb())}function pR(e,t){1&e&&(i.Wb(0,"mat-icon",16),i.Jc(1,"highlight_off"),i.Vb())}rR=$localize(_templateObject283()),aR=$localize(_templateObject284()),oR=$localize(_templateObject285()),sR=$localize(_templateObject286()),cR=$localize(_templateObject287()),lR=$localize(_templateObject288()),uR=$localize(_templateObject289());var mR,_R,bR,gR,vR,yR,kR,wR,CR,SR,xR,MR,LR=((mR=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.dialogRef=n,this.data=i,this.regex_match=new Cc,this.discovery_rule=i.discovery_rule}return _createClass(e,[{key:"testRegex",value:function(){this.regex_match.matched=null,this.regex_match.preprocess=!1,this.regex_match.payload=this.discovery_rule.sample,this.regex_match.pattern=this.discovery_rule.regex;var e=this;0!=this.regex_match.payload.length&&0!=this.regex_match.pattern.length&&this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}},{key:"saveDiscoveryRule",value:function(){var e=this;this.rpcService.getResponse("update_discovery_rule",(function(t){e.discovery_rule=t}),this.discovery_rule.id,this.discovery_rule),this.dialogRef.close()}}]),e}()).\u0275fac=function(e){return new(e||mR)(i.Pb(Ec),i.Pb(Ox),i.Pb(Dx))},mR.\u0275cmp=i.Jb({type:mR,selectors:[["discovery-rule-dialog"]],decls:38,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matInput","","required","",3,"ngModel","ngModelChange"],["field_name",""],["align","end"],["sample",""],["matInput","","required","",3,"ngModel","ngModelChange","focusout"],["regex_pattern",""],["matSuffix","","color","primary",4,"ngIf"],["matSuffix","","color","warn",4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],["description",""],["mat-dialog-actions",""],["mat-stroked-button","",3,"click"],["mat-stroked-button","","mat-dialog-close",""],["matSuffix","","color","primary"],["matSuffix","","color","warn"]],template:function(e,t){if(1&e&&(i.Wb(0,"h1",0),i.bc(1,rR),i.Vb(),i.Wb(2,"div",1),i.Wb(3,"mat-form-field"),i.Wb(4,"mat-label"),i.bc(5,aR),i.Vb(),i.Wb(6,"input",2,3),i.jc("ngModelChange",(function(e){return t.discovery_rule.field_name=e})),i.Vb(),i.Wb(8,"mat-hint",4),i.Jc(9),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"mat-label"),i.bc(12,oR),i.Vb(),i.Wb(13,"input",2,5),i.jc("ngModelChange",(function(e){return t.discovery_rule.sample=e})),i.Vb(),i.Wb(15,"mat-hint",4),i.Jc(16),i.Vb(),i.Vb(),i.Wb(17,"mat-form-field"),i.Wb(18,"mat-label"),i.bc(19,sR),i.Vb(),i.Wb(20,"input",6,7),i.jc("ngModelChange",(function(e){return t.discovery_rule.regex=e}))("focusout",(function(){return t.testRegex()})),i.Vb(),i.Ic(22,fR,2,0,"mat-icon",8),i.Ic(23,pR,2,0,"mat-icon",9),i.Wb(24,"mat-hint",4),i.Jc(25),i.Vb(),i.Vb(),i.Wb(26,"mat-form-field"),i.Wb(27,"mat-label"),i.bc(28,cR),i.Vb(),i.Wb(29,"input",10,11),i.jc("ngModelChange",(function(e){return t.discovery_rule.description=e})),i.Vb(),i.Wb(31,"mat-hint",4),i.Jc(32),i.Vb(),i.Vb(),i.Vb(),i.Wb(33,"div",12),i.Wb(34,"button",13),i.jc("click",(function(){return t.saveDiscoveryRule()})),i.bc(35,lR),i.Vb(),i.Wb(36,"button",14),i.bc(37,uR),i.Vb(),i.Vb()),2&e){var n=i.Ac(7),r=i.Ac(14),a=i.Ac(21),o=i.Ac(30);i.Cb(6),i.sc("ngModel",t.discovery_rule.field_name),i.Cb(3),i.Lc("",(null==n.value?null:n.value.length)||0,"/256"),i.Cb(4),i.sc("ngModel",t.discovery_rule.sample),i.Cb(3),i.Lc("",(null==r.value?null:r.value.length)||0,"/512"),i.Cb(4),i.sc("ngModel",t.discovery_rule.regex),i.Cb(2),i.sc("ngIf",t.regex_match.matched),i.Cb(1),i.sc("ngIf",null!=t.regex_match.matched&&!t.regex_match.matched),i.Cb(2),i.Lc("",(null==a.value?null:a.value.length)||0,"/512"),i.Cb(4),i.sc("ngModel",t.discovery_rule.description),i.Cb(3),i.Lc("",(null==o.value?null:o.value.length)||0,"/512")}},directives:[jx,Yx,op,Qf,xp,At,li,Vt,ai,Xf,z,Vx,_f,Ix,Mb,np],styles:[".container[_ngcontent-%COMP%]{margin:5px}mat-form-field[_ngcontent-%COMP%]{width:100%;background-color:#fefefe;border:3px solid #fff;box-sizing:border-box}.width50[_ngcontent-%COMP%]{width:50%!important;box-sizing:border-box}button[_ngcontent-%COMP%]{margin-top:20px;margin-right:5px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}.notice[_ngcontent-%COMP%]{font-size:small;background-color:#f5f5f5;padding:5px}"]}),mR),OR=["*",[["mat-toolbar-row"]]],DR=["*","mat-toolbar-row"],TR=ud((function e(t){_classCallCheck(this,e),this._elementRef=t})),AR=((gR=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||gR)},gR.\u0275dir=i.Kb({type:gR,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),gR),ER=((bR=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._platform=n,r._document=i,r}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){var e=this;Object(i.W)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return e._checkToolbarMixedModes()})))}},{key:"_checkToolbarMixedModes",value:function(){var e=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))})).filter((function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)})).some((function(e){return!(!e.textContent||!e.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}]),t}(TR)).\u0275fac=function(e){return new(e||bR)(i.Pb(i.l),i.Pb(el),i.Pb(s))},bR.\u0275cmp=i.Jb({type:bR,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,AR,!0),2&e&&i.zc(r=i.kc())&&(t._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.Gb("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.zb],ngContentSelectors:DR,decls:2,vars:0,template:function(e,t){1&e&&(i.rc(OR),i.qc(0),i.qc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),bR),PR=((_R=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:_R}),_R.\u0275inj=i.Mb({factory:function(e){return new(e||_R)},imports:[[cd],cd]}),_R),RR=["rulesPaginator"];function IR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,wR),i.Vb())}function jR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell",19),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().editDataDiscoveryRule(e)})),i.Jc(1),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.Lc(" ",r.field_name," ")}}function YR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,CR),i.Vb())}function VR(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.sample," ")}}function WR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,SR),i.Vb())}function FR(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.regex," ")}}function HR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,xR),i.Vb())}function BR(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.description," ")}}function zR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,MR),i.Vb())}function NR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-icon",20),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().editDataDiscoveryRule(e)})),i.Jc(2,"edit "),i.Vb(),i.Wb(3,"span"),i.Jc(4,"\xa0\xa0"),i.Vb(),i.Wb(5,"mat-icon",20),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().deleteDataDiscoveryRule(e)})),i.Jc(6,"delete "),i.Vb(),i.Vb()}}function UR(e,t){1&e&&i.Rb(0,"mat-header-row")}function qR(e,t){1&e&&i.Rb(0,"mat-row")}vR=$localize(_templateObject290()),yR=$localize(_templateObject291()),kR=$localize(_templateObject292()),wR=$localize(_templateObject293()),CR=$localize(_templateObject294()),SR=$localize(_templateObject295()),xR=$localize(_templateObject296()),MR=$localize(_templateObject297());var JR,KR,GR,$R,ZR,XR=function(){return[10,20,50]};JR=$localize(_templateObject298()),KR=$localize(_templateObject299()),GR=$localize(_templateObject300()),$R=$localize(_templateObject301()),ZR=$localize(_templateObject302());var QR,eI,tI,nI=[{path:"",redirectTo:"/index.html",pathMatch:"full"},{path:"index.html",component:IT},{path:"dashboard",component:mx},{path:"application/:id",component:dy},{path:"applications",component:Xb},{path:"forwarding",component:QA},{path:"vip/:id",component:PE},{path:"certificates",component:wg},{path:"certificate/:id",component:uw},{path:"usermgmt",component:Aw},{path:"appuser/:id",component:Zw},{path:"waf",component:bC},{path:"cc",component:HP},{path:"ip-policy",component:hR},{path:"policy/:id",component:hS},{path:"nodes",component:zS},{path:"node/:id",component:XS},{path:"logs",component:mL},{path:"cclogs",component:JL},{path:"settings",component:ET},{path:"log/:id",component:yL},{path:"cclog/:id",component:ZL},{path:"login",component:zk},{path:"webssh",component:JT},{path:"health",component:DA},{path:"referring/:app_id/:host",component:zE},{path:"authcode-register",component:$E},{path:"discovery-rules",component:(eI=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.dialog=n,this.discovery_rules=[],this.displayedColumns=["field_name","sample","regex","description","action"],this.getDiscoveryRules()}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"addDataDiscoveryRule",value:function(){this.editDataDiscoveryRule({id:"0",field_name:"",sample:"",regex:"",description:"",editor:this.rpcService.auth_user.username,update_time:0})}},{key:"editDataDiscoveryRule",value:function(e){var t=this;this.dialog.open(LR,{width:"500px",data:{discovery_rule:e}}).afterClosed().subscribe((function(e){t.getDiscoveryRules()}))}},{key:"getDiscoveryRules",value:function(){var e=this;this.rpcService.getResponse("get_discovery_rules",(function(t){null==t&&(t=[]),e.discovery_rules=t,e.discoveryRulesDataSource=new Qh(e.discovery_rules),e.discoveryRulesDataSource.paginator=e.rulesPaginator}))}},{key:"deleteDataDiscoveryRule",value:function(e){if(confirm("Are you sure to delete discovery rule for: "+e.field_name+"?")){var t=this;this.rpcService.getResponse("del_discovery_rule",(function(e){t.getDiscoveryRules()}),e.id)}}}]),e}(),eI.\u0275fac=function(e){return new(e||eI)(i.Pb(Ec),i.Pb(Px))},eI.\u0275cmp=i.Jb({type:eI,selectors:[["app-discovery-rules"]],viewQuery:function(e,t){var n;1&e&&i.Sc(RR,!0),2&e&&i.zc(n=i.kc())&&(t.rulesPaginator=n.first)},decls:33,vars:6,consts:[[1,"container"],["mat-stroked-button","",3,"click"],[1,"spacer"],["mat-stroked-button","","routerLink","/settings",1,"back_link"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","field_name"],[4,"matHeaderCellDef"],["class","pointer",3,"click",4,"matCellDef"],["matColumnDef","sample"],[4,"matCellDef"],["matColumnDef","regex"],["matColumnDef","description"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions"],["rulesPaginator",""],[1,"pointer",3,"click"],["inline","true",1,"pointer",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,vR),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"mat-toolbar"),i.Wb(6,"button",1),i.jc("click",(function(){return t.addDataDiscoveryRule()})),i.bc(7,yR),i.Vb(),i.Rb(8,"span",2),i.Wb(9,"a",3),i.bc(10,kR),i.Vb(),i.Vb(),i.Wb(11,"div",4),i.Wb(12,"mat-table",5,6),i.Ub(14,7),i.Ic(15,IR,2,0,"mat-header-cell",8),i.Ic(16,jR,2,1,"mat-cell",9),i.Tb(),i.Ub(17,10),i.Ic(18,YR,2,0,"mat-header-cell",8),i.Ic(19,VR,2,1,"mat-cell",11),i.Tb(),i.Ub(20,12),i.Ic(21,WR,2,0,"mat-header-cell",8),i.Ic(22,FR,2,1,"mat-cell",11),i.Tb(),i.Ub(23,13),i.Ic(24,HR,2,0,"mat-header-cell",8),i.Ic(25,BR,2,1,"mat-cell",11),i.Tb(),i.Ub(26,14),i.Ic(27,zR,2,0,"mat-header-cell",8),i.Ic(28,NR,7,0,"mat-cell",11),i.Tb(),i.Ic(29,UR,1,0,"mat-header-row",15),i.Ic(30,qR,1,0,"mat-row",16),i.Vb(),i.Rb(31,"mat-paginator",17,18),i.Vb(),i.Vb()),2&e&&(i.Cb(12),i.sc("dataSource",t.discoveryRulesDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("pageSize",20)("pageSizeOptions",i.wc(5,XR)))},directives:[lf,ER,_f,bf,Es,Rh,Fh,Vh,jh,Nh,qh,nb,Bh,zh,Mb,Kh,$h],styles:[".spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),eI)},{path:"api-interface",component:(QR=function(){function e(t){_classCallCheck(this,e),this.rpcService=t}return _createClass(e,[{key:"ngOnInit",value:function(){this.rpcService.getAPIKey()}}]),e}(),QR.\u0275fac=function(e){return new(e||QR)(i.Pb(Ec))},QR.\u0275cmp=i.Jb({type:QR,selectors:[["app-api-interface"]],decls:122,vars:43,consts:[[1,"container"],["matLine",""],[1,"wrapkey"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,JR),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"div"),i.Wb(6,"h3",1),i.bc(7,KR),i.Vb(),i.Wb(8,"span",2),i.Jc(9),i.Vb(),i.Wb(10,"div"),i.Wb(11,"h2"),i.bc(12,GR),i.Vb(),i.Wb(13,"h4"),i.Jc(14,"1.1 Interface Address"),i.Vb(),i.Wb(15,"p"),i.Jc(16,' All operations of the API use the POST method. If "primary_node" -> "admin" -> "listen" in config.json is false, then remove the ":9080". '),i.Vb(),i.Wb(17,"code"),i.Jc(18," POST http://IP_or_Domain_Name:9080/janusec-admin/ui-api "),i.Vb(),i.Wb(19,"h4"),i.Jc(20,"1.2 Content-Type"),i.Vb(),i.Wb(21,"code"),i.Jc(22," Content-Type: application/json "),i.Vb(),i.Wb(23,"h4"),i.Jc(24,"1.3 JSON Body for get object(s)"),i.Vb(),i.Wb(25,"code"),i.Jc(26),i.Vb(),i.Wb(27,"p"),i.Jc(28," id is a snowflake id string, not a number, because it exceeds the range of number. id is required for one object, not required for objects list. "),i.Vb(),i.Wb(29,"h4"),i.Jc(30,"1.4 Response of objects list"),i.Vb(),i.Wb(31,"code"),i.Jc(32),i.Vb(),i.Wb(33,"h4"),i.Jc(34,"1.5 Response of one object"),i.Vb(),i.Wb(35,"code"),i.Jc(36),i.Vb(),i.Wb(37,"h4"),i.Jc(38,"1.6 JSON Body for creating or updating an object"),i.Vb(),i.Wb(39,"p"),i.Jc(40," Let id = '0' for creating an object."),i.Vb(),i.Wb(41,"code"),i.Jc(42),i.Vb(),i.Wb(43,"h4"),i.Jc(44,"1.7 Response of updation one object"),i.Vb(),i.Wb(45,"p"),i.Jc(46,"Please keep the format of the object the same with you get it, and if the object has a time parameter, skip it or set it to 0."),i.Vb(),i.Wb(47,"code"),i.Jc(48),i.Vb(),i.Wb(49,"h4"),i.Jc(50,"1.8 JSON Body for deletion an object"),i.Vb(),i.Wb(51,"code"),i.Jc(52),i.Vb(),i.Wb(53,"h4"),i.Jc(54,"1.9 Response of deletion one object"),i.Vb(),i.Wb(55,"code"),i.Jc(56),i.Vb(),i.Wb(57,"h2"),i.bc(58,$R),i.Vb(),i.Wb(59,"h4"),i.Jc(60,"2.1 Parameter: auth_key"),i.Vb(),i.Wb(61,"p"),i.Jc(62," The auth_key is a time-related parameter, please make sure the time is correct. The auth_key needs to be regenerated every time a request is submitted, it is generated by function GenAuthKey(hex.DecodeString(APIKey)) and it is used to verify the identity of the requester. "),i.Vb(),i.Wb(63,"code"),i.Wb(64,"pre"),i.Jc(65),i.Vb(),i.Vb(),i.Wb(66,"h4"),i.Jc(67,"2.2 Parameter: action"),i.Vb(),i.Wb(68,"p"),i.Jc(69,"The parameter action can take the following values (string):"),i.Vb(),i.Wb(70,"ul"),i.Wb(71,"li"),i.Jc(72," get_certs: get all digital certificates, not include acme automatic certificates. The result will not include the private key of certificates. "),i.Vb(),i.Wb(73,"li"),i.Jc(74," get_cert: get digital certificate with designated id, parameter id (string) is required. "),i.Vb(),i.Wb(75,"li"),i.Jc(76," get_apps: get all web applications. "),i.Vb(),i.Wb(77,"li"),i.Jc(78," get_app: get the web application with designated id, parameter id (string) is required. "),i.Vb(),i.Wb(79,"li"),i.Jc(80," get_vip_apps: get all virtual IP applications, i.e. TCP/UDP port forwarding applications. "),i.Vb(),i.Wb(81,"li"),i.Jc(82," get_vip_app: get the virtual IP applications with designated id (string). "),i.Vb(),i.Wb(83,"li"),i.Jc(84," get_vuln_types: get all vulnerability types. "),i.Vb(),i.Wb(85,"li"),i.Jc(86," get_group_policies: get all group policies/rules for WAF. "),i.Vb(),i.Wb(87,"li"),i.Jc(88," get_group_policy: get the group policy/rule for WAF with designated id (string). "),i.Vb(),i.Wb(89,"li"),i.Jc(90," get_cc_policy: get CC policy with designated application id, parameter id is required and use application id string here, '0' for all applications. "),i.Vb(),i.Wb(91,"li"),i.Jc(92," update_cert: update the digital certificate with designated id (string), if id = '0' then create a new digital certificate. "),i.Vb(),i.Wb(93,"li"),i.Jc(94," update_app: update the web application with designated id (string), if id = '0' then create a new web application. "),i.Vb(),i.Wb(95,"li"),i.Jc(96," update_vip_app: update the virtual IP application, if id = '0' then create a new port forwarding. "),i.Vb(),i.Wb(97,"li"),i.Jc(98," del_cert: delete the digital certificate with designated id (string). "),i.Vb(),i.Wb(99,"li"),i.Jc(100," del_app: delete the web application with designated id (string). "),i.Vb(),i.Wb(101,"li"),i.Jc(102," del_vip_app: delete the virtual IP application with designated id (string). "),i.Vb(),i.Wb(103,"li"),i.Jc(104," del_group_policy: delete the group policy/rule for WAF with designated id (string). "),i.Vb(),i.Wb(105,"li"),i.Jc(106," del_cc_policy: delete the CC policy/rule for designated web application. "),i.Vb(),i.Vb(),i.Wb(107,"h2"),i.bc(108,ZR),i.Vb(),i.Wb(109,"p"),i.Jc(110,"To update a web application, the body would like the following (Its format should be single line, without spaces or line breaks):"),i.Vb(),i.Wb(111,"code"),i.Wb(112,"pre"),i.Jc(113),i.Vb(),i.Vb(),i.Wb(114,"p"),i.Jc(115," Parameter route_type: 1 for Reverse_Proxy (default), 2 for Local_FastCGI, 4 for Static_Website, 8 for K8S_Ingress. "),i.Vb(),i.Wb(116,"p"),i.Jc(117," Parameter node_id is not used now. "),i.Vb(),i.Wb(118,"p"),i.Jc(119," Parameter ip_method: 1 for REMOTE_ADDR (default), 2 for X_Forwarded_For, 4 for X_REAL_IP, 8 for REAL_IP "),i.Vb(),i.Wb(120,"p"),i.Jc(121," Please set id = '0' for new object (such as certificate, application, virtual ip application, destination, domain, group policy, cc policy etc.). "),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(9),i.Kc(t.rpcService.hexAPIKey),i.Cb(17),i.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),i.Cb(6),i.Mc(" ","{",'"err":null,"object":[...]',"}"," "),i.Cb(4),i.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),i.Cb(6),i.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"...", "object":...',"}"," "),i.Cb(6),i.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),i.Cb(4),i.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),i.Cb(4),i.Mc(" ","{",'"err":null',"}"," "),i.Cb(9),i.Qc([" auth_key := GenAuthKey(hex.DecodeString(APIKey)) \n\n func GenAuthKey(key []byte) string ","{","\n authTime := AuthTime","{","\n CurTime: time.Now().Unix()\n ","}","\n authTimeBytes, err := json.Marshal(authTime)\n if err != nil ","{",'\n fmt.Println("GenAuthKey", err)\n ',"}","\n encryptedAuthBytes := EncryptWithKey(authTimeBytes, key)\n return hex.EncodeToString(encryptedAuthBytes)\n ","}","\n\n type AuthTime struct ","{",'\n CurTime int64 `json:"cur_time"`\n ',"}","\n\n func EncryptWithKey(plaintext []byte, key []byte) []byte ","{","\n block, err := aes.NewCipher(key)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewCipher", err)\n ',"}","\n nonce := make([]byte, 12)\n _, err = io.ReadFull(rand.Reader, nonce)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey ReadFull", err)\n ',"}","\n aesgcm, err := cipher.NewGCM(block)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewGCM", err)\n ',"}","\n ciphertext := aesgcm.Seal(nonce, nonce, plaintext, nil)\n return ciphertext\n ","}","\n\n "]),i.Cb(48),i.Pc(" ","{",'\n "auth_key":"...",\n "action":"update_app",\n "id":"1642051816726204416",\n "object":',"{",'\n "id":"1642051816726204416",\n "name":"Test",\n "internal_scheme":"http",\n "destinations":[',"{",'\n "id":"1642051816839450624",\n "route_type":1,\n "request_route":"/",\n "backend_route":"/",\n "destination":"127.0.0.1:5000",\n "pods_api":"",\n "pod_port":"80",\n "pods":"",\n "app_id":"1642051816726204416",\n "node_id":"0",\n "online":true,\n "check_time":0\n ',"}",'],\n "domains":[',"{",'\n "id":"1642051816931725312",\n "name":"www.example.com",\n "app_id":"1642051816726204416",\n "cert_id":"1642094823705939968",\n "redirect":false,\n "location":""\n ',"}",'],\n "redirect_https":false,\n "hsts_enabled":false,\n "waf_enabled":true,\n "shield_enabled":false,\n "ip_method":1,\n "description":"Test",\n "oauth_required":false,\n "session_seconds":7200,\n "owner":"admin",\n "csp_enabled":false,\n "csp":"",\n "cache_enabled":true\n ',"}","\n ","}","\n "))},directives:[lf,Pd],styles:[""]}),QR)}],iI=((tI=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:tI}),tI.\u0275inj=i.Mb({factory:function(e){return new(e||tI)},imports:[[$s.forRoot(nI)],$s]}),tI);function rI(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:su,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new aI(i,n))}}var aI=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new oI(e,this.delay,this.scheduler))}}]),e}(),oI=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).delay=n,r.scheduler=i,r.queue=[],r.active=!1,r.errored=!1,r}return _inherits(t,e),_createClass(t,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new sI(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Hp.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Hp.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(e,a)}else this.unsubscribe(),t.active=!1}}]),t}(yi.a),sI=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n},cI=["mat-menu-item",""],lI=["*"];function uI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",0),i.jc("keydown",(function(e){return i.Cc(n),i.nc()._handleKeydown(e)}))("click",(function(){return i.Cc(n),i.nc().closed.emit("click")}))("@transformMenu.start",(function(e){return i.Cc(n),i.nc()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return i.Cc(n),i.nc()._onAnimationDone(e)})),i.Wb(1,"div",1),i.qc(2),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),i.Db("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var dI,hI,fI,pI,mI,_I,bI,gI,vI,yI,kI={transformMenu:Object(Xe.n)("transformMenu",[Object(Xe.k)("void",Object(Xe.l)({opacity:0,transform:"scale(0.8)"})),Object(Xe.m)("void => enter",Object(Xe.g)([Object(Xe.i)(".mat-menu-content, .mat-mdc-menu-content",Object(Xe.e)("100ms linear",Object(Xe.l)({opacity:1}))),Object(Xe.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({transform:"scale(1)"}))])),Object(Xe.m)("* => void",Object(Xe.e)("100ms 25ms linear",Object(Xe.l)({opacity:0})))]),fadeInItems:Object(Xe.n)("fadeInItems",[Object(Xe.k)("showing",Object(Xe.l)({opacity:1})),Object(Xe.m)("void => *",[Object(Xe.l)({opacity:0}),Object(Xe.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},wI=((dI=function(){function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this._template=t,this._componentFactoryResolver=n,this._appRef=i,this._injector=r,this._viewContainerRef=a,this._document=o,this._changeDetectorRef=s,this._attached=new dr.a}return _createClass(e,[{key:"attach",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new im(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new om(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),e}()).\u0275fac=function(e){return new(e||dI)(i.Pb(i.M),i.Pb(i.j),i.Pb(i.g),i.Pb(i.s),i.Pb(i.P),i.Pb(s),i.Pb(i.h))},dI.\u0275dir=i.Kb({type:dI,selectors:[["ng-template","matMenuContent",""]]}),dI),CI=new i.r("MAT_MENU_PANEL"),SI=dd(ld((function e(){_classCallCheck(this,e)}))),xI=((hI=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._elementRef=e,a._focusMonitor=i,a._parentMenu=r,a.role="menuitem",a._hovered=new dr.a,a._focused=new dr.a,a._highlighted=!1,a._triggersSubmenu=!1,i&&i.monitor(a._elementRef,!1),r&&r.addItem&&r.addItem(_assertThisInitialized(a)),a._document=n,a}return _inherits(t,e),_createClass(t,[{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){var e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3,n="";if(e.childNodes)for(var i=e.childNodes.length,r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){return e._focusFirstItem(t)})):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t="mat-elevation-z".concat(Math.min(4+e,24)),n=Object.keys(this._classList).find((function(e){return e.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(Qr(this._allItems)).subscribe((function(t){e._directDescendantItems.reset(t.filter((function(t){return t._parentMenu===e}))),e._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=Pc(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Pc(e)}},{key:"panelClass",set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(e){t._classList[e]=!1})),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach((function(e){t._classList[e]=!0})),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}}]),e}()).\u0275fac=function(e){return new(e||pI)(i.Pb(i.l),i.Pb(i.A),i.Pb(MI))},pI.\u0275dir=i.Kb({type:pI,contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,wI,!0),i.Ib(n,xI,!0),i.Ib(n,xI,!1)),2&e&&(i.zc(r=i.kc())&&(t.lazyContent=r.first),i.zc(r=i.kc())&&(t._allItems=r),i.zc(r=i.kc())&&(t.items=r))},viewQuery:function(e,t){var n;1&e&&i.Sc(i.M,!0),2&e&&i.zc(n=i.kc())&&(t.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),pI),DI=((fI=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(OI)).\u0275fac=function(e){return TI(e||fI)},fI.\u0275dir=i.Kb({type:fI,features:[i.zb]}),fI),TI=i.Zb(DI),AI=((mI=function(e){function t(e,n,i){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i))}return _inherits(t,e),t}(DI)).\u0275fac=function(e){return new(e||mI)(i.Pb(i.l),i.Pb(i.A),i.Pb(MI))},mI.\u0275cmp=i.Jb({type:mI,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[i.Bb([{provide:CI,useExisting:DI},{provide:DI,useExisting:mI}]),i.zb],ngContentSelectors:lI,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.rc(),i.Ic(0,uI,3,6,"ng-template"))},directives:[W],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[kI.transformMenu,kI.fadeInItems]},changeDetection:0}),mI),EI=new i.r("mat-menu-scroll-strategy"),PI={provide:EI,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},RI=rl({passive:!0}),II=((gI=function(){function e(t,n,r,a,o,s,c,l){var u=this;_classCallCheck(this,e),this._overlay=t,this._element=n,this._viewContainerRef=r,this._parentMenu=o,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=la.a.EMPTY,this._hoverSubscription=la.a.EMPTY,this._menuCloseSubscription=la.a.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.o,this.onMenuClose=this.menuClosed,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,RI),s&&(s._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=a}return _createClass(e,[{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,RI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return e.closeMenu()})),this._initMenu(),this.menu instanceof DI&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof DI?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(ki((function(e){return"void"===e.toState})),zr(1),ol(t.lazyContent._attached)).subscribe({next:function(){return t.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new wm({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe((function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")}))}},{key:"_setPosition",value:function(e){var t=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=r[0],o=r[1],s=a,c=o,l=n,u=i,d=0;this.triggersSubmenu()?(u=n="before"===this.menu.xPosition?"start":"end",i=l="end"===n?"start":"end",d="bottom"===a?8:-8):this.menu.overlapTrigger||(s="top"===a?"bottom":"top",c="top"===o?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:l,overlayY:a,offsetY:d},{originX:i,originY:s,overlayX:u,overlayY:a,offsetY:d},{originX:n,originY:c,overlayX:l,overlayY:o,offsetY:-d},{originX:i,originY:c,overlayX:u,overlayY:o,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMenu?this._parentMenu.closed:bi(),r=this._parentMenu?this._parentMenu._hovered().pipe(ki((function(t){return t!==e._menuItemInstance})),ki((function(){return e._menuOpen}))):bi();return Object(Ah.a)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){Gu(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&this.openMenu()}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(ki((function(t){return t===e._menuItemInstance&&!t.disabled})),rI(0,Rp)).subscribe((function(){e._openedBy="mouse",e.menu instanceof DI&&e.menu._isAnimating?e.menu._animationDone.pipe(zr(1),rI(0,Rp),ol(e._parentMenu._hovered())).subscribe((function(){return e.openMenu()})):e.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new im(this.menu.templateRef,this._viewContainerRef)),this._portal}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe((function(e){t._destroyMenu(),"click"!==e&&"tab"!==e||!t._parentMenu||t._parentMenu.closed.emit(e)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),e}()).\u0275fac=function(e){return new(e||gI)(i.Pb(qm),i.Pb(i.l),i.Pb(i.P),i.Pb(EI),i.Pb(DI,8),i.Pb(xI,10),i.Pb(Jc,8),i.Pb(Ju))},gI.\u0275dir=i.Kb({type:gI,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&i.jc("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&i.Db("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),gI),jI=((bI=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:bI}),bI.\u0275inj=i.Mb({factory:function(e){return new(e||bI)},providers:[PI],imports:[cd]}),bI),YI=((_I=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:_I}),_I.\u0275inj=i.Mb({factory:function(e){return new(e||_I)},providers:[PI],imports:[[ae,cd,Gd,Xm,jI],jI]}),_I);function VI(e,t){if(1&e&&(i.Wb(0,"button",9),i.Wb(1,"mat-icon",0),i.Jc(2,"account_circle"),i.Vb(),i.Jc(3),i.Vb()),2&e){var n=i.nc(),r=i.Ac(9);i.sc("matMenuTriggerFor",r),i.Cb(3),i.Lc(" ",n.rpcService.auth_user.username," ")}}function WI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",10),i.jc("click",(function(){return i.Cc(n),i.nc().navigate("/login")})),i.bc(1,yI),i.Vb()}}vI=$localize(_templateObject303()),yI=$localize(_templateObject304());var FI,HI=((FI=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.http=n,this.router=i,this.logoPath="assets/images/logo.png",this.personIcon="assets/images/person_1x.png"}return _createClass(e,[{key:"navigate",value:function(e){this.router.navigate([e])}},{key:"ngOnInit",value:function(){null==localStorage.getItem("lang")&&navigator.language.indexOf("zh")>-1&&(localStorage.setItem("lang","zh-cn"),window.location.reload())}},{key:"switchLanguage",value:function(){var e=localStorage.getItem("lang");null==e||""==e||"en"==e?localStorage.setItem("lang","zh-cn"):localStorage.setItem("lang","en"),window.location.reload()}},{key:"logout",value:function(){this.rpcService.getResponse("logout",(function(){}),null,null),this.rpcService.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.router.navigate(["/login"])}}]),e}()).\u0275fac=function(e){return new(e||FI)(i.Pb(Ec),i.Pb(Gi),i.Pb(As))},FI.\u0275cmp=i.Jb({type:FI,selectors:[["app-navbar"]],decls:21,vars:3,consts:[["color","secondary"],["src","assets/images/logo.png","alt","JANUSEC",1,"logo"],["routerLink","/",1,"text-logo"],[1,"spacer"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"mat-toolbar",0),i.Wb(1,"span"),i.Rb(2,"img",1),i.Vb(),i.Wb(3,"span"),i.Wb(4,"a",2),i.Jc(5,"JANUSEC"),i.Vb(),i.Vb(),i.Rb(6,"span",3),i.Ic(7,VI,4,2,"button",4),i.Wb(8,"mat-menu",5,6),i.Wb(10,"button",7),i.jc("click",(function(){return t.switchLanguage()})),i.Wb(11,"mat-icon"),i.Jc(12,"language"),i.Vb(),i.Wb(13,"span"),i.bc(14,vI),i.Vb(),i.Vb(),i.Rb(15,"mat-divider"),i.Wb(16,"button",7),i.jc("click",(function(){return t.logout()})),i.Wb(17,"mat-icon"),i.Jc(18,"exit_to_app"),i.Vb(),i.Jc(19," Exit "),i.Vb(),i.Vb(),i.Ic(20,WI,2,0,"button",8),i.Vb()),2&e&&(i.Cb(7),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(1),i.sc("overlapTrigger",!1),i.Cb(12),i.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[ER,Es,z,AI,xI,Mb,Qb,_f,II],styles:[".icon[_ngcontent-%COMP%]{padding:0 14px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.mat-toolbar[_ngcontent-%COMP%]{height:40px;padding-left:1px;padding-top:1px}.logo-span[_ngcontent-%COMP%]{height:38px}.logo[_ngcontent-%COMP%]{width:24px;height:24px;margin:5px 0 0 5px}.text-logo[_ngcontent-%COMP%]{display:block;font-family:Arial,Helvetica,sans-serif;font-size:24px;color:#f5f5f5;width:174px;text-decoration:none;text-shadow:2px 2px 4px #000;box-shadow:1px 1px 1px #d5d5d5;padding-left:5px}"]}),FI);function BI(e,t){if(1&e&&(i.Wb(0,"mat-list-item",6),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n," ")}}function zI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"div",2),i.Wb(3,"mat-list",3),i.Ic(4,BI,2,1,"mat-list-item",4),i.Vb(),i.Vb(),i.Wb(5,"div",5),i.jc("click",(function(){return i.Cc(n),i.nc().messageService.clear()})),i.Wb(6,"mat-icon"),i.Jc(7,"clear"),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(4),i.sc("ngForOf",r.messageService.messages)}}var NI,UI=((NI=function(){function e(t){_classCallCheck(this,e),this.messageService=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||NI)(i.Pb(Tc))},NI.\u0275cmp=i.Jb({type:NI,selectors:[["app-messages"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"flex-row"],[1,"flex-90"],["role","list"],["class","alert",4,"ngFor","ngForOf"],["title","Clear",1,"flex-10","middle",3,"click"],[1,"alert"]],template:function(e,t){1&e&&i.Ic(0,zI,8,1,"div",0),2&e&&i.sc("ngIf",t.messageService.messages.length)},directives:[z,yS,H,Mb,CS],styles:[".messagelist[_ngcontent-%COMP%]{margin:0}"]}),NI),qI=["*"];function JI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",2),i.jc("click",(function(){return i.Cc(n),i.nc()._onBackdropClicked()})),i.Vb()}if(2&e){var r=i.nc();i.Gb("mat-drawer-shown",r._isShowingBackdrop())}}function KI(e,t){1&e&&(i.Wb(0,"mat-drawer-content"),i.qc(1,2),i.Vb())}var GI=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],$I=["mat-drawer","mat-drawer-content","*"];function ZI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",2),i.jc("click",(function(){return i.Cc(n),i.nc()._onBackdropClicked()})),i.Vb()}if(2&e){var r=i.nc();i.Gb("mat-drawer-shown",r._isShowingBackdrop())}}function XI(e,t){1&e&&(i.Wb(0,"mat-sidenav-content",3),i.qc(1,2),i.Vb())}var QI=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ej=["mat-sidenav","mat-sidenav-content","*"],tj={transformDrawer:Object(Xe.n)("transform",[Object(Xe.k)("open, open-instant",Object(Xe.l)({transform:"none",visibility:"visible"})),Object(Xe.k)("void",Object(Xe.l)({"box-shadow":"none",visibility:"hidden"})),Object(Xe.m)("void => open-instant",Object(Xe.e)("0ms")),Object(Xe.m)("void <=> open, open-instant => void",Object(Xe.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function nj(e){throw Error("A drawer was already declared for 'position=\"".concat(e,"\"'"))}var ij,rj,aj,oj,sj,cj,lj,uj,dj,hj,fj,pj,mj,_j,bj,gj,vj,yj,kj,wj,Cj,Sj,xj,Mj,Lj,Oj,Dj,Tj,Aj=new i.r("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),Ej=new i.r("MAT_DRAWER_CONTAINER"),Pj=((sj=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,i,r,a)))._changeDetectorRef=e,o._container=n,o}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))}}]),t}(Jp)).\u0275fac=function(e){return new(e||sj)(i.Pb(i.h),i.Pb(Object(i.U)((function(){return Ij}))),i.Pb(i.l),i.Pb(qp),i.Pb(i.A))},sj.\u0275cmp=i.Jb({type:sj,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i.zb],ngContentSelectors:qI,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),sj),Rj=((oj=function(){function e(t,n,r,a,o,s,c){var l=this;_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=a,this._ngZone=o,this._doc=s,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new dr.a,this._animationEnd=new dr.a,this._animationState="void",this.openedChange=new i.o(!0),this._destroyed=new dr.a,this.onPositionChanged=new i.o,this._modeChanged=new dr.a,this.openedChange.subscribe((function(e){e?(l._doc&&(l._elementFocusedBeforeDrawerWasOpened=l._doc.activeElement),l._takeFocus()):l._restoreFocus()})),this._ngZone.runOutsideAngular((function(){vf(l._elementRef.nativeElement,"keydown").pipe(ki((function(e){return 27===e.keyCode&&!l.disableClose&&!iu(e)})),ol(l._destroyed)).subscribe((function(e){return l._ngZone.run((function(){l.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(Ip((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&l.openedChange.emit(l._opened)}))}return _createClass(e,[{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then((function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()}))}},{key:"_restoreFocus",value:function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"toggle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(t){e.openedChange.pipe(zr(1)).subscribe((function(e){return t(e?"open":"close")}))}))}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}},{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=Pc(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=Pc(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(Pc(e))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(ki((function(e){return e})),Object(bt.a)((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(ki((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),Object(bt.a)((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(ki((function(e){return!e})),Object(bt.a)((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(ki((function(e){return e.fromState!==e.toState&&"void"===e.toState})),Object(bt.a)((function(){})))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}}]),e}()).\u0275fac=function(e){return new(e||oj)(i.Pb(i.l),i.Pb(ju),i.Pb(Ju),i.Pb(el),i.Pb(i.A),i.Pb(s,8),i.Pb(Ej,8))},oj.\u0275cmp=i.Jb({type:oj,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.Hb("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(i.Db("align",null),i.Rc("@transform",t._animationState),i.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:qI,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"div",0),i.qc(1),i.Vb())},encapsulation:2,data:{animation:[tj.transformDrawer]},changeDetection:0}),oj),Ij=((aj=function(){function e(t,n,r,a,o){var s=this,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._dir=t,this._element=n,this._ngZone=r,this._changeDetectorRef=a,this._animationMode=l,this._drawers=new i.E,this.backdropClick=new i.o,this._destroyed=new dr.a,this._doCheckSubject=new dr.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new dr.a,t&&t.change.pipe(ol(this._destroyed)).subscribe((function(){s._validateDrawers(),s.updateContentMargins()})),o.change().pipe(ol(this._destroyed)).subscribe((function(){return s.updateContentMargins()})),this._autosize=c}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Qr(this._allDrawers),ol(this._destroyed)).subscribe((function(t){e._drawers.reset(t.filter((function(t){return!t._container||t._container===e}))),e._drawers.notifyOnChanges()})),this._drawers.changes.pipe(Qr(null)).subscribe((function(){e._validateDrawers(),e._drawers.forEach((function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)})),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(cu(10),ol(this._destroyed)).subscribe((function(){return e.updateContentMargins()}))}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach((function(e){return e.open()}))}},{key:"close",value:function(){this._drawers.forEach((function(e){return e.close()}))}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){var i=this._left._width;t+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r=this._right._width;n+=r,t-=r}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run((function(){return e._contentMarginChanges.next(e._contentMargins)})))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return e._doCheckSubject.next()}))}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(ki((function(e){return e.fromState!==e.toState})),ol(this._drawers.changes)).subscribe((function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()})),"side"!==e.mode&&e.openedChange.pipe(ol(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(ol(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(zr(1)).subscribe((function(){t._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(ol(Object(Ah.a)(this._drawers.changes,this._destroyed))).subscribe((function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()}))}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach((function(t){"end"==t.position?(null!=e._end&&nj("end"),e._end=t):(null!=e._start&&nj("start"),e._start=t)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}},{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=Pc(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:Pc(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),e}()).\u0275fac=function(e){return new(e||aj)(i.Pb(Jc,8),i.Pb(i.l),i.Pb(i.A),i.Pb(i.h),i.Pb(Kp),i.Pb(Aj),i.Pb(dt,8))},aj.\u0275cmp=i.Jb({type:aj,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,Pj,!0),i.Ib(n,Rj,!0)),2&e&&(i.zc(r=i.kc())&&(t._content=r.first),i.zc(r=i.kc())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&i.Sc(Pj,!0),2&e&&i.zc(n=i.kc())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i.Bb([{provide:Ej,useExisting:aj}])],ngContentSelectors:$I,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.rc(GI),i.Ic(0,JI,1,2,"div",0),i.qc(1),i.qc(2,1),i.Ic(3,KI,2,0,"mat-drawer-content",1)),2&e&&(i.sc("ngIf",t.hasBackdrop),i.Cb(3),i.sc("ngIf",!t._content))},directives:[z,Pj],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),aj),jj=((rj=function(e){function t(e,n,i,r,a){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i,r,a))}return _inherits(t,e),t}(Pj)).\u0275fac=function(e){return new(e||rj)(i.Pb(i.h),i.Pb(Object(i.U)((function(){return Wj}))),i.Pb(i.l),i.Pb(qp),i.Pb(i.A))},rj.\u0275cmp=i.Jb({type:rj,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i.zb],ngContentSelectors:qI,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),rj),Yj=((ij=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return _inherits(t,e),_createClass(t,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=Pc(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=Rc(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=Rc(e)}}]),t}(Rj)).\u0275fac=function(e){return Vj(e||ij)},ij.\u0275cmp=i.Jb({type:ij,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.Db("align",null),i.Hc("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.zb],ngContentSelectors:qI,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"div",0),i.qc(1),i.Vb())},encapsulation:2,data:{animation:[tj.transformDrawer]},changeDetection:0}),ij),Vj=i.Zb(Yj),Wj=((cj=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(Ij)).\u0275fac=function(e){return Fj(e||cj)},cj.\u0275cmp=i.Jb({type:cj,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,jj,!0),i.Ib(n,Yj,!0)),2&e&&(i.zc(r=i.kc())&&(t._content=r.first),i.zc(r=i.kc())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i.Bb([{provide:Ej,useExisting:cj}]),i.zb],ngContentSelectors:ej,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(i.rc(QI),i.Ic(0,ZI,1,2,"div",0),i.qc(1),i.qc(2,1),i.Ic(3,XI,2,0,"mat-sidenav-content",1)),2&e&&(i.sc("ngIf",t.hasBackdrop),i.Cb(3),i.sc("ngIf",!t._content))},directives:[z,jj,Jp],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),cj),Fj=i.Zb(Wj),Hj=((uj=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:uj}),uj.\u0275inj=i.Mb({factory:function(e){return new(e||uj)},imports:[[ae,cd,Gp,tl],cd]}),uj),Bj=((lj=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||lj)},lj.\u0275cmp=i.Jb({type:lj,selectors:[["app-footer"]],decls:3,vars:0,consts:[[1,"footer"]],template:function(e,t){1&e&&(i.Wb(0,"mat-toolbar"),i.Wb(1,"div",0),i.Jc(2," All Rights Reserved by \xa9JANUSEC "),i.Vb(),i.Vb())},directives:[ER],styles:[".mat-toolbar[_ngcontent-%COMP%]{font-size:14px;height:36px;font-family:Arial Narrow,Arial,sans-serif;text-align:center}.footer[_ngcontent-%COMP%]{text-align:center;-webkit-box-flex:1;flex:1 1 auto}"]}),lj);function zj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",16),i.Wb(2,"mat-icon"),i.Jc(3,"forward"),i.Vb(),i.Wb(4,"span"),i.bc(5,Cj),i.Vb(),i.Vb(),i.Vb())}function Nj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",17),i.Wb(2,"mat-icon"),i.Jc(3,"blur_on"),i.Vb(),i.Wb(4,"span"),i.bc(5,Sj),i.Vb(),i.Vb(),i.Vb())}function Uj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",18),i.Wb(2,"mat-icon"),i.Jc(3,"blur_on"),i.Vb(),i.Wb(4,"span"),i.bc(5,xj),i.Vb(),i.Vb(),i.Vb())}function qj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",19),i.Wb(2,"mat-icon"),i.Jc(3,"blur_on"),i.Vb(),i.Wb(4,"span"),i.bc(5,Mj),i.Vb(),i.Vb(),i.Vb())}function Jj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",20),i.Wb(2,"mat-icon"),i.Jc(3,"games"),i.Vb(),i.Wb(4,"span"),i.bc(5,Lj),i.Vb(),i.Vb(),i.Vb())}function Kj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",21),i.Wb(2,"mat-icon"),i.Jc(3,"blur_circular"),i.Vb(),i.Wb(4,"span"),i.bc(5,Oj),i.Vb(),i.Vb(),i.Vb())}function Gj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",22),i.Wb(2,"mat-icon"),i.Jc(3,"settings"),i.Vb(),i.Wb(4,"span"),i.bc(5,Dj),i.Vb(),i.Vb(),i.Vb())}function $j(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-sidenav",4,5),i.jc("openedChange",(function(e){return i.Cc(n),i.nc().showSidenav=e})),i.Wb(2,"mat-nav-list"),i.Wb(3,"mat-list-item"),i.Wb(4,"a",6),i.Wb(5,"mat-icon"),i.Jc(6,"dashboard"),i.Vb(),i.Wb(7,"span"),i.bc(8,dj),i.Vb(),i.Vb(),i.Vb(),i.Wb(9,"mat-accordion"),i.Wb(10,"mat-expansion-panel",7),i.Wb(11,"mat-expansion-panel-header"),i.Wb(12,"mat-panel-title"),i.Wb(13,"mat-icon"),i.Jc(14,"list"),i.Vb(),i.Wb(15,"span"),i.bc(16,hj),i.Vb(),i.Vb(),i.Vb(),i.Wb(17,"mat-list-item"),i.Wb(18,"a",8),i.Wb(19,"mat-icon"),i.Jc(20,"lock_outline"),i.Vb(),i.Wb(21,"span"),i.bc(22,fj),i.Vb(),i.Vb(),i.Vb(),i.Wb(23,"mat-list-item"),i.Wb(24,"a",9),i.Wb(25,"mat-icon"),i.Jc(26,"explore"),i.Vb(),i.Wb(27,"span"),i.bc(28,pj),i.Vb(),i.Vb(),i.Vb(),i.Ic(29,zj,6,0,"mat-list-item",3),i.Wb(30,"mat-list-item"),i.Wb(31,"a",10),i.Wb(32,"mat-icon"),i.Jc(33,"supervisor_account"),i.Vb(),i.Wb(34,"span"),i.bc(35,mj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(36,"mat-accordion"),i.Wb(37,"mat-expansion-panel",7),i.Wb(38,"mat-expansion-panel-header"),i.Wb(39,"mat-panel-title"),i.Wb(40,"mat-icon"),i.Jc(41,"security"),i.Vb(),i.Wb(42,"span"),i.bc(43,_j),i.Vb(),i.Vb(),i.Vb(),i.Ic(44,Nj,6,0,"mat-list-item",3),i.Ic(45,Uj,6,0,"mat-list-item",3),i.Ic(46,qj,6,0,"mat-list-item",3),i.Vb(),i.Vb(),i.Wb(47,"mat-accordion"),i.Wb(48,"mat-expansion-panel",7),i.Wb(49,"mat-expansion-panel-header"),i.Wb(50,"mat-panel-title"),i.Wb(51,"mat-icon"),i.Jc(52,"cloud_queue"),i.Vb(),i.Wb(53,"span"),i.bc(54,bj),i.Vb(),i.Vb(),i.Vb(),i.Wb(55,"mat-list-item"),i.Wb(56,"a",11),i.Wb(57,"mat-icon"),i.Jc(58,"computer"),i.Vb(),i.Wb(59,"span"),i.Jc(60,"Web SSH"),i.Vb(),i.Vb(),i.Vb(),i.Ic(61,Jj,6,0,"mat-list-item",3),i.Ic(62,Kj,6,0,"mat-list-item",3),i.Wb(63,"mat-list-item"),i.Wb(64,"a",12),i.Wb(65,"mat-icon"),i.Jc(66,"check_circle_outline"),i.Vb(),i.Wb(67,"span"),i.bc(68,gj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(69,"mat-accordion"),i.Wb(70,"mat-expansion-panel",7),i.Wb(71,"mat-expansion-panel-header"),i.Wb(72,"mat-panel-title"),i.Wb(73,"mat-icon"),i.Jc(74,"assignment"),i.Vb(),i.Wb(75,"span"),i.bc(76,vj),i.Vb(),i.Vb(),i.Vb(),i.Wb(77,"mat-list-item"),i.Wb(78,"a",13),i.Wb(79,"mat-icon"),i.Jc(80,"blur_on"),i.Vb(),i.Wb(81,"span"),i.bc(82,yj),i.Vb(),i.Vb(),i.Vb(),i.Wb(83,"mat-list-item"),i.Wb(84,"a",14),i.Wb(85,"mat-icon"),i.Jc(86,"blur_on"),i.Vb(),i.Wb(87,"span"),i.bc(88,kj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Rb(89,"mat-divider"),i.Ic(90,Gj,6,0,"mat-list-item",3),i.Rb(91,"mat-divider"),i.Wb(92,"mat-list-item"),i.Wb(93,"a",15),i.jc("click",(function(){return i.Cc(n),i.nc().toggleSidenav()})),i.Wb(94,"mat-icon"),i.Jc(95,"navigate_before"),i.Vb(),i.Wb(96,"span"),i.bc(97,wj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("opened",r.showSidenav),i.Cb(10),i.sc("expanded",!0),i.Cb(19),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(8),i.sc("expanded",!0),i.Cb(7),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(2),i.sc("expanded",!0),i.Cb(13),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(8),i.sc("expanded",!0),i.Cb(20),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin)}}function Zj(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"button",23),i.jc("click",(function(){return i.Cc(n),i.nc().toggleSidenav()})),i.Wb(2,"mat-icon"),i.Jc(3,"navigate_next"),i.Vb(),i.Wb(4,"span"),i.bc(5,Tj),i.Vb(),i.Vb(),i.Vb()}}dj=$localize(_templateObject305()),hj=$localize(_templateObject306()),fj=$localize(_templateObject307()),pj=$localize(_templateObject308()),mj=$localize(_templateObject309()),_j=$localize(_templateObject310()),bj=$localize(_templateObject311()),gj=$localize(_templateObject312()),vj=$localize(_templateObject313()),yj=$localize(_templateObject314()),kj=$localize(_templateObject315()),wj=$localize(_templateObject316()),Cj=$localize(_templateObject317()),Sj=$localize(_templateObject318()),xj=$localize(_templateObject319()),Mj=$localize(_templateObject320()),Lj=$localize(_templateObject321()),Oj=$localize(_templateObject322()),Dj=$localize(_templateObject323()),Tj=$localize(_templateObject324());var Xj,Qj,eY,tY,nY,iY,rY,aY,oY,sY,cY,lY,uY,dY,hY,fY,pY,mY,_Y,bY,gY,vY=((Qj=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.rpcService=n,this.position="right",this.showSidenav=!0}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"toggleSidenav",value:function(){this.showSidenav=!this.showSidenav}}]),e}()).\u0275fac=function(e){return new(e||Qj)(i.Pb(As),i.Pb(Ec))},Qj.\u0275cmp=i.Jb({type:Qj,selectors:[["app-root"]],decls:9,vars:2,consts:[[1,"sidenav-container"],["mode","side","class","sidenav","role","navigation",3,"opened","openedChange",4,"ngIf"],["role","region",1,"content"],[4,"ngIf"],["mode","side","role","navigation",1,"sidenav",3,"opened","openedChange"],["sidenav",""],["routerLink","/dashboard"],[1,"nav-panel",3,"expanded"],["routerLink","/certificates"],["routerLink","/applications"],["routerLink","/usermgmt"],["routerLink","/webssh"],["routerLink","/health"],["routerLink","/logs"],["routerLink","/cclogs"],[3,"click"],["routerLink","/forwarding"],["routerLink","/waf"],["routerLink","/cc"],["routerLink","/ip-policy"],["routerLink","/nodes"],["routerLink","/api-interface"],["routerLink","/settings"],[1,"btn_shownav",3,"click"]],template:function(e,t){1&e&&(i.Ub(0),i.Rb(1,"app-navbar"),i.Rb(2,"app-messages"),i.Wb(3,"mat-sidenav-container",0),i.Ic(4,$j,98,12,"mat-sidenav",1),i.Wb(5,"mat-sidenav-content",2),i.Ic(6,Zj,6,0,"div",3),i.Rb(7,"router-outlet"),i.Vb(),i.Vb(),i.Rb(8,"app-footer"),i.Tb()),2&e&&(i.Cb(4),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(2),i.sc("ngIf",0==t.showSidenav))},directives:[HI,UI,Wj,z,jj,Ws,Bj,Yj,gS,CS,Es,Mb,tv,Xg,Qg,ev,Qb],styles:[".sidenav-container[_ngcontent-%COMP%]{min-height:800px}.sidenav[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:top;align-items:top;-webkit-box-pack:center;justify-content:center;width:210px}mat-icon[_ngcontent-%COMP%]{font-size:14px;vertical-align:middle}.mat-sidenav[_ngcontent-%COMP%]{background-color:#e5e5e5}.mat-list-item[_ngcontent-%COMP%]{font-size:12px;font-family:Arial Narrow,Arial,sans-serif;padding-top:1px}.btn_shownav[_ngcontent-%COMP%]{margin-top:2px;padding:10px 5px;border:0;height:36px}.mat-sidenav[_ngcontent-%COMP%], .nav-panel[_ngcontent-%COMP%]{background-color:#f5f5f5}.nav-panel[_ngcontent-%COMP%]{padding:0}.sub_list[_ngcontent-%COMP%]{margin:0}.mat-expansion-panel-header[_ngcontent-%COMP%]{padding:0 16px;font-size:12px}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:last-of-type{border-radius:0}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{height:32px} .mat-expansion-panel-body{padding:0 12px!important}mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none!important}"]}),Qj),yY=((Xj=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Xj}),Xj.\u0275inj=i.Mb({factory:function(e){return new(e||Xj)},imports:[[cd,Gd],cd]}),Xj),kY={provide:new i.r("mat-autocomplete-scroll-strategy"),deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},wY=((eY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:eY}),eY.\u0275inj=i.Mb({factory:function(e){return new(e||eY)},providers:[kY],imports:[[Dh,Xm,cd,ae],Dh,cd]}),eY),CY=new i.r("mat-chips-default-options"),SY={separatorKeyCodes:[13]},xY=((lY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:lY}),lY.\u0275inj=i.Mb({factory:function(e){return new(e||lY)},providers:[Ed,{provide:CY,useValue:SY}]}),lY),MY=((cY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:cY}),cY.\u0275inj=i.Mb({factory:function(e){return new(e||cY)},imports:[[Bd,cd],Bd,cd]}),cY),LY=((sY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:sY}),sY.\u0275inj=i.Mb({factory:function(e){return new(e||sY)},imports:[[ae,cd],cd]}),sY),OY=((oY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:oY}),oY.\u0275inj=i.Mb({factory:function(e){return new(e||oY)},imports:[[cd,ae],cd]}),oY),DY=((aY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:aY}),aY.\u0275inj=i.Mb({factory:function(e){return new(e||aY)},imports:[[ae,cd],cd]}),aY),TY=((rY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:rY}),rY.\u0275inj=i.Mb({factory:function(e){return new(e||rY)}}),rY),AY=((iY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:iY}),iY.\u0275inj=i.Mb({factory:function(e){return new(e||iY)},imports:[[TY,Gd,cd,vu],TY,cd]}),iY),EY=((nY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:nY}),nY.\u0275inj=i.Mb({factory:function(e){return new(e||nY)},imports:[[Xm,dm,ae,gf,cd],cd]}),nY),PY=((tY=function e(){_classCallCheck(this,e),this.changes=new dr.a,this.sortButtonLabel=function(e){return"Change sorting for ".concat(e)}}).\u0275fac=function(e){return new(e||tY)},tY.\u0275prov=Object(i.Lb)({factory:function(){return new tY},token:tY,providedIn:"root"}),tY),RY={provide:PY,deps:[[new i.B,new i.K,PY]],useFactory:function(e){return e||new PY}},IY=((hY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:hY}),hY.\u0275inj=i.Mb({factory:function(e){return new(e||hY)},providers:[RY],imports:[[ae]]}),hY),jY=((dY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:dY}),dY.\u0275inj=i.Mb({factory:function(e){return new(e||dY)},imports:[[Kc]]}),dY),YY=((uY=function e(){_classCallCheck(this,e),this.changes=new dr.a,this.optionalLabel="Optional"}).\u0275fac=function(e){return new(e||uY)},uY.\u0275prov=Object(i.Lb)({factory:function(){return new uY},token:uY,providedIn:"root"}),uY),VY={provide:YY,deps:[[new i.B,new i.K,YY]],useFactory:function(e){return e||new YY}},WY=((gY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:gY}),gY.\u0275inj=i.Mb({factory:function(e){return new(e||gY)},providers:[VY,Ed],imports:[[cd,ae,dm,gf,jY,Lb,Gd],cd]}),gY),FY=((bY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:bY}),bY.\u0275inj=i.Mb({factory:function(e){return new(e||bY)},imports:[[_y]]}),bY),HY=((_Y=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:_Y}),_Y.\u0275inj=i.Mb({factory:function(e){return new(e||_Y)},imports:[[_y]]}),_Y),BY=((mY=function(){function e(t,n){_classCallCheck(this,e),se(n)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return _createClass(e,null,[{key:"withConfig",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:e,providers:t.serverLoaded?[{provide:yy,useValue:Object.assign(Object.assign({},vy),t)},{provide:wy,useValue:n,multi:!0},{provide:ky,useValue:!0}]:[{provide:yy,useValue:Object.assign(Object.assign({},vy),t)},{provide:wy,useValue:n,multi:!0}]}}}]),e}()).\u0275mod=i.Nb({type:mY}),mY.\u0275inj=i.Mb({factory:function(e){return new(e||mY)(i.fc(ky),i.fc(i.C))},imports:[[Pk,FY,HY],Pk,FY,HY]}),mY),zY=((pY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:pY}),pY.\u0275inj=i.Mb({factory:function(e){return new(e||pY)},imports:[nu,wY,gf,yY,df,mv,xY,BM,Hx,iv,sp,MY,Lb,Mp,SS,YI,Ad,ib,LY,OY,uE,Gd,w_,Hj,DY,AY,EY,IY,Xh,eD,PR,B_,WY]}),pY),NY=((fY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:fY,bootstrap:[vY]}),fY.\u0275inj=i.Mb({factory:function(e){return new(e||fY)},providers:[Tc,Ec,{provide:v,useClass:M}],imports:[[zY,$e,pt,BY,fi,ur,iI,JE]]}),fY);Object(i.T)(),Ke().bootstrapModule(NY).catch((function(e){return console.log(e)}))},zZGF:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},zavE:function(e,t,n){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},zx6S:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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] [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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]); \ No newline at end of file diff --git a/static/janusec-admin/main-es5.0c666de6e5ba0fed0aad.js b/static/janusec-admin/main-es5.0c666de6e5ba0fed0aad.js new file mode 100644 index 0000000..3bc38ef --- /dev/null +++ b/static/janusec-admin/main-es5.0c666de6e5ba0fed0aad.js @@ -0,0 +1 @@ +function _templateObject326(){var e=_taggedTemplateLiteral([":@@show_menu\u241fde54f7fef2294c31aec9103d3dcc375ef20e6de1\u241f409723564111664560:Show Menu"]);return _templateObject326=function(){return e},e}function _templateObject325(){var e=_taggedTemplateLiteral([":@@global_settings\u241f9ad6cb3f49ff69d3715e3a31461ca3a196c1a0c9\u241f4468741256615440810:Global Settings"]);return _templateObject325=function(){return e},e}function _templateObject324(){var e=_taggedTemplateLiteral([":@@api_interface\u241fddd6dd9c3c3538836b10ad075dab5f569c229144\u241f6709824683221194532:API Interface"]);return _templateObject324=function(){return e},e}function _templateObject323(){var e=_taggedTemplateLiteral([":@@node_mgmt\u241ff738b840b92bf81637cc77a10cd2b2f2c6e09796\u241f3971614543116674506:Node"]);return _templateObject323=function(){return e},e}function _templateObject322(){var e=_taggedTemplateLiteral([":@@ip_policy\u241f8f9f517abd64c0696ff319aefd501c8d6bfbcdae\u241f1030481121539161597:IP Policy"]);return _templateObject322=function(){return e},e}function _templateObject321(){var e=_taggedTemplateLiteral([":@@cc_defense\u241f5920b79b0e0c7f6ca6128c386be77946ad53ade9\u241f6556497464821373460:CC Defense"]);return _templateObject321=function(){return e},e}function _templateObject320(){var e=_taggedTemplateLiteral([":@@waf_mgmt\u241ff3b763d582085f00aefea6aeeab04b157ceeb814\u241f5576729792646843752:WAF"]);return _templateObject320=function(){return e},e}function _templateObject319(){var e=_taggedTemplateLiteral([":@@vip_app\u241f4fd4861fa4b326a79a6bb3e86b0c9e57d8bfcc26\u241f2223283913032152637:Forwarding"]);return _templateObject319=function(){return e},e}function _templateObject318(){var e=_taggedTemplateLiteral([":@@hide_menu\u241f500e3a4d45805fc2037f7a2a3af2b6a09f6c16fd\u241f7823247950378652155:Hide Menu"]);return _templateObject318=function(){return e},e}function _templateObject317(){var e=_taggedTemplateLiteral([":@@cc_logs\u241f0ad2a8104beb81ddecf67d9ba489f1a2fcbb5edf\u241f1306645041164281806:CC Logs"]);return _templateObject317=function(){return e},e}function _templateObject316(){var e=_taggedTemplateLiteral([":@@waf_logs\u241f883316cd7f2c17dcdec2000aef1291926486f046\u241f3148404375286852836:WAF Logs"]);return _templateObject316=function(){return e},e}function _templateObject315(){var e=_taggedTemplateLiteral([":@@security_audit\u241f62f734ba974fd7e3fec3a6f4793a9696ce9e3f76\u241f5162040759776173662:Security Audit"]);return _templateObject315=function(){return e},e}function _templateObject314(){var e=_taggedTemplateLiteral([":@@health_check\u241fd2bcd3296d2850de762fb943060b7e086a893181\u241f2041675390931385838:Health"]);return _templateObject314=function(){return e},e}function _templateObject313(){var e=_taggedTemplateLiteral([":@@security_operation\u241f4f177621b86881c75ae5457014ed233b40170b6a\u241f6147966477423117693:Security Operation"]);return _templateObject313=function(){return e},e}function _templateObject312(){var e=_taggedTemplateLiteral([":@@security_defense\u241f2b9d7d80b9eea6c5022b035216ca8945704d0b02\u241f8584970246374393625:Security Defense"]);return _templateObject312=function(){return e},e}function _templateObject311(){var e=_taggedTemplateLiteral([":@@user_mgmt\u241f6ad31729632818476420bb0f698d617436263675\u241f2550377588620126747:User Management"]);return _templateObject311=function(){return e},e}function _templateObject310(){var e=_taggedTemplateLiteral([":@@app_mgmt\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject310=function(){return e},e}function _templateObject309(){var e=_taggedTemplateLiteral([":@@cert_mgmt\u241f9e37e0d06148c7708e88b4a1eb412babbe1a4afc\u241f7164856686778871055:Certificate"]);return _templateObject309=function(){return e},e}function _templateObject308(){var e=_taggedTemplateLiteral([":@@basic_configuration\u241f23806dc993d2bf333cc17bd3f7e7af272cdbf608\u241f398997111288379761:Basic Configuration"]);return _templateObject308=function(){return e},e}function _templateObject307(){var e=_taggedTemplateLiteral([":@@dashboard\u241ff65253954b66e929a8b4d5ecaf61f9129f8cec64\u241f6570363013146073520:Dashboard"]);return _templateObject307=function(){return e},e}function _templateObject306(){var e=_taggedTemplateLiteral([":@@login\u241f12910217fdcdbca64bee06f511639b653d5428ea\u241f7329323998926911298: Login "]);return _templateObject306=function(){return e},e}function _templateObject305(){var e=_taggedTemplateLiteral([":@@lang\u241fc63cfd6ff79615ec6c9b8b389abb4ffee8c8fcd7\u241f2118856116169775514:\u4e2d\u6587"]);return _templateObject305=function(){return e},e}function _templateObject304(){var e=_taggedTemplateLiteral([":@@3_example\u241f9881457edfadcc8100f1c7e9e3fadca72ac929d4\u241f481521859943191501:3 Example"]);return _templateObject304=function(){return e},e}function _templateObject303(){var e=_taggedTemplateLiteral([":@@2_parameters\u241f44251a53f0471d4f3e64776caca1a78e1ac0e811\u241f4732772961672778896:2 Parameters"]);return _templateObject303=function(){return e},e}function _templateObject302(){var e=_taggedTemplateLiteral([":@@1_introduction_to_api\u241f8a82f6f74cbd3502c0631a71f404f1850cc4ed10\u241f3128266290694603421:1 Introduction to API Interface"]);return _templateObject302=function(){return e},e}function _templateObject301(){var e=_taggedTemplateLiteral([":@@api_notice\u241fe6daf73f39075b414128f781b7e501c69fc5b20e\u241f6547220350357958382:Please copy the following API Key string if you want to manage this gateway by external control panel."]);return _templateObject301=function(){return e},e}function _templateObject300(){var e=_taggedTemplateLiteral([":@@api_interface\u241fddd6dd9c3c3538836b10ad075dab5f569c229144\u241f6709824683221194532:API Interface"]);return _templateObject300=function(){return e},e}function _templateObject299(){var e=_taggedTemplateLiteral([":@@action\u241f01a32bb7e93373cbc305329319efc67c0bd85226\u241f97940262148604706: Action "]);return _templateObject299=function(){return e},e}function _templateObject298(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject298=function(){return e},e}function _templateObject297(){var e=_taggedTemplateLiteral([":@@regex\u241f20a714e8d63d241d9883d9c05ae16b5cdb8e106f\u241f6998370669475808931: Regex "]);return _templateObject297=function(){return e},e}function _templateObject296(){var e=_taggedTemplateLiteral([":@@sample\u241fa5f2a7e435565569aef5e4c5d98ff4c088f565d9\u241f5897011278848801710: Sample "]);return _templateObject296=function(){return e},e}function _templateObject295(){var e=_taggedTemplateLiteral([":@@field_name\u241f1bf30b8df5c68b8f1fbb8c03fa743feaabbcbfc8\u241f1115020147403727753: Field Name "]);return _templateObject295=function(){return e},e}function _templateObject294(){var e=_taggedTemplateLiteral([":@@back_to_settings\u241fd48dad8800fb5a0ce2f82b0e8fa88991613f112c\u241f3523968380696217863:Back to Settings"]);return _templateObject294=function(){return e},e}function _templateObject293(){var e=_taggedTemplateLiteral([":@@add_discovery_rule\u241f44c6d7c1c2877426b48bcb42c05ad171983dc8b6\u241f56354631367414212: Add Discovery Rule "]);return _templateObject293=function(){return e},e}function _templateObject292(){var e=_taggedTemplateLiteral([":@@data_discovery\u241f63d49137f582ee027b1111855e04f02113ca761e\u241f8653649989113143059: Data Discovery"]);return _templateObject292=function(){return e},e}function _templateObject291(){var e=_taggedTemplateLiteral([":@@cancel\u241fd7b35c384aecd25a516200d6921836374613dfe7\u241f2159130950882492111:Cancel"]);return _templateObject291=function(){return e},e}function _templateObject290(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject290=function(){return e},e}function _templateObject289(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject289=function(){return e},e}function _templateObject288(){var e=_taggedTemplateLiteral([":@@regex_pattern\u241f6e2a02c5ad298613a2936a91c00d5acbb3a1ab1a\u241f3673538476717951874:Regular Expression Pattern"]);return _templateObject288=function(){return e},e}function _templateObject287(){var e=_taggedTemplateLiteral([":@@sample\u241f86bd4c895bf70b35a58305b7d107a2f1b67b141c\u241f1238358838717941284:Sample"]);return _templateObject287=function(){return e},e}function _templateObject286(){var e=_taggedTemplateLiteral([":@@field_name\u241f87b5a4b1c81f74c0937d7ee1f9714d6fe67270ec\u241f1301244316831267771:Field Name"]);return _templateObject286=function(){return e},e}function _templateObject285(){var e=_taggedTemplateLiteral([":@@data_discovery_rule\u241f2b5f9e63dd6a70dfbd4f41131cfd3e724c21f6db\u241f6424898335834367633:Data Discovery Rule"]);return _templateObject285=function(){return e},e}function _templateObject284(){var e=_taggedTemplateLiteral([":@@ip_operation\u241ff3e8908987e623d7428b64122fd5379f75392cf5\u241f5928868080162558607: Operation "]);return _templateObject284=function(){return e},e}function _templateObject283(){var e=_taggedTemplateLiteral([":@@not_applicable\u241f8f95b2e1fc78f85e52f385faebcece7d9a009b3b\u241f1575742678514522985:Not Applicable"]);return _templateObject283=function(){return e},e}function _templateObject282(){var e=_taggedTemplateLiteral([":@@applicable\u241fc62b0c1e9ec036c84e2c060ad471f0b73ce41652\u241f111090786407836768:Applicable"]);return _templateObject282=function(){return e},e}function _templateObject281(){var e=_taggedTemplateLiteral([":@@not_applicable\u241f8f95b2e1fc78f85e52f385faebcece7d9a009b3b\u241f1575742678514522985:Not Applicable"]);return _templateObject281=function(){return e},e}function _templateObject280(){var e=_taggedTemplateLiteral([":@@applicable\u241fc62b0c1e9ec036c84e2c060ad471f0b73ce41652\u241f111090786407836768:Applicable"]);return _templateObject280=function(){return e},e}function _templateObject279(){var e=_taggedTemplateLiteral([":@@block\u241f7f5d0c10614e8a34f0e2dad33a0568277c50cf69\u241f420763834450076269:Block"]);return _templateObject279=function(){return e},e}function _templateObject278(){var e=_taggedTemplateLiteral([":@@allow\u241fdf30bc0856e61ba596fc22fba03c409537bc055c\u241f340639236808573336:Allow"]);return _templateObject278=function(){return e},e}function _templateObject277(){var e=_taggedTemplateLiteral([":@@is_allow\u241f01a32bb7e93373cbc305329319efc67c0bd85226\u241f97940262148604706: Action "]);return _templateObject277=function(){return e},e}function _templateObject276(){var e=_taggedTemplateLiteral([":@@ip_addr\u241fe8129ddc9c3593ea666e127d21a357ace16d57cf\u241f7175831147405774690: IP Address "]);return _templateObject276=function(){return e},e}function _templateObject275(){var e=_taggedTemplateLiteral([":@@add_ip\u241fb218bf288eb626ef504db58843c379e1026ef5e1\u241f1038456613595221490:Add IP"]);return _templateObject275=function(){return e},e}function _templateObject274(){var e=_taggedTemplateLiteral([":@@ip_policy_block\u241ff35fc8ec5c92eb592fa753565b736ba5c22e0791\u241f1454906982648768569: Block: show block information if WAF applicable only, block access if CC applicable. "]);return _templateObject274=function(){return e},e}function _templateObject273(){var e=_taggedTemplateLiteral([":@@ip_policy_allow\u241fe3829f126dc17e33e15c1925f7a78f6fea5cc8ea\u241f1085219955609485961: Allow: allow security testing if WAF applicable, allow high frequency access if CC applicable. "]);return _templateObject273=function(){return e},e}function _templateObject272(){var e=_taggedTemplateLiteral([":@@ip_policy\u241f8f9f517abd64c0696ff319aefd501c8d6bfbcdae\u241f1030481121539161597:IP Policy"]);return _templateObject272=function(){return e},e}function _templateObject271(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject271=function(){return e},e}function _templateObject270(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject270=function(){return e},e}function _templateObject269(){var e=_taggedTemplateLiteral([":@@enable_policy\u241f8b0da17b127a0b9ab1883ee945a3ae6c4ab52087\u241f5864582010366176989:Enabled this CC block policy"]);return _templateObject269=function(){return e},e}function _templateObject268(){var e=_taggedTemplateLiteral([":@@count_each_cookie\u241fcad4728674cfe9ad5249a40b9e4a7fc8a9108097\u241f8316237512627864188:Count different Cookies separately"]);return _templateObject268=function(){return e},e}function _templateObject267(){var e=_taggedTemplateLiteral([":@@count_each_ua\u241f01f54b088928f791fc92d1ae241c411aa06940fc\u241f6976258656448014735:Count each User-Agent separately"]);return _templateObject267=function(){return e},e}function _templateObject266(){var e=_taggedTemplateLiteral([":@@count_each_url\u241f85ded74a7837149fa16cfd814ccfd0c7f2fac0bc\u241f284133628696784148:Count each URL separately"]);return _templateObject266=function(){return e},e}function _templateObject265(){var e=_taggedTemplateLiteral([":@@action\u241f1bd5e17c9582661e20763a7634ef07881e33bbd7\u241f9216117865911519658:Action"]);return _templateObject265=function(){return e},e}function _templateObject264(){var e=_taggedTemplateLiteral([":@@block_seconds\u241ff18354d7c5284259f574b92b85e4ff4adc4cfeae\u241f3553848666220343841:Block Seconds (900)"]);return _templateObject264=function(){return e},e}function _templateObject263(){var e=_taggedTemplateLiteral([":@@max_count\u241fb6dfba48f89c2284c1141bfda88f2e90330bc708\u241f3630794273078022397:Max Requests Count (6)"]);return _templateObject263=function(){return e},e}function _templateObject262(){var e=_taggedTemplateLiteral([":@@interval_milliseconds\u241fc67377cf3a7553d095461ae62b535cb0edbe5f87\u241f5333209757526234081:Time Window (100 ms)"]);return _templateObject262=function(){return e},e}function _templateObject261(){var e=_taggedTemplateLiteral([":@@add_custom_cc_policy\u241f337931a440e7dc8e8b5db54b20b906408dbc7749\u241f1242276401010012994:Add Custom CC Policy"]);return _templateObject261=function(){return e},e}function _templateObject260(){var e=_taggedTemplateLiteral([":@@select_application\u241f5e310a28af710db10832c9756459f0e14072ca63\u241f5427239173611242637:Select the Application"]);return _templateObject260=function(){return e},e}function _templateObject259(){var e=_taggedTemplateLiteral([":@@custom_cc_title\u241fe5f406f1527a1bedcc6ed8178ab4998a46127470\u241f100944363597393702:Custom CC Policy (Only show when an application selected)"]);return _templateObject259=function(){return e},e}function _templateObject258(){var e=_taggedTemplateLiteral([":@@custom_cc_policy\u241f5ac736ae976f63be80aa6e2d36bf2e600fd6e089\u241f9096686161247344163:Custom CC Policy"]);return _templateObject258=function(){return e},e}function _templateObject257(){var e=_taggedTemplateLiteral([":@@slow_cc_notice\u241fc17427b71184ebc32fae608d40d648dd77c351f6\u241f6706756055351880040: Note: Slow CC detection is also enabled using 15 time windows (other parameters are the same). "]);return _templateObject257=function(){return e},e}function _templateObject256(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject256=function(){return e},e}function _templateObject255(){var e=_taggedTemplateLiteral([":@@enable_policy\u241fc1a5f913d3e4333026c42bf940238aed1e95154f\u241f591469843136255470:Enabled this CC block policy (default: selected)"]);return _templateObject255=function(){return e},e}function _templateObject254(){var e=_taggedTemplateLiteral([":@@count_each_cookie\u241f99e06ecde46232b08aa36c131322a752e7e254eb\u241f832962717517678565:Count different Cookies separately (default: not selected)"]);return _templateObject254=function(){return e},e}function _templateObject253(){var e=_taggedTemplateLiteral([":@@count_each_ua\u241f47db0222a6df7dc3c196ceb5f048b88768ab07d9\u241f5743571863130741572:Count each User-Agent separately (default: not selected)"]);return _templateObject253=function(){return e},e}function _templateObject252(){var e=_taggedTemplateLiteral([":@@count_each_url\u241f37a3ab18bb110b8e75023ceb0865f07fbebc2e5a\u241f710768478920804943:Count each URL separately (default: selected)"]);return _templateObject252=function(){return e},e}function _templateObject251(){var e=_taggedTemplateLiteral([":@@action\u241f1bd5e17c9582661e20763a7634ef07881e33bbd7\u241f9216117865911519658:Action"]);return _templateObject251=function(){return e},e}function _templateObject250(){var e=_taggedTemplateLiteral([":@@block_seconds\u241ff18354d7c5284259f574b92b85e4ff4adc4cfeae\u241f3553848666220343841:Block Seconds (900)"]);return _templateObject250=function(){return e},e}function _templateObject249(){var e=_taggedTemplateLiteral([":@@max_count\u241fb6dfba48f89c2284c1141bfda88f2e90330bc708\u241f3630794273078022397:Max Requests Count (6)"]);return _templateObject249=function(){return e},e}function _templateObject248(){var e=_taggedTemplateLiteral([":@@interval_milliseconds\u241fc67377cf3a7553d095461ae62b535cb0edbe5f87\u241f5333209757526234081:Time Window (100 ms)"]);return _templateObject248=function(){return e},e}function _templateObject247(){var e=_taggedTemplateLiteral([":@@global_cc_title\u241f80df0b7adb6f3cdfd2e0553bd6e9899f07783b9b\u241f6623469599976426156:Global CC Policy (Priority is lower than custom policy)"]);return _templateObject247=function(){return e},e}function _templateObject246(){var e=_taggedTemplateLiteral([":@@global_cc_policy\u241f85b89d3f97c8cfc9a22297dab6f3ebe3e88a54eb\u241f8185795483098629630:Global CC Policy"]);return _templateObject246=function(){return e},e}function _templateObject245(){var e=_taggedTemplateLiteral([":@@verify\u241fb39189bdad1461d0b25ab2bbbfd3f8988116058c\u241f8057635354960539736:Verify and Register"]);return _templateObject245=function(){return e},e}function _templateObject244(){var e=_taggedTemplateLiteral([":@@input_code_notice\u241f5d322b9b58b5d26e5b9e218d90d5c09b9e1a3e1f\u241f5487583822487337611:Input 6-digit Code"]);return _templateObject244=function(){return e},e}function _templateObject243(){var e=_taggedTemplateLiteral([":@@input_key_notice\u241f4307a4d3132d90e7629582a429b92beede51b064\u241f3711585289156562892: Or input the Secret Key in your mobile app: "]);return _templateObject243=function(){return e},e}function _templateObject242(){var e=_taggedTemplateLiteral([":@@authenticator_notice\u241f1f830b294f7117f2353aa8a45f88fc329c57288f\u241f5133033014201784485: Please scan the following QRCode with Google Authenticator, or Microsoft Authenticator: "]);return _templateObject242=function(){return e},e}function _templateObject241(){var e=_taggedTemplateLiteral([":@@authenticator_register\u241fe63ad8355fe8bf46bc37e9ca4aca1f8fde944bd3\u241f5969208796545941505:Authenticator Registration"]);return _templateObject241=function(){return e},e}function _templateObject240(){var e=_taggedTemplateLiteral([":@@referring_link\u241f25bb807edcb491dd296a08d7fb097854709bbffc\u241f1107133793118657967:Referring Link"]);return _templateObject240=function(){return e},e}function _templateObject239(){var e=_taggedTemplateLiteral([":@@target_site\u241fa2ebd38e40ac032d44d74c5204673f3e3e3f6c67\u241f5531534430589766613:Target site"]);return _templateObject239=function(){return e},e}function _templateObject238(){var e=_taggedTemplateLiteral([":@@referring_site\u241f56e20e97f32fccfa6c94aad6f33e4735689d16b4\u241f1891403958688141467:Referring site"]);return _templateObject238=function(){return e},e}function _templateObject237(){var e=_taggedTemplateLiteral([":@@add_new_routing\u241f9d5dc2eb534e384f4613a9a9fa85a443176b5421\u241f3105577272767442961:Add new routing"]);return _templateObject237=function(){return e},e}function _templateObject236(){var e=_taggedTemplateLiteral([":@@add_new_target\u241fecb1fef543db12c99453a054dd2e623964005bd5\u241f3578726587253769109:Add New Target"]);return _templateObject236=function(){return e},e}function _templateObject235(){var e=_taggedTemplateLiteral([":@@target\u241f639672f61f16b7d9c3d022685becb756faf2def3\u241f7592174351973511057:Target (IP:Port)"]);return _templateObject235=function(){return e},e}function _templateObject234(){var e=_taggedTemplateLiteral([":@@forward_mode\u241ffb78ea3d1ccb29d5b96512c9572a307082c47dc5\u241f7104964915409047271:Forward Mode"]);return _templateObject234=function(){return e},e}function _templateObject233(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject233=function(){return e},e}function _templateObject232(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject232=function(){return e},e}function _templateObject231(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject231=function(){return e},e}function _templateObject230(){var e=_taggedTemplateLiteral([":@@vip_owner\u241f02afaff74daa82a8877966a267df371e8220d22f\u241f4709669786209672837:Application Owner"]);return _templateObject230=function(){return e},e}function _templateObject229(){var e=_taggedTemplateLiteral([":@@target_configuration\u241f000353943c654d653e34d84bfe8289ebf14ebbc0\u241f2142433279538164084:Target Configuration"]);return _templateObject229=function(){return e},e}function _templateObject228(){var e=_taggedTemplateLiteral([":@@forward_note\u241f4cfe40cb8f194c53f0e7f125e0de3ab7337d7b23\u241f452055469951542456:Note: Only support services which respond directly from the listening port. Multiple ports or reverse connections are not supported."]);return _templateObject228=function(){return e},e}function _templateObject227(){var e=_taggedTemplateLiteral([":@@listen_port\u241fd2e79fe4bc1237f166600a562592b632cfdb8d0c\u241f4176968710654271933:Listen Port (1025-65535)"]);return _templateObject227=function(){return e},e}function _templateObject226(){var e=_taggedTemplateLiteral([":@@app_name\u241f7e2abed312d91f24b07b1c21982bf0ab5bda6675\u241f2887251461858216261:Application Name"]);return _templateObject226=function(){return e},e}function _templateObject225(){var e=_taggedTemplateLiteral([":@@port_forwarding_warning\u241f34f747a5758cd09ddd062048c852a0482bf8cdd4\u241f8582057483155413428: Caution: Port forwarding may bring serious security risks and can only be used for non-web application publishing. Please follow the internal security management regulations when using it. "]);return _templateObject225=function(){return e},e}function _templateObject224(){var e=_taggedTemplateLiteral([":@@port_forwarding\u241f12bb8fbf00bb4b46a43fc70230de633d147c57c7\u241f6848902813628453884:Port Forwarding"]);return _templateObject224=function(){return e},e}function _templateObject223(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject223=function(){return e},e}function _templateObject222(){var e=_taggedTemplateLiteral([":@@app_name\u241f20371277706eedf7fd8a3f51633ca5d801cd4fc2\u241f8778616811237742446: Name "]);return _templateObject222=function(){return e},e}function _templateObject221(){var e=_taggedTemplateLiteral([":@@listen_port2\u241f39c09b0c2b65288546e266dee9d2c34a9fdc36bb\u241f3614688088249806000: Listen Port "]);return _templateObject221=function(){return e},e}function _templateObject220(){var e=_taggedTemplateLiteral([":@@protocol\u241ffd1a334caa945c369664060d16c4231397a3ae6d\u241f8116972897687649774: Protocol "]);return _templateObject220=function(){return e},e}function _templateObject219(){var e=_taggedTemplateLiteral([":@@add_vip\u241ffba47cbea5354ecc5178f3efd70342ea218a3f6e\u241f2431827976905058381:Add Port Forwarding"]);return _templateObject219=function(){return e},e}function _templateObject218(){var e=_taggedTemplateLiteral([":@@vip_note\u241f811838870bdbf5bfa022af056d4a4005df4e5201\u241f929706042584219383: Note: Layer-4 TCP/UDP Port forwarding (No WAF/CC protection). "]);return _templateObject218=function(){return e},e}function _templateObject217(){var e=_taggedTemplateLiteral([":@@port_forwarding\u241f12bb8fbf00bb4b46a43fc70230de633d147c57c7\u241f6848902813628453884:Port Forwarding"]);return _templateObject217=function(){return e},e}function _templateObject216(){var e=_taggedTemplateLiteral([":@@refresh\u241fc8d1785038d461ec66b5799db21864182b35900a\u241f1102717806459547726:Refresh"]);return _templateObject216=function(){return e},e}function _templateObject215(){var e=_taggedTemplateLiteral([":@@disk_total\u241f183b9511c62e680bbbe5bed40d07e0b95b68a878\u241f6405327325552491671:Storage Total"]);return _templateObject215=function(){return e},e}function _templateObject214(){var e=_taggedTemplateLiteral([":@@disk_used\u241fae1fb05bb99a0fb884c37cde5f7829101bf85789\u241f3600558956582093461:Storage Used"]);return _templateObject214=function(){return e},e}function _templateObject213(){var e=_taggedTemplateLiteral([":@@mem_total\u241f335f607f026f84a95a839395e9dacc92202189e0\u241f2746802394039410947:Memory Total"]);return _templateObject213=function(){return e},e}function _templateObject212(){var e=_taggedTemplateLiteral([":@@mem_used\u241f815de8480fe5cfeb9901a306873590d38168a754\u241f3965710386570662641:Memory Used"]);return _templateObject212=function(){return e},e}function _templateObject211(){var e=_taggedTemplateLiteral([":@@cpu_load1_5_15\u241f103f6aa6d3cf5888a5391e5317936b8fcf3e614e\u241f7402126300765101235:CPU Load (1/5/15 Minutes)"]);return _templateObject211=function(){return e},e}function _templateObject210(){var e=_taggedTemplateLiteral([":@@cpu_percent\u241f88ddf1784c2514f32c8843fe8fb1086568be3da5\u241f1779561025143910931:CPU Percent"]);return _templateObject210=function(){return e},e}function _templateObject209(){var e=_taggedTemplateLiteral([":@@concurrency\u241f28b80e1edc25a686f67fa5fd409af659614ab025\u241f5419498400359535937:Concurrency"]);return _templateObject209=function(){return e},e}function _templateObject208(){var e=_taggedTemplateLiteral([":@@version\u241f8fe73a4787b8068b2ba61f54ab7e0f9af2ea1fc9\u241f2724055831234181057:Version"]);return _templateObject208=function(){return e},e}function _templateObject207(){var e=_taggedTemplateLiteral([":@@time_zone\u241fa2e48645755a13a5fb547cb5446d4b33ad6ef897\u241f3204725360923694745:Time Zone"]);return _templateObject207=function(){return e},e}function _templateObject206(){var e=_taggedTemplateLiteral([":@@current_time\u241f4c6af4b06c43a9223010f8f0d50fb58e8d4eda98\u241f5927565365227316396:Current Time"]);return _templateObject206=function(){return e},e}function _templateObject205(){var e=_taggedTemplateLiteral([":@@start_time\u241f7c0a71d337783e527c1c8e91e433b301c5b1d8a8\u241f4204880191779081093:Start Time"]);return _templateObject205=function(){return e},e}function _templateObject204(){var e=_taggedTemplateLiteral([":@@view\u241fad817cf4269e54829d82b4224d36766ad5f0b3e6\u241f9041078670559726454:Check"]);return _templateObject204=function(){return e},e}function _templateObject203(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject203=function(){return e},e}function _templateObject202(){var e=_taggedTemplateLiteral([":@@host_status_by_application\u241ff21a06f977113fb6a1e7857752c35428fddaa7c9\u241f4466788601899143199:Hosts Status by Application"]);return _templateObject202=function(){return e},e}function _templateObject201(){var e=_taggedTemplateLiteral([":@@refresh\u241fc8d1785038d461ec66b5799db21864182b35900a\u241f1102717806459547726:Refresh"]);return _templateObject201=function(){return e},e}function _templateObject200(){var e=_taggedTemplateLiteral([":@@unvisited_hosts\u241f933e3a20f0afb28b267d5f374f7761986ef70fc4\u241f9134872526760691454:Zero Access Hosts within 24 hours"]);return _templateObject200=function(){return e},e}function _templateObject199(){var e=_taggedTemplateLiteral([":@@offline_hosts\u241feb40c1096a1e1e6866b5a139b57ae1ca8ce1b54b\u241f3307196589296956987:Offline Hosts"]);return _templateObject199=function(){return e},e}function _templateObject198(){var e=_taggedTemplateLiteral([":@@hosts_status\u241fe4880fac90cf65b170bafe46834ec4c5b5240f9e\u241f6105676681289214831:Hosts Status"]);return _templateObject198=function(){return e},e}function _templateObject197(){var e=_taggedTemplateLiteral([":@@gateway_status\u241f77bd5b2151a7e6f63b4ce5645926608358fda653\u241f5500591070135419387:Gateway Status"]);return _templateObject197=function(){return e},e}function _templateObject196(){var e=_taggedTemplateLiteral([":@@password\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return _templateObject196=function(){return e},e}function _templateObject195(){var e=_taggedTemplateLiteral([":@@username\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return _templateObject195=function(){return e},e}function _templateObject194(){var e=_taggedTemplateLiteral([":@@port\u241fcb2741a46e3560f6bc6dfd99d385e86b08b26d72\u241f6117946241126833991:Port"]);return _templateObject194=function(){return e},e}function _templateObject193(){var e=_taggedTemplateLiteral([":@@ip_address\u241f1c1113c07fe4f7008c667f8fb1c5d397fa2055b1\u241f1827245616056417685:IP Address"]);return _templateObject193=function(){return e},e}function _templateObject192(){var e=_taggedTemplateLiteral([":@@web_ssh_term\u241f13a25c64ec9f41a297a2bb15bd8c14661882752c\u241f6630465543638873694:Web SSH Term"]);return _templateObject192=function(){return e},e}function _templateObject191(){var e=_taggedTemplateLiteral([":@@user_agreement\u241f73546446e442c1b3861297089d5436ee268b4866\u241f2785927571630251176:User Agreement"]);return _templateObject191=function(){return e},e}function _templateObject190(){var e=_taggedTemplateLiteral([":@@source_code\u241f76b8339d5b6a70b6871600727ac3a9510e59d26f\u241f4352526755847379280:Source Code"]);return _templateObject190=function(){return e},e}function _templateObject189(){var e=_taggedTemplateLiteral([":@@official_site\u241fa1a16c0655a2532346be77d5581e842c01df8d2a\u241f8585481223049876955:Official Site"]);return _templateObject189=function(){return e},e}function _templateObject188(){var e=_taggedTemplateLiteral([":@@support\u241fb081eb2b01cad6cb19318dcca5509ccca4edac2d\u241f4611971993576521428: Support "]);return _templateObject188=function(){return e},e}function _templateObject187(){var e=_taggedTemplateLiteral([":@@feature_oauth\u241f3329b2759f77ae6be071e913f7369722da3f4390\u241f8436038435583012574:Authentication: LDAP, CAS2, WxWork, DingTalk, Feishu, Lark"]);return _templateObject187=function(){return e},e}function _templateObject186(){var e=_taggedTemplateLiteral([":@@feature_full_site_https\u241f7b0df9ccfb872f1f45a092776ce5fb9795fe8b0f\u241f7023757491218403743:Full Site HTTPS: Certificate Management, and Encryption of Private Key"]);return _templateObject186=function(){return e},e}function _templateObject185(){var e=_taggedTemplateLiteral([":@@feature_waf\u241fb90eb92766b2a7e71d8d02fd8959677c17decebc\u241f2580428788447058936:WAF (Web Application Firewall) and CC denfense"]);return _templateObject185=function(){return e},e}function _templateObject184(){var e=_taggedTemplateLiteral([":@@feature_title\u241f6c9acac01658fd0c91f25bd4fbe0106ff30d4f9d\u241f5882086698205675997: Features of Janusec Application Gateway "]);return _templateObject184=function(){return e},e}function _templateObject183(){var e=_taggedTemplateLiteral([":@@product_desc\u241f2485fdffa30bc87a1dce48312ac9e6ee601766e3\u241f3856266118762267302: Janusec Application Gateway, a Golang based application security solution which provides WAF (Web Application Firewall), CC attack defense, LDAP and OAuth2 Authentication, unified web administration portal, private key protection, web routing and scalable load balancing. "]);return _templateObject183=function(){return e},e}function _templateObject182(){var e=_taggedTemplateLiteral([":@@product_name\u241fdd69878b4a52722f9526a6896d270a0057f67a7b\u241f777814678817001056:Janusec Application Gateway"]);return _templateObject182=function(){return e},e}function _templateObject181(){var e=_taggedTemplateLiteral([":@@callback\u241f241d2d966382d34746dab5ea75bac39b86cbc376\u241f8861286084756285841:callback"]);return _templateObject181=function(){return e},e}function _templateObject180(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject180=function(){return e},e}function _templateObject179(){var e=_taggedTemplateLiteral([":@@enable_authenticator\u241fa25c22ba34edd2156be5bae1588f221819070ea7\u241f358761306182775508: Enable Authenticator "]);return _templateObject179=function(){return e},e}function _templateObject178(){var e=_taggedTemplateLiteral([":@@using_tls\u241f58e061b8f08210a594c451b4bbe12a91e501354d\u241f3436250795514999249: Using TLS Encryption "]);return _templateObject178=function(){return e},e}function _templateObject177(){var e=_taggedTemplateLiteral([":@@bind_required\u241f36618dd9897fd792847976ff329e12f78dba3d52\u241f8177872427518750679: BindDN required (for Active Directory) "]);return _templateObject177=function(){return e},e}function _templateObject176(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject176=function(){return e},e}function _templateObject175(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject175=function(){return e},e}function _templateObject174(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject174=function(){return e},e}function _templateObject173(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject173=function(){return e},e}function _templateObject172(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject172=function(){return e},e}function _templateObject171(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject171=function(){return e},e}function _templateObject170(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject170=function(){return e},e}function _templateObject169(){var e=_taggedTemplateLiteral([":@@callback\u241f7643bd6ebf5ecf0680125ad2cede441acb4c9a5f\u241f7020686074831638682:Callback"]);return _templateObject169=function(){return e},e}function _templateObject168(){var e=_taggedTemplateLiteral([":@@display_name\u241fe438ba78cbafdb5bcbce0820bfaad995a504f222\u241f3013055597615607317:Display Name"]);return _templateObject168=function(){return e},e}function _templateObject167(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject167=function(){return e},e}function _templateObject166(){var e=_taggedTemplateLiteral([":@@test_smtp\u241f68293cafb4cb89cbb236befb5a2836f4166df415\u241f6547422491485399366:Test SMTP"]);return _templateObject166=function(){return e},e}function _templateObject165(){var e=_taggedTemplateLiteral([":@@smtp_password\u241f8823373206ad3bce7b3139e2f6ad18c7ae5dd821\u241f4336953366599045226:Password (Access Token)"]);return _templateObject165=function(){return e},e}function _templateObject164(){var e=_taggedTemplateLiteral([":@@smtp_account\u241f4f711ab3889d50858db6b500b8f2106cb0611ab1\u241f5193620171962741987:Account (Sender's Email)"]);return _templateObject164=function(){return e},e}function _templateObject163(){var e=_taggedTemplateLiteral([":@@smtp_port\u241fb11ead88a8deb9cc9e1b8ba2decfaebf9eeeef2e\u241f1380824593217409510:Port (25, 587, 465)"]);return _templateObject163=function(){return e},e}function _templateObject162(){var e=_taggedTemplateLiteral([":@@smtp_server\u241f905882c0fe09eee755ee6730ecf10e3b85cb6d9c\u241f2188854519574316630:Server"]);return _templateObject162=function(){return e},e}function _templateObject161(){var e=_taggedTemplateLiteral([":@@smtp_enabled\u241f4b0532a01c00ac2710f8a6d6e22c5d210445ec4b\u241f8104588569335395033: Enable SMTP Notification (certificate expire, server offline etc.) "]);return _templateObject161=function(){return e},e}function _templateObject160(){var e=_taggedTemplateLiteral([":@@email_notification\u241f4cebe31487853c9ec37b37605422941d9a343925\u241f3874237384974489918:Email Notification"]);return _templateObject160=function(){return e},e}function _templateObject159(){var e=_taggedTemplateLiteral([":@@data_discovery_note\u241f663d8f4bd538c1248a3a7a3dcc43e0a2d24c6d02\u241f4902964772601694392: Note: Data discovery function module is integrated with JANUCAT (Compliance, Accountability and Transparency). "]);return _templateObject159=function(){return e},e}function _templateObject158(){var e=_taggedTemplateLiteral([":@@manage_discovery_rules\u241ff230157c7e25dba7cac3563351337a5480971d3a\u241f4222471587241201690:Manage Discovery Rules"]);return _templateObject158=function(){return e},e}function _templateObject157(){var e=_taggedTemplateLiteral([":@@api_key\u241f258c041e93862316871096965e2d70579282fb1a\u241f8517109745758603034:API Key"]);return _templateObject157=function(){return e},e}function _templateObject156(){var e=_taggedTemplateLiteral([":@@enable_json_data_discovery\u241fdc509034970937d260591d54e23b5865310a1283\u241f6050811728770475351: Enable JSON Data Discovery (Only for WAF-enabled applications) "]);return _templateObject156=function(){return e},e}function _templateObject155(){var e=_taggedTemplateLiteral([":@@data_discovery\u241fb5e5fe40e652b17ba42055c924c59227e7013f5c\u241f4813722285684291098:Data Discovery"]);return _templateObject155=function(){return e},e}function _templateObject154(){var e=_taggedTemplateLiteral([":@@access_log_days\u241f8d0d70a0a748128d3b08b8518e0a8e4fd1522844\u241f607882647415630545:Access Log Days"]);return _templateObject154=function(){return e},e}function _templateObject153(){var e=_taggedTemplateLiteral([":@@cc_log_days\u241f2c213ab954959907e9a82eda40149065588ea58c\u241f8985708287306942071:CC Log Days"]);return _templateObject153=function(){return e},e}function _templateObject152(){var e=_taggedTemplateLiteral([":@@waf_log_days\u241f3838d845a20449d0a8ff267219ad36ee1397ad79\u241f2485014493910251443:WAF Log Days"]);return _templateObject152=function(){return e},e}function _templateObject151(){var e=_taggedTemplateLiteral([":@@security_audit\u241f62f734ba974fd7e3fec3a6f4793a9696ce9e3f76\u241f5162040759776173662:Security Audit"]);return _templateObject151=function(){return e},e}function _templateObject150(){var e=_taggedTemplateLiteral([":@@custom_block_html\u241f343cc2b2487f9d2ab1e886c87b1d51043359cbf2\u241f743290849909577489:Custom WAF Block Content (HTML)"]);return _templateObject150=function(){return e},e}function _templateObject149(){var e=_taggedTemplateLiteral([":@@shield_notice\u241fc5ed595f26075c6efdefaa31cebc9976434d383f\u241f7183550911754313685: Please do not modify the content in the above script. "]);return _templateObject149=function(){return e},e}function _templateObject148(){var e=_taggedTemplateLiteral([":@@custom_shield_html\u241fad8a3cb8520a1035294809d9093ee232ed1ed962\u241f1604583272998190667:Custom 5-Shield HTML"]);return _templateObject148=function(){return e},e}function _templateObject147(){var e=_taggedTemplateLiteral([":@@five_second_shield_note\u241f8c4395de180cc70ce781050e668731ad3eee7762\u241f3241719635124552319: Note: When the 5-second shield is enabled for an application, it will affect SEO. You can set it to not block the search engines listed above (User-Agent). "]);return _templateObject147=function(){return e},e}function _templateObject146(){var e=_taggedTemplateLiteral([":@@search_engine_label\u241f421c69699ace2672ed11c3d4c5846397b5e9d16d\u241f8733801051348973968: Search Engines (not empty, case insensitive, seperated by | ) "]);return _templateObject146=function(){return e},e}function _templateObject145(){var e=_taggedTemplateLiteral([":@@skip_se_enabled\u241f94e0d6f7b52478d2ea92597e59ea22f212f8aa4e\u241f943867907043347408: Allow search engines bypass 5-second shield. "]);return _templateObject145=function(){return e},e}function _templateObject144(){var e=_taggedTemplateLiteral([":@@seo_five_second_shield\u241f925698af8fe62fa69e71631c99caca4547c452c9\u241f342812371113703753:SEO and 5-second Shield"]);return _templateObject144=function(){return e},e}function _templateObject143(){var e=_taggedTemplateLiteral([":@@webssh_enabled\u241f7ab07613d328eb7ca594a2d9d9cc4cd5d22d477e\u241f8262421472820038708: Enable Web-based SSH "]);return _templateObject143=function(){return e},e}function _templateObject142(){var e=_taggedTemplateLiteral([":@@security_operation\u241f97fddb9e33f8b9e959568d8b26e749a4f2916d32\u241f3154101219665998296: Security Operation "]);return _templateObject142=function(){return e},e}function _templateObject141(){var e=_taggedTemplateLiteral([":@@access_control\u241f5c6045daf544bdad844619af3fdcc0565555a1dd\u241f3594232496989819559:Access Control"]);return _templateObject141=function(){return e},e}function _templateObject140(){var e=_taggedTemplateLiteral([":@@auth_provider_note\u241fcf568461d1b7c6c9da68460df401154c0694be15\u241f6013422074948837968: Note: Janusec on replica nodes need to be restarted if authentication provider changed. "]);return _templateObject140=function(){return e},e}function _templateObject139(){var e=_taggedTemplateLiteral([":@@auth_provider\u241f6f02b16e074b7342981c93fcbd0c96c001c9db21\u241f7732709167286392666:Authentication Provider"]);return _templateObject139=function(){return e},e}function _templateObject138(){var e=_taggedTemplateLiteral([":@@auth_enabled\u241fba614120ed4b34e656777738ecda68c641d7e284\u241f8157486757764332727: Enable Single Sign On Authentication for Applications "]);return _templateObject138=function(){return e},e}function _templateObject137(){var e=_taggedTemplateLiteral([":@@authenticator_enabled\u241f37790ea4efd9c7d87957a872ac4015c9eece3458\u241f1582371579996458286: Enable Authenticator (2-factor Authentication) for Gateway Management "]);return _templateObject137=function(){return e},e}function _templateObject136(){var e=_taggedTemplateLiteral([":@@security_auth\u241fed72606056198896f46c65d0dbbe854d04f3de47\u241f8966698274727122602:Authentication"]);return _templateObject136=function(){return e},e}function _templateObject135(){var e=_taggedTemplateLiteral([":@@go_back\u241f3e6937fdbde4da7f8c6866d56182945437e2629e\u241f2960246622843217026:Go Back"]);return _templateObject135=function(){return e},e}function _templateObject134(){var e=_taggedTemplateLiteral([":@@cc_log_details\u241f1e017fb27295acc12ebb9688787b504cc47e8f3a\u241f2111462504113166168:CC Log Details"]);return _templateObject134=function(){return e},e}function _templateObject133(){var e=_taggedTemplateLiteral([":@@query_cc_logs\u241fb096438669f2e42694b784dfeac680f3c4ef8b8d\u241f1240629564821051165:Query CC Logs"]);return _templateObject133=function(){return e},e}function _templateObject132(){var e=_taggedTemplateLiteral([":@@end_time\u241f075d55ffb39ffc39d2603a64038db31cb862575a\u241f7277844754494375521:End Time (23:59:59)"]);return _templateObject132=function(){return e},e}function _templateObject131(){var e=_taggedTemplateLiteral([":@@begin_time\u241f7a80b3ae74e5b4b36f40df7c340d4368218f470c\u241f401349900922345298:Begin Time (00:00:00)"]);return _templateObject131=function(){return e},e}function _templateObject130(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject130=function(){return e},e}function _templateObject129(){var e=_taggedTemplateLiteral([":@@go_back\u241f3e6937fdbde4da7f8c6866d56182945437e2629e\u241f2960246622843217026:Go Back"]);return _templateObject129=function(){return e},e}function _templateObject128(){var e=_taggedTemplateLiteral([":@@log_details\u241f6fae13efb6ab03e34f34fccd5f7d443c9b8c6623\u241f9120384987646329152:Log Details"]);return _templateObject128=function(){return e},e}function _templateObject127(){var e=_taggedTemplateLiteral([":@@query_waf_logs\u241fc6bb66ee2e4b8eade4eb0cd8042ad508e19eba57\u241f5406286306501075317:Query WAF Logs"]);return _templateObject127=function(){return e},e}function _templateObject126(){var e=_taggedTemplateLiteral([":@@end_time\u241f075d55ffb39ffc39d2603a64038db31cb862575a\u241f7277844754494375521:End Time (23:59:59)"]);return _templateObject126=function(){return e},e}function _templateObject125(){var e=_taggedTemplateLiteral([":@@begin_time\u241f7a80b3ae74e5b4b36f40df7c340d4368218f470c\u241f401349900922345298:Begin Time (00:00:00)"]);return _templateObject125=function(){return e},e}function _templateObject124(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject124=function(){return e},e}function _templateObject123(){var e=_taggedTemplateLiteral([":@@referring_sites\u241fec585bc47d5923492ce19460aae8bf3661fc081a\u241f1923109454628308267:Referring Sites (14 days)"]);return _templateObject123=function(){return e},e}function _templateObject122(){var e=_taggedTemplateLiteral([":@@popular_content_today\u241f330937b831f58f2b1e5abaaa25e2d2d3bb064263\u241f2482852217848403822:Popular Content Today"]);return _templateObject122=function(){return e},e}function _templateObject121(){var e=_taggedTemplateLiteral([":@@view\u241f6829218544e108e152f5fa72cb79c4ccb82e0d06\u241f2509141182388535183:View"]);return _templateObject121=function(){return e},e}function _templateObject120(){var e=_taggedTemplateLiteral([":@@all\u241fdfc3c34e182ea73c5d784ff7c8135f087992dac1\u241f1616102757855967475:All"]);return _templateObject120=function(){return e},e}function _templateObject119(){var e=_taggedTemplateLiteral([":@@vulnerability\u241f09ffc759b49382fc087edfb83b506d794011c73f\u241f7471386395532815020:Vulnerability"]);return _templateObject119=function(){return e},e}function _templateObject118(){var e=_taggedTemplateLiteral([":@@view\u241f6829218544e108e152f5fa72cb79c4ccb82e0d06\u241f2509141182388535183:View"]);return _templateObject118=function(){return e},e}function _templateObject117(){var e=_taggedTemplateLiteral([":@@all\u241f255cb5b41f7a18a13adc9ae75c8a2335275f31e4\u241f1726267335244559659:All applications"]);return _templateObject117=function(){return e},e}function _templateObject116(){var e=_taggedTemplateLiteral([":@@application\u241fcba4c170355f67defdb328b44f86ebd4f30255fb\u241f5710550455494461439:Application"]);return _templateObject116=function(){return e},e}function _templateObject115(){var e=_taggedTemplateLiteral([":@@node_detail\u241f2d653a3d7a3b48d501c08d3fe9376c1c4e24ed21\u241f7177990097443434093:Node Details"]);return _templateObject115=function(){return e},e}function _templateObject114(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject114=function(){return e},e}function _templateObject113(){var e=_taggedTemplateLiteral([":@@action\u241f01a32bb7e93373cbc305329319efc67c0bd85226\u241f97940262148604706: Action "]);return _templateObject113=function(){return e},e}function _templateObject112(){var e=_taggedTemplateLiteral([":@@sync_time\u241f181c8e53f31dd255ba7495eea8996a954058ca01\u241f665365445806980314: Synchronization Time "]);return _templateObject112=function(){return e},e}function _templateObject111(){var e=_taggedTemplateLiteral([":@@version\u241f55841e4bef36a1768906aa7555c43c31b7c61a3b\u241f5088286317508582496: Version "]);return _templateObject111=function(){return e},e}function _templateObject110(){var e=_taggedTemplateLiteral([":@@online\u241fee74fb7b4bab3ce4785bc0470a25ba7f49533cdb\u241f6381905842608823548: Online "]);return _templateObject110=function(){return e},e}function _templateObject109(){var e=_taggedTemplateLiteral([":@@last_ip\u241fde2ae53a235560ee7aa37145da929a18d70ea504\u241f7822607628884491209: IP "]);return _templateObject109=function(){return e},e}function _templateObject108(){var e=_taggedTemplateLiteral([":@@node_notice\u241f98d0a9609caabf92a0f6928e3b5fcecaa20a3516\u241f5588654204421158929:Please copy the following node_key into config.json of all replica nodes. "]);return _templateObject108=function(){return e},e}function _templateObject107(){var e=_taggedTemplateLiteral([":@@node_sync\u241f0e4898ccb7f74dc7411e66c783b249e9d95bd936\u241f3758475628515629380:Node Synchronization"]);return _templateObject107=function(){return e},e}function _templateObject106(){var e=_taggedTemplateLiteral([":@@refresh\u241fc8d1785038d461ec66b5799db21864182b35900a\u241f1102717806459547726:Refresh"]);return _templateObject106=function(){return e},e}function _templateObject105(){var e=_taggedTemplateLiteral([":@@node_mgmt\u241f7c79873448e91ed2609a9c9260490e4577c29517\u241f234012432003542018:Node Management"]);return _templateObject105=function(){return e},e}function _templateObject104(){var e=_taggedTemplateLiteral([":@@update_time\u241ffdaf3f57f2fdd07676eaabb17a98403f277356c3\u241f663069680804731405:Latest Update Time"]);return _templateObject104=function(){return e},e}function _templateObject103(){var e=_taggedTemplateLiteral([":@@designated_headerkey\u241fc4f7eed1c3e5685140e5eb2d94c0f28dfa632650\u241f3116812232264639239:Designated HeaderKey (optional)"]);return _templateObject103=function(){return e},e}function _templateObject102(){var e=_taggedTemplateLiteral([":@@add_new_checkpoint\u241ff7863b5f48230785099c5e20bd07beaed017a0e6\u241f1234834535205391304:Add new check point"]);return _templateObject102=function(){return e},e}function _templateObject101(){var e=_taggedTemplateLiteral([":@@value_or_regex\u241f32e898250fff8ba6252504e25304dcd25b328be6\u241f2229369941918828209:Value or RegexPolicy (Google RE2,start with (?i) if CaseInsensitive required)"]);return _templateObject101=function(){return e},e}function _templateObject100(){var e=_taggedTemplateLiteral([":@@operation\u241f787e44bf8fb991dfb43b1c7eb7056090514d6905\u241f1283895920974679461:Operation"]);return _templateObject100=function(){return e},e}function _templateObject99(){var e=_taggedTemplateLiteral([":@@check_point\u241f232559ea95cb5a6c69126d3fd08ef3f166005136\u241f1979121568078297259:Check Point"]);return _templateObject99=function(){return e},e}function _templateObject98(){var e=_taggedTemplateLiteral([":@@test\u241fa79d938b5ed20249b4ab6bef86c12633d2f346a0\u241f6563391987554512024:Test"]);return _templateObject98=function(){return e},e}function _templateObject97(){var e=_taggedTemplateLiteral([":@@regex_preprocess\u241f8f696da263d6cb723d97134d90c3ce857ab17fad\u241f6813516149374090999: Preprocess Payload Value by Janusec (Selected, Remove \" ' , replace /**/ with backspace.) "]);return _templateObject97=function(){return e},e}function _templateObject96(){var e=_taggedTemplateLiteral([":@@matched_result\u241f12f14ec5e3a85a44e38a2cb956b83a5b9f299870\u241f3569221976704549973:Match Result"]);return _templateObject96=function(){return e},e}function _templateObject95(){var e=_taggedTemplateLiteral([":@@payload_to_test\u241f394e2ed7fbf53e923e14db4f2fe1eb42f4c2e4e8\u241f6330309368981945523:Payload Value to Test"]);return _templateObject95=function(){return e},e}function _templateObject94(){var e=_taggedTemplateLiteral([":@@regex_pattern\u241fb45d2529e755cb6dd269c6707d729853e474483b\u241f549098991873584918:Policy Pattern (Google RE2 Regex Expression, Single-Line Mode)"]);return _templateObject94=function(){return e},e}function _templateObject93(){var e=_taggedTemplateLiteral([":@@regex_test_tool\u241fcf2c05cddea7ec1e1ca957a48d69f1c8fd2e08a9\u241f6782308648328086424:Regex Test Tool"]);return _templateObject93=function(){return e},e}function _templateObject92(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject92=function(){return e},e}function _templateObject91(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject91=function(){return e},e}function _templateObject90(){var e=_taggedTemplateLiteral([":@@enable_policy\u241f3c96c2317e63c35d320da3e998ad4a229deb283b\u241f6507213648773489188: Enable this policy "]);return _templateObject90=function(){return e},e}function _templateObject89(){var e=_taggedTemplateLiteral([":@@action\u241f1bd5e17c9582661e20763a7634ef07881e33bbd7\u241f9216117865911519658:Action"]);return _templateObject89=function(){return e},e}function _templateObject88(){var e=_taggedTemplateLiteral([":@@vulnerability\u241f09ffc759b49382fc087edfb83b506d794011c73f\u241f7471386395532815020:Vulnerability"]);return _templateObject88=function(){return e},e}function _templateObject87(){var e=_taggedTemplateLiteral([":@@all\u241f255cb5b41f7a18a13adc9ae75c8a2335275f31e4\u241f1726267335244559659:All applications"]);return _templateObject87=function(){return e},e}function _templateObject86(){var e=_taggedTemplateLiteral([":@@apply_to\u241f16c0f258e8457e1e7bda6d7ecc2c82b1e14dff2b\u241f8188398788637486228:Applies to"]);return _templateObject86=function(){return e},e}function _templateObject85(){var e=_taggedTemplateLiteral([":@@policy_description\u241ff31fb6bfd7cb675e7e0b7279985ea202467f4527\u241f7653179075669619700:Name or Description"]);return _templateObject85=function(){return e},e}function _templateObject84(){var e=_taggedTemplateLiteral([":@@policy_detail\u241f36915f58289a0994bfbdc5688a19cb0f4760c01f\u241f5634039722621641041:Policy Details"]);return _templateObject84=function(){return e},e}function _templateObject83(){var e=_taggedTemplateLiteral([":@@enabled\u241fabe44b93ca347e46a9b8cb48178c884672111ee4\u241f6151416851572883297: Enabled "]);return _templateObject83=function(){return e},e}function _templateObject82(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject82=function(){return e},e}function _templateObject81(){var e=_taggedTemplateLiteral([":@@import_policies\u241fd49a8a7115dc1a6b069222c3ad18de6800662d08\u241f6736990121547304968:Import Policies"]);return _templateObject81=function(){return e},e}function _templateObject80(){var e=_taggedTemplateLiteral([":@@export_policies\u241f97ed31580aee081fa502f5e46eb6ca2f9b643969\u241f3541288010151194377:Export Policies"]);return _templateObject80=function(){return e},e}function _templateObject79(){var e=_taggedTemplateLiteral([":@@add_policy\u241fb77042030ceb629838381322ceb84c7864347767\u241f3048951785216363434:Add Policy"]);return _templateObject79=function(){return e},e}function _templateObject78(){var e=_taggedTemplateLiteral([":@@application_admin\u241f7961d808f0d34e673d2b98762a00d7f113e6c5f3\u241f3215911346408530352: Application Administrator "]);return _templateObject78=function(){return e},e}function _templateObject77(){var e=_taggedTemplateLiteral([":@@certificate_admin\u241f15549249b3bac8ee826d76fc8b9a0e73f67ee299\u241f8385209030340792999: Certificate Administrator "]);return _templateObject77=function(){return e},e}function _templateObject76(){var e=_taggedTemplateLiteral([":@@super_admin\u241f5697206d5987632ce8252fa4f99af67e42838ba7\u241f1474561519790538294: Super Administrator (Authorization and WAF Management) "]);return _templateObject76=function(){return e},e}function _templateObject75(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject75=function(){return e},e}function _templateObject74(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject74=function(){return e},e}function _templateObject73(){var e=_taggedTemplateLiteral([":@@email\u241f810f7a8d7b821853cbe16735237ba0e9a9afa2a1\u241f8482524874284138132:Email (Used for alarms)"]);return _templateObject73=function(){return e},e}function _templateObject72(){var e=_taggedTemplateLiteral([":@@confirm_password\u241fc1b7e6d75ff4285c7636c67e5ef259629b81725b\u241f3241357959735682038:Confirm Password"]);return _templateObject72=function(){return e},e}function _templateObject71(){var e=_taggedTemplateLiteral([":@@password\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return _templateObject71=function(){return e},e}function _templateObject70(){var e=_taggedTemplateLiteral([":@@username\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return _templateObject70=function(){return e},e}function _templateObject69(){var e=_taggedTemplateLiteral([":@@user_details\u241fb4a0bf59944eeabcb65e19f512620c16ac91bb5c\u241f8296640497525814291:User Details"]);return _templateObject69=function(){return e},e}function _templateObject68(){var e=_taggedTemplateLiteral([":@@is_app_admin\u241f4e0bf711f10ff5de36176a884f3ffd6a88945d9a\u241f1152691990915327597: Application Admin "]);return _templateObject68=function(){return e},e}function _templateObject67(){var e=_taggedTemplateLiteral([":@@is_cert_admin\u241fa926226a016de0a6048b0c02b420dd5d1f3f68b2\u241f8070005005515015318: Certificate Admin "]);return _templateObject67=function(){return e},e}function _templateObject66(){var e=_taggedTemplateLiteral([":@@is_super_admin\u241fd067e1ef48b7ff76e7889f6e84d3ed3252730153\u241f2499232325983554725: Super Admin "]);return _templateObject66=function(){return e},e}function _templateObject65(){var e=_taggedTemplateLiteral([":@@username\u241ffec8de042d9645af8886e515b9c4e6334d4ab2c8\u241f5381513611853730068: Username "]);return _templateObject65=function(){return e},e}function _templateObject64(){var e=_taggedTemplateLiteral([":@@add_user\u241f94be6ae6ec1f87bedc67020629343b27fdbece0a\u241f2941198503117307737:Add User"]);return _templateObject64=function(){return e},e}function _templateObject63(){var e=_taggedTemplateLiteral([":@@user_mgmt\u241fddbd16ea0d9d8831b1897ff0936e91cd10a1aedd\u241f6362392309535777035:Users Management"]);return _templateObject63=function(){return e},e}function _templateObject62(){var e=_taggedTemplateLiteral([":@@cert_self_sign\u241ff254bfa4d1c9673fdbd69479ce607339c4bc8f09\u241f4311221339245365144:Self-Sign Certificate"]);return _templateObject62=function(){return e},e}function _templateObject61(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject61=function(){return e},e}function _templateObject60(){var e=_taggedTemplateLiteral([":@@cert_expire\u241f45eecb6161ef0b26bc67532463515ce497e6ecd7\u241f103471684912655286:Expire time"]);return _templateObject60=function(){return e},e}function _templateObject59(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject59=function(){return e},e}function _templateObject58(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject58=function(){return e},e}function _templateObject57(){var e=_taggedTemplateLiteral([":@@cert_priv\u241fc50c9aa3a8ba742bdd7f3b5ba33748335acd3ab3\u241f7811278187914733773:Private Key Content (begin with: -----BEGIN PRIVATE KEY-----)"]);return _templateObject57=function(){return e},e}function _templateObject56(){var e=_taggedTemplateLiteral([":@@cert_public\u241f538c1b9766ffa86fbfb9d04696076111d210e534\u241f8674187039503057623:Public Certificate Content Begin with: -----BEGIN CERTIFICATE-----"]);return _templateObject56=function(){return e},e}function _templateObject55(){var e=_taggedTemplateLiteral([":@@cert_common_name\u241fe1a70760a341b9e84d107f44a2437df2bf479227\u241f2203571163881366181:Common Name or Subject Alternative Name"]);return _templateObject55=function(){return e},e}function _templateObject54(){var e=_taggedTemplateLiteral([":@@cert_detail_title\u241f3a8e0f16f7165047ad86550d9fcb9a33ab4aa990\u241f6818330678688793635:Certificate Details"]);return _templateObject54=function(){return e},e}function _templateObject53(){var e=_taggedTemplateLiteral([":@@authenticator_code_tip\u241f2441698cb011ad14e78a25cfb6c439ba0767d84c\u241f7766260635644722072:000000 for first use"]);return _templateObject53=function(){return e},e}function _templateObject52(){var e=_taggedTemplateLiteral([":@@authenticator_code\u241f1bf5326a94db10ce1ad68246a29e195f265e96e0\u241f4444315150361605281:Authenticator Code"]);return _templateObject52=function(){return e},e}function _templateObject51(){var e=_taggedTemplateLiteral([":@@submit\u241f71c77bb8cecdf11ec3eead24dd1ba506573fa9cd\u241f935187492052582731:Submit"]);return _templateObject51=function(){return e},e}function _templateObject50(){var e=_taggedTemplateLiteral([":@@password\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return _templateObject50=function(){return e},e}function _templateObject49(){var e=_taggedTemplateLiteral([":@@username\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return _templateObject49=function(){return e},e}function _templateObject48(){var e=_taggedTemplateLiteral([":@@login_title\u241fc8f0af331f13cd58311dfb3c4bc2a9ea7a9dc2de\u241f1769638224126160393:Admin Login"]);return _templateObject48=function(){return e},e}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_nonIterableRest()}function _templateObject47(){var e=_taggedTemplateLiteral([":@@session_seconds\u241ff76c9bcda8d5e05dc737c94afe6983ea0c325947\u241f8409085772541297676:Session Expire Seconds for OAuth2"]);return _templateObject47=function(){return e},e}function _templateObject46(){var e=_taggedTemplateLiteral([":@@add_domain\u241f7ab63115aecfd8e50213144ecb0110f9c56f8c79\u241f3144242076022355294:Add new domain"]);return _templateObject46=function(){return e},e}function _templateObject45(){var e=_taggedTemplateLiteral([":@@redirect\u241fdf9b04356740fa3c69d58d35f93acb23be5253a1\u241f3451145344605364071: (Disabled by default) Redirect to (308): \xa0 "]);return _templateObject45=function(){return e},e}function _templateObject44(){var e=_taggedTemplateLiteral([":@@automated_certificate\u241fa7b361ce6079ec07fdeb1e2848ce75e57123a0d2\u241f7835843245541578986:ACME Automated Certificate"]);return _templateObject44=function(){return e},e}function _templateObject43(){var e=_taggedTemplateLiteral([":@@acme_requirement\u241faadabdabc9f9c926181d6207e39dc0e7cd307354\u241f3385432567489797291:If ACME automated certificate used, default port 80/443, open to Internet, and single node are required."]);return _templateObject43=function(){return e},e}function _templateObject42(){var e=_taggedTemplateLiteral([":@@certificate\u241f9e37e0d06148c7708e88b4a1eb412babbe1a4afc\u241f7164856686778871055:Certificate"]);return _templateObject42=function(){return e},e}function _templateObject41(){var e=_taggedTemplateLiteral([":@@domain_name_tooltip\u241f58603a2700c6043c532f54c1678b0ef2ba836417\u241f4582161848423782090:Required, format: www.your-domain.com"]);return _templateObject41=function(){return e},e}function _templateObject40(){var e=_taggedTemplateLiteral([":@@domain_name\u241ffa5ce9087b488893fb601b5596bcd33d1dfc7a16\u241f2332461354438777072:Domain name (required)"]);return _templateObject40=function(){return e},e}function _templateObject39(){var e=_taggedTemplateLiteral([":@@add_new_routing\u241f9d5dc2eb534e384f4613a9a9fa85a443176b5421\u241f3105577272767442961:Add new routing"]);return _templateObject39=function(){return e},e}function _templateObject38(){var e=_taggedTemplateLiteral([":@@add_new_routing\u241f9d5dc2eb534e384f4613a9a9fa85a443176b5421\u241f3105577272767442961:Add new routing"]);return _templateObject38=function(){return e},e}function _templateObject37(){var e=_taggedTemplateLiteral([":@@backend_routing_tooltip\u241fd58e7a0c4ca99de9da4d5f8228b0bec632baa826\u241f5055285045902212680:Default /, using /xyz/ if the backend is using different URL Path. Please fill in absolute path (/path/to/www/) if the routing type is Static_Website or Local_FastCGI."]);return _templateObject37=function(){return e},e}function _templateObject36(){var e=_taggedTemplateLiteral([":@@backend_routing\u241ffda26bd262b92796a0439695dd22bcd02404649a\u241f6384067608517852147:Backend Routing"]);return _templateObject36=function(){return e},e}function _templateObject35(){var e=_taggedTemplateLiteral([":@@destination_tooltip\u241fb1de75694e2fd829b5188c5c4b19d54f77d37e7c\u241f7090249157165623120:Default IP:Port (such as 10.0.0.1:80), or default file (such as index.html) if Static_Website was selected."]);return _templateObject35=function(){return e},e}function _templateObject34(){var e=_taggedTemplateLiteral([":@@destination\u241fa7369891e88cd613e45a39b55a282c97776d05f5\u241f1866048779551574162:Destination"]);return _templateObject34=function(){return e},e}function _templateObject33(){var e=_taggedTemplateLiteral([":@@routing_type_tooltip\u241ff8b1e1acd107f4da45b4dc6a0143e0f31427a592\u241f5345810443905749306:Default: Reverse_Proxy, other options: Local_FastCGI used for PHP/Python etc., Static_Website used for local static resources without backend servers, K8S_Ingress used for K8S Pods."]);return _templateObject33=function(){return e},e}function _templateObject32(){var e=_taggedTemplateLiteral([":@@routing_type\u241ffb423aa11a87f6a5920a39a3805653ab2662485d\u241f4291238413537579254:Routing Type"]);return _templateObject32=function(){return e},e}function _templateObject31(){var e=_taggedTemplateLiteral([":@@request_location_tooltip\u241f0ad81c05c83c7438f4fea9d57cb91daa9fd270b4\u241f1086158971731286851:Default: / , options: /abc/ .php / , ordered from highest priority to lowest, and /abc/def/ is not supported."]);return _templateObject31=function(){return e},e}function _templateObject30(){var e=_taggedTemplateLiteral([":@@request_location\u241f061e64501c9652e68385c2d4490f050a6fadc834\u241f1675516276525936556:Request Location"]);return _templateObject30=function(){return e},e}function _templateObject29(){var e=_taggedTemplateLiteral([":@@delete\u241f826b25211922a1b46436589233cb6f1a163d89b7\u241f7022070615528435141:Delete"]);return _templateObject29=function(){return e},e}function _templateObject28(){var e=_taggedTemplateLiteral([":@@save\u241f52c9a103b812f258bcddc3d90a6e3f46871d25fe\u241f3768927257183755959:Save"]);return _templateObject28=function(){return e},e}function _templateObject27(){var e=_taggedTemplateLiteral([":@@description\u241feec715de352a6b114713b30b640d319fa78207a0\u241f4902817035128594900:Description"]);return _templateObject27=function(){return e},e}function _templateObject26(){var e=_taggedTemplateLiteral([":@@owner\u241f02afaff74daa82a8877966a267df371e8220d22f\u241f4709669786209672837:Application Owner"]);return _templateObject26=function(){return e},e}function _templateObject25(){var e=_taggedTemplateLiteral([":@@csp_enabled\u241f1bf2cdd64c89a77d08ad8236ce73df0ed9e8aff4\u241f8050337485292058380: Enable CSP (Content-Security-Policy, example: default-src 'self', disabled by default) "]);return _templateObject25=function(){return e},e}function _templateObject24(){var e=_taggedTemplateLiteral([":@@oauth_required\u241f7bf22c25043d2f834ada0dd4fb1919d3e289ce48\u241f1615126847134965216: Enable Authentication (The provider needs to be registered and enabled in the settings, used for Internal Employees and Internal Applications. ",":INTERPOLATION:) "]);return _templateObject24=function(){return e},e}function _templateObject23(){var e=_taggedTemplateLiteral([":@@shield_enabled\u241f69d5e784e80ab6526a53f57b8aab742f9ddb9a69\u241f9109307501335766971: Enable 5-second shield (Please check the search engines list in settings, disabled by default) "]);return _templateObject23=function(){return e},e}function _templateObject22(){var e=_taggedTemplateLiteral([":@@cache_enabled\u241f37b8e7a7cedc9973504d04324d3bedcd839c4271\u241f5421804331364988662: Enable caching for static files less than 10MB (brotli, gzip compression supported) "]);return _templateObject22=function(){return e},e}function _templateObject21(){var e=_taggedTemplateLiteral([":@@waf_enabled\u241fe94cc89eff52dc58039fc5c95cb63c9f457a5f38\u241f2235317324002281227: Enable WAF (Web Application Firewall) "]);return _templateObject21=function(){return e},e}function _templateObject20(){var e=_taggedTemplateLiteral([":@@hsts_enabled\u241f58e1b3279df0d8a8fc8178c05cc8b171b26cb2e9\u241f797501638700667876: Enable HSTS for HTTPS (Add Response Header: Strict-Transport-Security) "]);return _templateObject20=function(){return e},e}function _templateObject19(){var e=_taggedTemplateLiteral([":@@redirect_https\u241f1dbe171223e649c6a0dc253cb379529688801b43\u241f6409732758263767205: Redirect HTTP to HTTPS (Certificate Required) "]);return _templateObject19=function(){return e},e}function _templateObject18(){var e=_taggedTemplateLiteral([":@@ip_for_waf\u241f80441c39aaa90eee8f39967829fa7478e2f079c8\u241f4538667619332294181:Client IP for WAF"]);return _templateObject18=function(){return e},e}function _templateObject17(){var e=_taggedTemplateLiteral([":@@domain_configuration\u241f2cfa697d0ea1de10e87fa50250ec0e48d0fe8e92\u241f1500695871126868301:Domain Configuration"]);return _templateObject17=function(){return e},e}function _templateObject16(){var e=_taggedTemplateLiteral([":@@routing_configuration\u241f5493b4d2549eeb51ac3bb5ef73500cdeb5bf0cd2\u241f6653700099992265561:Routing Configuration"]);return _templateObject16=function(){return e},e}function _templateObject15(){var e=_taggedTemplateLiteral([":@@app_internal_scheme\u241fe4060889fa7dfa1cee1cfc1003e363a3cc6add34\u241f2359896606808000859:Backend or Internal Scheme"]);return _templateObject15=function(){return e},e}function _templateObject14(){var e=_taggedTemplateLiteral([":@@app_name\u241f7e2abed312d91f24b07b1c21982bf0ab5bda6675\u241f2887251461858216261:Application Name"]);return _templateObject14=function(){return e},e}function _templateObject13(){var e=_taggedTemplateLiteral([":@@app_detail\u241ffe9c0bbcb9ca68b6161d6ce6e9828aa5a27b4773\u241f6323294930337585583:Application Detail"]);return _templateObject13=function(){return e},e}function _templateObject12(){var e=_taggedTemplateLiteral([":@@cert_status\u241f6d1cddbe2f61020230280a0543a70e48e43d9832\u241f4282587102956396340: Status "]);return _templateObject12=function(){return e},e}function _templateObject11(){var e=_taggedTemplateLiteral([":@@expire_time\u241fe8a206cd8b22430ba0c01746a7c19db6a858642b\u241f8219491832239345526: Expire Time "]);return _templateObject11=function(){return e},e}function _templateObject10(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject10=function(){return e},e}function _templateObject9(){var e=_taggedTemplateLiteral([":@@common_name\u241f9043be6967386201047a2ac697914c0528b1b3b1\u241f7596435725983670097: Common Name "]);return _templateObject9=function(){return e},e}function _templateObject8(){var e=_taggedTemplateLiteral([":@@add_cert\u241fc921699d04972f3342aea874ca2b5590bc770f36\u241f6891864300492956841:Add Certificate"]);return _templateObject8=function(){return e},e}function _templateObject7(){var e=_taggedTemplateLiteral([":@@acme_note\u241f3b3a0718d29106ad927a99656a7bf2e47be92494\u241f3858518482223069301: Note: The private key imported here will be stored encrypted. ACME automatic certificates are automatically managed by the file system (not listed here). "]);return _templateObject7=function(){return e},e}function _templateObject6(){var e=_taggedTemplateLiteral([":@@cert_mgmt\u241f89d74c661c7a4ff5bb596e5c9da09ffb5f8f5e1b\u241f7592328498683031180:Certificate Management"]);return _templateObject6=function(){return e},e}function _templateObject5(){var e=_taggedTemplateLiteral([":@@waf_enabled2\u241f4e5b591c045f8048c70afdfe2cbd69f2f70b24c1\u241f4031094814875691100: WAF Enabled "]);return _templateObject5=function(){return e},e}function _templateObject4(){var e=_taggedTemplateLiteral([":@@description\u241f3137d67bb771eeb9ae636670d73bd706258ad1a7\u241f3563823504206575540: Description "]);return _templateObject4=function(){return e},e}function _templateObject3(){var e=_taggedTemplateLiteral([":@@app_name\u241f20371277706eedf7fd8a3f51633ca5d801cd4fc2\u241f8778616811237742446: Name "]);return _templateObject3=function(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral([":@@add_app\u241f6371056b2b9e430f6eaca5ecc1c9b5f4b9245d08\u241f8171450067602583729:Add Application"]);return _templateObject2=function(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral([":@@app_mgmt\u241fafd29a25da1cb399758a8391f1220a126f69d398\u241f6498259039196827528:Application Management"]);return _templateObject=function(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(c){r=!0,a=c}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&o.length>r&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,console&&console.warn&&console.warn(s)}return e}function h(){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(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=h.bind(i);return r.listener=n,i.wrapFn=r,r}function p(e,t,n){var i=e._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var c=r[e];if(void 0===c)return!1;if("function"==typeof c)a(c,this,t);else{var l=c.length,u=_(c,l);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,r=a;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;i--)this.removeListener(e,t[i]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".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\u017ees",past:"ma\u014bit %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\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/POA":function(e,t,n){window,e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,(function(t){return e[t]}).bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(14);t.IBufferService=i.createDecorator("BufferService"),t.ICoreMouseService=i.createDecorator("CoreMouseService"),t.ICoreService=i.createDecorator("CoreService"),t.ICharsetService=i.createDecorator("CharsetService"),t.IDirtyRowService=i.createDecorator("DirtyRowService"),t.IInstantiationService=i.createDecorator("InstantiationService"),t.ILogService=i.createDecorator("LogService"),t.IOptionsService=i.createDecorator("OptionsService"),t.IUnicodeService=i.createDecorator("UnicodeService")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var n=0;n>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?a.stringFromCodePoint(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[o.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[o.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[o.CHAR_DATA_CHAR_INDEX].length){var n=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var i=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=i&&i<=57343?this.content=1024*(n-55296)+i-56320+65536|e[o.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[o.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[o.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[o.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(n(6).AttributeData);t.CellData=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.fg=0,this.bg=0}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e}();t.AttributeData=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i="",r=t;r65535?(a-=65536,i+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):i+=String.fromCharCode(a)}return i};var i=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i=0,r=0;this._interim&&(56320<=(s=e.charCodeAt(r++))&&s<=57343?t[i++]=1024*(this._interim-55296)+s-56320+65536:(t[i++]=this._interim,t[i++]=s),this._interim=0);for(var a=r;a=n)return this._interim=o,i;var s;56320<=(s=e.charCodeAt(a))&&s<=57343?t[i++]=1024*(o-55296)+s-56320+65536:(t[i++]=o,t[i++]=s)}else t[i++]=o}return i},e}();t.StringToUtf32=i;var r=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var i,r,a,o,s=0,c=0,l=0;if(this.interim[0]){var u=!1,d=this.interim[0];d&=192==(224&d)?31:224==(240&d)?15:7;for(var h=0,f=void 0;(f=63&this.interim[++h])&&h<4;)d<<=6,d|=f;for(var p=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=p-h;l=n)return 0;if(128!=(192&(f=e[l++]))){l--,u=!0;break}this.interim[h++]=f,d<<=6,d|=63&f}u||(2===p?d<128?l--:t[s++]=d:3===p?d<2048||d>=55296&&d<=57343||(t[s++]=d):d<65536||d>1114111||(t[s++]=d)),this.interim.fill(0)}for(var _=n-4,b=l;b=n)return this.interim[0]=i,s;if(128!=(192&(r=e[b++]))){b--;continue}if((c=(31&i)<<6|63&r)<128){b--;continue}t[s++]=c}else if(224==(240&i)){if(b>=n)return this.interim[0]=i,s;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=n)return this.interim[0]=i,this.interim[1]=r,s;if(128!=(192&(a=e[b++]))){b--;continue}if((c=(15&i)<<12|(63&r)<<6|63&a)<2048||c>=55296&&c<=57343)continue;t[s++]=c}else if(240==(248&i)){if(b>=n)return this.interim[0]=i,s;if(128!=(192&(r=e[b++]))){b--;continue}if(b>=n)return this.interim[0]=i,this.interim[1]=r,s;if(128!=(192&(a=e[b++]))){b--;continue}if(b>=n)return this.interim[0]=i,this.interim[1]=r,this.interim[2]=a,s;if(128!=(192&(o=e[b++]))){b--;continue}if((c=(7&i)<<18|(63&r)<<12|(63&a)<<6|63&o)<65536||c>1114111)continue;t[s++]=c}}return s},e}();t.Utf8ToUtf32=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=function(e,t,n,i){e.addEventListener(t,n,i);var r=!1;return{dispose:function(){r&&(r=!0,e.removeEventListener(t,n,i))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,n){"use strict";var i,r,a,o;function s(e){var t=e.toString(16);return t.length<2?"0"+t:t}function c(e,t){return e>>0}}(i=t.channels||(t.channels={})),(r=t.color||(t.color={})).blend=function(e,t){var n=(255&t.rgba)/255;if(1===n)return{css:t.css,rgba:t.rgba};var r=t.rgba>>16&255,a=t.rgba>>8&255,o=e.rgba>>24&255,s=e.rgba>>16&255,c=e.rgba>>8&255,l=o+Math.round(((t.rgba>>24&255)-o)*n),u=s+Math.round((r-s)*n),d=c+Math.round((a-c)*n);return{css:i.toCss(l,u,d),rgba:i.toRgba(l,u,d)}},r.ensureContrastRatio=function(e,t,n){var i=o.ensureContrastRatio(e.rgba,t.rgba,n);if(i)return o.toColor(i>>24&255,i>>16&255,i>>8&255)},r.opaque=function(e){var t=(255|e.rgba)>>>0,n=o.toChannels(t);return{css:i.toCss(n[0],n[1],n[2]),rgba:t}},(t.css||(t.css={})).toColor=function(e){return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0}},function(e){function t(e,t,n){var i=e/255,r=t/255,a=n/255;return.2126*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(a=t.rgb||(t.rgb={})),function(e){function t(e,t,n){for(var i=e>>24&255,r=e>>16&255,o=e>>8&255,s=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(a.relativeLuminance2(s,u,l),a.relativeLuminance2(i,r,o));d0||l>0||u>0);)s-=Math.max(0,Math.ceil(.1*s)),l-=Math.max(0,Math.ceil(.1*l)),u-=Math.max(0,Math.ceil(.1*u)),d=c(a.relativeLuminance2(s,u,l),a.relativeLuminance2(i,r,o));return(s<<24|l<<16|u<<8|255)>>>0}function n(e,t,n){for(var i=e>>24&255,r=e>>16&255,o=e>>8&255,s=t>>24&255,l=t>>16&255,u=t>>8&255,d=c(a.relativeLuminance2(s,u,l),a.relativeLuminance2(i,r,o));d>>0}e.ensureContrastRatio=function(e,i,r){var o=a.relativeLuminance(e>>8),s=a.relativeLuminance(i>>8);if(c(o,s)>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,n){return{css:i.toCss(e,t,n),rgba:i.toRgba(e,t,n)}}}(o=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="undefined"==typeof navigator,r=i?"node":navigator.userAgent,a=i?"node":navigator.platform;function o(e,t){return e.indexOf(t)>=0}t.isFirefox=!!~r.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(r),t.isMac=o(["Macintosh","MacIntel","MacPPC","Mac68K"],a),t.isIpad="iPad"===a,t.isIphone="iPhone"===a,t.isWindows=o(["Windows","Win16","Win32","WinCE"],a),t.isLinux=a.indexOf("Linux")>=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.NUL="\0",e.SOH="\x01",e.STX="\x02",e.ETX="\x03",e.EOT="\x04",e.ENQ="\x05",e.ACK="\x06",e.BEL="\x07",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="\x0e",e.SI="\x0f",e.DLE="\x10",e.DC1="\x11",e.DC2="\x12",e.DC3="\x13",e.DC4="\x14",e.NAK="\x15",e.SYN="\x16",e.ETB="\x17",e.CAN="\x18",e.EM="\x19",e.SUB="\x1a",e.ESC="\x1b",e.FS="\x1c",e.GS="\x1d",e.RS="\x1e",e.US="\x1f",e.SP=" ",e.DEL="\x7f"}(t.C0||(t.C0={})),function(e){e.PAD="\x80",e.HOP="\x81",e.BPH="\x82",e.NBH="\x83",e.IND="\x84",e.NEL="\x85",e.SSA="\x86",e.ESA="\x87",e.HTS="\x88",e.HTJ="\x89",e.VTS="\x8a",e.PLD="\x8b",e.PLU="\x8c",e.RI="\x8d",e.SS2="\x8e",e.SS3="\x8f",e.DCS="\x90",e.PU1="\x91",e.PU2="\x92",e.STS="\x93",e.CCH="\x94",e.MW="\x95",e.SPA="\x96",e.EPA="\x97",e.SOS="\x98",e.SGCI="\x99",e.SCI="\x9a",e.CSI="\x9b",e.ST="\x9c",e.OSC="\x9d",e.PM="\x9e",e.APC="\x9f"}(t.C1||(t.C1={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),r=n(9),a=n(23),o=n(6),s=n(26),c=n(10),l=function(){function e(e,t,n,i,r,a,o,s){this._container=e,this._alpha=i,this._colors=r,this._rendererId=a,this._bufferService=o,this._optionsService=s,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;this._container.removeChild(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=s.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1)},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=a.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype._fillCells=function(e,t,n,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight)},e.prototype._fillBottomLineAtCells=function(e,t,n){void 0===n&&(n=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*n,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,n,i){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,n*this._scaledCellWidth-window.devicePixelRatio,i*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,n,i){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,i*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,n){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(n),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},e.prototype._drawChars=function(e,t,n){var a,o,s=this._getContrastColor(e);s||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,n,s):(e.isInverse()?(a=e.isBgDefault()?r.INVERTED_DEFAULT_COLOR:e.getBgColor(),o=e.isFgDefault()?r.INVERTED_DEFAULT_COLOR:e.getFgColor()):(o=e.isBgDefault()?i.DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?i.DEFAULT_COLOR:e.getFgColor()),a+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&a<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||i.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||i.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=o,this._currentGlyphIdentifier.fg=a,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,n))},e.prototype._drawUncachedChars=function(e,t,n,i){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(i)this._ctx.fillStyle=i.css;else if(e.isBgDefault())this._ctx.fillStyle=c.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var a=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(i)this._ctx.fillStyle=i.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var s=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8&&(s+=8),this._ctx.fillStyle=this._colors.ansi[s].css}this._clipRow(n),e.isDim()&&(this._ctx.globalAlpha=r.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},e.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var n=e.getFgColor(),i=e.getFgColorMode(),r=e.getBgColor(),a=e.getBgColorMode(),o=!!e.isInverse(),s=!!e.isInverse();if(o){var l=n;n=r,r=l;var u=i;i=a,a=u}var d=this._resolveBackgroundRgba(a,r,o),h=this._resolveForegroundRgba(i,n,o,s),f=c.rgba.ensureContrastRatio(d,h,this._optionsService.options.minimumContrastRatio);if(f){var p={css:c.channels.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(e.bg,e.fg,p),p}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},e.prototype._resolveBackgroundRgba=function(e,t,n){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,n,i){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&i&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.background.rgba:this._colors.foreground.rgba}},e}();t.BaseRenderLayer=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="di$target",r="di$dependencies";function a(e,t,n){t[i]===t?t[r].push({id:e,index:n}):(t[r]=[{id:e,index:n}],t[i]=t)}t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[r]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var n=function e(t,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");a(e,t,i)};return n.toString=function(){return e},t.serviceRegistry.set(e,n),n}},function(e,t,n){"use strict";function i(e,t,n,i){if(void 0===n&&(n=0),void 0===i&&(i=e.length),n>=e.length)return e;i=i>=e.length?e.length:(e.length+i)%e.length;for(var r=n=(e.length+n)%e.length;r>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]},e.prototype.set=function(e,t){this._data[3*e+1]=t[r.CHAR_DATA_ATTR_INDEX],t[r.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[r.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[r.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?i.stringFromCodePoint(2097151&t):""},e.prototype.loadCell=function(e,t){var n=3*e;return t.content=this._data[n+0],t.fg=this._data[n+1],t.bg=this._data[n+2],2097152&t.content&&(t.combinedData=this._combined[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,n,i,r){this._data[3*e+0]=t|n<<22,this._data[3*e+1]=i,this._data[3*e+2]=r},e.prototype.addCodepointToCell=function(e,t){var n=this._data[3*e+0];2097152&n?this._combined[e]+=i.stringFromCodePoint(t):(2097151&n?(this._combined[e]=i.stringFromCodePoint(2097151&n)+i.stringFromCodePoint(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)},e.prototype.insertCells=function(e,t,n,i){var r,o,s,c;if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===(r=i)||void 0===r?void 0:r.fg)||0,(null===(o=i)||void 0===o?void 0:o.bg)||0),t=0;--u)this.setCell(e+t+u,this.loadCell(e+u,l));for(u=0;uthis.length){var n=new Uint32Array(3*e);this.length&&n.set(3*e=e&&delete this._combined[a]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={};for(var t=0;t=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,n,i,r){var a=e._data;if(r)for(var o=i-1;o>=0;o--)for(var s=0;s<3;s++)this._data[3*(n+o)+s]=a[3*(t+o)+s];else for(o=0;o=t&&(this._combined[l-t+n]=e._combined[l])}},e.prototype.translateToString=function(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===n&&(n=this.length),e&&(n=Math.min(n,this.getTrimmedLength()));for(var a="";t>22||1}return a},e}();t.BufferLine=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"\u25c6",a:"\u2592",b:"\u2409",c:"\u240c",d:"\u240d",e:"\u240a",f:"\xb0",g:"\xb1",h:"\u2424",i:"\u240b",j:"\u2518",k:"\u2510",l:"\u250c",m:"\u2514",n:"\u253c",o:"\u23ba",p:"\u23bb",q:"\u2500",r:"\u23bc",s:"\u23bd",t:"\u251c",u:"\u2524",v:"\u2534",w:"\u252c",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03c0","|":"\u2260","}":"\xa3","~":"\xb7"},t.CHARSETS.A={"#":"\xa3"},t.CHARSETS.B=null,t.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},t.CHARSETS.C=t.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},t.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},t.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},t.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},t.CHARSETS.E=t.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},t.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},t.CHARSETS.H=t.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var n=new e;if(!t.length)return n;for(var i=t[0]instanceof Array?1:0;i>8,i=255&this._subParamsIdx[t];i-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,i))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t>8,i=255&this._subParamsIdx[t];i-n>0&&(e[t]=this._subParams.slice(n,i))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var n=this._digitIsSub?this._subParams:this.params,i=n[t-1];n[t-1]=~i?Math.min(10*i+e,2147483647):e}},e}();t.Params=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(21),r=n(7),a=function(){function e(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},e.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;t>=0;t--)e[t].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,n){var i=this._handlers[this._id];if(i)for(var a=i.length-1;a>=0;a--)i[a].put(e,t,n);else this._handlerFb(this._id,"PUT",r.utf32ToString(e,t,n))},e.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var n=t.length-1;n>=0&&!1===t[n].end(e);n--);for(n--;n>=0;n--)t[n].end(!1)}else this._handlerFb(this._id,"END",e)},e.prototype.start=function(){this.reset(),this._id=-1,this._state=1},e.prototype.put=function(e,t,n){if(3!==this._state){if(1===this._state)for(;t0&&this._put(e,t,n)}},e.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},e}();t.OscParser=a;var o=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=r.utf32ToString(e,t,n),this._data.length>i.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},e}();t.OscHandler=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=1e7},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),r=n(19),a=n(21),o=[],s=function(){function e(){this._handlers=Object.create(null),this._active=o,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=o,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||o,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,n){if(this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,n);else this._handlerFb(this._ident,"PUT",i.utf32ToString(e,t,n))},e.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;t>=0&&!1===this._active[t].unhook(e);t--);for(t--;t>=0;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=o,this._ident=0},e}();t.DcsParser=s;var c=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=i.utf32ToString(e,t,n),this._data.length>a.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params?this._params:new r.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},e}();t.DcsHandler=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(24),r=n(42),a=[];t.acquireCharAtlas=function(e,t,n,o,s){for(var c=i.generateConfig(o,s,e,n),l=0;l=0){if(i.configEquals(d.config,c))return d.atlas;1===d.ownedBy.length?(d.atlas.dispose(),a.splice(l,1)):d.ownedBy.splice(u,1);break}}for(l=0;l1)for(var d=this._getJoinedRanges(i,s,a,t,r),h=0;h1)for(d=this._getJoinedRanges(i,s,a,t,r),h=0;h=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new i.CellData)},e.prototype.translateToString=function(e,t,n){return this._line.translateToString(e,t,n)},e}(),u=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,(function(e){return t(e.toArray())}))},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.addDcsHandler(e,(function(e,n){return t(e,n.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}(),d=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!0,configurable:!0}),e}()},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(34),o=n(35),s=n(36),c=n(12),l=n(37),u=n(39),d=n(49),h=n(50),f=n(11),p=n(8),m=n(17),_=n(53),b=n(54),g=n(55),v=n(56),y=n(58),k=n(1),w=n(16),C=n(59),S=n(25),x=n(60),M=n(0),L=n(61),O=n(4),D=n(62),T=n(63),A=n(2),E=n(69),P=n(70),R=n(71),I=n(72),j=n(73),Y=n(74),V=n(75),W=n(76),F=n(77),H=n(79),B="undefined"!=typeof window?window.document:null,z=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.browser=f,n.mouseEvents=0,n._keyDownHandled=!1,n._blankLine=null,n._onCursorMove=new k.EventEmitter,n._onData=new k.EventEmitter,n._onBinary=new k.EventEmitter,n._onKey=new k.EventEmitter,n._onLineFeed=new k.EventEmitter,n._onRender=new k.EventEmitter,n._onResize=new k.EventEmitter,n._onScroll=new k.EventEmitter,n._onSelectionChange=new k.EventEmitter,n._onTitleChange=new k.EventEmitter,n._onFocus=new k.EventEmitter,n._onBlur=new k.EventEmitter,n.onA11yCharEmitter=new k.EventEmitter,n.onA11yTabEmitter=new k.EventEmitter,n._instantiationService=new j.InstantiationService,n.optionsService=new L.OptionsService(t),n._instantiationService.setService(M.IOptionsService,n.optionsService),n._bufferService=n._instantiationService.createInstance(T.BufferService),n._instantiationService.setService(M.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(R.LogService),n._instantiationService.setService(M.ILogService,n._logService),n._coreService=n._instantiationService.createInstance(P.CoreService,(function(){return n.scrollToBottom()})),n._instantiationService.setService(M.ICoreService,n._coreService),n._coreService.onData((function(e){return n._onData.fire(e)})),n._coreService.onBinary((function(e){return n._onBinary.fire(e)})),n._coreMouseService=n._instantiationService.createInstance(Y.CoreMouseService),n._instantiationService.setService(M.ICoreMouseService,n._coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(I.DirtyRowService),n._instantiationService.setService(M.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(F.UnicodeService),n._instantiationService.setService(M.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(H.CharsetService),n._instantiationService.setService(M.ICharsetService,n._charsetService),n._setupOptionsListeners(),n._setup(),n._writeBuffer=new V.WriteBuffer((function(e){return n._inputHandler.parse(e)})),n}return r(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this.onA11yCharEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this.onA11yTabEmitter.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){var t,n,i,r;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0,null===(n=this._renderService)||void 0===n||n.dispose(),this._customKeyEventHandler=null,this.write=function(){},null===(r=null===(i=this.element)||void 0===i?void 0:i.parentNode)||void 0===r||r.removeChild(this.element))},t.prototype._setup=function(){var e=this;this._customKeyEventHandler=null,this.insertMode=!1,this.bracketedPasteMode=!1,this._userScrolling=!1,this._inputHandler?this._inputHandler.reset():(this._inputHandler=new l.InputHandler(this,this._bufferService,this._charsetService,this._coreService,this._dirtyRowService,this._logService,this.optionsService,this._coreMouseService,this.unicodeService,this._instantiationService),this._inputHandler.onRequestBell((function(){return e.bell()})),this._inputHandler.onRequestRefreshRows((function(t,n){return e.refresh(t,n)})),this._inputHandler.onRequestReset((function(){return e.reset()})),this._inputHandler.onCursorMove((function(){return e._onCursorMove.fire()})),this._inputHandler.onLineFeed((function(){return e._onLineFeed.fire()})),this.register(this._inputHandler)),this.linkifier||(this.linkifier=new d.Linkifier(this._bufferService,this._logService,this.optionsService,this.unicodeService)),this.options.windowsMode&&this._enableWindowsMode()},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(C.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},(function(){return C.updateWindowsModeWrappedState(e._bufferService),!1}))),this._windowsMode={dispose:function(){t.forEach((function(e){return e.dispose()}))}}}},Object.defineProperty(t.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},t.prototype._setupOptionsListeners=function(){var e=this;this.optionsService.onOptionChange((function(t){var n,i,r,a,o;switch(t){case"fontFamily":case"fontSize":null===(n=e._renderService)||void 0===n||n.clear(),null===(i=e._charSizeService)||void 0===i||i.measure();break;case"cursorBlink":case"cursorStyle":e.refresh(e.buffer.y,e.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":e._renderService&&(e._renderService.clear(),e._renderService.onResize(e.cols,e.rows),e.refresh(0,e.rows-1));break;case"rendererType":e._renderService&&(e._renderService.setRenderer(e._createRenderer()),e._renderService.onResize(e.cols,e.rows));break;case"scrollback":e.buffers.resize(e.cols,e.rows),null===(r=e.viewport)||void 0===r||r.syncScrollArea();break;case"screenReaderMode":e.optionsService.options.screenReaderMode?!e._accessibilityManager&&e._renderService&&(e._accessibilityManager=new g.AccessibilityManager(e,e._renderService)):(null===(a=e._accessibilityManager)||void 0===a||a.dispose(),e._accessibilityManager=null);break;case"tabStopWidth":e.buffers.setupTabStops();break;case"theme":e._setTheme(e.optionsService.options.theme);break;case"windowsMode":e.optionsService.options.windowsMode?e._enableWindowsMode():(null===(o=e._windowsMode)||void 0===o||o.dispose(),e._windowsMode=void 0)}}))},t.prototype._onTextAreaFocus=function(e){this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this.showCursor(),this._onFocus.fire()},t.prototype.blur=function(){return this.textarea.blur()},t.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.sendFocus&&this._coreService.triggerDataEvent(c.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},t.prototype._initGlobal=function(){var e=this;this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",(function(t){e.hasSelection()&&s.copyHandler(t,e._selectionService)})));var t=function(t){return s.handlePasteEvent(t,e.textarea,e.bracketedPasteMode,e._coreService)};this.register(p.addDisposableDomListener(this.textarea,"paste",t)),this.register(p.addDisposableDomListener(this.element,"paste",t)),this.register(f.isFirefox?p.addDisposableDomListener(this.element,"mousedown",(function(t){2===t.button&&s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)})):p.addDisposableDomListener(this.element,"contextmenu",(function(t){s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),f.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",(function(t){1===t.button&&s.moveTextAreaUnderMouseCursor(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register(p.addDisposableDomListener(this.textarea,"compositionend",(function(){return e._compositionHelper.compositionend()}))),this.register(this.onRender((function(){return e._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(t){return e._queueLinkification(t.start,t.end)})))},t.prototype.open=function(e){var t=this;if(!e)throw new Error("Terminal requires a parent element.");B.body.contains(e)||this._logService.warn("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var n=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),n.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),n.appendChild(this.screenElement),this.textarea=B.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",m.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(p.addDisposableDomListener(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register(p.addDisposableDomListener(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var i=this._instantiationService.createInstance(W.CoreBrowserService,this.textarea);this._instantiationService.setService(O.ICoreBrowserService,i),this._charSizeService=this._instantiationService.createInstance(D.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(O.ICharSizeService,this._charSizeService),this._compositionView=B.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(a.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(n),this._theme=this.options.theme||this._theme,this.options.theme=void 0,this._colorManager=new S.ColorManager(B,this.options.allowTransparency),this.optionsService.onOptionChange((function(e){return t._colorManager.onOptionsChange(e)})),this._colorManager.setTheme(this._theme);var r=this._createRenderer();this._renderService=this._instantiationService.createInstance(x.RenderService,r,this.rows,this.screenElement),this._instantiationService.setService(O.IRenderService,this._renderService),this._renderService.onRender((function(e){return t._onRender.fire(e)})),this.onResize((function(e){return t._renderService.resize(e.cols,e.rows)})),this._soundService=this._instantiationService.createInstance(_.SoundService),this._instantiationService.setService(O.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(E.MouseService),this._instantiationService.setService(O.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(o.Viewport,(function(e,n){return t.scrollLines(e,n)}),this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this.viewport),this.register(this.onCursorMove((function(){return t._renderService.onCursorMove()}))),this.register(this.onResize((function(){return t._renderService.onResize(t.cols,t.rows)}))),this.register(this.onBlur((function(){return t._renderService.onBlur()}))),this.register(this.onFocus((function(){return t._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return t.viewport.syncScrollArea()}))),this._selectionService=this._instantiationService.createInstance(h.SelectionService,(function(e,n){return t.scrollLines(e,n)}),this.element,this.screenElement),this._instantiationService.setService(O.ISelectionService,this._selectionService),this.register(this._selectionService.onSelectionChange((function(){return t._onSelectionChange.fire()}))),this.register(this._selectionService.onRedrawRequest((function(e){return t._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(e){t.textarea.value=e,t.textarea.focus(),t.textarea.select()}))),this.register(this.onScroll((function(){t.viewport.syncScrollArea(),t._selectionService.refresh()}))),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(b.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return t._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.register(p.addDisposableDomListener(this.element,"mousedown",(function(e){return t._selectionService.onMouseDown(e)}))),this.mouseEvents?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},t.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(u.Renderer,this._colorManager.colors,this.screenElement,this.linkifier);case"dom":return this._instantiationService.createInstance(v.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},t.prototype._setTheme=function(e){var t,n,i;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(n=this._renderService)||void 0===n||n.setColors(this._colorManager.colors),null===(i=this.viewport)||void 0===i||i.onThemeChange(this._colorManager.colors)},t.prototype.bindMouse=function(){var e=this,t=this,n=this.element;function i(e){var n,i,r;if(!(n=t._mouseService.getRawByteCoords(e,t.screenElement,t.cols,t.rows)))return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(i=3,void 0!==e.button&&(i=e.button<3?e.button:3)):i=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,i=e.button<3?e.button:3;break;case"mousedown":r=1,i=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),i=4;break;default:return!1}return!(void 0===r||void 0===i||i>4)&&t._coreMouseService.triggerMouseEvent({col:n.x-33,row:n.y-33,button:i,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},a=function(t){return i(t),t.buttons||(e._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.removeEventListener("mousemove",r.mousedrag)),e.cancel(t)},o=function(t){return i(t),t.preventDefault(),e.cancel(t)},s=function(e){e.buttons&&i(e)},l=function(e){e.buttons||i(e)};this._coreMouseService.onProtocolChange((function(t){e.mouseEvents=t,t?("debug"===e.optionsService.options.logLevel&&e._logService.debug("Binding to mouse events:",e._coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?r.mousemove||(n.addEventListener("mousemove",l),r.mousemove=l):(n.removeEventListener("mousemove",r.mousemove),r.mousemove=null),16&t?r.wheel||(n.addEventListener("wheel",o),r.wheel=o):(n.removeEventListener("wheel",r.wheel),r.wheel=null),2&t?r.mouseup||(r.mouseup=a):(e._document.removeEventListener("mouseup",r.mouseup),r.mouseup=null),4&t?r.mousedrag||(r.mousedrag=s):(e._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(n,"mousedown",(function(t){if(t.preventDefault(),e.focus(),e.mouseEvents&&!e._selectionService.shouldForceSelection(t))return i(t),r.mouseup&&e._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&e._document.addEventListener("mousemove",r.mousedrag),e.cancel(t)}))),this.register(p.addDisposableDomListener(n,"wheel",(function(t){if(r.wheel);else if(!e.buffer.hasScrollback){var n=e.viewport.getLinesScrolled(t);if(0===n)return;for(var i=c.C0.ESC+(e._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),a="",o=0;o=this.buffer.ybase&&(this._userScrolling=!1);var n=this.buffer.ydisp;this.buffer.ydisp=Math.max(Math.min(this.buffer.ydisp+e,this.buffer.ybase),0),n!==this.buffer.ydisp&&(t||this._onScroll.fire(this.buffer.ydisp),this.refresh(0,this.rows-1))},t.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},t.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},t.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},t.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},t.prototype.paste=function(e){s.paste(e,this.textarea,this.bracketedPasteMode,this._coreService)},t.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},t.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},t.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},t.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},t.prototype.registerLinkMatcher=function(e,t,n){var i=this.linkifier.registerLinkMatcher(e,t,n);return this.refresh(0,this.rows-1),i},t.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},t.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},t.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(t.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!0,configurable:!0}),t.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},t.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},t.prototype.select=function(e,t,n){this._selectionService.setSelection(e,t,n)},t.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},t.prototype.getSelectionPosition=function(){if(this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},t.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},t.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},t.prototype.selectLines=function(e,t){var n;null===(n=this._selectionService)||void 0===n||n.selectLines(e,t)},t.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=y.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===t.type||2===t.type){var n=this.rows-1;return this.scrollLines(2===t.type?-n:n),this.cancel(e,!0)}return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==c.C0.ETX&&t.key!==c.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)))},t.prototype._isThirdLevelShift=function(e,t){var n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e))},t.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null==e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t,!0),0))},t.prototype.bell=function(){var e=this;this._soundBell()&&this._soundService.playBellSound(),this._visualBell()&&(this.element.classList.add("visual-bell-active"),clearTimeout(this._visualBellTimer),this._visualBellTimer=window.setTimeout((function(){e.element.classList.remove("visual-bell-active")}),200))},t.prototype.resize=function(e,t){var n,i;isNaN(e)||isNaN(t)||(e!==this.cols||t!==this.rows?(e=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(4),o=n(0),s=function(){function e(e,t,n,i,r,a){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=i,this._charSizeService=r,this._coreService=a,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((function(){t._compositionPosition.end=t._textarea.value.length}),0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,this._clearTextareaPosition(),e){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,e=t._isComposing?t._textarea.value.substring(n.start,n.end):t._textarea.value.substring(n.start),t._coreService.triggerDataEvent(e,!0))}),0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout((function(){if(!e._isComposing){var n=e._textarea.value.replace(t,"");n.length>0&&e._coreService.triggerDataEvent(n,!0)}}),0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),i=this._bufferService.buffer.y*n,r=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=r+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var a=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=i+"px",this._textarea.style.width=a.width+"px",this._textarea.style.height=a.height+"px",this._textarea.style.lineHeight=a.height+"px"}e||setTimeout((function(){return t.updateCompositionElements(!0)}),0)}},e.prototype._clearTextareaPosition=function(){this._textarea.style.left="",this._textarea.style.top=""},i([r(2,o.IBufferService),r(3,o.IOptionsService),r(4,a.ICharSizeService),r(5,o.ICoreService)],e)}();t.CompositionHelper=s},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),c=n(8),l=n(4),u=n(0),d=function(e){function t(t,n,i,r,a,o,s){var l=e.call(this)||this;return l._scrollLines=t,l._viewportElement=n,l._scrollArea=i,l._bufferService=r,l._optionsService=a,l._charSizeService=o,l._renderService=s,l.scrollBarWidth=0,l._currentRowHeight=0,l._lastRecordedBufferLength=0,l._lastRecordedViewportHeight=0,l._lastRecordedBufferHeight=0,l._lastTouchY=0,l._lastScrollTop=0,l._wheelPartialScroll=0,l._refreshAnimationFrame=null,l._ignoreNextScrollEvent=!1,l.scrollBarWidth=l._viewportElement.offsetWidth-l._scrollArea.offsetWidth||15,l.register(c.addDisposableDomListener(l._viewportElement,"scroll",l._onScroll.bind(l))),setTimeout((function(){return l.syncScrollArea()}),0),l}return r(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return t._innerRefresh()})))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._bufferService.buffer.ydisp*this._currentRowHeight&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t,!0)}},t.prototype._bubbleScroll=function(e,t){return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var n=this._optionsService.options.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},a([o(3,u.IBufferService),o(4,u.IOptionsService),o(5,l.ICharSizeService),o(6,l.IRenderService)],t)}(s.Disposable);t.Viewport=d},function(e,t,n){"use strict";function i(e){return e.replace(/\r?\n/g,"\r")}function r(e,t){return t?"\x1b[200~"+e+"\x1b[201~":e}function a(e,t,n,a){e=r(e=i(e),n),a.triggerDataEvent(e,!0),t.value=""}function o(e,t,n){var i=n.getBoundingClientRect(),r=e.clientX-i.left-10,a=e.clientY-i.top-10;t.style.position="absolute",t.style.width="20px",t.style.height="20px",t.style.left=r+"px",t.style.top=a+"px",t.style.zIndex="1000",t.focus(),setTimeout((function(){t.style.position="",t.style.width="",t.style.height="",t.style.left="",t.style.top="",t.style.zIndex=""}),200)}Object.defineProperty(t,"__esModule",{value:!0}),t.prepareTextForTerminal=i,t.bracketTextForPaste=r,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n,i){e.stopPropagation(),e.clipboardData&&a(e.clipboardData.getData("text/plain"),t,n,i)},t.paste=a,t.moveTextAreaUnderMouseCursor=o,t.rightClickHandler=function(e,t,n,i,r){o(e,t,n),r&&!i.isClickInSelection(e)&&i.selectWordAtCursor(e),t.value=i.selectionText,t.select()}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(12),o=n(18),s=n(38),c=n(2),l=n(15),u=n(7),d=n(16),h=n(1),f=n(3),p=n(5),m=n(6),_=n(20),b=n(22),g=n(4),v={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function y(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}var k=function(){function e(e,t,n,i){this._bufferService=e,this._coreService=t,this._logService=n,this._optionsService=i,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,n){this._data=l.concat(this._data,e.subarray(t,n))},e.prototype.unhook=function(e){if(e){var t=u.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r0"q'+a.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r61;1"p'+a.C0.ESC+"\\");case"r":return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+a.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r0m"+a.C0.ESC+"\\");case" q":var n={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+(n-=this._optionsService.options.cursorBlink?1:0)+" q"+a.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(a.C0.ESC+"P0$r"+a.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},e}(),w=function(e){function t(t,n,i,r,c,l,f,m,b,g,v){void 0===v&&(v=new s.EscapeSequenceParser);var y=e.call(this)||this;y._terminal=t,y._bufferService=n,y._charsetService=i,y._coreService=r,y._dirtyRowService=c,y._logService=l,y._optionsService=f,y._coreMouseService=m,y._unicodeService=b,y._instantiationService=g,y._parser=v,y._parseBuffer=new Uint32Array(4096),y._stringDecoder=new u.StringToUtf32,y._utf8Decoder=new u.Utf8ToUtf32,y._workCell=new p.CellData,y._windowTitle="",y._iconName="",y._windowTitleStack=[],y._iconNameStack=[],y._curAttrData=d.DEFAULT_ATTR_DATA.clone(),y._eraseAttrDataInternal=d.DEFAULT_ATTR_DATA.clone(),y._onRequestRefreshRows=new h.EventEmitter,y._onRequestReset=new h.EventEmitter,y._onRequestBell=new h.EventEmitter,y._onCursorMove=new h.EventEmitter,y._onLineFeed=new h.EventEmitter,y._onScroll=new h.EventEmitter,y.register(y._parser),y._parser.setCsiHandlerFallback((function(e,t){y._logService.debug("Unknown CSI code: ",{identifier:y._parser.identToString(e),params:t.toArray()})})),y._parser.setEscHandlerFallback((function(e){y._logService.debug("Unknown ESC code: ",{identifier:y._parser.identToString(e)})})),y._parser.setExecuteHandlerFallback((function(e){y._logService.debug("Unknown EXECUTE code: ",{code:e})})),y._parser.setOscHandlerFallback((function(e,t,n){y._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),y._parser.setDcsHandlerFallback((function(e,t,n){"HOOK"===t&&(n=n.toArray()),y._logService.debug("Unknown DCS code: ",{identifier:y._parser.identToString(e),action:t,payload:n})})),y._parser.setPrintHandler((function(e,t,n){return y.print(e,t,n)})),y._parser.setCsiHandler({final:"@"},(function(e){return y.insertChars(e)})),y._parser.setCsiHandler({intermediates:" ",final:"@"},(function(e){return y.scrollLeft(e)})),y._parser.setCsiHandler({final:"A"},(function(e){return y.cursorUp(e)})),y._parser.setCsiHandler({intermediates:" ",final:"A"},(function(e){return y.scrollRight(e)})),y._parser.setCsiHandler({final:"B"},(function(e){return y.cursorDown(e)})),y._parser.setCsiHandler({final:"C"},(function(e){return y.cursorForward(e)})),y._parser.setCsiHandler({final:"D"},(function(e){return y.cursorBackward(e)})),y._parser.setCsiHandler({final:"E"},(function(e){return y.cursorNextLine(e)})),y._parser.setCsiHandler({final:"F"},(function(e){return y.cursorPrecedingLine(e)})),y._parser.setCsiHandler({final:"G"},(function(e){return y.cursorCharAbsolute(e)})),y._parser.setCsiHandler({final:"H"},(function(e){return y.cursorPosition(e)})),y._parser.setCsiHandler({final:"I"},(function(e){return y.cursorForwardTab(e)})),y._parser.setCsiHandler({final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({prefix:"?",final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({prefix:"?",final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({final:"L"},(function(e){return y.insertLines(e)})),y._parser.setCsiHandler({final:"M"},(function(e){return y.deleteLines(e)})),y._parser.setCsiHandler({final:"P"},(function(e){return y.deleteChars(e)})),y._parser.setCsiHandler({final:"S"},(function(e){return y.scrollUp(e)})),y._parser.setCsiHandler({final:"T"},(function(e){return y.scrollDown(e)})),y._parser.setCsiHandler({final:"X"},(function(e){return y.eraseChars(e)})),y._parser.setCsiHandler({final:"Z"},(function(e){return y.cursorBackwardTab(e)})),y._parser.setCsiHandler({final:"`"},(function(e){return y.charPosAbsolute(e)})),y._parser.setCsiHandler({final:"a"},(function(e){return y.hPositionRelative(e)})),y._parser.setCsiHandler({final:"b"},(function(e){return y.repeatPrecedingCharacter(e)})),y._parser.setCsiHandler({final:"c"},(function(e){return y.sendDeviceAttributesPrimary(e)})),y._parser.setCsiHandler({prefix:">",final:"c"},(function(e){return y.sendDeviceAttributesSecondary(e)})),y._parser.setCsiHandler({final:"d"},(function(e){return y.linePosAbsolute(e)})),y._parser.setCsiHandler({final:"e"},(function(e){return y.vPositionRelative(e)})),y._parser.setCsiHandler({final:"f"},(function(e){return y.hVPosition(e)})),y._parser.setCsiHandler({final:"g"},(function(e){return y.tabClear(e)})),y._parser.setCsiHandler({final:"h"},(function(e){return y.setMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"h"},(function(e){return y.setModePrivate(e)})),y._parser.setCsiHandler({final:"l"},(function(e){return y.resetMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"l"},(function(e){return y.resetModePrivate(e)})),y._parser.setCsiHandler({final:"m"},(function(e){return y.charAttributes(e)})),y._parser.setCsiHandler({final:"n"},(function(e){return y.deviceStatus(e)})),y._parser.setCsiHandler({prefix:"?",final:"n"},(function(e){return y.deviceStatusPrivate(e)})),y._parser.setCsiHandler({intermediates:"!",final:"p"},(function(e){return y.softReset(e)})),y._parser.setCsiHandler({intermediates:" ",final:"q"},(function(e){return y.setCursorStyle(e)})),y._parser.setCsiHandler({final:"r"},(function(e){return y.setScrollRegion(e)})),y._parser.setCsiHandler({final:"s"},(function(e){return y.saveCursor(e)})),y._parser.setCsiHandler({final:"t"},(function(e){return y.windowOptions(e)})),y._parser.setCsiHandler({final:"u"},(function(e){return y.restoreCursor(e)})),y._parser.setCsiHandler({intermediates:"'",final:"}"},(function(e){return y.insertColumns(e)})),y._parser.setCsiHandler({intermediates:"'",final:"~"},(function(e){return y.deleteColumns(e)})),y._parser.setExecuteHandler(a.C0.BEL,(function(){return y.bell()})),y._parser.setExecuteHandler(a.C0.LF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.VT,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.FF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.CR,(function(){return y.carriageReturn()})),y._parser.setExecuteHandler(a.C0.BS,(function(){return y.backspace()})),y._parser.setExecuteHandler(a.C0.HT,(function(){return y.tab()})),y._parser.setExecuteHandler(a.C0.SO,(function(){return y.shiftOut()})),y._parser.setExecuteHandler(a.C0.SI,(function(){return y.shiftIn()})),y._parser.setExecuteHandler(a.C1.IND,(function(){return y.index()})),y._parser.setExecuteHandler(a.C1.NEL,(function(){return y.nextLine()})),y._parser.setExecuteHandler(a.C1.HTS,(function(){return y.tabSet()})),y._parser.setOscHandler(0,new _.OscHandler((function(e){y.setTitle(e),y.setIconName(e)}))),y._parser.setOscHandler(1,new _.OscHandler((function(e){return y.setIconName(e)}))),y._parser.setOscHandler(2,new _.OscHandler((function(e){return y.setTitle(e)}))),y._parser.setEscHandler({final:"7"},(function(){return y.saveCursor()})),y._parser.setEscHandler({final:"8"},(function(){return y.restoreCursor()})),y._parser.setEscHandler({final:"D"},(function(){return y.index()})),y._parser.setEscHandler({final:"E"},(function(){return y.nextLine()})),y._parser.setEscHandler({final:"H"},(function(){return y.tabSet()})),y._parser.setEscHandler({final:"M"},(function(){return y.reverseIndex()})),y._parser.setEscHandler({final:"="},(function(){return y.keypadApplicationMode()})),y._parser.setEscHandler({final:">"},(function(){return y.keypadNumericMode()})),y._parser.setEscHandler({final:"c"},(function(){return y.fullReset()})),y._parser.setEscHandler({final:"n"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"o"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"|"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"}"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"~"},(function(){return y.setgLevel(1)})),y._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return y.selectDefaultCharset()})),y._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return y.selectDefaultCharset()}));var w=function(e){C._parser.setEscHandler({intermediates:"(",final:e},(function(){return y.selectCharset("("+e)})),C._parser.setEscHandler({intermediates:")",final:e},(function(){return y.selectCharset(")"+e)})),C._parser.setEscHandler({intermediates:"*",final:e},(function(){return y.selectCharset("*"+e)})),C._parser.setEscHandler({intermediates:"+",final:e},(function(){return y.selectCharset("+"+e)})),C._parser.setEscHandler({intermediates:"-",final:e},(function(){return y.selectCharset("-"+e)})),C._parser.setEscHandler({intermediates:".",final:e},(function(){return y.selectCharset("."+e)})),C._parser.setEscHandler({intermediates:"/",final:e},(function(){return y.selectCharset("/"+e)}))},C=this;for(var S in o.CHARSETS)w(S);return y._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return y.screenAlignmentPattern()})),y._parser.setErrorHandler((function(e){return y._logService.error("Parsing error: ",e),e})),y._parser.setDcsHandler({intermediates:"$",final:"q"},new k(y._bufferService,y._coreService,y._logService,y._optionsService)),y}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.parse=function(e){var t=this._bufferService.buffer,n=t.x,i=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length131072)for(var r=0;r0&&2===p.getWidth(a.x-1)&&p.setCellFromCodePoint(a.x-1,0,1,h.fg,h.bg);for(var m=t;m=c)if(l)a.x=0,a.y++,a.y===a.scrollBottom+1?(a.y--,this._terminal.scroll(this._eraseAttrData(),!0)):(a.y>=this._bufferService.rows&&(a.y=this._bufferService.rows-1),a.lines.get(a.y).isWrapped=!0),p=a.lines.get(a.y+a.ybase);else if(a.x=c-1,2===r)continue;if(d&&(p.insertCells(a.x,r,a.getNullCell(h),h),2===p.getWidth(c-1)&&p.setCellFromCodePoint(c-1,f.NULL_CELL_CODE,f.NULL_CELL_WIDTH,h.fg,h.bg)),p.setCellFromCodePoint(a.x++,i,r,h.fg,h.bg),r>0)for(;--r;)p.setCellFromCodePoint(a.x++,0,0,h.fg,h.bg)}else p.getWidth(a.x-1)?p.addCodepointToCell(a.x-1,i):p.addCodepointToCell(a.x-2,i)}n-t>0&&(p.loadCell(a.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),a.x0&&0===p.getWidth(a.x)&&!p.hasContent(a.x)&&p.setCellFromCodePoint(a.x,0,1,h.fg,h.bg),this._dirtyRowService.markDirty(a.y)},t.prototype.addCsiHandler=function(e,t){var n=this;return this._parser.addCsiHandler(e,"t"!==e.final||e.prefix||e.intermediates?t:function(e){return!y(e.params[0],n._optionsService.options.windowOptions)||t(e)})},t.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new b.DcsHandler(t))},t.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new _.OscHandler(t))},t.prototype.bell=function(){this._onRequestBell.fire()},t.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},t.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},t.prototype.backspace=function(){this._restrictCursor(),this._bufferService.buffer.x>0&&this._bufferService.buffer.x--},t.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var e=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._terminal.onA11yTabEmitter.fire(this._bufferService.buffer.x-e)}},t.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},t.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},t.prototype._restrictCursor=function(){this._bufferService.buffer.x=Math.min(this._bufferService.cols-1,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},t.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;this._moveCursor(0,t>=0?-Math.min(t,e.params[0]||1):-(e.params[0]||1))},t.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;this._moveCursor(0,t>=0?Math.min(t,e.params[0]||1):e.params[0]||1)},t.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},t.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},t.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},t.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.cursorPosition=function(e){this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},t.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},t.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},t.prototype.hVPosition=function(e){this.cursorPosition(e)},t.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},t.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},t.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.x=n.prevStop()},t.prototype._eraseInBufferLine=function(e,t,n,i){void 0===i&&(i=!1);var r=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);r.replaceCells(t,n,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i&&(r.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(this._dirtyRowService.markDirty(t=this._bufferService.buffer.y),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((t=this._bufferService.rows)-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var n=this._bufferService.buffer.lines.length-this._bufferService.rows;n>0&&(this._bufferService.buffer.lines.trimStart(n),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-n,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-n,0),this._onScroll.fire(0))}},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1,n=this._bufferService.buffer;if(!(n.y>n.scrollBottom||n.yn.scrollBottom||n.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.yt.scrollBottom||t.y0||(this._terminal.is("xterm")||this._terminal.is("rxvt-unicode")||this._terminal.is("screen")?this._coreService.triggerDataEvent(a.C0.ESC+"[?1;2c"):this._terminal.is("linux")&&this._coreService.triggerDataEvent(a.C0.ESC+"[?6c"))},t.prototype.sendDeviceAttributesSecondary=function(e){e.params[0]>0||(this._terminal.is("xterm")?this._coreService.triggerDataEvent(a.C0.ESC+"[>0;276;0c"):this._terminal.is("rxvt-unicode")?this._coreService.triggerDataEvent(a.C0.ESC+"[>85;95;0c"):this._terminal.is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._terminal.is("screen")&&this._coreService.triggerDataEvent(a.C0.ESC+"[>83;40003;0c"))},t.prototype.setMode=function(e){for(var t=0;t=2||2===i[1]&&a+r>=5)break;i[1]&&(r=1)}while(++a+t=30&&t<=37?(i.fg&=-50331904,i.fg|=16777216|t-30):t>=40&&t<=47?(i.bg&=-50331904,i.bg|=16777216|t-40):t>=90&&t<=97?(i.fg&=-50331904,i.fg|=16777224|t-90):t>=100&&t<=107?(i.bg&=-50331904,i.bg|=16777224|t-100):0===t?(i.fg=d.DEFAULT_ATTR_DATA.fg,i.bg=d.DEFAULT_ATTR_DATA.bg):1===t?i.fg|=134217728:3===t?i.bg|=67108864:4===t?i.fg|=268435456:5===t?i.fg|=536870912:7===t?i.fg|=67108864:8===t?i.fg|=1073741824:2===t?i.bg|=134217728:22===t?(i.fg&=-134217729,i.bg&=-134217729):23===t?i.bg&=-67108865:24===t?i.fg&=-268435457:25===t?i.fg&=-536870913:27===t?i.fg&=-67108865:28===t?i.fg&=-1073741825:39===t?(i.fg&=-67108864,i.fg|=16777215&d.DEFAULT_ATTR_DATA.fg):49===t?(i.bg&=-67108864,i.bg|=16777215&d.DEFAULT_ATTR_DATA.bg):38===t||48===t?r+=this._extractColor(e,r,i):100===t?(i.fg&=-67108864,i.fg|=16777215&d.DEFAULT_ATTR_DATA.fg,i.bg&=-67108864,i.bg|=16777215&d.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(a.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(a.C0.ESC+"["+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.deviceStatusPrivate=function(e){switch(e.params[0]){case 6:this._coreService.triggerDataEvent(a.C0.ESC+"[?"+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.softReset=function(e){var t;this._coreService.isCursorHidden=!1,this._terminal.insertMode=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=d.DEFAULT_ATTR_DATA.clone(),this._bufferService.buffer.x=this._bufferService.buffer.y=0,this._coreService.reset(),this._charsetService.reset()},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}this._optionsService.options.cursorBlink=t%2==1},t.prototype.setScrollRegion=function(e){var t,n=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>n&&(this._bufferService.buffer.scrollTop=n-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},t.prototype.windowOptions=function(e){if(y(e.params[0],this._optionsService.options.windowOptions)){var t=e.length>1?e.params[1]:0,n=this._instantiationService.getService(g.IRenderService);switch(e.params[0]){case 14:if(n&&2!==t){console.log(n.dimensions);var i=n.dimensions.scaledCanvasWidth.toFixed(0),r=n.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[4;"+r+";"+i+"t")}break;case 16:n&&(i=n.dimensions.scaledCellWidth.toFixed(0),r=n.dimensions.scaledCellHeight.toFixed(0),this._coreService.triggerDataEvent(a.C0.ESC+"[6;"+r+";"+i+"t"));break;case 18:this._bufferService&&this._coreService.triggerDataEvent(a.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},t.prototype.saveCursor=function(e){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},t.prototype.restoreCursor=function(e){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},t.prototype.setTitle=function(e){this._windowTitle=e,this._terminal.handleTitle(e)},t.prototype.setIconName=function(e){this._iconName=e},t.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},t.prototype.keypadApplicationMode=function(){var e;this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.keypadNumericMode=function(){var e;this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},t.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,o.DEFAULT_CHARSET)},t.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(v[e[0]],o.CHARSETS[e[1]]||o.DEFAULT_CHARSET):this.selectDefaultCharset()},t.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),this._restrictCursor()},t.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},t.prototype.reverseIndex=function(){this._restrictCursor();var e=this._bufferService.buffer;e.y===e.scrollTop?(e.lines.shiftElements(e.y+e.ybase,e.scrollBottom-e.scrollTop,1),e.lines.set(e.y+e.ybase,e.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)):(e.y--,this._restrictCursor())},t.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},t.prototype.reset=function(){this._curAttrData=d.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=d.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){this._charsetService.setgLevel(e)},t.prototype.screenAlignmentPattern=function(){var e=new p.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var n=0;n1)throw new Error("only one byte as prefix supported");if((n=e.prefix.charCodeAt(0))&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var i=0;ir||r>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=r}}if(1!==e.final.length)throw new Error("final must be a single byte");var a=e.final.charCodeAt(0);if(t[0]>a||a>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(n<<=8)|a},n.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},n.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},n.prototype.setPrintHandler=function(e){this._printHandler=e},n.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},n.prototype.addEscHandler=function(e,t){var n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);var i=this._escHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},n.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},n.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},n.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},n.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},n.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},n.prototype.addCsiHandler=function(e,t){var n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);var i=this._csiHandlers[n];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},n.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},n.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},n.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},n.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},n.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},n.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},n.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},n.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},n.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},n.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},n.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},n.prototype.setErrorHandler=function(e){this._errorHandler=e},n.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},n.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},n.prototype.parse=function(e,t){for(var n=0,i=0,r=this.currentState,a=this._oscParser,o=this._dcsParser,s=this._collect,c=this._params,l=this.TRANSITIONS.table,u=0;u>4){case 2:for(var d=u+1;;++d){if(d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,u,d),u=d-1;break}}break;case 3:this._executeHandlers[n]?this._executeHandlers[n]():this._executeHandlerFb(n),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:u,code:n,currentState:r,collect:s,params:c,abort:!1}).abort)return;break;case 7:for(var h=this._csiHandlers[s<<8|n],f=h?h.length-1:-1;f>=0&&!1===h[f](c);f--);f<0&&this._csiHandlerFb(s<<8|n,c),this.precedingCodepoint=0;break;case 8:do{switch(n){case 59:c.addParam(0);break;case 58:c.addSubParam(-1);break;default:c.addDigit(n-48)}}while(++u47&&n<60);u--;break;case 9:s<<=8,s|=n;break;case 10:for(var p=this._escHandlers[s<<8|n],m=p?p.length-1:-1;m>=0&&!1===p[m]();m--);m<0&&this._escHandlerFb(s<<8|n),this.precedingCodepoint=0;break;case 11:c.reset(),c.addParam(0),s=0;break;case 12:o.hook(s<<8|n,c);break;case 13:for(var _=u+1;;++_)if(_>=t||24===(n=e[_])||26===n||27===n||n>127&&n<160){o.put(e,u,_),u=_-1;break}break;case 14:o.unhook(24!==n&&26!==n),27===n&&(i|=1),c.reset(),c.addParam(0),s=0,this.precedingCodepoint=0;break;case 4:a.start();break;case 5:for(var b=u+1;;b++)if(b>=t||(n=e[b])<32||n>127&&n<=159){a.put(e,u,b),u=b-1;break}break;case 6:a.end(24!==n&&26!==n),27===n&&(i|=1),c.reset(),c.addParam(0),s=0,this.precedingCodepoint=0}r=15&i}this._collect=s,this.currentState=r},n}(a.Disposable);t.EscapeSequenceParser=d},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(40),c=n(46),l=n(47),u=n(48),d=n(27),h=n(2),f=n(4),p=n(0),m=n(23),_=n(1),b=1,g=function(e){function t(t,n,i,r,a,o,h,f){var p=e.call(this)||this;p._colors=t,p._screenElement=n,p._linkifier=i,p._bufferService=r,p._charSizeService=a,p._optionsService=o,p.coreService=h,p.coreBrowserService=f,p._id=b++,p._onRequestRefreshRows=new _.EventEmitter;var m=p._optionsService.options.allowTransparency;return p._characterJoinerRegistry=new d.CharacterJoinerRegistry(p._bufferService),p._renderLayers=[new s.TextRenderLayer(p._screenElement,0,p._colors,p._characterJoinerRegistry,m,p._id,p._bufferService,o),new c.SelectionRenderLayer(p._screenElement,1,p._colors,p._id,p._bufferService,o),new u.LinkRenderLayer(p._screenElement,2,p._colors,p._id,p._linkifier,p._bufferService,o),new l.CursorRenderLayer(p._screenElement,3,p._colors,p._id,p._onRequestRefreshRows,p._bufferService,o,h,f)],p.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},p._devicePixelRatio=window.devicePixelRatio,p._updateDimensions(),p.onOptionsChanged(),p}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._renderLayers.forEach((function(e){return e.dispose()})),m.removeTerminalFromCache(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){var t=this;this._colors=e,this._renderLayers.forEach((function(e){e.setColors(t._colors),e.reset()}))},t.prototype.onResize=function(e,t){var n=this;this._updateDimensions(),this._renderLayers.forEach((function(e){return e.resize(n.dimensions)})),this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation((function(e){return e.onBlur()}))},t.prototype.onFocus=function(){this._runOperation((function(e){return e.onFocus()}))},t.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._runOperation((function(i){return i.onSelectionChanged(e,t,n)}))},t.prototype.onCursorMove=function(){this._runOperation((function(e){return e.onCursorMove()}))},t.prototype.onOptionsChanged=function(){this._runOperation((function(e){return e.onOptionsChanged()}))},t.prototype.clear=function(){this._runOperation((function(e){return e.reset()}))},t.prototype._runOperation=function(e){this._renderLayers.forEach((function(t){return e(t)}))},t.prototype.renderRows=function(e,t){this._renderLayers.forEach((function(n){return n.onGridChanged(e,t)}))},t.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},t.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},a([o(3,p.IBufferService),o(4,f.ICharSizeService),o(5,p.IOptionsService),o(6,p.ICoreService),o(7,f.ICoreBrowserService)],t)}(h.Disposable);t.Renderer=g},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(41),o=n(13),s=n(6),c=n(3),l=n(27),u=n(5),d=function(e){function t(t,n,i,r,o,s,c,l){var d=e.call(this,t,"text",n,o,i,s,c,l)||this;return d.bufferService=c,d.optionsService=l,d._characterWidth=0,d._characterFont="",d._characterOverlapCache={},d._workCell=new u.CellData,d._state=new a.GridCache,d._characterJoinerRegistry=r,d}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,n,i){for(var r=e;r<=t;r++)for(var a=r+this._bufferService.buffer.ydisp,o=this._bufferService.buffer.lines.get(a),s=n?n.getJoinedCharacters(a):[],u=0;u0&&u===s[0][0]){h=!0;var p=s.shift();d=new l.JoinedCellData(this._workCell,o.translateToString(!0,p[0],p[1]),p[1]-p[0]),f=p[1]-1}!h&&this._isOverlapping(d)&&fthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=n,n},t}(o.BaseRenderLayer);t.TextRenderLayer=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var n=0;n>>24,r=t.rgba>>>16&255,a=t.rgba>>>8&255,o=0;o=this.capacity)this._unlinkNode(n=this._head),delete this._map[n.key],n.key=e,n.value=t,this._map[e]=n;else{var i=this._nodePool;i.length>0?((n=i.pop()).key=e,n.value=t):n={prev:null,next:null,key:e,value:t},this._map[e]=n,this.size++}this._appendNode(n)},e}();t.LRUMap=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(t,n,i,r,a,o){var s=e.call(this,t,"selection",n,!0,i,r,a,o)||this;return s.bufferService=a,s.optionsService=o,s._clearState(),s}return r(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(e,t,n){if(this._didStateChange(e,t,n,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var i=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,a=Math.max(i,0),o=Math.min(r,this._bufferService.rows-1);if(!(a>=this._bufferService.rows||o<0)){if(this._ctx.fillStyle=this._colors.selection.css,n){var s=e[0];this._fillCells(s,a,t[0]-s,o-a+1)}else{this._fillCells(s=i===a?e[0]:0,a,(a===o?t[0]:this._bufferService.cols)-s,1);var c=Math.max(o-a-1,0);this._fillCells(0,a+1,this._bufferService.cols,c),a!==o&&this._fillCells(0,o,r===o?t[0]:this._bufferService.cols,1)}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=n,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,n,i){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||n!==this._state.columnSelectMode||i!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},t}(n(13).BaseRenderLayer);t.SelectionRenderLayer=a},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(13),o=n(5),s=function(e){function t(t,n,i,r,a,s,c,l,u){var d=e.call(this,t,"cursor",n,!0,i,r,s,c)||this;return d._onRequestRefreshRowsEvent=a,d.bufferService=s,d.optionsService=c,d._coreService=l,d._coreBrowserService=u,d._cell=new o.CellData,d._state={x:0,y:0,isFocused:!1,style:"",width:0},d._cursorRenderers={bar:d._renderBarCursor.bind(d),block:d._renderBlockCursor.bind(d),underline:d._renderUnderlineCursor.bind(d)},d}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},t.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new c(this._coreBrowserService.isFocused,(function(){t._render(!0)}))):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=t-this._bufferService.buffer.ydisp;if(n<0||n>=this._bufferService.rows)this._clearCursor();else if(this._bufferService.buffer.lines.get(t).loadCell(this._bufferService.buffer.x,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var i=this._optionsService.options.cursorStyle;return i&&"block"!==i?this._cursorRenderers[i](this._bufferService.buffer.x,n,this._cell):this._renderBlurCursor(this._bufferService.buffer.x,n,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=n,this._state.isFocused=!1,this._state.style=i,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===this._bufferService.buffer.x&&this._state.y===n&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](this._bufferService.buffer.x,n,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=n,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,n.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(n,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,n){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,n.getWidth(),1),this._ctx.restore()},t}(a.BaseRenderLayer);t.CursorRenderLayer=s;var c=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=setTimeout((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0})),t._blinkInterval=setInterval((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0}))}),600)}),e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(13),o=n(9),s=n(24),c=function(e){function t(t,n,i,r,a,o,s){var c=e.call(this,t,"link",n,!0,i,r,o,s)||this;return c.bufferService=o,c.optionsService=s,a.onLinkHover((function(e){return c._onLinkHover(e)})),a.onLinkLeave((function(e){return c._onLinkLeave(e)})),c}return r(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onLinkHover=function(e){if(this._ctx.fillStyle=e.fg===o.INVERTED_DEFAULT_COLOR?this._colors.background.css:e.fg&&s.is256Color(e.fg)?this._colors.ansi[e.fg].css:this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t=e.lines.length)){for(var n=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,i=Math.ceil(2e3/this._bufferService.cols),r=this._bufferService.buffer.iterator(!1,t,n,i,i);r.hasNext();)for(var a=r.next(),o=0;o=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t>9&511:void 0;n.validationCallback?n.validationCallback(s,(function(e){r._rowsTimeoutId||e&&r._addLink(l[1],l[0]-r._bufferService.buffer.ydisp,s,n,h)})):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,s,n,h)},c=this;null!==(i=a.exec(t))&&"break"!==s(););},e.prototype._addLink=function(e,t,n,i,r){var o=this;if(this._mouseZoneManager&&this._element){var s=this._unicodeService.getStringCellWidth(n),c=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),u=(c+s)%this._bufferService.cols,d=l+Math.floor((c+s)/this._bufferService.cols);0===u&&(u=this._bufferService.cols,d--),this._mouseZoneManager.add(new a(c+1,l+1,u+1,d+1,(function(e){if(i.handler)return i.handler(e,n);var t=window.open();t?(t.opener=null,t.location.href=n):console.warn("Opening link blocked as opener could not be cleared")}),(function(){o._onLinkHover.fire(o._createLinkHoverEvent(c,l,u,d,r)),o._element.classList.add("xterm-cursor-pointer")}),(function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(c,l,u,d,r)),i.hoverTooltipCallback&&i.hoverTooltipCallback(e,n,{start:{x:c,y:l},end:{x:u,y:d}})}),(function(){o._onLinkLeave.fire(o._createLinkHoverEvent(c,l,u,d,r)),o._element.classList.remove("xterm-cursor-pointer"),i.hoverLeaveCallback&&i.hoverLeaveCallback()}),(function(e){return!i.willLinkActivate||i.willLinkActivate(e,n)})))}},e.prototype._createLinkHoverEvent=function(e,t,n,i,r){return{x1:e,y1:t,x2:n,y2:i,cols:this._bufferService.cols,fg:r}},e._timeBeforeLatency=200,e}();t.Linkifier=r;var a=function(e,t,n,i,r,a,o,s,c){this.x1=e,this.y1=t,this.x2=n,this.y2=i,this.clickCallback=r,this.hoverCallback=a,this.tooltipCallback=o,this.leaveCallback=s,this.willLinkActivate=c};t.MouseZone=a},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),o=n(51),s=n(5),c=n(1),l=n(4),u=n(0),d=n(28),h=n(52),f=String.fromCharCode(160),p=new RegExp(f,"g"),m=function(){function e(e,t,n,i,r,a,l,u){var d=this;this._scrollLines=e,this._element=t,this._screenElement=n,this._charSizeService=i,this._bufferService=r,this._coreService=a,this._mouseService=l,this._optionsService=u,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new s.CellData,this._mouseDownTimeStamp=0,this._onLinuxMouseSelection=new c.EventEmitter,this._onRedrawRequest=new c.EventEmitter,this._onSelectionChange=new c.EventEmitter,this._mouseMoveListener=function(e){return d._onMouseMove(e)},this._mouseUpListener=function(e){return d._onMouseUp(e)},this._coreService.onUserInput((function(){d.hasSelection&&d.clearSelection()})),this._trimListener=this._bufferService.buffer.lines.onTrim((function(e){return d._onTrim(e)})),this._bufferService.buffers.onBufferActivate((function(e){return d._onBufferActivate(e)})),this.enable(),this._model=new o.SelectionModel(this._bufferService),this._activeSelectionMode=0}return Object.defineProperty(e.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onRedrawRequest",{get:function(){return this._onRedrawRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._removeMouseDownListeners()},e.prototype.reset=function(){this.clearSelection()},e.prototype.disable=function(){this.clearSelection(),this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},Object.defineProperty(e.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var n=this._bufferService.buffer,i=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var r=e[1];r<=t[1];r++){var o=n.translateBufferLineToString(r,!0,e[0],t[0]);i.push(o)}}else{for(i.push(n.translateBufferLineToString(e[1],!0,e[0],e[1]===t[1]?t[0]:void 0)),r=e[1]+1;r<=t[1]-1;r++){var s=n.lines.get(r);o=n.translateBufferLineToString(r,!0),s&&s.isWrapped?i[i.length-1]+=o:i.push(o)}e[1]!==t[1]&&(s=n.lines.get(t[1]),o=n.translateBufferLineToString(t[1],!0,0,t[0]),s&&s.isWrapped?i[i.length-1]+=o:i.push(o))}return i.map((function(e){return e.replace(p," ")})).join(a.isWindows?"\r\n":"\n")},enumerable:!0,configurable:!0}),e.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},e.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return t._refresh()}))),a.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},e.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},e.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,i=this._model.finalSelectionEnd;return!!(n&&i&&t)&&this._areCoordsInSelection(t,n,i)},e.prototype._areCoordsInSelection=function(e,t,n){return e[1]>t[1]&&e[1]=t[0]&&e[0]=t[0]},e.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},e.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},e.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},e.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},e.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},e.prototype._getMouseEventScrollAmount=function(e){var t=d.getCoordsRelativeToElement(e,this._screenElement)[1],n=this._bufferService.rows*Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight);return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},e.prototype.shouldForceSelection=function(e){return a.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},e.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},e.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return e._dragScroll()}),50)},e.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},e.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},e.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},e.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},e.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},e.prototype.shouldColumnSelect=function(e){return e.altKey&&!(a.isMac&&this._optionsService.options.macOptionClickForcesSelection)},e.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var n=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},e.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500){if(e.altKey&&this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var n=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&void 0!==n[0]&&void 0!==n[1]){var i=h.moveToCellSequence(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(i,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},e.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((function(e){return t._onTrim(e)}))},e.prototype._convertViewportColToCharacterIndex=function(e,t){for(var n=t[0],i=0;t[0]>=i;i++){var r=e.loadCell(i,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:r>1&&t[0]!==i&&(n+=r-1)}return n},e.prototype.setSelection=function(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh()},e.prototype._getWordAt=function(e,t,n,i){if(void 0===n&&(n=!0),void 0===i&&(i=!0),!(e[0]>=this._bufferService.cols)){var r=this._bufferService.buffer,a=r.lines.get(e[1]);if(a){var o=r.translateBufferLineToString(e[1],!1),s=this._convertViewportColToCharacterIndex(a,e),c=s,l=e[0]-s,u=0,d=0,h=0,f=0;if(" "===o.charAt(s)){for(;s>0&&" "===o.charAt(s-1);)s--;for(;c1&&(f+=_-1,c+=_-1);p>0&&s>0&&!this._isCharWordSeparator(a.loadCell(p-1,this._workCell));){a.loadCell(p-1,this._workCell);var b=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,p--):b>1&&(h+=b-1,s-=b-1),s--,p--}for(;m1&&(f+=g-1,c+=g-1),c++,m++}}c++;var v=s+l-u+h,y=Math.min(this._bufferService.cols,c-s+u+d-h-f);if(t||""!==o.slice(s,c).trim()){if(n&&0===v&&32!==a.getCodePoint(0)){var k=r.lines.get(e[1]-1);if(k&&a.isWrapped&&32!==k.getCodePoint(this._bufferService.cols-1)){var w=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(w){var C=this._bufferService.cols-w.start;v-=C,y+=C}}}if(i&&v+y===this._bufferService.cols&&32!==a.getCodePoint(this._bufferService.cols-1)){var S=r.lines.get(e[1]+1);if(S&&S.isWrapped&&32!==S.getCodePoint(0)){var x=this._getWordAt([0,e[1]+1],!1,!1,!0);x&&(y+=x.length)}}return{start:v,length:y}}}}},e.prototype._selectWordAt=function(e,t){var n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}},e.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var n=e[1];t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}},e.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.options.wordSeparator.indexOf(e.getChars())>=0},e.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},i([r(3,l.ICharSizeService),r(4,u.IBufferService),r(5,u.ICoreService),r(6,l.IMouseService),r(7,u.IOptionsService)],e)}();t.SelectionService=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!0,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function r(e,t,n,i){var r=e-a(n,e),s=t-a(n,t);return l(Math.abs(r-s)-function(e,t,n){for(var i=0,r=e-a(n,e),s=t-a(n,t),c=0;c=0&&tt?"A":"B"}function s(e,t,n,i,r,a){for(var o=e,s=t,c="";o!==n||s!==i;)o+=r?1:-1,r&&o>a.cols-1?(c+=a.buffer.translateBufferLineToString(s,!1,e,o),o=0,e=0,s++):!r&&o<0&&(c+=a.buffer.translateBufferLineToString(s,!1,0,e+1),e=o=a.cols-1,s--);return c+a.buffer.translateBufferLineToString(s,!1,e,o)}function c(e,t){return i.C0.ESC+(t?"O":"[")+e}function l(e,t){e=Math.floor(e);for(var n="",i=0;i0?i-a(o,i):t;var h=i,f=function(e,t,n,i,o,s){var c;return c=r(n,i,o,s).length>0?i-a(o,i):t,e=n&&ce?"D":"C",l(Math.abs(u-e),c(o,i));o=d>t?"D":"C";var h=Math.abs(d-t);return l(function(e,t){return t.cols-e}(d>t?e:u,n)+(h-1)*n.cols+1+((d>t?u:e)-1),c(o,i))}},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!0,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var n=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),(function(e){n.buffer=e,n.connect(t.destination),n.start(0)}))}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),r=0;r=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),c=n(8),l=n(4),u=n(0),d=function(e){function t(t,n,i,r,a){var o=e.call(this)||this;return o._element=t,o._screenElement=n,o._bufferService=i,o._mouseService=r,o._selectionService=a,o._zones=[],o._areZonesActive=!1,o._lastHoverCoords=[void 0,void 0],o._initialSelectionLength=0,o.register(c.addDisposableDomListener(o._element,"mousedown",(function(e){return o._onMouseDown(e)}))),o._mouseMoveListener=function(e){return o._onMouseMove(e)},o._mouseLeaveListener=function(e){return o._onMouseLeave(e)},o._clickListener=function(e){return o._onClick(e)},o}return r(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var n=0;ne&&i.y1<=t+1||i.y2>e&&i.y2<=t+1||i.y1t+1)&&(this._currentZone&&this._currentZone===i&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(n--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,n=this._findZoneEventAt(e);n!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),n&&(this._currentZone=n,n.hoverCallback&&n.hoverCallback(e),this._tooltipTimeout=setTimeout((function(){return t._onTooltip(e)}),500)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){var t;this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive&&(null===(t=this._findZoneEventAt(e))||void 0===t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),n=this._getSelectionLength();t&&n===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var n=t[0],i=t[1],r=0;r=a.x1&&n=a.x1||i===a.y2&&na.y1&&ie;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=a.tooMuchOutput)),o.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)}),0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,o.isMac&&this._liveRegion.parentNode&&this._accessibilityTreeRoot.removeChild(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var n=this._terminal.buffer,i=n.lines.length.toString(),r=e;r<=t;r++){var a=n.translateBufferLineToString(n.ydisp+r,!0),o=(n.ydisp+r+1).toString(),s=this._rowElements[r];s&&(0===a.length?s.innerHTML=" ":s.textContent=a,s.setAttribute("aria-posinset",o),s.setAttribute("aria-setsize",i))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(57),c=n(9),l=n(2),u=n(4),d=n(0),h=n(1),f=n(10),p="xterm-dom-renderer-owner-",m="xterm-rows",_="xterm-selection",b=1,g=function(e){function t(t,n,i,r,a,o,c,l){var u=e.call(this)||this;return u._colors=t,u._element=n,u._screenElement=i,u._viewportElement=r,u._linkifier=a,u._charSizeService=o,u._optionsService=c,u._bufferService=l,u._terminalClass=b++,u._rowElements=[],u._onRequestRefreshRows=new h.EventEmitter,u._rowContainer=document.createElement("div"),u._rowContainer.classList.add(m),u._rowContainer.style.lineHeight="normal",u._rowContainer.setAttribute("aria-hidden","true"),u._refreshRowElements(u._bufferService.cols,u._bufferService.rows),u._selectionContainer=document.createElement("div"),u._selectionContainer.classList.add(_),u._selectionContainer.setAttribute("aria-hidden","true"),u.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},u._updateDimensions(),u._injectCss(),u._rowFactory=new s.DomRendererRowFactory(document,u._optionsService,u._colors),u._element.classList.add(p+u._terminalClass),u._screenElement.appendChild(u._rowContainer),u._screenElement.appendChild(u._selectionContainer),u._linkifier.onLinkHover((function(e){return u._onLinkHover(e)})),u._linkifier.onLinkLeave((function(e){return u._onLinkLeave(e)})),u}return r(t,e),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove(p+this._terminalClass),this._screenElement.removeChild(this._rowContainer),this._screenElement.removeChild(this._selectionContainer),this._screenElement.removeChild(this._themeStyleElement),this._screenElement.removeChild(this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){var e=this;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this._rowElements.forEach((function(t){t.style.width=e.dimensions.canvasWidth+"px",t.style.height=e.dimensions.actualCellHeight+"px",t.style.lineHeight=e.dimensions.actualCellHeight+"px",t.style.overflow="hidden"})),this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.innerHTML=this._terminalSelector+" ."+m+" span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" ."+m+" { color: "+this._colors.foreground.css+"; background-color: "+this._colors.background.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+s.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+s.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+s.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",t+=this._terminalSelector+" ."+m+":not(.xterm-focus) ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" ."+m+".xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+":not(."+s.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+m+".xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" ."+m+" ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" ."+m+" ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=this._terminalSelector+" ."+_+" { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" ."+_+" div { position: absolute; background-color: "+this._colors.selection.css+";}",this._colors.ansi.forEach((function(n,i){t+=e._terminalSelector+" .xterm-fg-"+i+" { color: "+n.css+"; }"+e._terminalSelector+" .xterm-bg-"+i+" { background-color: "+n.css+"; }"})),t+=this._terminalSelector+" .xterm-fg-"+c.INVERTED_DEFAULT_COLOR+" { color: "+f.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+c.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var n=this._rowElements.length;n<=t;n++){var i=document.createElement("div");this._rowContainer.appendChild(i),this._rowElements.push(i)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},t.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},t.prototype.onSelectionChanged=function(e,t,n){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var i=e[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,a=Math.max(i,0),o=Math.min(r,this._bufferService.rows-1);if(!(a>=this._bufferService.rows||o<0)){var s=document.createDocumentFragment();n?s.appendChild(this._createSelectionElement(a,e[0],t[0],o-a+1)):(s.appendChild(this._createSelectionElement(a,i===a?e[0]:0,a===o?t[0]:this._bufferService.cols)),s.appendChild(this._createSelectionElement(a+1,0,this._bufferService.cols,o-a-1)),a!==o&&s.appendChild(this._createSelectionElement(o,0,r===o?t[0]:this._bufferService.cols))),this._selectionContainer.appendChild(s)}}},t.prototype._createSelectionElement=function(e,t,n,i){void 0===i&&(i=1);var r=document.createElement("div");return r.style.height=i*this.dimensions.actualCellHeight+"px",r.style.top=e*this.dimensions.actualCellHeight+"px",r.style.left=t*this.dimensions.actualCellWidth+"px",r.style.width=this.dimensions.actualCellWidth*(n-t)+"px",r},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){this._rowElements.forEach((function(e){return e.innerHTML=""}))},t.prototype.renderRows=function(e,t){for(var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,i=this._bufferService.buffer.x,r=this._optionsService.options.cursorBlink,a=e;a<=t;a++){var o=this._rowElements[a];o.innerHTML="";var s=a+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(s);o.appendChild(this._rowFactory.createRow(c,s===n,this._optionsService.options.cursorStyle,i,r,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return"."+p+this._terminalClass},enumerable:!0,configurable:!0}),t.prototype.registerCharacterJoiner=function(e){return-1},t.prototype.deregisterCharacterJoiner=function(e){return!1},t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,n,i,r,a){for(;e!==t||n!==i;){var o=this._rowElements[n];if(!o)return;var s=o.children[e];s&&(s.style.textDecoration=a?"underline":"none"),++e>=r&&(e=0,n++)}},a([o(5,u.ICharSizeService),o(6,d.IOptionsService),o(7,d.IBufferService)],t)}(l.Disposable);t.DomRenderer=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),r=n(3),a=n(5),o=n(10);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var s=function(){function e(e,t,n){this._document=e,this._optionsService=t,this._colors=n,this._workCell=new a.CellData}return e.prototype.setColors=function(e){this._colors=e},e.prototype.createRow=function(e,n,a,s,l,u,d){for(var h=this._document.createDocumentFragment(),f=0,p=Math.min(e.length,d)-1;p>=0;p--)if(e.loadCell(p,this._workCell).getCode()!==r.NULL_CELL_CODE||n&&p===s){f=p+1;break}for(p=0;p1&&(_.style.width=u*m+"px"),n&&p===s)switch(_.classList.add(t.CURSOR_CLASS),l&&_.classList.add(t.CURSOR_BLINK_CLASS),a){case"bar":_.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":_.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:_.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&_.classList.add(t.BOLD_CLASS),this._workCell.isItalic()&&_.classList.add(t.ITALIC_CLASS),this._workCell.isDim()&&_.classList.add(t.DIM_CLASS),this._workCell.isUnderline()&&_.classList.add(t.UNDERLINE_CLASS),_.textContent=this._workCell.isInvisible()?r.WHITESPACE_CELL_CHAR:this._workCell.getChars()||r.WHITESPACE_CELL_CHAR;var b=this._workCell.getFgColor(),g=this._workCell.getFgColorMode(),v=this._workCell.getBgColor(),y=this._workCell.getBgColorMode(),k=!!this._workCell.isInverse();if(k){var w=b;b=v,v=w;var C=g;g=y,y=C}switch(g){case 16777216:case 33554432:this._workCell.isBold()&&b<8&&this._optionsService.options.drawBoldTextInBrightColors&&(b+=8),this._applyMinimumContrast(_,this._colors.background,this._colors.ansi[b])||_.classList.add("xterm-fg-"+b);break;case 50331648:var S=o.rgba.toColor(b>>16&255,b>>8&255,255&b);this._applyMinimumContrast(_,this._colors.background,S)||this._addStyle(_,"color:#"+c(b.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(_,this._colors.background,this._colors.foreground)||k&&_.classList.add("xterm-fg-"+i.INVERTED_DEFAULT_COLOR)}switch(y){case 16777216:case 33554432:_.classList.add("xterm-bg-"+v);break;case 50331648:this._addStyle(_,"background-color:#"+c(v.toString(16),"0",6));break;case 0:default:k&&_.classList.add("xterm-bg-"+i.INVERTED_DEFAULT_COLOR)}h.appendChild(_)}}return h},e.prototype._applyMinimumContrast=function(e,t,n){if(1===this._optionsService.options.minimumContrastRatio)return!1;var i=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===i&&(i=o.color.ensureContrastRatio(t,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=i?i:null)),!!i&&(this._addStyle(e,"color:"+i.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e}();function c(e,t,n){for(;e.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,a){var o={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?o.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?o.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?o.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(o.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B");break;case 8:if(e.shiftKey){o.key=i.C0.BS;break}if(e.altKey){o.key=i.C0.ESC+i.C0.DEL;break}o.key=i.C0.DEL;break;case 9:if(e.shiftKey){o.key=i.C0.ESC+"[Z";break}o.key=i.C0.HT,o.cancel=!0;break;case 13:o.key=i.C0.CR,o.cancel=!0;break;case 27:o.key=i.C0.ESC,o.cancel=!0;break;case 37:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"D",o.key===i.C0.ESC+"[1;3D"&&(o.key=i.C0.ESC+(n?"b":"[1;5D"))):o.key=t?i.C0.ESC+"OD":i.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"C",o.key===i.C0.ESC+"[1;3C"&&(o.key=i.C0.ESC+(n?"f":"[1;5C"))):o.key=t?i.C0.ESC+"OC":i.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"A",n||o.key!==i.C0.ESC+"[1;3A"||(o.key=i.C0.ESC+"[1;5A")):o.key=t?i.C0.ESC+"OA":i.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(o.key=i.C0.ESC+"[1;"+(s+1)+"B",n||o.key!==i.C0.ESC+"[1;3B"||(o.key=i.C0.ESC+"[1;5B")):o.key=t?i.C0.ESC+"OB":i.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(o.key=i.C0.ESC+"[2~");break;case 46:o.key=s?i.C0.ESC+"[3;"+(s+1)+"~":i.C0.ESC+"[3~";break;case 36:o.key=s?i.C0.ESC+"[1;"+(s+1)+"H":t?i.C0.ESC+"OH":i.C0.ESC+"[H";break;case 35:o.key=s?i.C0.ESC+"[1;"+(s+1)+"F":t?i.C0.ESC+"OF":i.C0.ESC+"[F";break;case 33:e.shiftKey?o.type=2:o.key=i.C0.ESC+"[5~";break;case 34:e.shiftKey?o.type=3:o.key=i.C0.ESC+"[6~";break;case 112:o.key=s?i.C0.ESC+"[1;"+(s+1)+"P":i.C0.ESC+"OP";break;case 113:o.key=s?i.C0.ESC+"[1;"+(s+1)+"Q":i.C0.ESC+"OQ";break;case 114:o.key=s?i.C0.ESC+"[1;"+(s+1)+"R":i.C0.ESC+"OR";break;case 115:o.key=s?i.C0.ESC+"[1;"+(s+1)+"S":i.C0.ESC+"OS";break;case 116:o.key=s?i.C0.ESC+"[15;"+(s+1)+"~":i.C0.ESC+"[15~";break;case 117:o.key=s?i.C0.ESC+"[17;"+(s+1)+"~":i.C0.ESC+"[17~";break;case 118:o.key=s?i.C0.ESC+"[18;"+(s+1)+"~":i.C0.ESC+"[18~";break;case 119:o.key=s?i.C0.ESC+"[19;"+(s+1)+"~":i.C0.ESC+"[19~";break;case 120:o.key=s?i.C0.ESC+"[20;"+(s+1)+"~":i.C0.ESC+"[20~";break;case 121:o.key=s?i.C0.ESC+"[21;"+(s+1)+"~":i.C0.ESC+"[21~";break;case 122:o.key=s?i.C0.ESC+"[23;"+(s+1)+"~":i.C0.ESC+"[23~";break;case 123:o.key=s?i.C0.ESC+"[24;"+(s+1)+"~":i.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!a||!e.altKey||e.metaKey)n&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(o.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?o.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(o.key=i.C0.US);else{var c=r[e.keyCode],l=c&&c[e.shiftKey?1:0];l?o.key=i.C0.ESC+l:e.keyCode>=65&&e.keyCode<=90&&(o.key=i.C0.ESC+String.fromCharCode(e.ctrlKey?e.keyCode-64:e.keyCode+32))}else e.keyCode>=65&&e.keyCode<=90?o.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?o.key=i.C0.NUL:e.keyCode>=51&&e.keyCode<=55?o.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?o.key=i.C0.DEL:219===e.keyCode?o.key=i.C0.ESC:220===e.keyCode?o.key=i.C0.FS:221===e.keyCode&&(o.key=i.C0.GS)}return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3);t.updateWindowsModeWrappedState=function(e){var t,n=null===(t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1))||void 0===t?void 0:t.get(e.cols-1),r=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);r&&n&&(r.isWrapped=n[i.CHAR_DATA_CODE_INDEX]!==i.NULL_CELL_CODE&&n[i.CHAR_DATA_CODE_INDEX]!==i.WHITESPACE_CELL_CODE)}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},o=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(29),c=n(1),l=n(2),u=n(30),d=n(8),h=n(0),f=n(4),p=function(e){function t(t,n,i,r,a){var o=e.call(this)||this;if(o._renderer=t,o._rowCount=n,o.screenElement=i,o.optionsService=r,o.charSizeService=a,o._isPaused=!1,o._needsFullRefresh=!1,o._canvasWidth=0,o._canvasHeight=0,o._onDimensionsChange=new c.EventEmitter,o._onRender=new c.EventEmitter,o._onRefreshRequest=new c.EventEmitter,o._renderDebouncer=new s.RenderDebouncer((function(e,t){return o._renderRows(e,t)})),o.register(o._renderDebouncer),o._screenDprMonitor=new u.ScreenDprMonitor,o._screenDprMonitor.setListener((function(){return o.onDevicePixelRatioChange()})),o.register(o._screenDprMonitor),o.register(r.onOptionChange((function(){return o._renderer.onOptionsChanged()}))),o.register(a.onCharSizeChange((function(){return o.onCharSizeChanged()}))),o._renderer.onRequestRefreshRows((function(e){return o.refreshRows(e.start,e.end)})),o.register(d.addDisposableDomListener(window,"resize",(function(){return o.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var l=new IntersectionObserver((function(e){return o._onIntersectionChange(e[e.length-1])}),{threshold:0});l.observe(i),o.register({dispose:function(){return l.disconnect()}})}return o}return r(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!0,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=0===e.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t){this._isPaused?this._needsFullRefresh=!0:this._renderDebouncer.refresh(e,t,this._rowCount)},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._onRender.fire({start:e,end:t})},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){this._renderer.dispose(),e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRefreshRows((function(e){return t.refreshRows(e.start,e.end)})),this.refreshRows(0,this._rowCount-1)},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,n){this._renderer.onSelectionChanged(e,t,n)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},t.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},a([o(3,h.IOptionsService),o(4,f.ICharSizeService)],t)}(l.Disposable);t.RenderService=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=n(11),a=n(31);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:t.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:r.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var o=["cols","rows"],s=function(){function e(e){var n=this;this._onOptionChange=new i.EventEmitter,this.options=a.clone(t.DEFAULT_OPTIONS),Object.keys(e).forEach((function(t){t in n.options&&(n.options[t]=e[t])}))}return Object.defineProperty(e.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!0,configurable:!0}),e.prototype.setOption=function(e,n){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==o.indexOf(e))throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==n&&(n=this._sanitizeAndValidateOption(e,n),this.options[e]!==n&&(this.options[e]=n,this._onOptionChange.fire(e)))},e.prototype._sanitizeAndValidateOption=function(e,n){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":n||(n=t.DEFAULT_OPTIONS[e]);break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(e+" cannot be less than 1, value: "+n);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+n);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+n)}return n},e.prototype.getOption=function(e){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},e}();t.OptionsService=s},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(1),s=function(){function e(e,t,n){this.document=e,this.parentElement=t,this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new o.EventEmitter,this._measureStrategy=new c(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!0,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},i([r(2,a.IOptionsService)],e)}();t.CharSizeService=s;var c=function(){function e(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(64);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var s=function(){function e(e){this._optionsService=e,this.cols=Math.max(e.options.cols,t.MINIMUM_COLS),this.rows=Math.max(e.options.rows,t.MINIMUM_ROWS),this.buffers=new o.BufferSet(e,this)}return Object.defineProperty(e.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){this.cols=e,this.rows=t},e.prototype.reset=function(){this.buffers=new o.BufferSet(this._optionsService,this)},i([r(0,a.IOptionsService)],e)}();t.BufferService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(65),r=n(1),a=function(){function e(e,t){this.optionsService=e,this.bufferService=t,this._onBufferActivate=new r.EventEmitter,this._normal=new i.Buffer(!0,e,t),this._normal.fillViewportRows(),this._alt=new i.Buffer(!1,e,t),this._activeBuffer=this._normal,this.setupTabStops()}return Object.defineProperty(e.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal},enumerable:!0,configurable:!0}),e.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},e.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},e.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},e.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},e}();t.BufferSet=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(66),r=n(16),a=n(5),o=n(3),s=n(67),c=n(68),l=n(18);t.MAX_BUFFER_SIZE=4294967295;var u=function(){function e(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=r.DEFAULT_ATTR_DATA.clone(),this.savedCharset=l.DEFAULT_CHARSET,this.markers=[],this._nullCell=a.CellData.fromCharData([0,o.NULL_CELL_CHAR,o.NULL_CELL_WIDTH,o.NULL_CELL_CODE]),this._whitespaceCell=a.CellData.fromCharData([0,o.WHITESPACE_CELL_CHAR,o.WHITESPACE_CELL_WIDTH,o.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new i.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg):(this._nullCell.fg=0,this._nullCell.bg=0),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new r.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&et.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=r.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new i.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var n=this.getNullCell(r.DEFAULT_ATTR_DATA),i=this._getCorrectBufferLength(t);if(i>this.lines.maxLength&&(this.lines.maxLength=i),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+o+1?(this.ybase--,o++,this.ydisp>0&&this.ydisp--):this.lines.push(new r.BufferLine(e,n)));else for(s=this._rows;s>t;s--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(i0&&(this.lines.trimStart(c),this.ybase=Math.max(this.ybase-c,0),this.ydisp=Math.max(this.ydisp-c,0),this.savedY=Math.max(this.savedY-c,0)),this.lines.maxLength=i}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),o&&(this.y+=o),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(a=0;athis._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var n=s.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(r.DEFAULT_ATTR_DATA));if(n.length>0){var i=s.reflowLargerCreateNewLayout(this.lines,n);s.reflowLargerApplyNewLayout(this.lines,i.layout),this._reflowLargerAdjustViewport(e,t,i.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,n){for(var i=this.getNullCell(r.DEFAULT_ATTR_DATA),a=n;a-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length=0;o--){var c=this.lines.get(o);if(!(!c||!c.isWrapped&&c.getTrimmedLength()<=e)){for(var l=[c];c.isWrapped&&o>0;)c=this.lines.get(--o),l.unshift(c);var u=this.ybase+this.y;if(!(u>=o&&u0&&(i.push({start:o+l.length+a,newLines:m}),a+=m.length),l.push.apply(l,m);var g=f.length-1,v=f[g];0===v&&(v=f[--g]);for(var y=l.length-p-1,k=h;y>=0;){var w=Math.min(k,v);if(l[g].copyCellsFrom(l[y],k-w,v-w,w,!0),0==(v-=w)&&(v=f[--g]),0==(k-=w)){y--;var C=Math.max(y,0);k=s.getWrappedLineTrimmedLength(l,C,this._cols)}}for(_=0;_0;)0===this.ybase?this.y0){var x=[],M=[];for(_=0;_=0;_--)if(T&&T.start>O+A){for(var E=T.newLines.length-1;E>=0;E--)this.lines.set(_--,T.newLines[E]);_++,x.push({index:O+1,amount:T.newLines.length}),A+=T.newLines.length,T=i[++D]}else this.lines.set(_,M[O--]);var P=0;for(_=x.length-1;_>=0;_--)x[_].index+=P,this.lines.onInsertEmitter.fire(x[_]),P+=x[_].amount;var R=Math.max(0,L+a-this.lines.maxLength);R>0&&this.lines.onTrimEmitter.fire(R)}},e.prototype.stringIndexToBufferIndex=function(e,t,n){for(void 0===n&&(n=!1);t;){var i=this.lines.get(e);if(!i)return[-1,-1];for(var r=n?i.getTrimmedLength():i.length,a=0;a0&&this.lines.get(t).isWrapped;)t--;for(;n+10;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e=this._cols?this._cols-1:e<0?0:e},e.prototype.addMarker=function(e){var t=this,n=new c.Marker(e);return this.markers.push(n),n.register(this.lines.onTrim((function(e){n.line-=e,n.line<0&&n.dispose()}))),n.register(this.lines.onInsert((function(e){n.line>=e.index&&(n.line+=e.amount)}))),n.register(this.lines.onDelete((function(e){n.line>=e.index&&n.linee.index&&(n.line-=e.amount)}))),n.register(n.onDispose((function(){return t._removeMarker(n)}))),n},e.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,n,i,r){return new d(this,e,t,n,i,r)},e}();t.Buffer=u;var d=function(){function e(e,t,n,i,r,a){void 0===n&&(n=0),void 0===i&&(i=e.lines.length),void 0===r&&(r=0),void 0===a&&(a=0),this._buffer=e,this._trimRight=t,this._startIndex=n,this._endIndex=i,this._startOverscan=r,this._endOverscan=a,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",n=e.first;n<=e.last;++n)t+=this._buffer.translateBufferLineToString(n,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new i.EventEmitter,this.onInsertEmitter=new i.EventEmitter,this.onTrimEmitter=new i.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),n=0;nthis._length)for(var t=this._length;t=e;r--)this._array[this._getCyclicIndex(r+n.length)]=this._array[this._getCyclicIndex(r)];for(r=0;rthis._maxLength){var a=this._length+n.length-this._maxLength;this._startIndex+=a,this._length=this._maxLength,this.onTrimEmitter.fire(a)}else this._length+=n.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var i=t-1;i>=0;i--)this.set(e+i+n,this.get(e+i));var r=e+t+n-this._length;if(r>0)for(this._length+=r;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(i=0;i=s&&r0&&(g>d||0===u[g].getTrimmedLength());g--)b++;b>0&&(o.push(s+u.length-b),o.push(b)),s+=u.length-1}}}return o},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],i=0,r=t[i],a=0,o=0;ol&&(o-=l,s++);var u=2===e[s].getWidth(o-1);u&&o--;var d=u?n-1:n;r.push(d),c+=d}return r},t.getWrappedLineTrimmedLength=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),o=function(e){function t(n){var i=e.call(this)||this;return i.line=n,i._id=t._nextId++,i.isDisposed=!1,i._onDispose=new a.EventEmitter,i}return r(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},t._nextId=1,t}(n(2).Disposable);t.Marker=o},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(4),o=n(28),s=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,i,r){return o.getCoords(e,t,n,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,r)},e.prototype.getRawByteCoords=function(e,t,n,i){var r=this.getCoords(e,t,n,i);return o.getRawByteCoords(r)},i([r(0,a.IRenderService),r(1,a.ICharSizeService)],e)}();t.MouseService=s},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(1),s=n(31),c=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,origin:!1,wraparound:!0}),l=function(){function e(e,t,n,i){this._scrollToBottom=e,this._bufferService=t,this._logService=n,this._optionsService=i,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=new o.EventEmitter,this._onUserInput=new o.EventEmitter,this._onBinary=new o.EventEmitter,this.decPrivateModes=s.clone(c)}return Object.defineProperty(e.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.decPrivateModes=s.clone(c)},e.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var n=this._bufferService.buffer;n.ybase!==n.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},e.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},i([r(1,a.IBufferService),r(2,a.ILogService),r(3,a.IOptionsService)],e)}();t.CoreService=l},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){ethis._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var n=e;e=t,t=n}ethis._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},i([r(0,a.IBufferService)],e)}();t.DirtyRowService=o},function(e,t,n){"use strict";var i=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t0?r[0].index:t.length;if(t.length!==d)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(d+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,i([void 0],i(t,o))))},e}();t.InstantiationService=s},function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},r=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n(1),s={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}var l=String.fromCharCode,u={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"\x1b[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"\x1b[<"+c(e,!0)+";"+e.col+";"+e.row+t}},d=function(){function e(e,t){var n=this;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new o.EventEmitter,this._lastEvent=null,Object.keys(s).forEach((function(e){return n.addProtocol(e,s[e])})),Object.keys(u).forEach((function(e){return n.addEncoding(e,u[e])})),this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!0,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{DOWN:!!(1&e),UP:!!(2&e),DRAG:!!(4&e),MOVE:!!(8&e),WHEEL:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},i([r(0,a.IBufferService),r(1,a.ICoreService)],e)}();t.CoreMouseService=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return e.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return n._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var n=this._writeBuffer[this._bufferOffset],i=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(n),this._pendingData-=n.length,i&&i(),Date.now()-t>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return e._innerWrite()}),0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!0,configurable:!0}),e}();t.CoreBrowserService=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=n(78),a=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new i.EventEmitter;var e=new r.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!0,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,n=e.length,i=0;i=n)return t+this.wcwidth(r);var a=e.charCodeAt(i);56320<=a&&a<=57343?r=1024*(r-55296)+a-56320+65536:t+=this.wcwidth(a)}t+=this.wcwidth(r)}return t},e}();t.UnicodeService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(15),a=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],o=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],s=function(){function e(){if(this.version="6",!i){i=new Uint8Array(65536),r.fill(i,1),i[0]=0,r.fill(i,0,1,32),r.fill(i,0,127,160),r.fill(i,2,4352,4448),i[9001]=2,i[9002]=2,r.fill(i,2,11904,42192),i[12351]=1,r.fill(i,2,44032,55204),r.fill(i,2,63744,64256),r.fill(i,2,65040,65050),r.fill(i,2,65072,65136),r.fill(i,2,65280,65377),r.fill(i,2,65504,65511);for(var e=0;et[r][1])return!1;for(;r>=i;)if(e>t[n=i+r>>1][1])i=n+1;else{if(!(e=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.charsets=[],this.glevel=0}return e.prototype.reset=function(){this.charset=void 0,this.charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this.charsets[e]},e.prototype.setgCharset=function(e,t){this.charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var n=this,i={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(i),t.dispose=function(){return n._wrappedAddonDispose(i)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,n=0;n=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(n("wd/R"))},1:function(e,t){},"1CSz":function(e,t,n){"use strict";var i=n("P7XM"),r=n("hwdV").Buffer,a=n("ZDAU"),o=r.alloc(128);function s(e,t){a.call(this,"digest"),"string"==typeof t&&(t=r.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=r.concat([t,o],64));for(var n=this._ipad=r.allocUnsafe(64),i=this._opad=r.allocUnsafe(64),s=0;s<64;s++)n[s]=54^t[s],i[s]=92^t[s];this._hash=[n]}i(s,a),s.prototype._update=function(e){this._hash.push(e)},s.prototype._final=function(){var e=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,e]))},e.exports=s},"1IWx":function(e,t,n){e.exports=r;var i=n("+qE3").EventEmitter;function r(){i.call(this)}n("P7XM")(r,i),r.Readable=n("43KI"),r.Writable=n("LGOv"),r.Duplex=n("CWBI"),r.Transform=n("0XuU"),r.PassThrough=n("wq4j"),r.Stream=r,r.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function a(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",a),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",c));var o=!1;function s(){o||(o=!0,e.end())}function c(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===i.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",r),e.removeListener("drain",a),n.removeListener("end",s),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1sBl":function(e,t,n){var i=n("e/Dd").getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,n=i(e),r=145===n?26:2*Math.ceil((n-13)/(2*t-2)),a=[n-7],o=1;o>>1|$<<31)^(Z>>>8|$<<24)^(Z>>>7|$<<25),Q=l[U-2],ee=Q.high,te=Q.low,ne=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),ie=l[U-7],re=l[U-16],ae=re.low;q.high=J=(J=(J=(($>>>1|Z<<31)^($>>>8|Z<<24)^$>>>7)+ie.high+((K=X+ie.low)>>>0>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((K+=ne)>>>0>>0?1:0))+re.high+((K+=ae)>>>0>>0?1:0),q.low=K}var oe,se=Y&W^~Y&H,ce=V&F^~V&B,le=D&A^D&P^A&P,ue=(T>>>28|D<<4)^(T<<30|D>>>2)^(T<<25|D>>>7),de=c[U],he=de.low,fe=z+((Y>>>14|V<<18)^(Y>>>18|V<<14)^(Y<<23|V>>>9))+((oe=N+((V>>>14|Y<<18)^(V>>>18|Y<<14)^(V<<23|Y>>>9)))>>>0>>0?1:0),pe=ue+(T&E^T&R^E&R);z=H,N=B,H=W,B=F,W=Y,F=V,Y=I+(fe=(fe=(fe=fe+se+((oe+=ce)>>>0>>0?1:0))+de.high+((oe+=he)>>>0>>0?1:0))+J+((oe+=K)>>>0>>0?1:0))+((V=j+oe|0)>>>0>>0?1:0)|0,I=P,j=R,P=A,R=E,A=D,E=T,D=fe+(((D>>>28|T<<4)^(D<<30|T>>>2)^(D<<25|T>>>7))+le+(pe>>>0>>0?1:0))+((T=oe+pe|0)>>>0>>0?1:0)|0}p=i.low=p+T,i.high=f+D+(p>>>0>>0?1:0),_=r.low=_+E,r.high=m+A+(_>>>0>>0?1:0),g=a.low=g+R,a.high=b+P+(g>>>0>>0?1:0),y=o.low=y+j,o.high=v+I+(y>>>0>>0?1:0),w=s.low=w+V,s.high=k+Y+(w>>>0>>0?1:0),S=u.low=S+F,u.high=C+W+(S>>>0>>0?1:0),M=d.low=M+B,d.high=x+H+(M>>>0>>0?1:0),O=h.low=O+N,h.high=L+z+(O>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(i+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),i.SHA512)},"1w4i":function(e){e.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"}')},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_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\xe7_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\xe0 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\xed %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|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},2:function(e,t){},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2j6C":function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},"2pl3":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},3:function(e,t){},"3BRs":function(e,t,n){"use strict";(function(t,i,r){var a=n("lm0R");function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(void 0),i=i.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=g;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?i:a;g.WritableState=b;var l=n("Onz0");l.inherits=n("P7XM");var u,d={deprecate:n("t9FE")},h=n("QpuX"),f=n("hwdV").Buffer,p=r.Uint8Array||function(){},m=n("RoFp");function _(){}function b(e,t){s=s||n("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark;this.highWaterMark=i||0===i?i:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===e.decodeStrings),this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,r){--t.pendingcb,n?(a(r,i),a(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(r(i),e._writableState.errorEmitted=!0,e.emit("error",i),S(e,t))}(e,n,i,t,r);else{var o=w(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||k(e,n),i?c(y,e,n,o,r):y(e,n,o,r)}}(t,e)},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 o(this)}function g(e){if(s=s||n("sZro"),!(u.call(g,this)||this instanceof s))return new g(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function v(e,t,n,i,r,a,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,a,t.onwrite),t.sync=!1}function y(e,t,n,i){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,i(),S(e,t)}function k(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=new Array(t.bufferedRequestCount),r=t.corkedRequestsFree;r.entry=n;for(var a=0,s=!0;n;)i[a]=n,n.isBuf||(s=!1),n=n.next,a+=1;i.allBuffers=s,v(e,t,!0,t.length,i,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new o(t)}else{for(;n;){var c=n.chunk;if(v(e,t,!1,t.objectMode?1:c.length,c,n.encoding,n.callback),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=w(t);return n&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a(C,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,h),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:d.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!u.call(this,e)||e&&e._writableState instanceof b}})):u=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var i,r=this._writableState,o=!1,s=(f.isBuffer(i=e)||i instanceof p)&&!r.objectMode;return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=_),r.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),a(t,n)}(this,n):(s||function(e,t,n,i){var r=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a(i,o),r=!1),r}(this,r,e,n))&&(r.pendingcb++,o=function(e,t,n,i,r,a){if(!n){var o=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n)),t}(t,i,r);i!==o&&(n=!0,r="buffer",i=o)}var s=t.objectMode?1:i.length;t.length+=s;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?a(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,i,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("8oxB"),n("URgk").setImmediate,n("aWmh"))},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3X7Y":function(e,t,n){var i=n("u/Db");function r(e){this.mode=i.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){var t,n,i;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),i=parseInt(n,10),e.put(i,10);var r=this.data.length-t;r>0&&(n=this.data.substr(t),i=parseInt(n,10),e.put(i,3*r+1))},e.exports=r},"3y9D":function(e,t,n){var i,r,a,o,s,c,l;e.exports=(l=n("Ib8C"),a=(r=(i=l).lib).WordArray,s=[],c=i.algo.SHA1=(o=r.Hasher).extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],a=n[2],o=n[3],c=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var d=(i<<5|i>>>27)+c+s[l];d+=l<20?1518500249+(r&a|~r&o):l<40?1859775393+(r^a^o):l<60?(r&a|r&o|a&o)-1894007588:(r^a^o)-899497514,c=o,o=a,a=r<<30|r>>>2,r=i,i=d}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(i+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),i.SHA1=o._createHelper(c),i.HmacSHA1=o._createHmacHelper(c),l.SHA1)},"43KI":function(e,t,n){(t=e.exports=n("rXFu")).Stream=t,t.Readable=t,t.Writable=n("3BRs"),t.Duplex=n("sZro"),t.Transform=n("J78i"),t.PassThrough=n("eA/Y")},"49sm":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"4Hv8":function(e,t,n){var i=n("WnY+"),r=n("tcrS"),a=n("afKu"),o=n("fSpj"),s=n("n53Y"),c=n("hwdV").Buffer,l=c.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,n){var o=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new r).update(e).digest()}:"md5"===e?i:function(t){return a(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=o(t):t.length=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dMO":function(e,t,n){(function(t){var i=n("MzeL"),r=n("OZ/i");e.exports=function(e){return new o(e)};var a={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 o(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function s(e,n,i){Array.isArray(e)||(e=e.toArray());var r=new t(e);if(i&&r.length2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(c((function(n,i){return Object(s.a)(e(n,i)).pipe(Object(o.a)((function(e,r){return t(n,e,i,r)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new l(e,n))})}var l=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}]),e}(),u=function(e){function t(e,n){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),t}(r.a)},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).parent=e,r.outerValue=n,r.outerIndex=i,r.index=0,r}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),t}(n("7o/Q").a)},"5hvy":function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("MlIO"),function(e){var t=i,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var r=1,a=0;a<24;a++){for(var s=0,d=0,h=0;h<7;h++){if(1&r){var f=(1<>>24)|4278255360&(a<<24|a>>>8),(A=n[r]).high^=o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),A.low^=a}for(var s=0;s<24;s++){for(var h=0;h<5;h++){for(var f=0,p=0,m=0;m<5;m++)f^=(A=n[h+5*m]).high,p^=A.low;var _=d[h];_.high=f,_.low=p}for(h=0;h<5;h++){var b=d[(h+4)%5],g=d[(h+1)%5],v=g.high,y=g.low;for(f=b.high^(v<<1|y>>>31),p=b.low^(y<<1|v>>>31),m=0;m<5;m++)(A=n[h+5*m]).high^=f,A.low^=p}for(var k=1;k<25;k++){var w=(A=n[k]).high,C=A.low,S=c[k];S<32?(f=w<>>32-S,p=C<>>32-S):(f=C<>>64-S,p=w<>>64-S);var x=d[l[k]];x.high=f,x.low=p}var M=d[0],L=n[0];for(M.high=L.high,M.low=L.low,h=0;h<5;h++)for(m=0;m<5;m++){var O=d[k=h+5*m],D=d[(h+1)%5+5*m],T=d[(h+2)%5+5*m];(A=n[k]).high=O.high^~D.high&T.high,A.low=O.low^~D.low&T.low}var A,E=u[s];(A=n[0]).high^=E.high,A.low^=E.low}},_doFinalize:function(){var t=this._data,n=t.words,i=8*t.sigBytes,a=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/a)*a>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var o=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u>>24)|4278255360&(h<<24|h>>>8),l.push(f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)),l.push(h)}return new r.init(l,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=a._createHelper(h),t.HmacSHA3=a._createHmacHelper(h)}(Math),i.SHA3)},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6F8h":function(e){e.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"}}')},"6lN/":function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ"),a=r.getNAF,o=r.getJSF,s=r.assert;function c(e,t){this.type=e,this.p=new i(t.p,16),this.red=t.prime?i.red(t.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=t.n&&new i(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.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 l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),i=a(t,1,this._bitLength),r=(1<=c;t--)l=(l<<1)+i[t];o.push(l)}for(var u=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=r;h>0;h--){for(c=0;c=0;l--){for(t=0;l>=0&&0===o[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var u=o[l];s(0!==u),c="affine"===e.type?c.mixedAdd(u>0?r[u-1>>1]:r[-u-1>>1].neg()):c.add(u>0?r[u-1>>1]:r[-u-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,i,r){for(var s=this._wnafT1,c=this._wnafT2,l=this._wnafT3,u=0,d=0;d=1;d-=2){var f=d-1,p=d;if(1===s[f]&&1===s[p]){var m=[t[f],null,null,t[p]];0===t[f].y.cmp(t[p].y)?(m[1]=t[f].add(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg())):0===t[f].y.cmp(t[p].y.redNeg())?(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].add(t[p].neg())):(m[1]=t[f].toJ().mixedAdd(t[p]),m[2]=t[f].toJ().mixedAdd(t[p].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],b=o(n[f],n[p]);u=Math.max(b[0].length,u),l[f]=new Array(u),l[p]=new Array(u);for(var g=0;g=0;d--){for(var k=0;d>=0;){var w=!0;for(g=0;g=0&&k++,v=v.dblp(k),d<0)break;for(g=0;g0?C=c[g][S-1>>1]:S<0&&(C=c[g][-S-1>>1].neg()),v="affine"===C.type?v.mixedAdd(C):v.add(C))}}for(d=0;d=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,r=0;r11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7ckf":function(e,t,n){"use strict";var i=n("w8CP"),r=n("2j6C");function a(){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}t.BlockHash=a,a.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending=this.pending?this.pending.concat(e):e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-n,this.endian);for(var r=0;r>>24&255,i[r++]=e>>>16&255,i[r++]=e>>>8&255,i[r++]=255&e}else for(i[r++]=255&e,i[r++]=e>>>8&255,i[r++]=e>>>16&255,i[r++]=e>>>24&255,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,a=8;a=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"86MQ":function(e,t,n){"use strict";var i=t,r=n("OZ/i"),a=n("2j6C"),o=n("dlgc");i.assert=a,i.toArray=o.toArray,i.zero2=o.zero2,i.toHex=o.toHex,i.encode=o.encode,i.getNAF=function(e,t,n){var i=new Array(Math.max(e.bitLength(),n)+1);i.fill(0);for(var r=1<(r>>1)-1?(r>>1)-c:c):s=0,i[o]=s,a.iushrn(1)}return i},i.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var i=0,r=0;e.cmpn(-i)>0||t.cmpn(-r)>0;){var a,o,s,c=e.andln(3)+i&3,l=t.andln(3)+r&3;3===c&&(c=-1),3===l&&(l=-1),a=0==(1&c)?0:3!=(s=e.andln(7)+i&7)&&5!==s||2!==l?c:-c,n[0].push(a),o=0==(1&l)?0:3!=(s=t.andln(7)+r&7)&&5!==s||2!==c?l:-l,n[1].push(o),2*i===a+1&&(i=1-i),2*r===o+1&&(r=1-r),e.iushrn(1),t.iushrn(1)}return n},i.cachedProperty=function(e,t,n){var i="_"+t;e.prototype[t]=function(){return void 0!==this[i]?this[i]:this[i]=n.call(this)}},i.parseBytes=function(e){return"string"==typeof e?i.toArray(e,"hex"):e},i.intFromLE=function(e){return new r(e,"hex","le")}},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8oxB":function(e,t){var n,i,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var c,l=[],u=!1,d=-1;function h(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=s(h);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d1)for(var n=1;n>>32-t}function l(e,t,n,i,r,a,o){return c(e+(t&n|~t&i)+r+a|0,o)+t|0}function u(e,t,n,i,r,a,o){return c(e+(t&i|n&~i)+r+a|0,o)+t|0}function d(e,t,n,i,r,a,o){return c(e+(t^n^i)+r+a|0,o)+t|0}function h(e,t,n,i,r,a,o){return c(e+(n^(t|~i))+r+a|0,o)+t|0}i(s,r),s.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,i=this._b,r=this._c,a=this._d;n=l(n,i,r,a,e[0],3614090360,7),a=l(a,n,i,r,e[1],3905402710,12),r=l(r,a,n,i,e[2],606105819,17),i=l(i,r,a,n,e[3],3250441966,22),n=l(n,i,r,a,e[4],4118548399,7),a=l(a,n,i,r,e[5],1200080426,12),r=l(r,a,n,i,e[6],2821735955,17),i=l(i,r,a,n,e[7],4249261313,22),n=l(n,i,r,a,e[8],1770035416,7),a=l(a,n,i,r,e[9],2336552879,12),r=l(r,a,n,i,e[10],4294925233,17),i=l(i,r,a,n,e[11],2304563134,22),n=l(n,i,r,a,e[12],1804603682,7),a=l(a,n,i,r,e[13],4254626195,12),r=l(r,a,n,i,e[14],2792965006,17),n=u(n,i=l(i,r,a,n,e[15],1236535329,22),r,a,e[1],4129170786,5),a=u(a,n,i,r,e[6],3225465664,9),r=u(r,a,n,i,e[11],643717713,14),i=u(i,r,a,n,e[0],3921069994,20),n=u(n,i,r,a,e[5],3593408605,5),a=u(a,n,i,r,e[10],38016083,9),r=u(r,a,n,i,e[15],3634488961,14),i=u(i,r,a,n,e[4],3889429448,20),n=u(n,i,r,a,e[9],568446438,5),a=u(a,n,i,r,e[14],3275163606,9),r=u(r,a,n,i,e[3],4107603335,14),i=u(i,r,a,n,e[8],1163531501,20),n=u(n,i,r,a,e[13],2850285829,5),a=u(a,n,i,r,e[2],4243563512,9),r=u(r,a,n,i,e[7],1735328473,14),n=d(n,i=u(i,r,a,n,e[12],2368359562,20),r,a,e[5],4294588738,4),a=d(a,n,i,r,e[8],2272392833,11),r=d(r,a,n,i,e[11],1839030562,16),i=d(i,r,a,n,e[14],4259657740,23),n=d(n,i,r,a,e[1],2763975236,4),a=d(a,n,i,r,e[4],1272893353,11),r=d(r,a,n,i,e[7],4139469664,16),i=d(i,r,a,n,e[10],3200236656,23),n=d(n,i,r,a,e[13],681279174,4),a=d(a,n,i,r,e[0],3936430074,11),r=d(r,a,n,i,e[3],3572445317,16),i=d(i,r,a,n,e[6],76029189,23),n=d(n,i,r,a,e[9],3654602809,4),a=d(a,n,i,r,e[12],3873151461,11),r=d(r,a,n,i,e[15],530742520,16),n=h(n,i=d(i,r,a,n,e[2],3299628645,23),r,a,e[0],4096336452,6),a=h(a,n,i,r,e[7],1126891415,10),r=h(r,a,n,i,e[14],2878612391,15),i=h(i,r,a,n,e[5],4237533241,21),n=h(n,i,r,a,e[12],1700485571,6),a=h(a,n,i,r,e[3],2399980690,10),r=h(r,a,n,i,e[10],4293915773,15),i=h(i,r,a,n,e[1],2240044497,21),n=h(n,i,r,a,e[8],1873313359,6),a=h(a,n,i,r,e[15],4264355552,10),r=h(r,a,n,i,e[6],2734768916,15),i=h(i,r,a,n,e[13],1309151649,21),n=h(n,i,r,a,e[4],4149444226,6),a=h(a,n,i,r,e[11],3174756917,10),r=h(r,a,n,i,e[2],718787259,15),i=h(i,r,a,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+i|0,this._c=this._c+r|0,this._d=this._d+a|0},s.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 e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},"9rRi":function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","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\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 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\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},ALsQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CFB=function(){var e=i.lib.BlockCipherMode.extend();function t(e,t,n,i){var r=this._iv;if(r){var a=r.slice(0);this._iv=void 0}else a=this._prevBlock;i.encryptBlock(a,0);for(var o=0;o0;i--)t+=this._buffer(e,t),n+=this._flushBuffer(r,n);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},"B/J0":function(e,t,n){"use strict";var i=n("w8CP"),r=n("bu2F");function a(){if(!(this instanceof a))return new a;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(a,r),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},B55N:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()>>2}function u(e,t,n,i){return 0===e?t&n|~t&i:2===e?t&n|t&i|n&i:t^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=n[d-3]^n[d-8]^n[d-14]^n[d-16];for(var h=0;h<80;++h){var f=~~(h/20),p=0|((t=i)<<5|t>>>27)+u(f,r,a,s)+c+n[h]+o[f];c=s,s=a,a=l(r),r=i,i=p}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},CWBI:function(e,t,n){e.exports=n("sZro")},CfXC:function(e,t,n){var i=n("OfWw"),r=n("hwdV").Buffer,a=n("ZDAU");function o(e,t,n,o){a.call(this),this._cipher=new i.AES(t),this._prev=r.from(n),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._mode=e}n("P7XM")(o,a),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},e.exports=o},Cfvw:function(e,t,n){"use strict";var i=n("HDdC"),r=n("SeVD"),a=n("quSY"),o=n("kJWO"),s=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new i.a((function(n){var i=new a.a;return i.add(t.schedule((function(){var r=e[o.a]();i.add(r.subscribe({next:function(e){i.add(t.schedule((function(){return n.next(e)})))},error:function(e){i.add(t.schedule((function(){return n.error(e)})))},complete:function(){i.add(t.schedule((function(){return n.complete()})))}}))}))),i}))}(e,t);if(Object(l.a)(e))return function(e,t){return new i.a((function(n){var i=new a.a;return i.add(t.schedule((function(){return e.then((function(e){i.add(t.schedule((function(){n.next(e),i.add(t.schedule((function(){return n.complete()})))})))}),(function(e){i.add(t.schedule((function(){return n.error(e)})))}))}))),i}))}(e,t);if(Object(u.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a((function(n){var i,r=new a.a;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(t.schedule((function(){i=e[c.a](),r.add(t.schedule((function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(a){return void n.error(a)}t?n.complete():(n.next(e),this.schedule())}})))}))),r}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}n.d(t,"a",(function(){return d}))},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(n("wd/R"))},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=Array.isArray||function(e){return e&&"number"==typeof e.length}},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},DLvh:function(e,t,n){"use strict";var i,r=t,a=n("fZJM"),o=n("QTa/"),s=n("86MQ").assert;function c(e){this.curve="short"===e.type?new o.short(e):"edwards"===e.type?new o.edwards(e):new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=c,l("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:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("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:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("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:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("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:a.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"]}),l("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:a.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"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),l("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:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{i=n("QJsb")}catch(u){i=void 0}l("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:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})},DaRl:function(e,t,n){"use strict";var i=n("2j6C"),r=n("P7XM"),a={};function o(e){i.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},DyzK:function(e,t,n){var i=n("Ku4m"),r=n("9GDS"),a=n("g9U9"),o=n("OZ/i"),s=n("qVij"),c=n("mObS"),l=n("UpF+"),u=n("ZYru").Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,f=i(e),p=f.modulus.byteLength();if(t.length>p||new o(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=n?l(new o(t),f):s(t,f);var m=u.alloc(p-h.length);if(h=u.concat([m,h],p),4===d)return function(e,t){var n=e.modulus.byteLength(),i=c("sha1").update(u.alloc(0)).digest(),o=i.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),l=t.slice(o+1),d=a(s,r(l,o)),h=a(l,r(d,n-o-1));if(function(e,t){e=u.from(e),t=u.from(t);var n=0,i=e.length;e.length!==t.length&&(n++,i=Math.min(e.length,t.length));for(var r=-1;++r=t.length){a++;break}var o=t.slice(2,r-1);if(("0002"!==i.toString("hex")&&!n||"0001"!==i.toString("hex")&&n)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return t.slice(r)}(0,h,n);if(3===d)return h;throw new Error("unknown padding")}},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+IA":function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("qlaj"),o=i.rotl32,s=i.sum32,c=i.sum32_5,l=a.ft_1,u=r.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(h,u),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var n=this.W,i=0;i<16;i++)n[i]=e[t+i];for(;i=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".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:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},E4JC:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],a=[],o=e.algo.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)s.call(this);for(n=0;n<8;n++)r[n]^=i[n+4&7];if(t){var a=t.words,o=a[0],c=a[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),d=l>>>16|4294901760&u,h=u<<16|65535&l;for(r[0]^=l,r[1]^=d,r[2]^=u,r[3]^=h,r[4]^=l,r[5]^=d,r[6]^=u,r[7]^=h,n=0;n<4;n++)s.call(this)}},_doProcessBlock:function(e,t){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],o=65535&i,s=i>>>16;a[n]=((o*o>>>17)+o*s>>>15)+s*s^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(o)}(),i.Rabbit)},ELBg:function(e,t,n){"use strict";var i={single_source_shortest_paths:function(e,t,n){var r={},a={};a[t]=0;var o,s,c,l,u,d,h=i.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(c in l=(o=h.pop()).cost,u=e[s=o.value]||{})u.hasOwnProperty(c)&&(d=l+u[c],(void 0===a[c]||a[c]>d)&&(a[c]=d,h.push(c,d),r[c]=s));if(void 0!==n&&void 0===a[n]){var f=["Could not find a path from ",t," to ",n,"."].join("");throw new Error(f)}return r},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],i=t;i;)n.push(i),i=e[i];return n.reverse(),n},find_path:function(e,t,n){var r=i.single_source_shortest_paths(e,t,n);return i.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(e){var t,n=i.PriorityQueue,r={};for(t in e=e||{},n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r.queue=[],r.sorter=e.sorter||n.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=i},ELcG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=o.RIPEMD160=a.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var a,o,f,y,k,w,C,S,x,M,L,O=this._hash.words,D=d.words,T=h.words,A=s.words,E=c.words,P=l.words,R=u.words;for(w=a=O[0],C=o=O[1],S=f=O[2],x=y=O[3],M=k=O[4],n=0;n<80;n+=1)L=a+e[t+A[n]]|0,L+=n<16?p(o,f,y)+D[0]:n<32?m(o,f,y)+D[1]:n<48?_(o,f,y)+D[2]:n<64?b(o,f,y)+D[3]:g(o,f,y)+D[4],L=(L=v(L|=0,P[n]))+k|0,a=k,k=y,y=v(f,10),f=o,o=L,L=w+e[t+E[n]]|0,L+=n<16?g(C,S,x)+T[0]:n<32?b(C,S,x)+T[1]:n<48?_(C,S,x)+T[2]:n<64?m(C,S,x)+T[3]:p(C,S,x)+T[4],L=(L=v(L|=0,R[n]))+M|0,w=M,M=x,x=v(S,10),S=C,C=L;L=O[1]+f+x|0,O[1]=O[2]+y+M|0,O[2]=O[3]+k+w|0,O[3]=O[4]+a+C|0,O[4]=O[0]+o+S|0,O[0]=L},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,a=r.words,o=0;o<5;o++){var s=a[o];a[o]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return r},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function _(e,t,n){return(e|~t)^n}function b(e,t,n){return e&n|t&~n}function g(e,t,n){return e^(t|~n)}function v(e,t){return e<>>32-t}t.RIPEMD160=a._createHelper(f),t.HmacRIPEMD160=a._createHmacHelper(f)}(Math),i.RIPEMD160)},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},ETIr:function(e,t,n){var i,r;e.exports=(r=n("Ib8C"),i=r.lib.WordArray,r.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var r=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s>>6*(3-s)&63));var c=i.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var a=0;a>>6-o%4*2;r[a>>>2]|=(s|c)<<24-a%4*8,a++}return i.create(r,a)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64)},EW2V:function(e,t,n){e.exports=n("tOiH")},Edxu:function(e,t,n){"use strict";(function(t,i){var r=n("hwdV").Buffer,a=t.crypto||t.msCrypto;e.exports=a&&a.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=r.allocUnsafe(e);if(e>0)if(e>65536)for(var o=0;o>>2]|=e[r]<<24-r%4*8;t.call(this,i,n)}else t.apply(this,arguments)}).prototype=e}}(),i.lib.WordArray)},FUXG:function(e,t,n){"use strict";t.utils=n("Xudb"),t.Cipher=n("AYSA"),t.DES=n("Titl"),t.CBC=n("DaRl"),t.EDE=n("H+yo")},Fzww:function(e,t,n){window,e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,(function(t){return e[t]}).bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this._disposables=[],this._socket=e,this._socket.binaryType="arraybuffer",this._bidirectional=!t||!1!==t.bidirectional}return e.prototype.activate=function(e){var t=this;this._disposables.push(r(this._socket,"message",(function(t){var n=t.data;e.write("string"==typeof n?n:new Uint8Array(n))}))),this._bidirectional&&(this._disposables.push(e.onData((function(e){return t._sendData(e)}))),this._disposables.push(e.onBinary((function(e){return t._sendBinary(e)})))),this._disposables.push(r(this._socket,"close",(function(){return t.dispose()}))),this._disposables.push(r(this._socket,"error",(function(){return t.dispose()})))},e.prototype.dispose=function(){this._disposables.forEach((function(e){return e.dispose()}))},e.prototype._sendData=function(e){1===this._socket.readyState&&this._socket.send(e)},e.prototype._sendBinary=function(e){if(1===this._socket.readyState){for(var t=new Uint8Array(e.length),n=0;nn?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length0?o-4:o;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,a=[],o=0,s=n-r;os?s:o+16383));return 1===r?a.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===r&&a.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),a.join("")};for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var r,a=[],o=t;o>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(e,t,n){"use strict";var i=n("7o/Q"),r=n("2QA8"),a=n("gRHU"),o=n("kJWO"),s=n("mCNh"),c=n("2fFW");n.d(t,"a",(function(){return u}));var l,u=((l=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var o=this.operator,s=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new i.a(e,t,n):new i.a(a.a)}(e,t,n);if(s.add(o?o.call(s,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,a=t.isStopped;if(n||a)return!1;e=r&&r instanceof i.a?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=d(t))((function(t,i){var r;r=n.subscribe((function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}}),i,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:o.a,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,a,o){var s=n(t),c=i[e][n(t)];return 2===s&&(c=c[r?0:1]),c.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},Hjy1:function(e,t,n){var i=n("ZDAU"),r=n("FUXG"),a=n("P7XM"),o=n("StGT").Buffer,s={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function c(e){i.call(this);var t,n=e.mode.toLowerCase(),r=s[n];t=e.decrypt?"decrypt":"encrypt";var a=e.key;o.isBuffer(a)||(a=o.from(a)),"des-ede"!==n&&"des-ede-cbc"!==n||(a=o.concat([a,a.slice(0,8)]));var c=e.iv;o.isBuffer(c)||(c=o.from(c)),this._des=r.create({key:a,iv:c,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,a(c,i),c.prototype._update=function(e){return o.from(this._des.update(e))},c.prototype._final=function(){return o.from(this._des.final())}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},IBtZ:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IG1u:function(e,t,n){(function(t,i){var r,a=n("fSpj"),o=n("n53Y"),s=n("4Hv8"),c=n("hwdV").Buffer,l=t.crypto&&t.crypto.subtle,u={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 h(e,t,n,i,r){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:r}},e,i<<3)})).then((function(e){return c.from(e)}))}e.exports=function(e,n,f,p,m,_){"function"==typeof m&&(_=m,m=void 0);var b=u[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof t.Promise)return i.nextTick((function(){var t;try{t=s(e,n,f,p,m)}catch(i){return _(i)}_(null,t)}));if(a(e,n,f,p),"function"!=typeof _)throw new Error("No callback provided to pbkdf2");c.isBuffer(e)||(e=c.from(e,o)),c.isBuffer(n)||(n=c.from(n,o)),function(e,t){e.then((function(e){i.nextTick((function(){t(null,e)}))}),(function(e){i.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var n=h(r=r||c.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=n,n}(b).then((function(t){return t?h(e,n,f,p,b):s(e,n,f,p,m)})),_)}}).call(this,n("aWmh"),n("8oxB"))},IPZY:function(e,t,n){var i=t;i.der=n("z71Z"),i.pem=n("jfd1")},ITfd:function(e,t,n){"use strict";var i=n("w8CP"),r=n("2j6C");function a(e,t,n){if(!(this instanceof a))return new a(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,n))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t>>2]|=(n[a>>>2]>>>24-a%4*8&255)<<24-(i+a)%4*8;else for(a=0;a>>2]=n[a>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],r=function(t){t=t;var n=987654321,i=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},a=0;a>>2]>>>24-r%4*8&255;i.push((a>>>4).toString(16)),i.push((15&a).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new o.init(n,t/2)}},l=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255));return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new o.init(n,t)}},u=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,r=n.sigBytes,a=this.blockSize,s=r/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*c,r);if(c){for(var u=0;u31&&(e=31);var n=[];return n.push("$2a$"),e<10&&n.push("0"),n.push(e.toString()),n.push("$"),n.push(h(o(m),m)),n.join("")},t.genSalt=function(e,n,i){if("function"==typeof n&&(i=n,n=void 0),"function"==typeof e&&(i=e,e=void 0),void 0===e)e=_;else if("number"!=typeof e)throw Error("illegal arguments: "+typeof e);function r(n){c((function(){try{n(null,t.genSaltSync(e))}catch(i){n(i)}}))}if(!i)return new Promise((function(e,t){r((function(n,i){n?t(n):e(i)}))}));if("function"!=typeof i)throw Error("Illegal callback: "+typeof i);r(i)},t.hashSync=function(e,n){if(void 0===n&&(n=_),"number"==typeof n&&(n=t.genSaltSync(n)),"string"!=typeof e||"string"!=typeof n)throw Error("Illegal arguments: "+typeof e+", "+typeof n);return S(e,n)},t.hash=function(e,n,i,r){function a(i){"string"==typeof e&&"number"==typeof n?t.genSalt(n,(function(t,n){S(e,n,i,r)})):"string"==typeof e&&"string"==typeof n?S(e,n,i,r):c(i.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof n)))}if(!i)return new Promise((function(e,t){a((function(n,i){n?t(n):e(i)}))}));if("function"!=typeof i)throw Error("Illegal callback: "+typeof i);a(i)},t.compareSync=function(e,n){if("string"!=typeof e||"string"!=typeof n)throw Error("Illegal arguments: "+typeof e+", "+typeof n);return 60===n.length&&s(t.hashSync(e,n.substr(0,n.length-31)),n)},t.compare=function(e,n,i,r){function a(i){"string"==typeof e&&"string"==typeof n?60===n.length?t.hash(e,n.substr(0,29),(function(e,t){e?i(e):i(null,s(t,n))}),r):c(i.bind(this,null,!1)):c(i.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof n)))}if(!i)return new Promise((function(e,t){a((function(n,i){n?t(n):e(i)}))}));if("function"!=typeof i)throw Error("Illegal callback: "+typeof i);a(i)},t.getRounds=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);return parseInt(e.split("$")[2],10)},t.getSalt=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);if(60!==e.length)throw Error("Illegal hash length: "+e.length+" != 60");return e.substring(0,29)};var c=void 0!==i&&i&&"function"==typeof i.nextTick?"function"==typeof r?r:i.nextTick:setTimeout,l="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),u=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,54,55,56,57,58,59,60,61,62,63,-1,-1,-1,-1,-1,-1,-1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,-1,-1,-1,-1,-1,-1,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,-1,-1,-1,-1,-1],d=String.fromCharCode;function h(e,t){var n,i,r=0,a=[];if(t<=0||t>e.length)throw Error("Illegal len: "+t);for(;r>2&63]),n=(3&n)<<4,r>=t){a.push(l[63&n]);break}if(i=255&e[r++],a.push(l[63&(n|=i>>4&15)]),n=(15&i)<<2,r>=t){a.push(l[63&n]);break}i=255&e[r++],a.push(l[63&(n|=i>>6&3)]),a.push(l[63&i])}return a.join("")}function f(e,t){var n,i,r,a,o,s=0,c=e.length,l=0,h=[];if(t<=0)throw Error("Illegal len: "+t);for(;s>>0,h.push(d(a|=(48&i)>>4)),!(++l>=t||s>=c))&&-1!=(r=(o=e.charCodeAt(s++))>>0,h.push(d(a|=(60&r)>>2)),!(++l>=t||s>=c));)o=e.charCodeAt(s++),a=(3&r)<<6>>>0,h.push(d(a|=o>6&31|192),t(63&n|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(63&n|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(63&n|128)),n=null},decodeUTF8:function(e,t){for(var n,i,r,a,o=function(e){e=e.slice(0,e.indexOf(null));var t=Error(e.toString());throw t.name="TruncatedError",t.bytes=e,t};null!==(n=e());)if(0==(128&n))t(n);else if(192==(224&n))null===(i=e())&&o([n,i]),t((31&n)<<6|63&i);else if(224==(240&n))(null===(i=e())||null===(r=e()))&&o([n,i,r]),t((15&n)<<12|(63&i)<<6|63&r);else{if(240!=(248&n))throw RangeError("Illegal starting byte: "+n);(null===(i=e())||null===(r=e())||null===(a=e()))&&o([n,i,r,a]),t((7&n)<<18|(63&i)<<12|(63&r)<<6|63&a)}},UTF16toUTF8:function(e,t){for(var n,i=null;null!==(n=null!==i?i:e());)n>=55296&&n<=57343&&null!==(i=e())&&i>=56320&&i<=57343?(t(1024*(n-55296)+i-56320+65536),i=null):t(n);null!==i&&t(i)},UTF8toUTF16:function(e,t){var n=null;for("number"==typeof e&&(n=e,e=function(){return null});null!==n||null!==(n=e());)n<=65535?t(n):(t(55296+((n-=65536)>>10)),t(n%1024+56320)),n=null},encodeUTF16toUTF8:function(t,n){e.UTF16toUTF8(t,(function(t){e.encodeUTF8(t,n)}))},decodeUTF8toUTF16:function(t,n){e.decodeUTF8(t,(function(t){e.UTF8toUTF16(t,n)}))},calculateCodePoint:function(e){return e<128?1:e<2048?2:e<65536?3:4},calculateUTF8:function(t){for(var n,i=0;null!==(n=t());)i+=e.calculateCodePoint(n);return i},calculateUTF16asUTF8:function(t){var n=0,i=0;return e.UTF16toUTF8(t,(function(t){++n,i+=e.calculateCodePoint(t)})),[n,i]}};return e}();Date.now=Date.now||function(){return+new Date};var m=16,_=10,b=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],g=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],v=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892];function y(e,t,n,i){var r,a=e[t],o=e[t+1];return r=i[(a^=n[0])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[1])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[2])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[3])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[4])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[5])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[6])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[7])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[8])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[9])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[10])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[11])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[12])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[13])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],r=i[(a^=(r+=i[768|255&o])^n[14])>>>24],r+=i[256|a>>16&255],r^=i[512|a>>8&255],r=i[(o^=(r+=i[768|255&a])^n[15])>>>24],r+=i[256|o>>16&255],r^=i[512|o>>8&255],a^=(r+=i[768|255&o])^n[16],e[t]=o^n[17],e[t+1]=a,e}function k(e,t){for(var n=0,i=0;n<4;++n)i=i<<8|255&e[t],t=(t+1)%e.length;return{key:i,offp:t}}function w(e,t,n){for(var i,r=0,a=[0,0],o=t.length,s=n.length,c=0;c31){if(a=Error("Illegal number of rounds (4-31): "+n),i)return void c(i.bind(this,a));throw a}if(t.length!==m){if(a=Error("Illegal salt length: "+t.length+" != "+m),i)return void c(i.bind(this,a));throw a}n=1<>>0;var l,u,d,h=0;function f(){if(r&&r(h/n),!(h>1;d++)y(o,d<<1,l,u);var a=[];for(h=0;h>24&255)>>>0),a.push((o[h]>>16&255)>>>0),a.push((o[h]>>8&255)>>>0),a.push((255&o[h])>>>0);return i?void i(null,a):a}for(var p=Date.now();h100)););i&&c(f)}if(Int32Array?(l=new Int32Array(b),u=new Int32Array(g)):(l=b.slice(),u=g.slice()),function(e,t,n,i){for(var r,a=0,o=[0,0],s=n.length,c=i.length,l=0;l"$"){if(r=Error("Missing salt rounds"),n)return void c(n.bind(this,r));throw r}var s,l,u,d=10*parseInt(t.substring(o,o+1),10)+parseInt(t.substring(o+1,o+2),10),_=t.substring(o+3,o+25),b=(s=e+=a>="a"?"\0":"",l=[],u=0,p.encodeUTF16toUTF8((function(){return u>=s.length?null:s.charCodeAt(u++)}),(function(e){l.push(e)})),l),g=f(_,m);function y(e){var t=[];return t.push("$2"),a>="a"&&t.push(a),t.push("$"),d<10&&t.push("0"),t.push(d.toString()),t.push("$"),t.push(h(g,g.length)),t.push(h(e,4*v.length-1)),t.join("")}if(void 0===n)return y(C(b,g,d));C(b,g,d,(function(e,t){e?n(e,null):n(null,y(t))}),i)}return t.encodeBase64=h,t.decodeBase64=f,t})?a.apply(t,[]):a)||(e.exports=o)}).call(this,n("2pl3")(e),n("8oxB"),n("URgk").setImmediate)},J6Nv:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},J78i:function(e,t,n){"use strict";e.exports=o;var i=n("sZro"),r=n("Onz0");function a(e){this.afterTransform=function(t,n){return function(e,t,n){var i=e._transformState;i.transforming=!1;var r=i.writecb;if(!r)return e.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,null!=n&&e.push(n),r(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length10&&e<20}function r(e){return t[e].split("_")}function a(e,t,a,o){var s=e+" ";return 1===e?s+n(0,t,a[0],o):t?s+(i(e)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(e)?r(a)[1]:r(a)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_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\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".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:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},JzKC:function(e,t,n){var i=n("Wogr"),r=n("aZ40");t.mul=function(e,t){var n=new i(e.length+t.length-1);n.fill(0);for(var a=0;a=0;){for(var a=n[0],o=0;o=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K3mO:function(e,t,n){var i,r,a,o,s,c,l;e.exports=(l=n("Ib8C"),n("3y9D"),n("WYAk"),o=(r=(i=l).lib).WordArray,c=(s=i.algo).EvpKDF=(a=r.Base).extend({cfg:a.extend({keySize:4,hasher:s.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=n.hasher.create(),r=o.create(),a=r.words,s=n.keySize,c=n.iterations;a.length=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KmYQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},i.pad.ZeroPadding)},KqfI:function(e,t,n){"use strict";function i(){}n.d(t,"a",(function(){return i}))},Ku4m:function(e,t,n){var i=n("QRH4"),r=n("1w4i"),a=n("TdD3"),o=n("/ab2"),s=n("oJl4"),c=n("hwdV").Buffer;function l(e){var t;"object"!=typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=c.from(e));var n,l,u=a(e,t),d=u.tag,h=u.data;switch(d){case"CERTIFICATE":l=i.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=i.PublicKey.decode(h,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=i.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+d);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=r[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,h=s.pbkdf2Sync(t,n,i,d,"sha1"),f=o.createDecipheriv(a,h,l),p=[];return p.push(f.update(u)),p.push(f.final()),c.concat(p)}(h=i.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(n=(l=i.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:i.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=i.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+d);case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=i.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}e.exports=l,l.signature=i.signature},LGOv:function(e,t,n){e.exports=n("3BRs")},Lhse:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".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:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},Lzq4:function(e,t,n){var i=n("u/Db"),r=n("e/Dd");function a(e){this.mode=i.KANJI,this.data=e}a.getBitsLength=function(e){return 13*e},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){var t;for(t=0;t=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}e.put(n=192*(n>>>8&255)+(255&n),13)}},e.exports=a},"MO+k":function(e,t,n){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(e,n){return function(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[t[i]]=i);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);var o=r[a].channels,s=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:o}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),c=s-o;return s===o?t=0:i===s?t=(r-a)/c:r===s?t=2+(a-i)/c:a===s&&(t=4+(i-r)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?c/(s+o):c/(2-s-o)),100*n]},r.rgb.hsv=function(e){var t,n,i,r,a,o=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),d=function(e){return(l-e)/6/u+.5};return 0===u?r=a=0:(a=u/l,t=d(o),n=d(s),i=d(c),o===l?r=i-n:s===l?r=1/3+t-i:c===l&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[360*r,100*a,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-r)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var i=n[e];if(i)return i;var r,a,o,s=1/0;for(var c in t)if(t.hasOwnProperty(c)){var l=(a=e,o=t[c],Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],a=t[2];return i/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(e){var t,n,i,r,a,o=e[0]/360,s=e[1]/100,c=e[2]/100;if(0===s)return[a=255*c,a,a];t=2*c-(n=c<.5?c*(1+s):c+s-c*s),r=[0,0,0];for(var l=0;l<3;l++)(i=o+1/3*-(l-1))<0&&i++,i>1&&i--,r[l]=255*(a=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t);return r},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=a<=1?a:2-a,[t,100*(0===i?2*r/(a+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,o];case 1:return[s,i,o];case 2:return[o,i,c];case 3:return[o,s,i];case 4:return[c,o,i];case 5:return[i,o,s]}},r.hsv.hsl=function(e){var t,n,i,r=e[0],a=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return i=(2-a)*o,n=a*s,[r,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(i/=2)]},r.hwb.rgb=function(e){var t,n,i,r,a,o,s,c=e[0]/360,l=e[1]/100,u=e[2]/100,d=l+u;switch(d>1&&(l/=d,u/=d),i=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(i=1-i),r=l+i*((n=1-u)-l),t){default:case 6:case 0:a=n,o=r,s=l;break;case 1:a=r,o=n,s=l;break;case 2:a=l,o=n,s=r;break;case 3:a=l,o=r,s=n;break;case 4:a=r,o=l,s=n;break;case 5:a=n,o=l,s=r}return[255*a,255*o,255*s]},r.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-i)+i)),255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,t=(t=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(e){var t,n,i;t=e[1]/500+(n=(e[0]+16)/116),i=n-e[2]/200;var r=Math.pow(n,3),a=Math.pow(t,3),o=Math.pow(i,3);return n=r>.008856?r:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,i=o>.008856?o:(i-16/116)/7.787,[t*=95.047,n*=100,i*=108.883]},r.lab.lch=function(e){var t,n=e[0],i=e[1],r=e[2];return(t=360*Math.atan2(r,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+r*r),t]},r.lch.lab=function(e){var t,n=e[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],a=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(o+=60),o},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.max(Math.max(n,i),r),o=Math.min(Math.min(n,i),r),s=a-o;return t=s<=0?0:a===n?(i-r)/s%6:a===i?2+(r-n)/s:4+(n-i)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(e){var t,n=e[1]/100,i=e[2]/100,r=0;return(t=i<.5?2*n*i:2*n*(1-i))<1&&(r=(i-.5*t)/(1-t)),[e[0],100*t,100*r]},r.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,i=0;return n<1&&(i=(t-n)/(1-n)),[e[0],100*n,100*i]},r.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var i,r=[0,0,0],a=e[0]/360%1*6,o=a%1,s=1-o;switch(Math.floor(a)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return[255*(t*r[0]+(i=(1-t)*n)),255*(t*r[1]+i),255*(t*r[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=1-e[2]/100,n=t-e[1]/100,i=0;return n<1&&(i=(t-n)/(1-n)),[e[0],100*n,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(n={exports:{}}),n.exports}();function i(e,t){return function(n){return t(e(n))}}function r(e,t){for(var r=[t[e].parent,e],a=n[t[e].parent][e],o=t[e].parent;t[o].parent;)r.unshift(t[o].parent),a=i(n[t[o].parent][o],a),o=t[o].parent;return a.conversion=r,a}var a={};Object.keys(n).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(n),i=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var i=n.length,r=0;r1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(i)}))}));var o=a,s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c={getRgba:l,getHsla:u,getRgb:function(e){var t=l(e);return t&&t.slice(0,3)},getHsl:function(e){var t=u(e);return t&&t.slice(0,3)},getHwb:d,getAlpha:function(e){var t=l(e);return t?t[3]:(t=u(e))?t[3]:(t=d(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+_(e[0])+_(e[1])+_(e[2])+(t>=0&&t<1?_(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:h,percentString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:f,hslString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:p,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return b[e.slice(0,3)]}};function l(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var a=0;an?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,i=void 0===t?.5:t,r=2*i-1,a=this.alpha()-n.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new v,i=this.values,r=n.values;for(var a in i)i.hasOwnProperty(a)&&("[object Array]"===(t={}.toString.call(e=i[a]))?r[a]=e.slice(0):"[object Number]"===t?r[a]=e:console.error("unexpected color value:",e));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},v.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},v.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i=0;r--)t.call(n,e[r],r);else for(r=0;r=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-x.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*x.easeInBounce(2*e):.5*x.easeOutBounce(2*e-1)+.5}},M={effects:x};S.easingEffects=x;var L=Math.PI,O=L/180,D=2*L,T=L/2,A=L/4,E=2*L/3,P={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,r,a){if(a){var o=Math.min(a,r/2,i/2),s=t+o,c=n+o,l=t+i-o,u=n+r-o;e.moveTo(t,c),st.left-1e-6&&e.xt.top-1e-6&&e.y0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,i,r=this.animations,a=0;a=n?(H.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(a,1)):++a}},$=H.options.resolve,Z=["push","pop","shift","splice","unshift"];function X(e,t){var n=e._chartjs;if(n){var i=n.listeners,r=i.indexOf(t);-1!==r&&i.splice(r,1),i.length>0||(Z.forEach((function(t){delete e[t]})),delete e._chartjs)}}var Q=function(e,t){this.initialize(e,t)};H.extend(Q.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,i=this.getDataset(),r=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!i.xAxisID||(e.xAxisID=i.xAxisID||r.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!i.yAxisID||(e.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&X(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(e=0,t=i.length;en&&this.insertElements(n,i-n)},insertElements:function(e,t){for(var n=0;nr?e.arc(o,s,t.innerRadius-r,i+(a=r/t.innerRadius),n-a,!0):e.arc(o,s,r,i+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}j._set("global",{elements:{arc:{backgroundColor:j.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ie=q.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)s;)r-=te;for(;r=o&&r<=s&&a>=n.innerRadius&&a<=n.outerRadius}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/te)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+te,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e=a.left&&t<=a.right)&&(r||n>=a.top&&n<=a.bottom)}j._set("global",{elements:{rectangle:{backgroundColor:de,borderColor:de,borderSkipped:"bottom",borderWidth:0}}});var _e=q.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=fe(e),n=t.right-t.left,i=t.bottom-t.top,r=function(e,t,n){var i,r,a,o,s=e.borderWidth,c=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=pe(t,"left","right")):e.basen?n:i,r:c.right||r<0?0:r>t?t:r,b:c.bottom||a<0?0:a>n?n:a,l:c.left||o<0?0:o>t?t:o}}(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(t),i=n.outer,r=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(e.save(),e.beginPath(),e.rect(i.x,i.y,i.w,i.h),e.clip(),e.fillStyle=t.borderColor,e.rect(r.x,r.y,r.w,r.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return me(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return he(n)?me(n,e,null):me(n,null,t)},inXRange:function(e){return me(this._view,e,null)},inYRange:function(e){return me(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return he(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return he(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),be={},ge=oe,ve=ue,ye=_e;be.Arc=ie,be.Line=ge,be.Point=ve,be.Rectangle=ye;var ke=H._deprecated,we=H.valueOrDefault;j._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),j._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ce=ee.extend({dataElementType:be.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ee.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,ke("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),ke("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),ke("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),ke("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),ke("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t=0&&m.min>=0?m.min:m.max,y=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,k=p.length;if(b||void 0===b&&void 0!==g)for(i=0;i=0&&l.max>=0?l.max:l.min,(m.min<0&&a<0||m.max>=0&&a>0)&&(v+=a));return o=d.getPixelForValue(v),c=(s=d.getPixelForValue(v+y))-o,void 0!==_&&Math.abs(c)<_&&(c=_,s=y>=0&&!h||y<0&&h?o-_:o+_),{size:c,base:o,head:s,center:s+c/2}},calculateBarIndexPixels:function(e,t,n,i){var r="flex"===i.barThickness?function(e,t,n){var i,r=t.pixels,a=r[e],o=e>0?r[e-1]:null,s=e0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(t.scale,t.pixels):-1;return H.isNullOrUndef(a)?(i=c*n.categoryPercentage,r=n.barPercentage):(i=a*o,r=1),{chunk:i/o,ratio:r,start:s-i/2}}(t,n,i),a=this.getStackIndex(e,this.getMeta().stack),o=r.start+r.chunk*a+r.chunk/2,s=Math.min(we(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,a=0;for(H.canvas.clipArea(e.ctx,e.chartArea);a=Oe?-De:_<-Oe?De:0)+p,g=Math.cos(_),v=Math.sin(_),y=Math.cos(b),k=Math.sin(b),w=_<=0&&b>=0||b>=De,C=_<=Te&&b>=Te||b>=De+Te,S=_<=-Te&&b>=-Te||b>=Oe+Te,x=_===-Oe||b>=Oe?-1:Math.min(g,g*f,y,y*f),M=S?-1:Math.min(v,v*f,k,k*f),L=w?1:Math.max(g,g*f,y,y*f),O=C?1:Math.max(v,v*f,k,k*f);s=(L-x)/2,c=(O-M)/2,l=-(L+x)/2,u=-(O+M)/2}for(t=0,n=h.length;t0&&!isNaN(e)?De*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,i,r,a,o,s,c,l=0,u=this.chart;if(!e)for(t=0,n=u.data.datasets.length;t(l=(s=o.borderWidth)>l?s:l)?c:l);return l},setHoverStyle:function(e){var t=e._model,n=e._options,i=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Le(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Le(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Le(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n0&&Ie(c[e-1]._model,s)&&(n.controlPointPreviousX=l(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=l(n.controlPointPreviousY,s.top,s.bottom)),e0&&(a=e.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(e,t){return Ze(e,t,{intersect:!1})},point:function(e,t){return Ke(e,qe(t,e))},nearest:function(e,t,n){var i=qe(t,e);n.axis=n.axis||"xy";var r=$e(n.axis);return Ge(e,i,n.intersect,r)},x:function(e,t,n){var i=qe(t,e),r=[],a=!1;return Je(e,(function(e){e.inXRange(i.x)&&r.push(e),e.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r},y:function(e,t,n){var i=qe(t,e),r=[],a=!1;return Je(e,(function(e){e.inYRange(i.y)&&r.push(e),e.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r}}},Qe=H.extend;function et(e,t){return H.where(e,(function(e){return e.pos===t}))}function tt(e,t){return e.sort((function(e,n){var i=t?n:e,r=t?e:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function nt(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function it(e,t,n){var i,r,a=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,e[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=t.outerWidth-nt(o,e,"left","right"),r=t.outerHeight-nt(o,e,"top","bottom"),i!==e.w||r!==e.h){e.w=i,e.h=r;var c=n.horizontal?[i,e.w]:[r,e.h];return!(c[0]===c[1]||isNaN(c[0])&&isNaN(c[1]))}}function rt(e,t){var n,i=t.maxPadding;return n={left:0,top:0,right:0,bottom:0},(e?["left","right"]:["top","bottom"]).forEach((function(e){n[e]=Math.max(t[e],i[e])})),n}function at(e,t,n){var i,r,a,o,s,c,l=[];for(i=0,r=e.length;i div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&st.default||st,ut=["animationstart","webkitAnimationStart"],dt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ht(e,t){var n=H.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var ft=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(n){}return e}()&&{passive:!0};function pt(e,t,n){e.addEventListener(t,n,ft)}function mt(e,t,n){e.removeEventListener(t,n,ft)}function _t(e,t,n,i,r){return{type:e,chart:t,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function bt(e){var t=document.createElement("div");return t.className=e||"",t}var gt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e.$chartjs||(e.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(t)),e.appendChild(i)}}(t.host?t:document.head,lt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e.$chartjs={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var a=ht(e,"width");void 0!==a&&(e.width=a)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=ht(e,"height");void 0!==a&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var i=n[e];H.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),H.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=n.$chartjs||(n.$chartjs={});pt(i,t,(r.proxies||(r.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=dt[e.type]||e.type,i=H.getRelativePosition(e,t);return _t(n,t,i.x,i.y,e)}(t,e))})}else!function(e,t,n){var i,r,a,o,s=e.$chartjs||(e.$chartjs={}),c=s.resizer=function(e){var t=bt("chartjs-size-monitor"),n=bt("chartjs-size-monitor-expand"),i=bt("chartjs-size-monitor-shrink");n.appendChild(bt()),i.appendChild(bt()),t.appendChild(n),t.appendChild(i),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){t._reset(),e()};return pt(n,"scroll",r.bind(n,"expand")),pt(i,"scroll",r.bind(i,"shrink")),t}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&e.parentNode,r=i?i.clientWidth:0;t(_t("resize",n)),i&&i.clientWidth0){var a=e[0];a.label?n=a.label:a.xLabel?n=a.xLabel:r>0&&a.index-1?e.split("\n"):e}function Lt(e){var t=j.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:wt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:wt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:wt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:wt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:wt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:wt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:wt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:wt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:wt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Ot(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Dt(e){return xt([],Mt(e))}var Tt=q.extend({initialize:function(){this._model=Lt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,i=n.beforeTitle.apply(e,arguments),r=n.title.apply(e,arguments),a=n.afterTitle.apply(e,arguments),o=[];return o=xt(o,Mt(i)),o=xt(o,Mt(r)),xt(o,Mt(a))},getBeforeBody:function(){return Dt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,i=n._options.callbacks,r=[];return H.each(e,(function(e){var a={before:[],lines:[],after:[]};xt(a.before,Mt(i.beforeLabel.call(n,e,t))),xt(a.lines,i.label.call(n,e,t)),xt(a.after,Mt(i.afterLabel.call(n,e,t))),r.push(a)})),r},getAfterBody:function(){return Dt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),i=t.footer.apply(e,arguments),r=t.afterFooter.apply(e,arguments),a=[];return a=xt(a,Mt(n)),a=xt(a,Mt(i)),xt(a,Mt(r))},update:function(e){var t,n,i,r,a,o,s,c,l,u,d=this,h=d._options,f=d._model,p=d._model=Lt(h),m=d._active,_=d._data,b={xAlign:f.xAlign,yAlign:f.yAlign},g={x:f.x,y:f.y},v={width:f.width,height:f.height},y={x:f.caretX,y:f.caretY};if(m.length){p.opacity=1;var k=[],w=[];y=St[h.position].call(d,m,d._eventPosition);var C=[];for(t=0,n=m.length;ti.width&&(r=i.width-t.width),r<0&&(r=0)),"top"===c?a+=l:a-="bottom"===c?t.height+l:t.height/2,"center"===c?"left"===s?r+=l:"right"===s&&(r-=l):"left"===s?r-=u:"right"===s&&(r+=u),{x:r,y:a}}(p,v,b=function(e,t){var n,i,r,a,o,s=e._model,c=e._chart,l=e._chart.chartArea,u="center",d="center";s.yc.height-t.height&&(d="bottom");var h=(l.left+l.right)/2,f=(l.top+l.bottom)/2;"center"===d?(n=function(e){return e<=h},i=function(e){return e>h}):(n=function(e){return e<=t.width/2},i=function(e){return e>=c.width-t.width/2}),r=function(e){return e+t.width+s.caretSize+s.caretPadding>c.width},a=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},n(s.x)?(u="left",r(s.x)&&(u="center",d=o(s.y))):i(s.x)&&(u="right",a(s.x)&&(u="center",d=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:d}}(this,v),d._chart)}else p.opacity=0;return p.xAlign=b.xAlign,p.yAlign=b.yAlign,p.x=g.x,p.y=g.y,p.width=v.width,p.height=v.height,p.caretX=y.x,p.caretY=y.y,d._model=p,e&&h.custom&&h.custom.call(d,p),d},drawCaret:function(e,t){var n=this._chart.ctx,i=this.getCaretPosition(e,t,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var i,r,a,o,s,c,l=n.caretSize,u=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,_=t.height;if("center"===h)s=p+_/2,"left"===d?(r=(i=f)-l,a=i,o=s+l,c=s-l):(r=(i=f+m)+l,a=i,o=s-l,c=s+l);else if("left"===d?(i=(r=f+u+l)-l,a=r+l):"right"===d?(i=(r=f+m-u-l)-l,a=r+l):(i=(r=n.caretX)-l,a=r+l),"top"===h)s=(o=p)-l,c=o;else{s=(o=p+_)+l,c=o;var b=a;a=i,i=b}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:c}},drawTitle:function(e,t,n){var i,r,a,o=t.title,s=o.length;if(s){var c=Ct(t.rtl,t.x,t.width);for(e.x=Ot(t,t._titleAlign),n.textAlign=c.textAlign(t._titleAlign),n.textBaseline="middle",i=t.titleFontSize,r=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=H.fontString(i,t._titleFontStyle,t._titleFontFamily),a=0;a0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=r,this.drawBackground(i,t,e,n),i.y+=t.yPadding,H.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),H.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),i.reverse&&n._active.reverse()),(t=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}});Tt.positioners=St;var At=H.valueOrDefault;function Et(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var r,a,o,s=n[e].length;for(t[e]||(t[e]=[]),r=0;r=t[e].length&&t[e].push({}),H.merge(t[e][r],!t[e][r].type||o.type&&o.type!==t[e][r].type?[kt.getScaleDefaults(a),o]:o)}else H._merger(e,t,n,i)}})}function Pt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){var r=t[e]||Object.create(null),a=n[e];"scales"===e?t[e]=Et(r,a):"scale"===e?t[e]=H.merge(r,[kt.getScaleDefaults(a.type),a]):H._merger(e,t,n,i)}})}function Rt(e){var t=e.options;H.each(e.scales,(function(t){ct.removeBox(e,t)})),t=Pt(j.global,j[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function It(e,t,n){var i,r=function(e){return e.id===i};do{i=t+n++}while(H.findIndex(e,r)>=0);return i}function jt(e){return"top"===e||"bottom"===e}function Yt(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}j._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Vt=function(e,t){return this.construct(e,t),this};H.extend(Vt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Pt(j.global,j[e.type],e.options||{}),e}(t);var i=vt.acquireContext(e,t),r=i&&i.canvas,a=r&&r.height,o=r&&r.width;n.id=H.uid(),n.ctx=i,n.canvas=r,n.config=t,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Vt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return yt.notify(e,"beforeInit"),H.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),yt.notify(e,"afterInit"),e},clear:function(){return H.canvas.clear(this),this},stop:function(){return G.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,r=n.maintainAspectRatio&&t.aspectRatio||null,a=Math.max(0,Math.floor(H.getMaximumWidth(i))),o=Math.max(0,Math.floor(r?a/r:H.getMaximumHeight(i)));if((t.width!==a||t.height!==o)&&(i.width=t.width=a,i.height=t.height=o,i.style.width=a+"px",i.style.height=o+"px",H.retinaScale(t,n.devicePixelRatio),!e)){var s={width:a,height:o};yt.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;H.each(t.xAxes,(function(e,n){e.id||(e.id=It(t.xAxes,"x-axis-",n))})),H.each(t.yAxes,(function(e,n){e.id||(e.id=It(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},i=[],r=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(i=i.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&i.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(i,(function(t){var i=t.options,a=i.id,o=At(i.type,t.dtype);jt(i.position)!==jt(t.dposition)&&(i.position=t.dposition),r[a]=!0;var s=null;if(a in n&&n[a].type===o)(s=n[a]).options=i,s.ctx=e.ctx,s.chart=e;else{var c=kt.getScaleConstructor(o);if(!c)return;s=new c({id:a,type:o,options:i,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),H.each(r,(function(e,t){e||delete n[t]})),e.scales=n,kt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,i=[],r=n.data.datasets;for(e=0,t=r.length;e=0;--n)this.drawDataset(t[n],e);yt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==yt.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),yt.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==yt.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),yt.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return Xe.modes.single(this,e)},getElementsAtEvent:function(e){return Xe.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Xe.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=Xe.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return Xe.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var r=H.log10(Math.abs(i)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=H.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(r);s=Math.max(Math.min(s,20),0),a=e.toExponential(s)}else{var c=-1*Math.floor(r);c=Math.max(Math.min(c,20),0),a=e.toFixed(c)}else a="0";return a},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(H.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}},Nt=H.isArray,Ut=H.isNullOrUndef,qt=H.valueOrDefault,Jt=H.valueAtIndexOrDefault;function Kt(e,t,n){var i,r=e.getTicks().length,a=Math.min(t,r-1),o=e.getPixelForTick(a),s=e._startPixel,c=e._endPixel;if(!(n&&(i=1===r?Math.max(o-s,c-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(a-1))/2,(o+=ac+1e-6)))return o}function Gt(e){return e.drawTicks?e.tickMarkLength:0}function $t(e){var t,n;return e.display?(t=H.options._parseFont(e),n=H.options.toPadding(e.padding),t.lineHeight+n.height):0}function Zt(e,t){return H.extend(H.options._parseFont({fontFamily:qt(t.fontFamily,e.fontFamily),fontSize:qt(t.fontSize,e.fontSize),fontStyle:qt(t.fontStyle,e.fontStyle),lineHeight:qt(t.lineHeight,e.lineHeight)}),{color:H.options.resolve([t.fontColor,e.fontColor,j.global.defaultFontColor])})}function Xt(e){var t=Zt(e,e.minor);return{minor:t,major:e.major.enabled?Zt(e,e.major):t}}function Qt(e){var t,n,i,r=[];for(n=0,i=e.length;n=h||u<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,i=Math.min(s.maxWidth,s.chart.width-t),t+6>(r=c.offset?s.maxWidth/u:i/(u-1))&&(r=i/(u-(c.offset?.5:1)),a=s.maxHeight-Gt(c.gridLines)-l.padding-$t(c.scaleLabel),o=Math.sqrt(t*t+n*n),f=H.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/r,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,i=e.options,r=i.ticks,a=i.scaleLabel,o=i.gridLines,s=e._isVisible(),c="bottom"===i.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:s&&(t.width=Gt(o)+$t(a)),l?s&&(t.height=Gt(o)+$t(a)):t.height=e.maxHeight,r.display&&s){var u=Xt(r),d=e._getLabelSizes(),h=d.first,f=d.last,p=d.widest,m=d.highest,_=.4*u.minor.lineHeight,b=r.padding;if(l){var g=0!==e.labelRotation,v=H.toRadians(e.labelRotation),y=Math.cos(v),k=Math.sin(v);t.height=Math.min(e.maxHeight,t.height+(k*p.width+y*(m.height-(g?m.offset:0))+(g?0:_))+b);var w,C,S=e.getPixelForTick(0)-e.left,x=e.right-e.getPixelForTick(e.getTicks().length-1);g?(w=c?y*h.width+k*h.offset:k*(h.height-h.offset),C=c?k*(f.height-f.offset):y*f.width+k*f.offset):(w=h.width/2,C=f.width/2),e.paddingLeft=Math.max((w-S)*e.width/(e.width-S),0)+3,e.paddingRight=Math.max((C-x)*e.width/(e.width-x),0)+3}else t.width=Math.min(e.maxWidth,t.width+(r.mirror?0:p.width+b+_)),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}e.handleMargins(),l?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Ut(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,i,r=this;for(r.ticks=e.map((function(e){return e.value})),r.beforeTickToLabelConversion(),t=r.convertTicksToLabels(e)||r.ticks,r.afterTickToLabelConversion(),n=0,i=e.length;nt){for(n=0;nn-1?null:this.getPixelForDecimal(e*i+(t?i/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,i,r,a=this.options.ticks,o=a.maxTicksLimit||this._length/this._tickSize()+1,s=a.major.enabled?function(e){var t,n,i=[];for(t=0,n=e.length;to)return function(e,t,n){var i,r,a=0,o=t[0];for(n=Math.ceil(n),i=0;il)return a;return Math.max(l,1)}(s,e,0,o),c>0){for(t=0,n=c-1;t1?(u-l)/(c-1):null)?0:l-r,l),en(e,i,u,H.isNullOrUndef(r)?e.length:u+r),Qt(e)}return en(e,i),Qt(e)},_tickSize:function(){var e=this.options.ticks,t=H.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),r=this._getLabelSizes(),a=e.autoSkipPadding||0,o=r?r.widest.width+a:0,s=r?r.highest.height+a:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i=0&&(o=e),void 0!==a&&(e=n.indexOf(a))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;nn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var i,r,a,o=this;return rn(t)||rn(n)||(e=o.chart.data.datasets[n].data[t]),rn(e)||(i=o.isHorizontal()?e.x:e.y),(void 0!==i||void 0!==e&&isNaN(t))&&(r=o._getLabels(),e=H.valueOrDefault(i,e),t=-1!==(a=r.indexOf(e))?a:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});an._defaults={position:"bottom"};var on=H.isNullOrUndef,sn=nn.extend({getRightValue:function(e){return"string"==typeof e?+e:nn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=H.sign(e.min),i=H.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(e.min=null===e.min?t.suggestedMin:Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(e.max=null===e.max?t.suggestedMax:Math.max(e.max,t.suggestedMax)),r!==a&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,i=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:H.noop,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:H.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var n,i,r,a,o=[],s=e.stepSize,c=s||1,l=e.maxTicks-1,u=e.min,d=e.max,h=e.precision,f=t.min,p=t.max,m=H.niceNum((p-f)/l/c)*c;if(m<1e-14&&on(u)&&on(d))return[f,p];(a=Math.ceil(p/m)-Math.floor(f/m))>l&&(m=H.niceNum(a*m/l/c)*c),s||on(h)?n=Math.pow(10,H._decimalPlaces(m)):(n=Math.pow(10,h),m=Math.ceil(m*n)/n),i=Math.floor(f/m)*m,r=Math.ceil(p/m)*m,s&&(!on(u)&&H.almostWhole(u/m,m/1e3)&&(i=u),!on(d)&&H.almostWhole(d/m,m/1e3)&&(r=d)),a=H.almostEquals(a=(r-i)/m,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),i=Math.round(i*n)/n,r=Math.round(r*n)/n,o.push(on(u)?i:u);for(var _=1;_t.length-1?null:this.getPixelForValue(t[e])}});dn._defaults=cn;var hn=H.valueOrDefault,fn=H.math.log10,pn={position:"left",ticks:{callback:zt.formatters.logarithmic}};function mn(e,t){return H.isFinite(e)&&e>=0?e:t}var _n=nn.extend({determineDataLimits:function(){var e,t,n,i,r,a,o=this,s=o.options,c=o.chart,l=c.data.datasets,u=o.isHorizontal();function d(e){return u?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e0){var t=H.min(e),n=H.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e0?e.min:e.max<1?Math.pow(10,Math.floor(fn(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:mn(t.min),max:mn(t.max)},r=e.ticks=function(e,t){var n,i,r=[],a=hn(e.min,Math.pow(10,Math.floor(fn(t.min)))),o=Math.floor(fn(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===a?(n=Math.floor(fn(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),r.push(a),a=i*Math.pow(10,n)):(n=Math.floor(fn(a)),i=Math.floor(a/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(a),10==++i&&(i=1,c=++n>=0?1:c),a=Math.round(i*Math.pow(10,n)*c)/c}while(nt.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(fn(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;nn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=hn(e.options.ticks.fontSize,j.global.defaultFontSize)/e._length),e._startValue=fn(t),e._valueOffset=n,e._valueRange=(fn(e.max)-fn(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(fn(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}});_n._defaults=pn;var bn=H.valueOrDefault,gn=H.valueAtIndexOrDefault,vn=H.options.resolve,yn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:zt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function kn(e){var t=e.ticks;return t.display&&e.display?bn(t.fontSize,j.global.defaultFontSize)+2*t.backdropPaddingY:0}function wn(e,t,n,i,r){return e===i||e===r?{start:t-n/2,end:t+n/2}:er?{start:t-n,end:t}:{start:t,end:t+n}}function Cn(e){return 0===e||180===e?"center":e<180?"left":"right"}function Sn(e,t,n,i){var r,a,o=n.y+i/2;if(H.isArray(t))for(r=0,a=t.length;r270||e<90)&&(n.y-=t.h)}function Mn(e){return H.isNumber(e)?e:0}var Ln=sn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=kn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;H.each(t.data.datasets,(function(r,a){if(t.isDatasetVisible(a)){var o=t.getDatasetMeta(a);H.each(r.data,(function(t,r){var a=+e.getRightValue(t);isNaN(a)||o.data[r].hidden||(n=Math.min(a,n),i=Math.max(a,i))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=i===Number.NEGATIVE_INFINITY?0:i,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/kn(this.options))},convertTicksToLabels:function(){var e=this;sn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=H.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,i,r=H.options._parseFont(e.options.pointLabels),a={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=r.string,e._pointLabelSizes=[];var s,c,l,u=e.chart.data.labels.length;for(t=0;ta.r&&(a.r=f.end,o.r=d),p.starta.b&&(a.b=p.end,o.b=d)}e.setReductions(e.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var i=this,r=t.l/Math.sin(n.l),a=Math.max(t.r-i.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),s=-Math.max(t.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=Mn(r),a=Mn(a),o=Mn(o),s=Mn(s),i.drawingArea=Math.min(Math.floor(e-(r+a)/2),Math.floor(e-(o+s)/2)),i.setCenterPoint(r,a,o,s)},setCenterPoint:function(e,t,n,i){var r=this,a=n+r.drawingArea,o=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((e+r.drawingArea+(r.width-t-r.drawingArea))/2+r.left),r.yCenter=Math.floor((a+o)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(H.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,i=this,r=i.ctx,a=i.options,o=a.gridLines,s=a.angleLines,c=bn(s.lineWidth,o.lineWidth),l=bn(s.color,o.color);if(a.pointLabels.display&&function(e){var t=e.ctx,n=e.options,i=n.pointLabels,r=kn(n),a=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=H.options._parseFont(i);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var c=e.getPointPosition(s,a+(0===s?r/2:0)+5),l=gn(i.fontColor,s,j.global.defaultFontColor);t.fillStyle=l;var u=e.getIndexAngle(s),d=H.toDegrees(u);t.textAlign=Cn(d),xn(d,e._pointLabelSizes[s],c),Sn(t,e.pointLabels[s],c,o.lineHeight)}t.restore()}(i),o.display&&H.each(i.ticks,(function(e,n){0!==n&&(t=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(e,t,n,i){var r,a=e.ctx,o=t.circular,s=e.chart.data.labels.length,c=gn(t.color,i-1),l=gn(t.lineWidth,i-1);if((o||s)&&c&&l){if(a.save(),a.strokeStyle=c,a.lineWidth=l,a.setLineDash&&(a.setLineDash(t.borderDash||[]),a.lineDashOffset=t.borderDashOffset||0),a.beginPath(),o)a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{r=e.getPointPosition(0,n),a.moveTo(r.x,r.y);for(var u=1;u=0;e--)t=i.getDistanceFromCenterForValue(a.ticks.reverse?i.min:i.max),n=i.getPointPosition(e,t),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var i,r,a=e.getIndexAngle(0),o=H.options._parseFont(n),s=bn(n.fontColor,j.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",H.each(e.ticks,(function(a,c){(0!==c||n.reverse)&&(i=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),n.showLabelBackdrop&&(r=t.measureText(a).width,t.fillStyle=n.backdropColor,t.fillRect(-r/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(a,0,-i))})),t.restore()}},_drawTitle:H.noop});Ln._defaults=yn;var On=H._deprecated,Dn=H.options.resolve,Tn=H.valueOrDefault,An=Number.MIN_SAFE_INTEGER||-9007199254740991,En=Number.MAX_SAFE_INTEGER||9007199254740991,Pn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Rn=Object.keys(Pn);function In(e,t){return e-t}function jn(e){return H.valueOrDefault(e.time.min,e.ticks.min)}function Yn(e){return H.valueOrDefault(e.time.max,e.ticks.max)}function Vn(e,t,n,i){var r=function(e,t,n){for(var i,r,a,o=0,s=e.length-1;o>=0&&o<=s;){if(a=e[i=o+s>>1],!(r=e[i-1]||null))return{lo:null,hi:a};if(a[t]n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(e,t,n),a=r.lo?r.hi?r.lo:e[e.length-2]:e[0],o=r.lo?r.hi?r.hi:e[e.length-1]:e[1],s=o[t]-a[t];return a[i]+(o[i]-a[i])*(s?(n-a[t])/s:0)}function Wn(e,t){var n=e._adapter,i=e.options.time,r=i.parser,a=r||i.format,o=t;return"function"==typeof r&&(o=r(o)),H.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(r||"function"!=typeof a||(o=a(t),H.isFinite(o)||(o=n.parse(o))),o)}function Fn(e,t){if(H.isNullOrUndef(t))return null;var n=e.options.time,i=Wn(e,e.getRightValue(t));return null===i?i:(n.round&&(i=+e._adapter.startOf(i,n.round)),i)}function Hn(e,t,n,i){var r,a,o=Rn.length;for(r=Rn.indexOf(e);r=0&&(t[a].major=!0);return t}(e,a,o,n):a}var zn=nn.extend({initialize:function(){this.mergeTicksOptions(),nn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),i=e._adapter=new Bt._date(t.adapters.date);return On("time scale",n.format,"time.format","time.parser"),On("time scale",n.min,"time.min","ticks.min"),On("time scale",n.max,"time.max","ticks.max"),H.mergeIf(n.displayFormats,i.formats()),nn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),nn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,r,a,o,s=this,c=s.chart,l=s._adapter,u=s.options,d=u.time.unit||"day",h=En,f=An,p=[],m=[],_=[],b=s._getLabels();for(e=0,n=b.length;e1?function(e){var t,n,i,r={},a=[];for(t=0,n=e.length;t1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+c;for(r=d;r=r&&n<=a&&u.push(n);return i.min=r,i.max=a,i._unit=c.unit||(s.autoSkip?Hn(c.minUnit,i.min,i.max,d):function(e,t,n,i,r){var a,o;for(a=Rn.length-1;a>=Rn.indexOf(n);a--)if(Pn[o=Rn[a]].common&&e._adapter.diff(r,i,o)>=t-1)return o;return Rn[n?Rn.indexOf(n):0]}(i,u.length,c.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(e){for(var t=Rn.indexOf(e)+1,n=Rn.length;tt&&s=0&&e0?s:1}});zn._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Nn={category:an,linear:dn,logarithmic:_n,radialLinear:Ln,time:zn},Un={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Bt._date.override("function"==typeof e?{_id:"moment",formats:function(){return Un},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,i){return e(t).add(n,i).valueOf()},diff:function(t,n,i){return e(t).diff(e(n),i)},startOf:function(t,n,i){return t=e(t),"isoWeek"===n?t.isoWeekday(i).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),j._set("global",{plugins:{filler:{propagate:!0}}});var qn={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),r=i&&n.isDatasetVisible(t)&&i.dataset._children||[],a=r.length||0;return a?function(e,t){return t=n)&&i;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function Kn(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,i,r,a,o=e.el._scale,s=o.options,c=o.chart.data.labels.length,l=e.fill,u=[];if(!c)return null;for(n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,t=s.ticks.reverse?o.max:o.min),r=0;r0;--a)H.canvas.lineTo(e,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,c=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=r-1;a>0;--a)e.arc(o,s,c,n[a].angle,n[a-1].angle,!0)}}function Qn(e,t,n,i,r,a){var o,s,c,l,u,d,h,f,p=t.length,m=i.spanGaps,_=[],b=[],g=0,v=0;for(e.beginPath(),o=0,s=p;o=0;--n)(t=c[n].$filler)&&t.visible&&(a=(i=t.el)._children||[],s=(r=i._view).backgroundColor||j.global.defaultColor,(o=t.mapper)&&s&&a.length&&(H.canvas.clipArea(l,e.chartArea),Qn(l,a,o,r,s,i._loop),H.canvas.unclipArea(l)))}},ti=H.rtl.getRtlAdapter,ni=H.noop,ii=H.valueOrDefault;function ri(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}j._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},i=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var r=n.controller.getStyle(i?0:void 0);return{text:t[n.index].label,fillStyle:r.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),a=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,n=a.length;tc.width)&&(d+=o+n.padding,u[u.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:i,height:o},u[u.length-1]+=i+n.padding})),c.height+=d}else{var h=n.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,_=0,b=0;H.each(e.legendItems,(function(e,t){var i=ri(n,o)+o/2+r.measureText(e.text).width;t>0&&b+o+2*h>c.height&&(m+=_+n.padding,f.push(_),p.push(b),_=0,b=0),_=Math.max(_,i),b+=o+h,s[t]={left:0,top:0,width:i,height:o}})),m+=_,f.push(_),p.push(b),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:ni,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=j.global,r=i.defaultColor,a=i.elements.line,o=e.height,s=e.columnHeights,c=e.width,l=e.lineWidths;if(t.display){var u,d=ti(t.rtl,e.left,e.minSize.width),h=e.ctx,f=ii(n.fontColor,i.defaultFontColor),p=H.options._parseFont(n),m=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var _=ri(n,m),b=e.legendHitBoxes,g=function(e,i){switch(t.align){case"start":return n.padding;case"end":return e-i;default:return(e-i+n.padding)/2}},v=e.isHorizontal();u=v?{x:e.left+g(c,l[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+g(o,s[0]),line:0},H.rtl.overrideTextDirection(e.ctx,t.textDirection);var y=m+n.padding;H.each(e.legendItems,(function(t,i){var f=h.measureText(t.text).width,p=_+m/2+f,k=u.x,w=u.y;d.setWidth(e.minSize.width),v?i>0&&k+p+n.padding>e.left+e.minSize.width&&(w=u.y+=y,u.line++,k=u.x=e.left+g(c,l[u.line])):i>0&&w+y>e.top+e.minSize.height&&(k=u.x=k+e.columnWidths[u.line]+n.padding,u.line++,w=u.y=e.top+g(o,s[u.line]));var C=d.x(k);!function(e,t,i){if(!(isNaN(_)||_<=0)){h.save();var o=ii(i.lineWidth,a.borderWidth);if(h.fillStyle=ii(i.fillStyle,r),h.lineCap=ii(i.lineCap,a.borderCapStyle),h.lineDashOffset=ii(i.lineDashOffset,a.borderDashOffset),h.lineJoin=ii(i.lineJoin,a.borderJoinStyle),h.lineWidth=o,h.strokeStyle=ii(i.strokeStyle,r),h.setLineDash&&h.setLineDash(ii(i.lineDash,a.borderDash)),n&&n.usePointStyle){var s=_*Math.SQRT2/2,c=d.xPlus(e,_/2);H.canvas.drawPoint(h,i.pointStyle,s,c,t+m/2,i.rotation)}else h.fillRect(d.leftForLtr(e,_),t,_,m),0!==o&&h.strokeRect(d.leftForLtr(e,_),t,_,m);h.restore()}}(C,w,t),b[i].left=d.leftForLtr(C,b[i].width),b[i].top=w,function(e,t,n,i){var r=m/2,a=d.xPlus(e,_+r),o=t+r;h.fillText(n.text,a,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(a,o),h.lineTo(d.xPlus(a,i),o),h.stroke())}(C,w,t,f),v?u.x+=p+n.padding:u.y+=y})),H.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,i,r,a=this;if(e>=a.left&&e<=a.right&&t>=a.top&&t<=a.bottom)for(r=a.legendHitBoxes,n=0;n=(i=r[n]).left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height)return a.legendItems[n];return null},handleEvent:function(e){var t,n=this,i=n.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===r?t&&i.onClick&&i.onClick.call(n,e.native,t):(i.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),i.onHover&&t&&i.onHover.call(n,e.native,t))}});function oi(e,t){var n=new ai({ctx:e.ctx,options:t,chart:e});ct.configure(e,n,t),ct.addBox(e,n),e.legend=n}var si={id:"legend",_element:ai,beforeInit:function(e){var t=e.options.legend;t&&oi(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(H.mergeIf(t,j.global.legend),n?(ct.configure(e,n,t),n.options=t):oi(e,t)):n&&(ct.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},ci=H.noop;j._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var li=q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:ci,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:ci,beforeSetDimensions:ci,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:ci,beforeBuildLabels:ci,buildLabels:ci,afterBuildLabels:ci,beforeFit:ci,fit:function(){var e,t=this,n=t.options,i=t.minSize={},r=t.isHorizontal();n.display?(e=(H.isArray(n.text)?n.text.length:1)*H.options._parseFont(n).lineHeight+2*n.padding,t.width=i.width=r?t.maxWidth:e,t.height=i.height=r?e:t.maxHeight):t.width=i.width=t.height=i.height=0},afterFit:ci,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var i,r,a,o=H.options._parseFont(n),s=o.lineHeight,c=s/2+n.padding,l=0,u=e.top,d=e.left,h=e.bottom,f=e.right;t.fillStyle=H.valueOrDefault(n.fontColor,j.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(r=d+(f-d)/2,a=u+c,i=f-d):(r="left"===n.position?d+c:f-c,a=u+(h-u)/2,i=h-u,l=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(r,a),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var p=n.text;if(H.isArray(p))for(var m=0,_=0;_=0;i--){var r=e[i];if(t(r))return r}},H.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},H.almostEquals=function(e,t,n){return Math.abs(e-t)=e},H.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},H.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},H.toRadians=function(e){return e*(Math.PI/180)},H.toDegrees=function(e){return e*(180/Math.PI)},H._decimalPlaces=function(e){if(H.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},H.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},H.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},H.aliasPixel=function(e){return e%2==0?0:.5},H._alignPixel=function(e,t,n){var i=e.currentDevicePixelRatio,r=n/2;return Math.round((t-r)*i)/i+r},H.splineCurve=function(e,t,n,i){var r=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),c=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),l=s/(s+c),u=c/(s+c),d=i*(l=isNaN(l)?0:l),h=i*(u=isNaN(u)?0:u);return{previous:{x:a.x-d*(o.x-r.x),y:a.y-d*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(e){var t,n,i,r,a,o,s,c,l,u=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=u.length;for(t=0;t0?u[t-1]:null,(r=t0?u[t-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(l=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-l*i.mK),r&&!r.model.skip&&(i.model.controlPointNextX=i.model.x+(l=(r.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+l*i.mK))},H.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},H.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},H.niceNum=function(e,t){var n=Math.floor(H.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},H.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},H.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,a=e.target||e.srcElement,o=a.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var c=parseFloat(H.getStyle(a,"padding-left")),l=parseFloat(H.getStyle(a,"padding-top")),u=parseFloat(H.getStyle(a,"padding-right")),d=parseFloat(H.getStyle(a,"padding-bottom")),h=o.bottom-o.top-l-d;return{x:n=Math.round((n-o.left-c)/(o.right-o.left-c-u)*a.width/t.currentDevicePixelRatio),y:i=Math.round((i-o.top-l)/h*a.height/t.currentDevicePixelRatio)}},H.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},H.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},H._calculatePadding=function(e,t,n){return(t=H.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},H._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},H.getMaximumWidth=function(e){var t=H._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,i=n-H._calculatePadding(t,"padding-left",n)-H._calculatePadding(t,"padding-right",n),r=H.getConstraintWidth(e);return isNaN(r)?i:Math.min(i,r)},H.getMaximumHeight=function(e){var t=H._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,i=n-H._calculatePadding(t,"padding-top",n)-H._calculatePadding(t,"padding-bottom",n),r=H.getConstraintHeight(e);return isNaN(r)?i:Math.min(i,r)},H.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},H.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=e.canvas,r=e.height,a=e.width;i.height=r*n,i.width=a*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},H.fontString=function(e,t,n){return t+" "+e+"px "+n},H.longestText=function(e,t,n,i){var r=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},a=i.garbageCollect=[],i.font=t),e.font=t;var o,s,c,l,u,d=0,h=n.length;for(o=0;on.length){for(o=0;oi&&(i=a),i},H.numberOfLabelLines=function(e){var t=1;return H.each(e,(function(e){H.isArray(e)&&e.length>t&&(t=e.length)})),t},H.color=y?function(e){return e instanceof CanvasGradient&&(e=j.global.defaultColor),y(e)}:function(e){return console.error("Color.js not found!"),e},H.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:H.color(e).saturate(.5).darken(.1).rgbString()}}(),Wt._adapters=Bt,Wt.Animation=K,Wt.animationService=G,Wt.controllers=Ue,Wt.DatasetController=ee,Wt.defaults=j,Wt.Element=q,Wt.elements=be,Wt.Interaction=Xe,Wt.layouts=ct,Wt.platform=vt,Wt.plugins=yt,Wt.Scale=nn,Wt.scaleService=kt,Wt.Ticks=zt,Wt.Tooltip=Tt,Wt.helpers.each(Nn,(function(e,t){Wt.scaleService.registerScaleType(t,e,e._defaults)})),di)di.hasOwnProperty(mi)&&Wt.plugins.register(di[mi]);Wt.platform.initialize();var _i=Wt;return"undefined"!=typeof window&&(window.Chart=Wt),Wt.Chart=Wt,Wt.Legend=di.legend._element,Wt.Title=di.title._element,Wt.pluginService=Wt.plugins,Wt.PluginBase=Wt.Element.extend({}),Wt.canvasHelpers=Wt.helpers.canvas,Wt.layoutService=Wt.layouts,Wt.LinearScaleBase=sn,Wt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Wt[e]=function(t,n){return new Wt(t,Wt.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),_i}(function(){try{return n("wd/R")}catch(e){}}())},MlIO:function(e,t,n){var i,r,a,o,s;e.exports=(s=n("Ib8C"),r=(i=s.lib).Base,a=i.WordArray,(o=s.x64={}).Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),o.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],i=0;i=0&&(o=t,s=n),i.negative&&(i=i.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:a},{a:o,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],i=t[1],r=i.b.mul(e).divRound(this.n),a=n.b.neg().mul(e).divRound(this.n),o=r.mul(n.a),s=a.mul(i.a),c=r.mul(n.b),l=a.mul(i.b);return{k1:e.sub(o).sub(s),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(0!==i.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var a=i.fromRed().isOdd();return(t&&!a||!t&&a)&&(i=i.redNeg()),this.point(e,i)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,i=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(i).redIAdd(this.b);return 0===n.redSqr().redISub(r).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var i=this._endoWnafT1,r=this._endoWnafT2,a=0;a":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),i=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),i=e.redInvm(),r=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(i),a=r.redSqr().redISub(this.x.redAdd(this.x)),o=r.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new r(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var i=[this,t],r=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r):this.curve._wnafMulAdd(1,i,r,2)},l.prototype.jmulAdd=function(e,t,n){var i=[this,t],r=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r,!0):this.curve._wnafMulAdd(1,i,r,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,i=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(u,o.BasePoint),c.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),i=this.y.redMul(t).redMul(e);return this.curve.point(n,i)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(t),r=e.x.redMul(n),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(n.redMul(this.z)),s=i.redSub(r),c=a.redSub(o);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),u=l.redMul(s),d=i.redMul(l),h=c.redSqr().redIAdd(u).redISub(d).redISub(d),f=c.redMul(d.redISub(h)).redISub(a.redMul(u)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,f,p)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,i=e.x.redMul(t),r=this.y,a=e.y.redMul(t).redMul(this.z),o=n.redSub(i),s=r.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),l=c.redMul(o),u=n.redMul(c),d=s.redSqr().redIAdd(l).redISub(u).redISub(u),h=s.redMul(u.redISub(d)).redISub(r.redMul(l)),f=this.z.redMul(o);return this.curve.jpoint(d,h,f)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n=0)return!1;if(n.redIAdd(r),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},MzeL:function(e,t,n){"use strict";var i=t;i.version=n("KAEN").version,i.utils=n("86MQ"),i.rand=n("/ayr"),i.curve=n("QTa/"),i.curves=n("DLvh"),i.ec=n("uagp"),i.eddsa=n("lF1L")},N2jm:function(e,t,n){var i=n("P7XM"),r=n("tjlA").Buffer,a=n("f3pb"),o=a.base,s=a.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.Node.call(this,"der",e)}function u(e){return e<10?"0"+e:e}e.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},i(l,o.Node),l.prototype._encodeComposite=function(e,t,n,i){var a,o=function(e,t,n,i){var r;if("seqof"===e?e="seq":"setof"===e&&(e="set"),s.tagByName.hasOwnProperty(e))r=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return i.error("Unknown tag: "+e);r=e}return r>=31?i.error("Multi-octet tag encoding unsupported"):(t||(r|=32),r|s.tagClassByName[n||"universal"]<<6)}(e,t,n,this.reporter);if(i.length<128)return(a=new r(2))[0]=o,a[1]=i.length,this._createEncoderBuffer([a,i]);for(var c=1,l=i.length;l>=256;l>>=8)c++;(a=new r(2+c))[0]=o,a[1]=128|c,l=1+c;for(var u=i.length;u>0;l--,u>>=8)a[l]=255&u;return this._createEncoderBuffer([a,i])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new r(2*e.length),i=0;i=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var a=0;for(i=0;i=128;o>>=7)a++}var s=new r(a),c=s.length-1;for(i=e.length-1;i>=0;i--)for(s[c--]=127&(o=e[i]);(o>>=7)>0;)s[c--]=128|127&o;return this._createEncoderBuffer(s)},l.prototype._encodeTime=function(e,t){var n,i=new Date(e);return"gentime"===t?n=[u(i.getFullYear()),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(i.getFullYear()%100),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!r.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new r(n)}if(r.isBuffer(e)){var i=e.length;0===e.length&&i++;var a=new r(i);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);i=1;for(var o=e;o>=256;o>>=8)i++;for(o=(a=new Array(i)).length-1;o>=0;o--)a[o]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new r(a))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,n){var i,r=this._baseState;if(null===r.default)return!1;var a=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),a.length!==r.defaultBuffer.length)return!1;for(i=0;i>>2]}},a.BlockCipher=h.extend({cfg:h.cfg.extend({mode:m,padding:_}),reset:function(){h.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else i=n.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==i?this._mode.init(this,t&&t.words):(this._mode=i.call(n,this,t&&t.words),this._mode.__creator=i)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),b=a.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var i=s.create([1398893684,1701076831]).concat(n).concat(t);else i=t;return i.toString(u)},parse:function(e){var t=u.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var i=s.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:i})}},v=a.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var r=e.createEncryptor(n,i),a=r.finalize(t),o=r.cfg;return b.create({ciphertext:a,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,n,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(n,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(r.kdf={}).OpenSSL={execute:function(e,t,n,i){i||(i=s.random(8));var r=d.create({keySize:t+n}).compute(e,i),a=s.create(r.words.slice(t),4*n);return r.sigBytes=4*t,b.create({key:r,iv:a,salt:i})}},k=a.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,n,i){var r=(i=this.cfg.extend(i)).kdf.execute(n,e.keySize,e.ivSize);i.iv=r.iv;var a=v.encrypt.call(this,e,t,r.key,i);return a.mixIn(r),a},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var r=i.kdf.execute(n,e.keySize,e.ivSize,t.salt);return i.iv=r.iv,v.decrypt.call(this,e,t,r.key,i)}}))))},"OZ/i":function(e,t,n){(function(e){!function(e,t){"use strict";function i(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function a(e,t,n){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o=n(2).Buffer}catch(S){}function s(e,t,n){for(var i=0,r=Math.min(e.length,n),a=t;a=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return i}function c(e,t,n,i){for(var r=0,a=Math.min(e.length,n),o=t;o=49?s-49+10:s>=17?s-17+10:s}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&r++,16===t?this._parseHex(e,r):this._parseBase(e,t,r),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(i(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r=0;r-=3)this.words[a]|=(o=e[r]|e[r-1]<<8|e[r-2]<<16)<>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===n)for(r=0,a=0;r>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)r=s(e,n,n+6),this.words[i]|=r<>>26-a&4194303,(a+=24)>=26&&(a-=26,i++);n+6!==t&&(r=s(e,t,n+6),this.words[i]|=r<>>26-a&4194303),this.strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=t)i++;i--,r=r/t|0;for(var a=e.length-n,o=a%i,s=Math.min(a,a-o)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};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"],u=[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],d=[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];function h(e,t,n){n.negative=t.negative^e.negative;var i=e.length+t.length|0;n.length=i,i=i-1|0;var r=0|e.words[0],a=0|t.words[0],o=r*a,s=o/67108864|0;n.words[0]=67108863&o;for(var c=1;c>>26,u=67108863&s,d=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=d;h++)l+=(o=(r=0|e.words[c-h|0])*(a=0|t.words[h])+u)/67108864|0,u=67108863&o;n.words[c]=0|u,s=0|l}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}a.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var r=0,a=0,o=0;o>>24-r&16777215)||o!==this.length-1?l[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==a&&(n=a.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=u[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?m+n:l[h-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return i(void 0!==o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,n){var r=this.byteLength(),a=n||Math.max(1,r);i(r<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0"),this.strip();var o,s,c="le"===t,l=new e(a),u=this.clone();if(c){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),l[s]=o;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},a.prototype.bitLength=function(){var e=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var i=0;ie.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-n),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var n=e/26|0,r=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,i=e):(n=e,i=this);for(var r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,i,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=e):(n=e,i=this);for(var a=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==a&&o>26,this.words[o]=67108863&t;if(0===a&&o>>13,f=0|o[1],p=8191&f,m=f>>>13,_=0|o[2],b=8191&_,g=_>>>13,v=0|o[3],y=8191&v,k=v>>>13,w=0|o[4],C=8191&w,S=w>>>13,x=0|o[5],M=8191&x,L=x>>>13,O=0|o[6],D=8191&O,T=O>>>13,A=0|o[7],E=8191&A,P=A>>>13,R=0|o[8],I=8191&R,j=R>>>13,Y=0|o[9],V=8191&Y,W=Y>>>13,F=0|s[0],H=8191&F,B=F>>>13,z=0|s[1],N=8191&z,U=z>>>13,q=0|s[2],J=8191&q,K=q>>>13,G=0|s[3],$=8191&G,Z=G>>>13,X=0|s[4],Q=8191&X,ee=X>>>13,te=0|s[5],ne=8191&te,ie=te>>>13,re=0|s[6],ae=8191&re,oe=re>>>13,se=0|s[7],ce=8191&se,le=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;n.negative=e.negative^t.negative,n.length=19;var _e=(l+(i=Math.imul(d,H))|0)+((8191&(r=(r=Math.imul(d,B))+Math.imul(h,H)|0))<<13)|0;l=((a=Math.imul(h,B))+(r>>>13)|0)+(_e>>>26)|0,_e&=67108863,i=Math.imul(p,H),r=(r=Math.imul(p,B))+Math.imul(m,H)|0,a=Math.imul(m,B);var be=(l+(i=i+Math.imul(d,N)|0)|0)+((8191&(r=(r=r+Math.imul(d,U)|0)+Math.imul(h,N)|0))<<13)|0;l=((a=a+Math.imul(h,U)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,i=Math.imul(b,H),r=(r=Math.imul(b,B))+Math.imul(g,H)|0,a=Math.imul(g,B),i=i+Math.imul(p,N)|0,r=(r=r+Math.imul(p,U)|0)+Math.imul(m,N)|0,a=a+Math.imul(m,U)|0;var ge=(l+(i=i+Math.imul(d,J)|0)|0)+((8191&(r=(r=r+Math.imul(d,K)|0)+Math.imul(h,J)|0))<<13)|0;l=((a=a+Math.imul(h,K)|0)+(r>>>13)|0)+(ge>>>26)|0,ge&=67108863,i=Math.imul(y,H),r=(r=Math.imul(y,B))+Math.imul(k,H)|0,a=Math.imul(k,B),i=i+Math.imul(b,N)|0,r=(r=r+Math.imul(b,U)|0)+Math.imul(g,N)|0,a=a+Math.imul(g,U)|0,i=i+Math.imul(p,J)|0,r=(r=r+Math.imul(p,K)|0)+Math.imul(m,J)|0,a=a+Math.imul(m,K)|0;var ve=(l+(i=i+Math.imul(d,$)|0)|0)+((8191&(r=(r=r+Math.imul(d,Z)|0)+Math.imul(h,$)|0))<<13)|0;l=((a=a+Math.imul(h,Z)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,i=Math.imul(C,H),r=(r=Math.imul(C,B))+Math.imul(S,H)|0,a=Math.imul(S,B),i=i+Math.imul(y,N)|0,r=(r=r+Math.imul(y,U)|0)+Math.imul(k,N)|0,a=a+Math.imul(k,U)|0,i=i+Math.imul(b,J)|0,r=(r=r+Math.imul(b,K)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,K)|0,i=i+Math.imul(p,$)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,$)|0,a=a+Math.imul(m,Z)|0;var ye=(l+(i=i+Math.imul(d,Q)|0)|0)+((8191&(r=(r=r+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;l=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,i=Math.imul(M,H),r=(r=Math.imul(M,B))+Math.imul(L,H)|0,a=Math.imul(L,B),i=i+Math.imul(C,N)|0,r=(r=r+Math.imul(C,U)|0)+Math.imul(S,N)|0,a=a+Math.imul(S,U)|0,i=i+Math.imul(y,J)|0,r=(r=r+Math.imul(y,K)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,K)|0,i=i+Math.imul(b,$)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,Z)|0,i=i+Math.imul(p,Q)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0;var ke=(l+(i=i+Math.imul(d,ne)|0)|0)+((8191&(r=(r=r+Math.imul(d,ie)|0)+Math.imul(h,ne)|0))<<13)|0;l=((a=a+Math.imul(h,ie)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,i=Math.imul(D,H),r=(r=Math.imul(D,B))+Math.imul(T,H)|0,a=Math.imul(T,B),i=i+Math.imul(M,N)|0,r=(r=r+Math.imul(M,U)|0)+Math.imul(L,N)|0,a=a+Math.imul(L,U)|0,i=i+Math.imul(C,J)|0,r=(r=r+Math.imul(C,K)|0)+Math.imul(S,J)|0,a=a+Math.imul(S,K)|0,i=i+Math.imul(y,$)|0,r=(r=r+Math.imul(y,Z)|0)+Math.imul(k,$)|0,a=a+Math.imul(k,Z)|0,i=i+Math.imul(b,Q)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(g,Q)|0,a=a+Math.imul(g,ee)|0,i=i+Math.imul(p,ne)|0,r=(r=r+Math.imul(p,ie)|0)+Math.imul(m,ne)|0,a=a+Math.imul(m,ie)|0;var we=(l+(i=i+Math.imul(d,ae)|0)|0)+((8191&(r=(r=r+Math.imul(d,oe)|0)+Math.imul(h,ae)|0))<<13)|0;l=((a=a+Math.imul(h,oe)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,i=Math.imul(E,H),r=(r=Math.imul(E,B))+Math.imul(P,H)|0,a=Math.imul(P,B),i=i+Math.imul(D,N)|0,r=(r=r+Math.imul(D,U)|0)+Math.imul(T,N)|0,a=a+Math.imul(T,U)|0,i=i+Math.imul(M,J)|0,r=(r=r+Math.imul(M,K)|0)+Math.imul(L,J)|0,a=a+Math.imul(L,K)|0,i=i+Math.imul(C,$)|0,r=(r=r+Math.imul(C,Z)|0)+Math.imul(S,$)|0,a=a+Math.imul(S,Z)|0,i=i+Math.imul(y,Q)|0,r=(r=r+Math.imul(y,ee)|0)+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,i=i+Math.imul(b,ne)|0,r=(r=r+Math.imul(b,ie)|0)+Math.imul(g,ne)|0,a=a+Math.imul(g,ie)|0,i=i+Math.imul(p,ae)|0,r=(r=r+Math.imul(p,oe)|0)+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0;var Ce=(l+(i=i+Math.imul(d,ce)|0)|0)+((8191&(r=(r=r+Math.imul(d,le)|0)+Math.imul(h,ce)|0))<<13)|0;l=((a=a+Math.imul(h,le)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,i=Math.imul(I,H),r=(r=Math.imul(I,B))+Math.imul(j,H)|0,a=Math.imul(j,B),i=i+Math.imul(E,N)|0,r=(r=r+Math.imul(E,U)|0)+Math.imul(P,N)|0,a=a+Math.imul(P,U)|0,i=i+Math.imul(D,J)|0,r=(r=r+Math.imul(D,K)|0)+Math.imul(T,J)|0,a=a+Math.imul(T,K)|0,i=i+Math.imul(M,$)|0,r=(r=r+Math.imul(M,Z)|0)+Math.imul(L,$)|0,a=a+Math.imul(L,Z)|0,i=i+Math.imul(C,Q)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(S,Q)|0,a=a+Math.imul(S,ee)|0,i=i+Math.imul(y,ne)|0,r=(r=r+Math.imul(y,ie)|0)+Math.imul(k,ne)|0,a=a+Math.imul(k,ie)|0,i=i+Math.imul(b,ae)|0,r=(r=r+Math.imul(b,oe)|0)+Math.imul(g,ae)|0,a=a+Math.imul(g,oe)|0,i=i+Math.imul(p,ce)|0,r=(r=r+Math.imul(p,le)|0)+Math.imul(m,ce)|0,a=a+Math.imul(m,le)|0;var Se=(l+(i=i+Math.imul(d,de)|0)|0)+((8191&(r=(r=r+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;l=((a=a+Math.imul(h,he)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,i=Math.imul(V,H),r=(r=Math.imul(V,B))+Math.imul(W,H)|0,a=Math.imul(W,B),i=i+Math.imul(I,N)|0,r=(r=r+Math.imul(I,U)|0)+Math.imul(j,N)|0,a=a+Math.imul(j,U)|0,i=i+Math.imul(E,J)|0,r=(r=r+Math.imul(E,K)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,K)|0,i=i+Math.imul(D,$)|0,r=(r=r+Math.imul(D,Z)|0)+Math.imul(T,$)|0,a=a+Math.imul(T,Z)|0,i=i+Math.imul(M,Q)|0,r=(r=r+Math.imul(M,ee)|0)+Math.imul(L,Q)|0,a=a+Math.imul(L,ee)|0,i=i+Math.imul(C,ne)|0,r=(r=r+Math.imul(C,ie)|0)+Math.imul(S,ne)|0,a=a+Math.imul(S,ie)|0,i=i+Math.imul(y,ae)|0,r=(r=r+Math.imul(y,oe)|0)+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,i=i+Math.imul(b,ce)|0,r=(r=r+Math.imul(b,le)|0)+Math.imul(g,ce)|0,a=a+Math.imul(g,le)|0,i=i+Math.imul(p,de)|0,r=(r=r+Math.imul(p,he)|0)+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0;var xe=(l+(i=i+Math.imul(d,pe)|0)|0)+((8191&(r=(r=r+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;l=((a=a+Math.imul(h,me)|0)+(r>>>13)|0)+(xe>>>26)|0,xe&=67108863,i=Math.imul(V,N),r=(r=Math.imul(V,U))+Math.imul(W,N)|0,a=Math.imul(W,U),i=i+Math.imul(I,J)|0,r=(r=r+Math.imul(I,K)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,K)|0,i=i+Math.imul(E,$)|0,r=(r=r+Math.imul(E,Z)|0)+Math.imul(P,$)|0,a=a+Math.imul(P,Z)|0,i=i+Math.imul(D,Q)|0,r=(r=r+Math.imul(D,ee)|0)+Math.imul(T,Q)|0,a=a+Math.imul(T,ee)|0,i=i+Math.imul(M,ne)|0,r=(r=r+Math.imul(M,ie)|0)+Math.imul(L,ne)|0,a=a+Math.imul(L,ie)|0,i=i+Math.imul(C,ae)|0,r=(r=r+Math.imul(C,oe)|0)+Math.imul(S,ae)|0,a=a+Math.imul(S,oe)|0,i=i+Math.imul(y,ce)|0,r=(r=r+Math.imul(y,le)|0)+Math.imul(k,ce)|0,a=a+Math.imul(k,le)|0,i=i+Math.imul(b,de)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(g,de)|0,a=a+Math.imul(g,he)|0;var Me=(l+(i=i+Math.imul(p,pe)|0)|0)+((8191&(r=(r=r+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((a=a+Math.imul(m,me)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,i=Math.imul(V,J),r=(r=Math.imul(V,K))+Math.imul(W,J)|0,a=Math.imul(W,K),i=i+Math.imul(I,$)|0,r=(r=r+Math.imul(I,Z)|0)+Math.imul(j,$)|0,a=a+Math.imul(j,Z)|0,i=i+Math.imul(E,Q)|0,r=(r=r+Math.imul(E,ee)|0)+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,i=i+Math.imul(D,ne)|0,r=(r=r+Math.imul(D,ie)|0)+Math.imul(T,ne)|0,a=a+Math.imul(T,ie)|0,i=i+Math.imul(M,ae)|0,r=(r=r+Math.imul(M,oe)|0)+Math.imul(L,ae)|0,a=a+Math.imul(L,oe)|0,i=i+Math.imul(C,ce)|0,r=(r=r+Math.imul(C,le)|0)+Math.imul(S,ce)|0,a=a+Math.imul(S,le)|0,i=i+Math.imul(y,de)|0,r=(r=r+Math.imul(y,he)|0)+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0;var Le=(l+(i=i+Math.imul(b,pe)|0)|0)+((8191&(r=(r=r+Math.imul(b,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((a=a+Math.imul(g,me)|0)+(r>>>13)|0)+(Le>>>26)|0,Le&=67108863,i=Math.imul(V,$),r=(r=Math.imul(V,Z))+Math.imul(W,$)|0,a=Math.imul(W,Z),i=i+Math.imul(I,Q)|0,r=(r=r+Math.imul(I,ee)|0)+Math.imul(j,Q)|0,a=a+Math.imul(j,ee)|0,i=i+Math.imul(E,ne)|0,r=(r=r+Math.imul(E,ie)|0)+Math.imul(P,ne)|0,a=a+Math.imul(P,ie)|0,i=i+Math.imul(D,ae)|0,r=(r=r+Math.imul(D,oe)|0)+Math.imul(T,ae)|0,a=a+Math.imul(T,oe)|0,i=i+Math.imul(M,ce)|0,r=(r=r+Math.imul(M,le)|0)+Math.imul(L,ce)|0,a=a+Math.imul(L,le)|0,i=i+Math.imul(C,de)|0,r=(r=r+Math.imul(C,he)|0)+Math.imul(S,de)|0,a=a+Math.imul(S,he)|0;var Oe=(l+(i=i+Math.imul(y,pe)|0)|0)+((8191&(r=(r=r+Math.imul(y,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((a=a+Math.imul(k,me)|0)+(r>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,i=Math.imul(V,Q),r=(r=Math.imul(V,ee))+Math.imul(W,Q)|0,a=Math.imul(W,ee),i=i+Math.imul(I,ne)|0,r=(r=r+Math.imul(I,ie)|0)+Math.imul(j,ne)|0,a=a+Math.imul(j,ie)|0,i=i+Math.imul(E,ae)|0,r=(r=r+Math.imul(E,oe)|0)+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,i=i+Math.imul(D,ce)|0,r=(r=r+Math.imul(D,le)|0)+Math.imul(T,ce)|0,a=a+Math.imul(T,le)|0,i=i+Math.imul(M,de)|0,r=(r=r+Math.imul(M,he)|0)+Math.imul(L,de)|0,a=a+Math.imul(L,he)|0;var De=(l+(i=i+Math.imul(C,pe)|0)|0)+((8191&(r=(r=r+Math.imul(C,me)|0)+Math.imul(S,pe)|0))<<13)|0;l=((a=a+Math.imul(S,me)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,i=Math.imul(V,ne),r=(r=Math.imul(V,ie))+Math.imul(W,ne)|0,a=Math.imul(W,ie),i=i+Math.imul(I,ae)|0,r=(r=r+Math.imul(I,oe)|0)+Math.imul(j,ae)|0,a=a+Math.imul(j,oe)|0,i=i+Math.imul(E,ce)|0,r=(r=r+Math.imul(E,le)|0)+Math.imul(P,ce)|0,a=a+Math.imul(P,le)|0,i=i+Math.imul(D,de)|0,r=(r=r+Math.imul(D,he)|0)+Math.imul(T,de)|0,a=a+Math.imul(T,he)|0;var Te=(l+(i=i+Math.imul(M,pe)|0)|0)+((8191&(r=(r=r+Math.imul(M,me)|0)+Math.imul(L,pe)|0))<<13)|0;l=((a=a+Math.imul(L,me)|0)+(r>>>13)|0)+(Te>>>26)|0,Te&=67108863,i=Math.imul(V,ae),r=(r=Math.imul(V,oe))+Math.imul(W,ae)|0,a=Math.imul(W,oe),i=i+Math.imul(I,ce)|0,r=(r=r+Math.imul(I,le)|0)+Math.imul(j,ce)|0,a=a+Math.imul(j,le)|0,i=i+Math.imul(E,de)|0,r=(r=r+Math.imul(E,he)|0)+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0;var Ae=(l+(i=i+Math.imul(D,pe)|0)|0)+((8191&(r=(r=r+Math.imul(D,me)|0)+Math.imul(T,pe)|0))<<13)|0;l=((a=a+Math.imul(T,me)|0)+(r>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,i=Math.imul(V,ce),r=(r=Math.imul(V,le))+Math.imul(W,ce)|0,a=Math.imul(W,le),i=i+Math.imul(I,de)|0,r=(r=r+Math.imul(I,he)|0)+Math.imul(j,de)|0,a=a+Math.imul(j,he)|0;var Ee=(l+(i=i+Math.imul(E,pe)|0)|0)+((8191&(r=(r=r+Math.imul(E,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((a=a+Math.imul(P,me)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,i=Math.imul(V,de),r=(r=Math.imul(V,he))+Math.imul(W,de)|0,a=Math.imul(W,he);var Pe=(l+(i=i+Math.imul(I,pe)|0)|0)+((8191&(r=(r=r+Math.imul(I,me)|0)+Math.imul(j,pe)|0))<<13)|0;l=((a=a+Math.imul(j,me)|0)+(r>>>13)|0)+(Pe>>>26)|0,Pe&=67108863;var Re=(l+(i=Math.imul(V,pe))|0)+((8191&(r=(r=Math.imul(V,me))+Math.imul(W,pe)|0))<<13)|0;return l=((a=Math.imul(W,me))+(r>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=_e,c[1]=be,c[2]=ge,c[3]=ve,c[4]=ye,c[5]=ke,c[6]=we,c[7]=Ce,c[8]=Se,c[9]=xe,c[10]=Me,c[11]=Le,c[12]=Oe,c[13]=De,c[14]=Te,c[15]=Ae,c[16]=Ee,c[17]=Pe,c[18]=Re,0!==l&&(c[19]=l,n.length++),n};function p(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(f=h),a.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var i=0,r=0,a=0;a>>26)|0)>>>26,o&=67108863}n.words[a]=s,i=o,o=r}return 0!==i?n.words[a]=i:n.length--,n.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=a.prototype._countBits(e)-1,i=0;i>=1;return i},m.prototype.permute=function(e,t,n,i,r,a){for(var o=0;o>>=1)r++;return 1<>>=13),a>>>=13;for(o=2*t;o>=26,t+=r/67108864|0,t+=a>>>26,this.words[n]=67108863&a}return 0!==t&&(this.words[n]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new a(1);for(var n=this,i=0;i=0);var t,n=e%26,r=(e-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t>>26-n}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<o)for(this.length-=o,l=0;l=0&&(0!==u||l>=r);l--){var d=0|this.words[l];this.words[l]=u<<26-a|d>>>a,u=d&s}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,n){return i(0===this.negative),this.iushrn(e,t,n)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;return!(this.length<=n||!(this.words[n]&1<=0);var t=e%26,n=(e-t)/26;return i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n?this:(0!==t&&n++,this.length=Math.min(n,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(i("number"==typeof e),i(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(s/67108864|0),this.words[r+n]=67108863&a}for(;r>26,this.words[r+n]=67108863&a;if(0===o)return this.strip();for(i(-1===o),o=0,r=0;r>26,this.words[r]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var n,i=this.clone(),r=e,o=0|r.words[r.length-1];0!=(n=26-this._countBits(o))&&(r=r.ushln(n),i.iushln(n),o=0|r.words[r.length-1]);var s,c=i.length-r.length;if("mod"!==t){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l=0;d--){var h=67108864*(0|i.words[r.length+d])+(0|i.words[r.length+d-1]);for(h=Math.min(h/o|0,67108863),i._ishlnsubmul(r,h,d);0!==i.negative;)h--,i.negative=0,i._ishlnsubmul(r,1,d),i.isZero()||(i.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),i.strip(),"div"!==t&&0!==n&&i.iushrn(n),{div:s||null,mod:i}},a.prototype.divmod=function(e,t,n){return i(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(r=s.div.neg()),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(e)),{div:r,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(r=s.div.neg()),{div:r,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var r,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,i=e.ushrn(1),r=e.andln(1),a=n.cmp(i);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){i(e<=67108863);for(var t=(1<<26)%e,n=0,r=this.length-1;r>=0;r--)n=(t*n+(0|this.words[r]))%e;return n},a.prototype.idivn=function(e){i(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*t;this.words[n]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),o=new a(0),s=new a(0),c=new a(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(u),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(u),c.isub(d)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),r.isub(s),o.isub(c)):(n.isub(t),s.isub(r),c.isub(o))}return{a:s,b:c,gcd:n.iushln(l)}},a.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new a(1),s=new a(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var d=0,h=1;0==(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(n.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(s)):(n.isub(t),s.isub(o))}return(r=0===t.cmpn(1)?o:s).cmpn(0)<0&&r.iadd(e),r},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var i=0;t.isEven()&&n.isEven();i++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=t.cmp(n);if(r<0){var a=t;t=n,n=a}else if(0===r||0===n.cmpn(1))break;t.isub(n)}return n.iushln(i)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,n=(e-t)/26,r=1<>>26,this.words[o]=s&=67108863}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),i(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;n--){var i=0|this.words[n],r=0|e.words[n];if(i!==r){ir&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new w(e)},a.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function y(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function w(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){w.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var i=t0?n.isub(this.p):n.strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},r(g,b),g.prototype.split=function(e,t){for(var n=Math.min(e.length,9),i=0;i>>22,r=a}e.words[i-10]=r>>>=22,e.length-=0===r&&e.length>10?10:9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=r,t=i}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new v;else if("p192"===e)t=new y;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new k}return _[e]=t,t},w.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},w.prototype._verify2=function(e,t){i(0==(e.negative|t.negative),"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},w.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},w.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},w.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},w.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},w.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},w.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},w.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},w.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},w.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},w.prototype.isqr=function(e){return this.imul(e,e.clone())},w.prototype.sqr=function(e){return this.mul(e,e)},w.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);i(!r.isZero());var s=new a(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new a(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var d=this.pow(u,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=o;0!==f.cmp(s);){for(var m=f,_=0;0!==m.cmp(s);_++)m=m.redSqr();i(_=0;i--){for(var l=t.words[i],u=c-1;u>=0;u--){var d=l>>u&1;r!==n[0]&&(r=this.sqr(r)),0!==d||0!==o?(o<<=1,o|=d,(4==++s||0===i&&0===u)&&(r=this.mul(r,n[o]),s=0,o=0)):s=0}c=26}return r},w.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},w.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},r(C,w),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var n=e.mul(t),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n("2pl3")(e))},Oaa7:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OfWw:function(e,t,n){var i=n("hwdV").Buffer;function r(e){i.isBuffer(e)||(e=i.from(e));for(var t=e.length/4|0,n=new Array(t),r=0;r>>24]^u[p>>>16&255]^d[m>>>8&255]^h[255&_]^t[b++],o=l[p>>>24]^u[m>>>16&255]^d[_>>>8&255]^h[255&f]^t[b++],s=l[m>>>24]^u[_>>>16&255]^d[f>>>8&255]^h[255&p]^t[b++],c=l[_>>>24]^u[f>>>16&255]^d[p>>>8&255]^h[255&m]^t[b++],f=a,p=o,m=s,_=c;return a=(i[f>>>24]<<24|i[p>>>16&255]<<16|i[m>>>8&255]<<8|i[255&_])^t[b++],o=(i[p>>>24]<<24|i[m>>>16&255]<<16|i[_>>>8&255]<<8|i[255&f])^t[b++],s=(i[m>>>24]<<24|i[_>>>16&255]<<16|i[f>>>8&255]<<8|i[255&p])^t[b++],c=(i[_>>>24]<<24|i[f>>>16&255]<<16|i[p>>>8&255]<<8|i[255&m])^t[b++],[a>>>=0,o>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],i=[],r=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,c=0;c<256;++c){var l=s^s<<1^s<<2^s<<3^s<<4;n[o]=l=l>>>8^255&l^99,i[l]=o;var u=e[o],d=e[u],h=e[d],f=257*e[l]^16843008*l;r[0][o]=f<<24|f>>>8,r[1][o]=f<<16|f>>>16,r[2][o]=f<<8|f>>>24,r[3][o]=f,a[0][l]=(f=16843009*h^65537*d^257*u^16843008*o)<<24|f>>>8,a[1][l]=f<<16|f>>>16,a[2][l]=f<<8|f>>>24,a[3][l]=f,0===o?o=s=1:(o=u^e[e[e[h^u]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:i,SUB_MIX:r,INV_SUB_MIX:a}}();function l(e){this._key=r(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,i=4*(n+1),r=[],a=0;a>>24)>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o],o^=s[a/t|0]<<24):t>6&&a%t==4&&(o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o]),r[a]=r[a-t]^o}for(var l=[],u=0;u>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return o(e=r(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=i.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var n=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),a=i.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a},l.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=l},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},Onz0:function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n("tjlA").Buffer)},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},P2KE:function(e,t,n){var i=n("hwdV").Buffer,r=i.alloc(16,0);function a(e){var t=i.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t0;t--)i[t]=i[t]>>>1|(1&i[t-1])<<31;i[0]=i[0]>>>1,n&&(i[0]=i[0]^225<<24)}this.state=a(r)},o.prototype.update=function(e){var t;for(this.cache=i.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(i.concat([this.cache,r],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=o},P7XM:function(e,t){e.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},PA2r:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function a(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(a(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(a(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(a(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_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\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PVpz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],a=[],o=e.algo.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)s.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var a=t.words,o=a[0],c=a[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),d=l>>>16|4294901760&u,h=u<<16|65535&l;for(i[0]^=l,i[1]^=d,i[2]^=u,i[3]^=h,i[4]^=l,i[5]^=d,i[6]^=u,i[7]^=h,r=0;r<4;r++)s.call(this)}},_doProcessBlock:function(e,t){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],o=65535&i,s=i>>>16;a[n]=((o*o>>>17)+o*s>>>15)+s*s^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(o)}(),i.RabbitLegacy)},"Pa+m":function(e,t,n){"use strict";var i=n("86MQ"),r=n("OZ/i"),a=n("P7XM"),o=n("6lN/"),s=i.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new r(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,n,i,a){o.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===i?(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 r(t,16),this.y=new r(n,16),this.z=i?new r(i,16):this.curve.one,this.t=a&&new r(a,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()))))}a(c,o),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,i){return this.point(e,t,n,i)},c.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),i=this.c2.redSub(this.a.redMul(n)),a=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=i.redMul(a.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(t&&!c||!t&&c)&&(s=s.redNeg()),this.point(e,s)},c.prototype.pointFromY=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),i=n.redSub(this.c2),a=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=i.redMul(a.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),i=t.redMul(this.a).redAdd(n),r=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===i.cmp(r)},a(l,o.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,n,i){return new l(this,e,t,n,i)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=i.redAdd(t),o=a.redSub(n),s=i.redSub(t),c=r.redMul(o),l=a.redMul(s),u=r.redMul(s),d=o.redMul(a);return this.curve.point(c,l,d,u)},l.prototype._projDbl=function(){var e,t,n,i=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var o=(l=this.curve._mulA(r)).redAdd(a);if(this.zOne)e=i.redSub(r).redSub(a).redMul(o.redSub(this.curve.two)),t=o.redMul(l.redSub(a)),n=o.redSqr().redSub(o).redSub(o);else{var s=this.z.redSqr(),c=o.redSub(s).redISub(s);e=i.redSub(r).redISub(a).redMul(c),t=o.redMul(l.redSub(a)),n=o.redMul(c)}}else{var l=r.redAdd(a);s=this.curve._mulC(this.z).redSqr(),c=l.redSub(s).redSub(s),e=this.curve._mulC(i.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(r.redISub(a)),n=l.redMul(c)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),i=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),a=n.redSub(t),o=r.redSub(i),s=r.redAdd(i),c=n.redAdd(t),l=a.redMul(o),u=s.redMul(c),d=a.redMul(c),h=o.redMul(s);return this.curve.point(l,u,h,d)},l.prototype._projAdd=function(e){var t,n,i=this.z.redMul(e.z),r=i.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),c=r.redSub(s),l=r.redAdd(s),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),d=i.redMul(c).redMul(u);return this.curve.twisted?(t=i.redMul(l).redMul(o.redSub(this.curve._mulA(a))),n=c.redMul(l)):(t=i.redMul(l).redMul(o.redSub(a)),n=this.curve._mulC(c).redMul(l)),this.curve.point(d,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(i),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".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:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t?e:"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},QAZZ:function(e,t,n){var i=n("Rb7d");function r(e,t){var n=e.a/255,i=t+'="'+e.hex+'"';return n<1?i+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function a(e,t,n){var i=e+t;return void 0!==n&&(i+=" "+n),i}t.render=function(e,t,n){var o=i.getOptions(t),s=e.modules.size,c=e.modules.data,l=s+2*o.margin,u=o.color.light.a?"':"",d="0&&l>0&&e[c-1]||(i+=o?a("M",l+n,.5+u+n):a("m",r,0),r=0,o=!1),l+1',h=''+u+d+"\n";return"function"==typeof n&&n(null,h),h}},QJsb:function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},QRH4:function(e,t,n){"use strict";var i=n("f3pb");t.certificate=n("VrUr");var r=i.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())}));t.RSAPrivateKey=r;var a=i.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=a;var o=i.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=o;var s=i.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())})),c=i.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var l=i.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())}));t.EncryptedPrivateKey=l;var u=i.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())}));t.DSAPrivateKey=u,t.DSAparam=i.define("DSAparam",(function(){this.int()}));var d=i.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=d;var h=i.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=i.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"QTa/":function(e,t,n){"use strict";var i=t;i.base=n("6lN/"),i.short=n("MwBp"),i.mont=n("Z2+3"),i.edwards=n("Pa+m")},QUaw:function(e,t,n){var i=n("Rb7d");t.render=function(e,t,n){var r=n,a=t;void 0!==r||t&&t.getContext||(r=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),r=i.getOptions(r);var o=i.getImageWidth(e.modules.size,r),s=a.getContext("2d"),c=s.createImageData(o,o);return i.qrToImageData(c.data,e,r),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(s,a,o),s.putImageData(c,0,0),a},t.renderToDataURL=function(e,n,i){var r=i;return void 0!==r||n&&n.getContext||(r=n,n=void 0),r||(r={}),t.render(e,n,r).toDataURL(r.type||"image/png",(r.rendererOpts||{}).quality)}},"Qd/k":function(e,t,n){var i=t;i.Reporter=n("0cit").Reporter,i.DecoderBuffer=n("YoN+").DecoderBuffer,i.EncoderBuffer=n("YoN+").EncoderBuffer,i.Node=n("g2Dh")},QihY:function(e,t,n){var i=n("gvAe"),r=n("hwdV").Buffer,a=n("usKN"),o=n("CfXC"),s=n("ZDAU"),c=n("OfWw"),l=n("roQf");function u(e,t,n){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(t),this._prev=r.from(n),this._mode=e,this._autopadding=!0}function d(){this.cache=r.allocUnsafe(0)}function h(e,t,n){var s=a[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=r.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=r.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new o(s.module,t,n,!0):"auth"===s.type?new i(s.module,t,n,!0):new u(s.module,t,n)}n("P7XM")(u,s),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var i=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),i.push(n);return r.concat(i)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var n=-1;++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=a[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=l(t,!1,n.key,n.iv);return h(e,i.key,i.iv)},t.createDecipheriv=h},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},QpuX:function(e,t,n){e.exports=n("+qE3").EventEmitter},R0Ic:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return u})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return o})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return v}));var i=function e(){_classCallCheck(this,e)},r=function e(){_classCallCheck(this,e)},a="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function d(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function _(e){Promise.resolve(null).then(e)}var b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;_((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),g=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,a=0,o=this.players.length;0==o?_((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++i==o&&n._onFinish()})),e.onDestroy((function(){++r==o&&n._onDestroy()})),e.onStart((function(){++a==o&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),v="!"},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_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\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_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\xebschter 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(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RKMU:function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ"),a=r.assert,o=r.cachedProperty,s=r.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),o(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),o(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),o(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},Rb7d:function(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=e.width&&e.width>=21?e.width:void 0;return{width:t,scale:t?4:e.scale||4,margin:null==e.margin||e.margin<0?4:e.margin,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){var i=t.getScale(e,n);return Math.floor((e+2*n.margin)*i)},t.qrToImageData=function(e,n,i){for(var r=n.modules.size,a=n.modules.data,o=t.getScale(r,i),s=Math.floor((r+2*i.margin)*o),c=i.margin*o,l=[i.color.light,i.color.dark],u=0;u=c&&d>=c&&u=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(e,t,n){"use strict";var i=n("ngJS"),r=n("NJ4a"),a=n("Lhse"),o=n("kJWO"),s=n("I55L"),c=n("c2HN"),l=n("XoHu");n.d(t,"a",(function(){return u}));var u=function(e){if(e&&"function"==typeof e[o.a])return u=e,function(e){var t=u[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(i.a)(e);if(Object(c.a)(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,r.a),e};if(e&&"function"==typeof e[a.a])return t=e,function(e){for(var n=t[a.a]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,u,d=Object(l.a)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(d," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.")}},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",(function(){return i}))},StGT:function(e,t,n){var i=n("tjlA"),r=i.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(r.prototype),a(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},T9HO:function(e,t,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[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],s=new Array(160);function c(){this.init(),this._w=s,r.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function _(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return e>>>0>>0?1:0}i(c,r),c.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},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,i=0|this._bh,r=0|this._ch,a=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,v=0|this._hh,y=0|this._al,k=0|this._bl,w=0|this._cl,C=0|this._dl,S=0|this._el,x=0|this._fl,M=0|this._gl,L=0|this._hl,O=0;O<32;O+=2)t[O]=e.readInt32BE(4*O),t[O+1]=e.readInt32BE(4*O+4);for(;O<160;O+=2){var D=t[O-30],T=t[O-30+1],A=f(D,T),E=p(T,D),P=m(D=t[O-4],T=t[O-4+1]),R=_(T,D),I=t[O-32],j=t[O-32+1],Y=E+t[O-14+1]|0,V=A+t[O-14]+b(Y,E)|0;V=(V=V+P+b(Y=Y+R|0,R)|0)+I+b(Y=Y+j|0,j)|0,t[O]=V,t[O+1]=Y}for(var W=0;W<160;W+=2){V=t[W],Y=t[W+1];var F=u(n,i,r),H=u(y,k,w),B=d(n,y),z=d(y,n),N=h(s,S),U=h(S,s),q=o[W],J=o[W+1],K=l(s,c,g),G=l(S,x,M),$=L+U|0,Z=v+N+b($,L)|0;Z=(Z=(Z=Z+K+b($=$+G|0,G)|0)+q+b($=$+J|0,J)|0)+V+b($=$+Y|0,Y)|0;var X=z+H|0,Q=B+F+b(X,z)|0;v=g,L=M,g=c,M=x,c=s,x=S,s=a+Z+b(S=C+$|0,C)|0,a=r,C=w,r=i,w=k,i=n,k=y,n=Z+Q+b(y=$+X|0,$)|0}this._al=this._al+y|0,this._bl=this._bl+k|0,this._cl=this._cl+w|0,this._dl=this._dl+C|0,this._el=this._el+S|0,this._fl=this._fl+x|0,this._gl=this._gl+M|0,this._hl=this._hl+L|0,this._ah=this._ah+n+b(this._al,y)|0,this._bh=this._bh+i+b(this._bl,k)|0,this._ch=this._ch+r+b(this._cl,w)|0,this._dh=this._dh+a+b(this._dl,C)|0,this._eh=this._eh+s+b(this._el,S)|0,this._fh=this._fh+c+b(this._fl,x)|0,this._gh=this._gh+g+b(this._gl,M)|0,this._hh=this._hh+v+b(this._hl,L)|0},c.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,n,i){e.writeInt32BE(t,i),e.writeInt32BE(n,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},TdD3:function(e,t,n){var i=/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,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,o=n("roQf"),s=n("/ab2"),c=n("hwdV").Buffer;e.exports=function(e,t){var n,l=e.toString(),u=l.match(i);if(u){var d="aes"+u[1],h=c.from(u[2],"hex"),f=c.from(u[3].replace(/[\r\n]/g,""),"base64"),p=o(t,h.slice(0,8),parseInt(u[1],10)).key,m=[],_=s.createDecipheriv(d,p,h);m.push(_.update(f)),m.push(_.final()),n=c.concat(m)}else{var b=l.match(a);n=new c(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(r)[1],data:n}}},Titl:function(e,t,n){"use strict";var i=n("2j6C"),r=n("P7XM"),a=n("Xudb"),o=n("AYSA");function s(){this.tmp=new Array(2),this.keys=null}function c(e){o.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}r(c,o),e.exports=c,c.create=function(e){return new c(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),i.equal(t.length,this.blockSize,"Invalid key length");var n=a.readUInt32BE(t,0),r=a.readUInt32BE(t,4);a.pc1(n,r,e.tmp,0),n=e.tmp[0],r=e.tmp[1];for(var o=0;o>>1];n=a.r28shl(n,s),r=a.r28shl(r,s),a.pc2(n,r,e.keys,o)}},c.prototype._update=function(e,t,n,i){var r=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,r.tmp,0),o=r.tmp[0],s=r.tmp[1],"encrypt"===this.type?this._encrypt(r,o,s,r.tmp,0):this._decrypt(r,o,s,r.tmp,0),s=r.tmp[1],a.writeUInt32BE(n,o=r.tmp[0],i),a.writeUInt32BE(n,s,i+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,i=t;i>>0,o=h}a.rip(s,o,i,r)},c.prototype._decrypt=function(e,t,n,i,r){for(var o=n,s=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],u=e.keys[c+1];a.expand(o,e.tmp,0);var d=a.substitute(l^=e.tmp[0],u^=e.tmp[1]),h=o;o=(s^a.permute(d))>>>0,s=h}a.rip(o,s,i,r)}},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},URgk:function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(r.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new a(r.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("aWmh"))},USCx:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UWVS:function(e,t,n){(function(e){var i=n("jIre");function r(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,n){for(;t._cache.length>o%8,e._prev=a(e._prev,n?i:r);return s}function a(e,t){var n=e.length,r=-1,a=i.allocUnsafe(e.length);for(e=i.concat([e,i.from([t])]);++r>7;return a}t.encrypt=function(e,t,n){for(var a=t.length,o=i.allocUnsafe(a),s=-1;++s=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},V35J:function(e,t,n){var i=n("Wogr");function r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new i(e*e),this.data.fill(0),this.reservedBit=new i(e*e),this.reservedBit.fill(0)}r.prototype.set=function(e,t,n,i){var r=e*this.size+t;this.data[r]=n,i&&(this.reservedBit[r]=!0)},r.prototype.get=function(e,t){return this.data[e*this.size+t]},r.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=r},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(){for(var e=arguments.length,t=new Array(e),n=0;n1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof l&&(s=t.pop()),null===c&&1===t.length&&t[0]instanceof i.a?t[0]:Object(a.a)(s)(Object(o.a)(t,c))}},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},Vh22:function(e,t,n){(function(t){var i=n("OZ/i"),r=new(n("ehAg")),a=new i(24),o=new i(11),s=new i(10),c=new i(3),l=new i(7),u=n("WKKt"),d=n("Edxu");function h(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._pub=new i(e),this}function f(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._priv=new i(e),this}e.exports=m;var p={};function m(e,t,n){this.setGenerator(t),this.__prime=new i(e),this._prime=i.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=h,this.setPrivateKey=f):this._primeCode=8}function _(e,n){var i=new t(e.toArray());return n?i.toString(n):i}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),i=[n,e.toString(16)].join("_");if(i in p)return p[i];var d,h=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!r.test(e))return h+=1,p[i]=h+="02"===n||"05"===n?8:4,h;switch(r.test(e.shrn(1))||(h+=2),n){case"02":e.mod(a).cmp(o)&&(h+=8);break;case"05":(d=e.mod(s)).cmp(c)&&d.cmp(l)&&(h+=8);break;default:h+=4}return p[i]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new i(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var n=(e=(e=new i(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new t(n.toArray()),a=this.getPrime();if(r.lengthe;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;n.mod(u).cmp(d);)n.iadd(f)}else for(;n.mod(a).cmp(h);)n.iadd(f);if(_(p=n.shrn(1))&&_(n)&&b(p)&&b(n)&&o.test(p)&&o.test(n))return n}}},WRkp:function(e,t,n){"use strict";t.sha1=n("E+IA"),t.sha224=n("B/J0"),t.sha256=n("bu2F"),t.sha384=n("i5UE"),t.sha512=n("tSWc")},WYAk:function(e,t,n){var i,r;e.exports=(i=n("Ib8C"),r=i.enc.Utf8,void(i.algo.HMAC=i.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),s=a.words,c=o.words,l=0;l=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function s(e,t){var n;return a.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(t)).__proto__=a.prototype:(null===(n=e)&&(n=new a(t)),n.length=t),n}function c(e,t){var n=s(e,t<0?0:0|o(t));if(!a.TYPED_ARRAY_SUPPORT)for(var i=0;i55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function d(e){return a.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:u(e).length)}a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),a.prototype.write=function(e,t,n){void 0===t?(n=this.length,t=0):void 0===n&&"string"==typeof t?(n=this.length,t=0):isFinite(t)&&(t|=0,isFinite(n)?n|=0:n=void 0);var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,n,i){return function(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}(u(t,e.length-n),e,n,i)}(this,e,t,n)},a.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".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:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u}));var i=n("HDdC"),r=n("7o/Q"),a=n("quSY"),o=n("9ppp"),s=n("Ylt2"),c=n("2QA8"),l=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).destination=e,n}return _inherits(t,e),t}(r.a),u=function(){var e=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _inherits(t,e),_createClass(t,[{key:c.a,value:function(){return new l(this)}},{key:"lift",value:function(e){var t=new d(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new o.a;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;r0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var t=i.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t},e}()},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return i}))},Xudb:function(e,t,n){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,i){for(var r=0,a=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)r<<=1,r|=t>>>s+o&1;for(s=0;s<=24;s+=8)r<<=1,r|=e>>>s+o&1}for(o=6;o>=0;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}n[i+0]=r>>>0,n[i+1]=a>>>0},t.rip=function(e,t,n,i){for(var r=0,a=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)r<<=1,r|=t>>>s+o&1,r<<=1,r|=e>>>s+o&1;for(o=4;o<8;o++)for(s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;n[i+0]=r>>>0,n[i+1]=a>>>0},t.pc1=function(e,t,n,i){for(var r=0,a=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)r<<=1,r|=t>>s+o&1;for(s=0;s<=24;s+=8)r<<=1,r|=e>>s+o&1}for(s=0;s<=24;s+=8)r<<=1,r|=t>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;n[i+0]=r>>>0,n[i+1]=a>>>0},t.r28shl=function(e,t){return e<>>28-t};var i=[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];t.pc2=function(e,t,n,r){for(var a=0,o=0,s=i.length>>>1,c=0;c>>i[c]&1;for(c=s;c>>i[c]&1;n[r+0]=a>>>0,n[r+1]=o>>>0},t.expand=function(e,t,n){var i=0,r=0;i=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)i<<=6,i|=e>>>a&63;for(a=11;a>=3;a-=4)r|=e>>>a&63,r<<=6;r|=(31&e)<<1|e>>>31,t[n+0]=i>>>0,t[n+1]=r>>>0};var r=[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];t.substitute=function(e,t){for(var n=0,i=0;i<4;i++)n<<=4,n|=r[64*i+(e>>>18-6*i&63)];for(i=0;i<4;i++)n<<=4,n|=r[256+64*i+(t>>>18-6*i&63)];return n>>>0};var a=[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];t.permute=function(e){for(var t=0,n=0;n>>a[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var i=e.toString(2);i.length=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).subject=e,i.subscriber=n,i.closed=!1,i}return _inherits(t,e),_createClass(t,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),t}(n("quSY").a)},"YoN+":function(e,t,n){var i=n("P7XM"),r=n("Qd/k").Reporter,a=n("tjlA").Buffer;function o(e,t){r.call(this,t),a.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}i(o,r),t.DecoderBuffer=o,o.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},o.prototype.restore=function(e){var t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new o(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},YskG:function(e,t,n){var i=n("hwdV").Buffer;function r(e,t,n){var r=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=i.concat([e._prev.slice(1),i.from([n?t:r])]),r}t.encrypt=function(e,t,n){for(var a=t.length,o=i.allocUnsafe(a),s=-1;++s":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),i=e.redMul(t),r=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(i,r)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),r=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(n),o=r.redMul(i),s=t.z.redMul(a.redAdd(o).redSqr()),c=t.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,i=this.curve.point(null,null),r=[];0!==t.cmpn(0);t.iushrn(1))r.push(t.andln(1));for(var a=r.length-1;a>=0;a--)0===r[a]?(n=n.diffAdd(i,this),i=i.dbl()):(i=n.diffAdd(i,this),n=n.dbl());return i},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Z92M:function(e,t){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZDAU:function(e,t,n){var i=n("hwdV").Buffer,r=n("1IWx").Transform,a=n("fXKp").StringDecoder;function o(e){r.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("P7XM")(o,r),o.prototype.update=function(e,t,n){"string"==typeof e&&(e=i.from(e,t));var r=this._update(e);return this.hashMode?this:(n&&(r=this._toString(r,n)),r)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,n){var i;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(r){i=r}finally{n(i)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(n){t=n}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||i.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var i=this._decoder.write(e);return n&&(i+=this._decoder.end()),i},e.exports=o},ZEK9:function(e,t,n){t.publicEncrypt=n("rSVQ"),t.privateDecrypt=n("DyzK"),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("51Dv"),r=n("SeVD"),a=n("HDdC");function o(e,t,n,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new i.a(e,n,o);if(!s.closed)return t instanceof a.a?t.subscribe(s):Object(r.a)(t)(s)}},ZYru:function(e,t,n){var i=n("tjlA"),r=i.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(r.prototype),a(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},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\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".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:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aWmh:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"==typeof window&&(n=window)}e.exports=n},aZ40:function(e,t,n){var i,r,a=n("Wogr");a.alloc?(i=a.alloc(512),r=a.alloc(256)):(i=new a(512),r=new a(256)),function(){for(var e=1,t=0;t<255;t++)i[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)i[t]=i[t-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},t.exp=function(e){return i[e]},t.mul=function(e,t){return 0===e||0===t?0:i[r[e]+r[t]]}},afKu:function(e,t,n){(t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n}).sha=n("CH9F"),t.sha1=n("fnjI"),t.sha224=n("cqoG"),t.sha256=n("olUY"),t.sha384=n("uDfV"),t.sha512=n("T9HO")},"aqI/":function(e,t,n){"use strict";var i=n("fZJM"),r=n("dlgc"),a=n("2j6C");function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=r.toArray(e.entropy,e.entropyEnc||"hex"),n=r.toArray(e.nonce,e.nonceEnc||"hex"),i=r.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,i)}e.exports=o,o.prototype._init=function(e,t,n){var i=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},o.prototype.generate=function(e,t,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(i=n,n=t,t=null),n&&(n=r.toArray(n,i||"hex"),this._update(n));for(var a=[];a.length0&&n.ishrn(i),n}function d(e,n,r){var a,o;do{for(a=new t(0);8*a.length0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(i.a)(r.a,e)}},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5r 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",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bQjk:function(e,t,n){var i,r,a;e.exports=(a=n("Ib8C"),n("OLod"),i=a.lib.CipherParams,r=a.enc.Hex,a.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var t=r.parse(e);return i.create({ciphertext:t})}},a.format.Hex)},bXm7:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".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:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bu2F:function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("qlaj"),o=n("2j6C"),s=i.sum32,c=i.sum32_4,l=i.sum32_5,u=a.ch32,d=a.maj32,h=a.s0_256,f=a.s1_256,p=a.g0_256,m=a.g1_256,_=r.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;_.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}i.inherits(g,_),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var n=this.W,i=0;i<16;i++)n[i]=e[t+i];for(;i=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cqoG:function(e,t,n){var i=n("P7XM"),r=n("olUY"),a=n("tnIz"),o=n("hwdV").Buffer,s=new Array(64);function c(){this.init(),this._w=s,a.call(this,64,56)}i(c,r),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},cv67:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=o.MD5=a.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var a=this._hash.words,o=e[t+0],c=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],_=e[t+5],b=e[t+6],g=e[t+7],v=e[t+8],y=e[t+9],k=e[t+10],w=e[t+11],C=e[t+12],S=e[t+13],x=e[t+14],M=e[t+15],L=a[0],O=a[1],D=a[2],T=a[3];L=l(L,O,D,T,o,7,s[0]),T=l(T,L,O,D,c,12,s[1]),D=l(D,T,L,O,f,17,s[2]),O=l(O,D,T,L,p,22,s[3]),L=l(L,O,D,T,m,7,s[4]),T=l(T,L,O,D,_,12,s[5]),D=l(D,T,L,O,b,17,s[6]),O=l(O,D,T,L,g,22,s[7]),L=l(L,O,D,T,v,7,s[8]),T=l(T,L,O,D,y,12,s[9]),D=l(D,T,L,O,k,17,s[10]),O=l(O,D,T,L,w,22,s[11]),L=l(L,O,D,T,C,7,s[12]),T=l(T,L,O,D,S,12,s[13]),D=l(D,T,L,O,x,17,s[14]),L=u(L,O=l(O,D,T,L,M,22,s[15]),D,T,c,5,s[16]),T=u(T,L,O,D,b,9,s[17]),D=u(D,T,L,O,w,14,s[18]),O=u(O,D,T,L,o,20,s[19]),L=u(L,O,D,T,_,5,s[20]),T=u(T,L,O,D,k,9,s[21]),D=u(D,T,L,O,M,14,s[22]),O=u(O,D,T,L,m,20,s[23]),L=u(L,O,D,T,y,5,s[24]),T=u(T,L,O,D,x,9,s[25]),D=u(D,T,L,O,p,14,s[26]),O=u(O,D,T,L,v,20,s[27]),L=u(L,O,D,T,S,5,s[28]),T=u(T,L,O,D,f,9,s[29]),D=u(D,T,L,O,g,14,s[30]),L=d(L,O=u(O,D,T,L,C,20,s[31]),D,T,_,4,s[32]),T=d(T,L,O,D,v,11,s[33]),D=d(D,T,L,O,w,16,s[34]),O=d(O,D,T,L,x,23,s[35]),L=d(L,O,D,T,c,4,s[36]),T=d(T,L,O,D,m,11,s[37]),D=d(D,T,L,O,g,16,s[38]),O=d(O,D,T,L,k,23,s[39]),L=d(L,O,D,T,S,4,s[40]),T=d(T,L,O,D,o,11,s[41]),D=d(D,T,L,O,p,16,s[42]),O=d(O,D,T,L,b,23,s[43]),L=d(L,O,D,T,y,4,s[44]),T=d(T,L,O,D,C,11,s[45]),D=d(D,T,L,O,M,16,s[46]),L=h(L,O=d(O,D,T,L,f,23,s[47]),D,T,o,6,s[48]),T=h(T,L,O,D,g,10,s[49]),D=h(D,T,L,O,x,15,s[50]),O=h(O,D,T,L,_,21,s[51]),L=h(L,O,D,T,C,6,s[52]),T=h(T,L,O,D,p,10,s[53]),D=h(D,T,L,O,k,15,s[54]),O=h(O,D,T,L,c,21,s[55]),L=h(L,O,D,T,v,6,s[56]),T=h(T,L,O,D,M,10,s[57]),D=h(D,T,L,O,b,15,s[58]),O=h(O,D,T,L,S,21,s[59]),L=h(L,O,D,T,m,6,s[60]),T=h(T,L,O,D,w,10,s[61]),D=h(D,T,L,O,f,15,s[62]),O=h(O,D,T,L,y,21,s[63]),a[0]=a[0]+L|0,a[1]=a[1]+O|0,a[2]=a[2]+D|0,a[3]=a[3]+T|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var a=e.floor(i/4294967296),o=i;n[15+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,i,r,a,o){var s=e+(t&n|~t&i)+r+o;return(s<>>32-a)+t}function u(e,t,n,i,r,a,o){var s=e+(t&i|n&~i)+r+o;return(s<>>32-a)+t}function d(e,t,n,i,r,a,o){var s=e+(t^n^i)+r+o;return(s<>>32-a)+t}function h(e,t,n,i,r,a,o){var s=e+(n^(t|~i))+r+o;return(s<>>32-a)+t}t.MD5=a._createHelper(c),t.HmacMD5=a._createHmacHelper(c)}(Math),i.MD5)},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dcwN:function(e,t,n){"use strict";(function(e,i){function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=n("hwdV"),o=n("Edxu"),s=a.Buffer,c=a.kMaxLength,l=e.crypto||e.msCrypto,u=Math.pow(2,32)-1;function d(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>u||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function h(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>c)throw new RangeError("buffer too small")}function f(e,t,n,r){if(i.browser){var a=new Uint8Array(e.buffer,t,n);return l.getRandomValues(a),r?void i.nextTick((function(){r(null,e)})):e}if(!r)return o(n).copy(e,t),e;o(n,(function(n,i){if(n)return r(n);i.copy(e,t),r(null,e)}))}l&&l.getRandomValues||!i.browser?(t.randomFill=function(t,n,i,r){if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)r=n,n=0,i=t.length;else if("function"==typeof i)r=i,i=t.length-n;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return d(n,t.length),h(i,n,t.length),f(t,n,i,r)},t.randomFillSync=function(t,n,i){if(void 0===n&&(n=0),!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return d(n,t.length),void 0===i&&(i=t.length-n),h(i,n,t.length),f(t,n,i)}):(t.randomFill=r,t.randomFillSync=r)}).call(this,n("aWmh"),n("8oxB"))},dlgc:function(e,t,n){"use strict";var i=t;function r(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",n=0;n>8,o=255&r;a?n.push(a,o):n.push(o)}return n},i.zero2=r,i.toHex=a,i.encode=function(e,t){return"hex"===t?a(e):e}},"e+ae":function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?a+(i(e)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?a+(i(e)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(i(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(i(e)?"roky":"rokov"):a+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_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\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"e/Dd":function(e,t){var n,i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return i[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},e6BP:function(e,t){function n(){this.buffer=[],this.length=0}n.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=n},e7zE:function(e,t,n){var i,r,a,o,s,c,l,u;e.exports=(u=n("Ib8C"),n("3y9D"),n("WYAk"),o=(r=(i=u).lib).WordArray,c=(s=i.algo).HMAC,l=s.PBKDF2=(a=r.Base).extend({cfg:a.extend({keySize:4,hasher:s.SHA1,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=c.create(n.hasher,e),r=o.create(),a=o.create([1]),s=r.words,l=a.words,u=n.keySize,d=n.iterations;s.length=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,i=0,r=0,a=null,o=null,s=0;s=5&&(n+=i-5+3),a=l,i=1),(l=e.get(c,s))===o?r++:(r>=5&&(n+=r-5+3),o=l,r=1)}i>=5&&(n+=i-5+3),r>=5&&(n+=r-5+3)}return n},t.getPenaltyN2=function(e){for(var t=e.size,n=0,i=0;i=10&&(1488===i||93===i)&&n++,r=r<<1&2047|e.get(o,a),o>=10&&(1488===r||93===r)&&n++}return 40*n},t.getPenaltyN4=function(e){for(var t=0,n=e.data.length,i=0;i=0);return r},a.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},a.prototype.test=function(e,t,n){var r=e.bitLength(),a=i.mont(e),o=new i(1).toRed(a);t||(t=Math.max(1,r/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var l=e.shrn(c),u=s.toRed(a);t>0;t--){var d=this._randrange(new i(2),s);n&&n(d);var h=d.toRed(a).redPow(l);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var f=1;f0;t--){var u=this._randrange(new i(2),o),d=e.gcd(u);if(0!==d.cmpn(1))return d;var h=u.toRed(r).redPow(c);if(0!==h.cmp(a)&&0!==h.cmp(l)){for(var f=1;f=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(i){return n}}},f3pb:function(e,t,n){var i=t;i.bignum=n("OZ/i"),i.define=n("7zrB").define,i.base=n("Qd/k"),i.constants=n("AhHn"),i.decoders=n("IPZY"),i.encoders=n("ND7S")},fSpj:function(e,t,n){(function(t){var n=Math.pow(2,30)-1;function i(e,n){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(n+" must be a buffer or string")}e.exports=function(e,t,r,a){if(i(e,"Password"),i(t,"Salt"),"number"!=typeof r)throw new TypeError("Iterations not a number");if(r<0)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(a<0||a>n||a!=a)throw new TypeError("Bad key length")}}).call(this,n("tjlA").Buffer)},fXKp:function(e,t,n){"use strict";var i=n("hwdV").Buffer,r=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd".repeat(n+2)}}(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(r>0&&(e.lastNeed=r-1),r):--i=0?(r>0&&(e.lastNeed=r-2),r):--i=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},fXoL:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return La})),n.d(t,"b",(function(){return Dl})),n.d(t,"c",(function(){return Sl})),n.d(t,"d",(function(){return wl})),n.d(t,"e",(function(){return Cl})),n.d(t,"f",(function(){return ku})),n.d(t,"g",(function(){return uu})),n.d(t,"h",(function(){return ua})),n.d(t,"i",(function(){return Fl})),n.d(t,"j",(function(){return ws})),n.d(t,"k",(function(){return El})),n.d(t,"l",(function(){return Cs})),n.d(t,"m",(function(){return bu})),n.d(t,"n",(function(){return un})),n.d(t,"o",(function(){return Qc})),n.d(t,"p",(function(){return U})),n.d(t,"q",(function(){return l})),n.d(t,"r",(function(){return N})),n.d(t,"s",(function(){return Ma})),n.d(t,"t",(function(){return Bs})),n.d(t,"u",(function(){return zs})),n.d(t,"v",(function(){return Al})),n.d(t,"w",(function(){return ae})),n.d(t,"x",(function(){return hu})),n.d(t,"y",(function(){return re})),n.d(t,"z",(function(){return au})),n.d(t,"A",(function(){return Nl})),n.d(t,"B",(function(){return u})),n.d(t,"C",(function(){return Ol})),n.d(t,"D",(function(){return Ll})),n.d(t,"E",(function(){return tl})),n.d(t,"F",(function(){return Ls})),n.d(t,"G",(function(){return xs})),n.d(t,"H",(function(){return Ms})),n.d(t,"I",(function(){return Ds})),n.d(t,"J",(function(){return Xn})),n.d(t,"K",(function(){return h})),n.d(t,"L",(function(){return mu})),n.d(t,"M",(function(){return Js})),n.d(t,"N",(function(){return Xl})),n.d(t,"O",(function(){return Ts})),n.d(t,"P",(function(){return Gs})),n.d(t,"Q",(function(){return me})),n.d(t,"R",(function(){return Ia})),n.d(t,"S",(function(){return ou})),n.d(t,"T",(function(){return On})),n.d(t,"U",(function(){return D})),n.d(t,"V",(function(){return ee})),n.d(t,"W",(function(){return Ln})),n.d(t,"X",(function(){return vu})),n.d(t,"Y",(function(){return eu})),n.d(t,"Z",(function(){return Tl})),n.d(t,"ab",(function(){return ha})),n.d(t,"bb",(function(){return dc})),n.d(t,"cb",(function(){return $n})),n.d(t,"db",(function(){return ti})),n.d(t,"eb",(function(){return En})),n.d(t,"fb",(function(){return gn})),n.d(t,"gb",(function(){return yn})),n.d(t,"hb",(function(){return Sn})),n.d(t,"ib",(function(){return wn})),n.d(t,"jb",(function(){return kn})),n.d(t,"kb",(function(){return Cn})),n.d(t,"lb",(function(){return sc})),n.d(t,"mb",(function(){return gu})),n.d(t,"nb",(function(){return cc})),n.d(t,"ob",(function(){return lc})),n.d(t,"pb",(function(){return vn})),n.d(t,"qb",(function(){return j})),n.d(t,"rb",(function(){return ja})),n.d(t,"sb",(function(){return so})),n.d(t,"tb",(function(){return oo})),n.d(t,"ub",(function(){return Ra})),n.d(t,"vb",(function(){return oc})),n.d(t,"wb",(function(){return xt})),n.d(t,"xb",(function(){return M})),n.d(t,"yb",(function(){return bn})),n.d(t,"zb",(function(){return ns})),n.d(t,"Ab",(function(){return cs})),n.d(t,"Bb",(function(){return vs})),n.d(t,"Cb",(function(){return Di})),n.d(t,"Db",(function(){return za})),n.d(t,"Eb",(function(){return Eo})),n.d(t,"Fb",(function(){return Xo})),n.d(t,"Gb",(function(){return Ao})),n.d(t,"Hb",(function(){return lo})),n.d(t,"Ib",(function(){return pl})),n.d(t,"Jb",(function(){return ye})),n.d(t,"Kb",(function(){return Le})),n.d(t,"Lb",(function(){return _})),n.d(t,"Mb",(function(){return b})),n.d(t,"Nb",(function(){return Se})),n.d(t,"Ob",(function(){return Oe})),n.d(t,"Pb",(function(){return Ka})),n.d(t,"Qb",(function(){return Be})),n.d(t,"Rb",(function(){return to})),n.d(t,"Sb",(function(){return ro})),n.d(t,"Tb",(function(){return io})),n.d(t,"Ub",(function(){return no})),n.d(t,"Vb",(function(){return eo})),n.d(t,"Wb",(function(){return Qa})),n.d(t,"Xb",(function(){return He})),n.d(t,"Yb",(function(){return ao})),n.d(t,"Zb",(function(){return on})),n.d(t,"ac",(function(){return Qo})),n.d(t,"bc",(function(){return Ac})),n.d(t,"cc",(function(){return jc})),n.d(t,"dc",(function(){return Ec})),n.d(t,"ec",(function(){return Ic})),n.d(t,"fc",(function(){return Q})),n.d(t,"gc",(function(){return Ga})),n.d(t,"hc",(function(){return kl})),n.d(t,"ic",(function(){return $a})),n.d(t,"jc",(function(){return co})),n.d(t,"kc",(function(){return bl})),n.d(t,"lc",(function(){return _t})),n.d(t,"mc",(function(){return mt})),n.d(t,"nc",(function(){return po})),n.d(t,"oc",(function(){return Zc})),n.d(t,"pc",(function(){return Xc})),n.d(t,"qc",(function(){return vo})),n.d(t,"rc",(function(){return _o})),n.d(t,"sc",(function(){return Za})),n.d(t,"tc",(function(){return yo})),n.d(t,"uc",(function(){return ko})),n.d(t,"vc",(function(){return wo})),n.d(t,"wc",(function(){return Jc})),n.d(t,"xc",(function(){return Kc})),n.d(t,"yc",(function(){return Gc})),n.d(t,"zc",(function(){return ul})),n.d(t,"Ac",(function(){return Ja})),n.d(t,"Bc",(function(){return Ht})),n.d(t,"Cc",(function(){return Ue})),n.d(t,"Dc",(function(){return ni})),n.d(t,"Ec",(function(){return xe})),n.d(t,"Fc",(function(){return ml})),n.d(t,"Gc",(function(){return dl})),n.d(t,"Hc",(function(){return To})),n.d(t,"Ic",(function(){return qa})),n.d(t,"Jc",(function(){return No})),n.d(t,"Kc",(function(){return Uo})),n.d(t,"Lc",(function(){return qo})),n.d(t,"Mc",(function(){return Jo})),n.d(t,"Nc",(function(){return Ko})),n.d(t,"Oc",(function(){return Go})),n.d(t,"Pc",(function(){return $o})),n.d(t,"Qc",(function(){return Zo})),n.d(t,"Rc",(function(){return es})),n.d(t,"Sc",(function(){return hl}));var i=n("XNiG"),r=n("quSY"),a=n("HDdC"),o=n("VRyK"),s=n("w1tV");function c(e,t,n){var i=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:f.Default;if(void 0===G)throw new Error("inject() must be called from an injection context");return null===G?te(e,void 0,t):G.get(e,t&f.Optional?null:void 0,t)}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.Default;return(E||X)(T(e),t)}var ee=Q;function te(e,t,n){var i=g(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&f.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(M(e),"]"))}function ne(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:q;if(t===q){var n=new Error("NullInjectorError: No provider for ".concat(M(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),re=function e(){_classCallCheck(this,e)},ae=function e(){_classCallCheck(this,e)};function oe(e,t){for(var n=0;n=e.length?e.push(n):e.splice(t,0,n)}function le(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ue(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function he(e,t){var n=fe(e,t);if(n>=0)return e[1|n]}function fe(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var a=i+(r-i>>1),o=e[a<<1];if(t===o)return a<<1;o>t?r=a:i=a+1}return~(r<<1)}(e,t)}var pe=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),me=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}();function _e(e){return""+{toString:e}}var be={},ge=[],ve=0;function ye(e){var t=e.type,n=t.prototype,i={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||me.Emulated,id:"c",styles:e.styles||ge,_:null,setInput:null,schemas:e.schemas||null,tView:null};return r._=_e((function(){var t=e.directives,n=e.features,a=e.pipes;r.id+=ve++,r.inputs=Me(e.inputs,i),r.outputs=Me(e.outputs),n&&n.forEach((function(e){return e(r)})),r.directiveDefs=t?function(){return("function"==typeof t?t():t).map(ke)}:null,r.pipeDefs=a?function(){return("function"==typeof a?a():a).map(we)}:null})),r}function ke(e){return De(e)||function(e){return e[V]||null}(e)}function we(e){return function(e){return e[W]||null}(e)}var Ce={};function Se(e){var t={type:e.type,bootstrap:e.bootstrap||ge,declarations:e.declarations||ge,imports:e.imports||ge,exports:e.exports||ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&_e((function(){Ce[e.id]=e.type})),t}function xe(e,t){return _e((function(){var n=Ae(e,!0);n.declarations=t.declarations||ge,n.imports=t.imports||ge,n.exports=t.exports||ge}))}function Me(e,t){if(null==e)return be;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}var Le=ye;function Oe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function De(e){return e[Y]||null}function Te(e,t){return e.hasOwnProperty(B)?e[B]:null}function Ae(e,t){var n=e[F]||null;if(!n&&!0===t)throw new Error("Type ".concat(M(e)," does not have '\u0275mod' property."));return n}function Ee(e){return Array.isArray(e)&&"object"==typeof e[1]}function Pe(e){return Array.isArray(e)&&!0===e[1]}function Re(e){return 0!=(8&e.flags)}function Ie(e){return 2==(2&e.flags)}function je(e){return 1==(1&e.flags)}function Ye(e){return null!==e.template}function Ve(e){return 0!=(512&e[2])}var We={lFrame:lt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Fe(){return We.bindingsEnabled}function He(){We.bindingsEnabled=!0}function Be(){We.bindingsEnabled=!1}function ze(){return We.lFrame.lView}function Ne(){return We.lFrame.tView}function Ue(e){We.lFrame.contextLView=e}function qe(){return We.lFrame.previousOrParentTNode}function Je(e,t){We.lFrame.previousOrParentTNode=e,We.lFrame.isParent=t}function Ke(){return We.lFrame.isParent}function Ge(){We.lFrame.isParent=!1}function $e(){return We.checkNoChangesMode}function Ze(e){We.checkNoChangesMode=e}function Xe(){var e=We.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qe(){return We.lFrame.bindingIndex}function et(e){return We.lFrame.bindingIndex=e}function tt(){return We.lFrame.bindingIndex++}function nt(e){var t=We.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function it(e,t){var n=We.lFrame;n.bindingIndex=n.bindingRootIndex=e,n.currentDirectiveIndex=t}function rt(){return We.lFrame.currentQueryIndex}function at(e){We.lFrame.currentQueryIndex=e}function ot(e,t){var n=ct();We.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function st(e,t){var n=ct(),i=e[1];We.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex}function ct(){var e=We.lFrame,t=null===e?null:e.child;return null===t?lt(e):t}function lt(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function ut(){var e=We.lFrame;return We.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var dt=ut;function ht(){var e=ut();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ft(){return We.lFrame.selectedIndex}function pt(e){We.lFrame.selectedIndex=e}function mt(){We.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function _t(){We.lFrame.currentNamespace=null}function bt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[o]<0&&(e[18]+=65536),(a>10>16&&(3&e[2])===t&&(e[2]+=1024,a.call(o)):a.call(o)}var Ct=function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i},St=void 0;function xt(e){St=e}function Mt(){return void 0!==St?St:"undefined"!=typeof document?document:void 0}function Lt(e){return!!e.listen}var Ot={createRenderer:function(e,t){return Mt()}};function Dt(e,t,n){for(var i=Lt(e),r=0;rt){o=a-1;break}}}for(;a>16}function Yt(e,t){for(var n=jt(e),i=t;n>0;)i=i[15],n--;return i}function Vt(e){return"string"==typeof e?e:null==e?"":""+e}function Wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Vt(e)}var Ft=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j);function Ht(e){return{name:"body",target:e.ownerDocument.body}}function Bt(e){return e instanceof Function?e():e}var zt=!0;function Nt(e){var t=zt;return zt=e,t}var Ut=0;function qt(e,t){var n=Kt(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Jt(i.data,e),Jt(t,null),Jt(i.blueprint,null));var r=Gt(e,t),a=e.injectorIndex;if(Rt(r))for(var o=It(r),s=Yt(r,t),c=s[1].data,l=0;l<8;l++)t[a+l]=s[o+l]|c[o+l];return t[a+8]=r,a}function Jt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Kt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Gt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],i=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function $t(e,t,n){!function(e,t,n){var i="string"!=typeof n?n[z]:n.charCodeAt(0)||0;null==i&&(i=n[z]=Ut++);var r=255&i,a=1<3&&void 0!==arguments[3]?arguments[3]:f.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var a=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[z];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof a){ot(t,e);try{var o=a();if(null!=o||i&f.Optional)return o;throw new Error("No provider for ".concat(Wt(n),"!"))}finally{dt()}}else if("number"==typeof a){if(-1===a)return new an(e,t);var s=null,c=Kt(e,t),l=-1,u=i&f.Host?t[16][6]:null;for((-1===c||i&f.SkipSelf)&&(l=-1===c?Gt(e,t):t[c+8],rn(i,!1)?(s=t[1],c=It(l),t=Yt(l,t)):c=-1);-1!==c;){l=t[c+8];var d=t[1];if(nn(a,c,d.data)){var h=Qt(c,t,n,s,i,u);if(h!==Xt)return h}rn(i,t[1].data[c+8]===u)&&nn(a,c,t)?(s=d,c=It(l),t=Yt(l,t)):c=-1}}}if(i&f.Optional&&void 0===r&&(r=null),0==(i&(f.Self|f.Host))){var p=t[9],m=Z(void 0);try{return p?p.get(n,r,i&f.Optional):te(n,r,i&f.Optional)}finally{Z(m)}}if(i&f.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(Wt(n),"]"))}var Xt={};function Qt(e,t,n,i,r,a){var o=t[1],s=o.data[e+8],c=en(s,o,n,null==i?Ie(s)&&zt:i!=o&&3===s.type,r&f.Host&&a===s);return null!==c?tn(t,o,c,s):Xt}function en(e,t,n,i,r){for(var a=e.providerIndexes,o=t.data,s=65535&a,c=e.directiveStart,l=a>>16,u=r?s+l:e.directiveEnd,d=i?s:s+l;d=c&&h.type===n)return d}if(r){var f=o[c];if(f&&Ye(f)&&f.type===n)return c}return null}function tn(e,t,n,i){var r=e[n],a=t.data;if(r instanceof Ct){var o=r;if(o.resolving)throw new Error("Circular dep for ".concat(Wt(a[n])));var s,c=Nt(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=Z(o.injectImpl)),ot(e,i);try{r=e[n]=o.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.onChanges,r=t.onInit,a=t.doCheck;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{o.injectImpl&&Z(s),Nt(c),o.resolving=!1,dt()}}return r}function nn(e,t,n){var i=64&e,r=32&e;return!!((128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t])&1<1?t-1:0),i=1;i',!n.querySelector||n.querySelector("svg")?(n.innerHTML='

',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e=""+e+"";try{e=encodeURI(e)}catch(i){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Hn.hasOwnProperty(t)&&!Yn.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(Gn(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),Jn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Kn=/([^\#-~ |!])/g;function Gn(e){return e.replace(/&/g,"&").replace(Jn,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Kn,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function $n(e,t){var n=null;try{jn=jn||new Dn(e);var i=t?String(t):"";n=jn.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=jn.getInertBodyElement(i)}while(i!==a);var o=new qn,s=o.sanitizeChildren(Zn(n)||n);return Ln()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=Zn(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function Zn(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xn=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Qn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ei=/^url\(([^)]+)\)$/;function ti(e){if(!(e=String(e).trim()))return"";var t=e.match(ei);return t&&En(t[1])===t[1]||e.match(Qn)&&function(e){for(var t=!0,n=!0,i=0;ia?"":r[u+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==bi(h,l,0)||2&i&&l!==d){if(ki(i))return!1;o=!0}}}}else{if(!o&&!ki(i)&&!ki(c))return!1;if(o&&ki(c))continue;o=!1,i=c|1&i}}return ki(i)||o}function ki(e){return 0==(1&e)}function wi(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var a=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||ki(o)||(t+=xi(a,r),r=""),i=o,a=a||!ki(i);n++}return""!==r&&(t+=xi(a,r)),t}var Li={};function Oi(e){var t=e[3];return Pe(t)?t[3]:t}function Di(e){Ti(Ne(),ze(),ft()+e,$e())}function Ti(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&>(t,r,n)}else{var a=e.preOrderHooks;null!==a&&vt(t,a,0,n)}pt(n)}var Ai={marker:"element"},Ei={marker:"comment"};function Pi(e,t){return e<<17|t<<2}function Ri(e){return e>>17&32767}function Ii(e){return 2|e}function ji(e){return(131068&e)>>2}function Yi(e,t){return-131069&e|t<<2}function Vi(e){return 1|e}function Wi(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i>1==-1){for(var i=9;i19&&Ti(e,t,0,$e()),n(i,r)}finally{pt(a)}}function Ji(e,t,n){if(Re(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:ai,i=t.localNames;if(null!==i)for(var r=t.index+1,a=0;a0&&(e[n-1][4]=i[4]);var a=le(e,9+t);Rr(i[1],i,!1,null);var o=a[5];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Yr(e,t){if(!(256&t[2])){var n=t[11];Lt(n)&&n.destroyNode&&$r(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Wr(e[1],e);for(;t;){var n=null;if(Ee(t))n=t[13];else{var i=t[9];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ee(t)&&Wr(t[1],t),t=Vr(t,e);null===t&&(t=e),Ee(t)&&Wr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Vr(e,t){var n;return Ee(e)&&(n=e[6])&&2===n.type?Tr(n,e):e[3]===t?null:e[3]}function Wr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[c]():i[-c].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Lt(t[11])&&t[11].destroy();var i=t[17];if(null!==i&&Pe(t[3])){i!==t[3]&&Ir(i,t);var r=t[5];null!==r&&r.detachView(e)}}}function Fr(e,t,n){for(var i=t.parent;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){var r=n[6];return 2===r.type?Ar(r,n):n[0]}if(t&&5===t.type&&4&t.flags)return ai(t,n).parentNode;if(2&i.flags){var a=e.data,o=a[a[i.index].directiveStart].encapsulation;if(o!==me.ShadowDom&&o!==me.Native)return null}return ai(i,n)}function Hr(e,t,n,i){Lt(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function Br(e,t,n){Lt(e)?e.appendChild(t,n):t.appendChild(n)}function zr(e,t,n,i){null!==i?Hr(e,t,n,i):Br(e,t,n)}function Nr(e,t){return Lt(e)?e.parentNode(t):t.parentNode}function Ur(e,t){if(2===e.type){var n=Tr(e,t);return null===n?null:Jr(n.indexOf(t,9)-9,n)}return 4===e.type||5===e.type?ai(e,t):null}function qr(e,t,n,i){var r=Fr(e,i,t);if(null!=r){var a=t[11],o=Ur(i.parent||t[6],t);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,i;t=this._lView[1],i=e,Sr(n=this._lView).push(i),t.firstCreatePass&&xr(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){vr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){yr(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Ze(!0);try{yr(e,t,n)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,$r(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,i,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=n[i.index];if(null!==o&&r.push(ii(o)),Pe(o))for(var s=9;s0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;if(!r&&null==e.ngModule&&a){var o=a.get(re,null);o&&(r=o)}var s=e.create(a,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Pe(n[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var a=n[3],o=new ia(a,a[6],a[3]);o.detach(o.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,i){var r=9+i,a=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return oa(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new an(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Gt(this._hostTNode,this._hostView),t=Yt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.parent.injectorIndex;)r=r.parent;return r}for(var a=jt(e),o=t,s=t[6];a>1;)s=(o=o[15])[6],a--;return s}(e,this._hostView,this._hostTNode);return Rt(e)&&null!=n?new an(n,t):new an(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-9}}]),n}(e));var a=i[n.index];if(Pe(a))(function(e,t){e[2]=-2})(r=a);else{var o;if(4===n.type)o=ii(a);else if(o=i[11].createComment(""),Ve(i)){var s=i[11],c=ai(n,i);Hr(s,Nr(s,c),o,function(e,t){return Lt(e)?e.nextSibling(t):t.nextSibling}(s,c))}else qr(i[1],i,o,n);i[n.index]=r=pr(a,i,o,n),gr(i,r)}return new ia(r,n,i)}function la(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Ie(e)){var i=ci(e.index,t);return new ra(i,i)}return 3===e.type||0===e.type||4===e.type||5===e.type?new ra(t[16],t):null}(qe(),ze(),e)}var ua=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return da()},e}(),da=la,ha=new N("Set Injector scope."),fa={},pa={},ma=[],_a=void 0;function ba(){return void 0===_a&&(_a=new ie),_a}function ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return t=t||ba(),new va(e,n,t,i)}var va=function(){function e(t,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&se(n,(function(e){return r.processProvider(e,t,n)})),se([t],(function(e){return r.processInjectorType(e,[],o)})),this.records.set(U,wa(void 0,this));var s=this.records.get(ha);this.scope=null!=s?s.value:null,this.injectorDefTypes.forEach((function(e){return r.get(e)})),this.source=a||("object"==typeof t?null:M(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.Default;this.assertNotDestroyed();var i,r=$(this);try{if(!(n&f.SkipSelf)){var a=this.records.get(e);if(void 0===a){var o=("function"==typeof(i=e)||"object"==typeof i&&i instanceof N)&&g(e);a=o&&this.injectableDefInScope(o)?wa(ya(e),fa):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(n&f.Self?ba():this.parent).get(e,t=n&f.Optional&&t===q?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(M(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=M(t);if(Array.isArray(t))r=t.map(M).join(" -> ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):M(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(J,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{$(r)}}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(M(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=T(e)))return!1;var r=y(e),a=null==r&&e.ngModule||void 0,o=void 0===a?e:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=y(a)),null==r)return!1;if(null!=r.imports&&!s){var c;n.push(o);try{se(r.imports,(function(e){i.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var l=function(e){var t=c[e],n=t.ngModule,r=t.providers;se(r,(function(e){return i.processProvider(e,n,r||ma)}))},u=0;u0){var n=ue(t,"?");throw new Error("Can't resolve all parameters for ".concat(M(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[k]||e[S]||e[C]&&e[C]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in v10. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ka(e,t,n){var i,r=void 0;if(Sa(e)){var a=T(e);return Te(a)||ya(a)}if(Ca(e))r=function(){return T(e.useValue)};else if((i=e)&&i.useFactory)r=function(){return e.useFactory.apply(e,_toConsumableArray(ne(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return Q(T(e.useExisting))};else{var o=T(e&&(e.useClass||e.provide));if(o||function(e,t,n){var i="";throw e&&t&&(i=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(M(e),"'")+i)}(t,n,e),!function(e){return!!e.deps}(e))return Te(o)||ya(o);r=function(){return _construct(o,_toConsumableArray(ne(e.deps)))}}return r}function wa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ca(e){return null!==e&&"object"==typeof e&&K in e}function Sa(e){return"function"==typeof e}var xa=function(e,t,n){return ga({name:n},t,e,n)},Ma=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?xa(e,t,""):xa(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=q,e.NULL=new ie,e.\u0275prov=_({token:e,providedIn:"any",factory:function(){return Q(U)}}),e.__NG_ELEMENT_ID__=-1,e}(),La=new N("AnalyzeForEntryComponents"),Oa=new Map,Da=new Set;function Ta(e){return"string"==typeof e?e:e.text()}function Aa(e,t){for(var n=e.styles,i=e.classes,r=0,a=0;a1&&void 0!==arguments[1]?arguments[1]:f.Default,n=ze();return null==n?Q(e,t):Zt(qe(),n,T(e),t)}function Ga(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var i=n.length,r=0;r2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=ze(),a=Ne(),o=qe();return uo(a,r,r[11],o,e,t,n,i),co}function lo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=qe(),a=ze(),o=Mr(r,a);return uo(Ne(),a,o,r,e,t,n,i),lo}function uo(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=je(i),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=Sr(t),d=!0;if(3===i.type){var h=ai(i,t),f=s?s(h):be,p=f.target||h,m=u.length,_=s?function(e){return s(ii(e[i.index])).target}:i.index;if(Lt(n)){var b=null;if(!s&&c&&(b=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var a=0;ac?s[c]:null}"string"==typeof o&&(a+=2)}return null}(e,t,r,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=a,b.__ngLastListenerFn__=a,d=!1;else{a=fo(i,t,a,!1);var g=n.listen(f.name||p,r,a);u.push(a,g),l&&l.push(r,_,m,m+1)}}else a=fo(i,t,a,!0),p.addEventListener(r,a,o),u.push(a),l&&l.push(r,_,m,o)}var v,y=i.outputs;if(d&&null!==y&&(v=y[r])){var k=v.length;if(k)for(var w=0;w0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(We.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,We.lFrame.contextLView))[8]}(e)}function mo(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=ze(),r=Ne(),a=Bi(r,i[6],e,1,null,n||null);null===a.projection&&(a.projection=t),Ge(),bo||Zr(r,i,a)}function yo(e,t,n){return ko(e,"",t,"",n),yo}function ko(e,t,n,i,r){var a=ze(),o=Na(a,t,n,i);if(o!==Li){var s=ft();er(Ne(),a,s,e,o,r)}return ko}function wo(e,t,n,i,r,a,o){var s=ze(),c=Ua(s,t,n,i,r,a);if(c!==Li){var l=ft();er(Ne(),s,l,e,c,o)}return wo}var Co=[];function So(e,t,n,i,r){for(var a=e[n+1],o=null===t,s=i?Ri(a):ji(a),c=!1;0!==s&&(!1===c||o);){var l=e[s+1];xo(e[s],t)&&(c=!0,e[s+1]=i?Vi(l):Ii(l)),s=i?Ri(l):ji(l)}c&&(e[n+1]=i?Ii(a):Vi(a))}function xo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&fe(e,t)>=0}var Mo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Lo(e){return e.substring(Mo.key,Mo.keyEnd)}function Oo(e,t){var n=Mo.textEnd;return n===t?-1:(t=Mo.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Mo.key=t,n),Do(e,t,n))}function Do(e,t,n){for(;t=0;n=Oo(t,n))de(e,Lo(t),!0)}function Ro(e,t,n,i){var r,a,o=ze(),s=Ne(),c=nt(2);(s.firstUpdatePass&&Yo(s,e,c,i),t!==Li&&Fa(o,c,t))&&(null==n&&(r=null===(a=We.lFrame)?null:a.currentSanitizer)&&(n=r),Fo(s,s.data[ft()+19],o,o[11],e,o[c+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=M(bn(e)))),e}(t,n),i,c))}function Io(e,t,n,i){var r=Ne(),a=nt(2);r.firstUpdatePass&&Yo(r,null,a,i);var o=ze();if(n!==Li&&Fa(o,a,n)){var s=r.data[ft()+19];if(zo(s,i)&&!jo(r,a)){var c=i?s.classes:s.styles;null!==c&&(n=L(c,n||"")),Xa(r,s,o,n,i)}else!function(e,t,n,i,r,a,o,s){r===Li&&(r=Co);for(var c=0,l=0,u=0=e.expandoStartIndex}function Yo(e,t,n,i){var r=e.data;if(null===r[n+1]){var a=r[ft()+19],o=jo(e,n);zo(a,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){var r=function(e){var t=We.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Wo(n=Vo(null,e,t,n,i),t.attrs,i),a=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=Vo(r,e,t,n,i),null===a){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==ji(i))return e[Ri(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[Ri(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Wo(s=Vo(null,e,t,s[1],i),t.attrs,i))}else a=function(e,t,n){for(var i=void 0,r=t.directiveEnd,a=1+t.directiveStylingLast;a0)&&(u=!0)}else l=n;if(r)if(0!==c){var h=Ri(e[s+1]);e[i+1]=Pi(h,s),0!==h&&(e[h+1]=Yi(e[h+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=Pi(s,0),0!==s&&(e[s+1]=Yi(e[s+1],i)),s=i;else e[i+1]=Pi(c,0),0===s?s=i:e[c+1]=Yi(e[c+1],i),c=i;u&&(e[i+1]=Ii(e[i+1])),So(e,l,i,!0),So(e,l,i,!1),function(e,t,n,i,r){var a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&fe(a,t)>=0&&(n[i+1]=Vi(n[i+1]))}(t,l,e,i,a),o=Pi(s,c),a?t.classBindings=o:t.styleBindings=o}(r,a,t,n,o,i)}}function Vo(e,t,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var c=e[r],l=Array.isArray(c),u=l?c[1]:c,d=null===u,h=n[r+1];h===Li&&(h=d?Co:void 0);var f=d?he(h,i):u===i?h:void 0;if(l&&!Bo(f)&&(f=he(c,i)),Bo(f)&&(s=f,o))return s;var p=e[r+1];r=o?Ri(p):ji(p)}if(null!==t){var m=a?t.residualClasses:t.residualStyles;null!=m&&(s=he(m,i))}return s}function Bo(e){return void 0!==e}function zo(e,t){return 0!=(e.flags&(t?16:32))}function No(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=ze(),i=Ne(),r=e+19,a=i.firstCreatePass?Bi(i,n[6],e,3,null,null):i.data[r],o=n[r]=Pr(t,n[11]);qr(i,n,o,a),Je(a,!1)}function Uo(e){return qo("",e,""),Uo}function qo(e,t,n){var i=ze(),r=Na(i,e,t,n);return r!==Li&&Dr(i,ft(),r),qo}function Jo(e,t,n,i,r){var a=ze(),o=Ua(a,e,t,n,i,r);return o!==Li&&Dr(a,ft(),o),Jo}function Ko(e,t,n,i,r,a,o){var s=ze(),c=function(e,t,n,i,r,a,o,s){var c=function(e,t,n,i,r){var a=Ha(e,t,n,i);return Fa(e,t+2,r)||a}(e,Qe(),n,r,o);return nt(3),c?t+Vt(n)+i+Vt(r)+a+Vt(o)+s:Li}(s,e,t,n,i,r,a,o);return c!==Li&&Dr(s,ft(),c),Ko}function Go(e,t,n,i,r,a,o,s,c){var l=ze(),u=function(e,t,n,i,r,a,o,s,c,l){var u=Ba(e,Qe(),n,r,o,c);return nt(4),u?t+Vt(n)+i+Vt(r)+a+Vt(o)+s+Vt(c)+l:Li}(l,e,t,n,i,r,a,o,s,c);return u!==Li&&Dr(l,ft(),u),Go}function $o(e,t,n,i,r,a,o,s,c,l,u,d,h,f,p,m,_){var b=ze(),g=function(e,t,n,i,r,a,o,s,c,l,u,d,h,f,p,m,_,b){var g=Qe(),v=Ba(e,g,n,r,o,c);return v=Ba(e,g+4,u,h,p,_)||v,nt(8),v?t+Vt(n)+i+Vt(r)+a+Vt(o)+s+Vt(c)+l+Vt(u)+d+Vt(h)+f+Vt(p)+m+Vt(_)+b:Li}(b,e,t,n,i,r,a,o,s,c,l,u,d,h,f,p,m,_);return g!==Li&&Dr(b,ft(),g),$o}function Zo(e){var t=ze(),n=function(e,t){for(var n=!1,i=Qe(),r=1;r=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Et(r.hostAttrs,n=Et(n,r.hostAttrs))}}(i)}function is(e){return e===be?{}:e===ge?[]:e}function rs(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function as(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function os(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var ss=function(){function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function cs(){return ls.ngInherit=!0,ls}function ls(e){e.type.prototype.ngOnChanges&&(e.setInput=us,e.onChanges=function(){var e=ds(this),t=e&&e.current;if(t){var n=e.previous;if(n===be)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}})}function us(e,t,n,i){var r=ds(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:be,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],c=o[s];a[s]=new ss(c&&c.currentValue,t,o===be),e[i]=t}function ds(e){return e.__ngSimpleChanges__||null}function hs(e,t,n,i,r){if(e=T(e),Array.isArray(e))for(var a=0;a>16;if(Sa(e)||!e.multi){var p=new Ct(l,r,Ka),m=ms(c,t,r?d:d+f,h);-1===m?($t(qt(u,s),o,c),fs(o,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var _=ms(c,t,d+f,h),b=ms(c,t,d,d+f),g=_>=0&&n[_],v=b>=0&&n[b];if(r&&!v||!r&&!g){$t(qt(u,s),o,c);var y=function(e,t,n,i,r){var a=new Ct(e,n,Ka);return a.multi=[],a.index=t,a.componentProviders=0,ps(a,r,i&&!n),a}(r?bs:_s,n.length,r,i,l);!r&&v&&(n[b].providerFactory=y),fs(o,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(y),s.push(y)}else fs(o,e,_>-1?_:b),ps(n[r?b:_],l,!r&&i);!r&&i&&v&&n[b].componentProviders++}}}function fs(e,t,n){if(Sa(t)||t.useClass){var i=(t.useClass||t).prototype.ngOnDestroy;i&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i)}}function ps(e,t,n){e.multi.push(t),n&&e.componentProviders++}function ms(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=Ne();if(i.firstCreatePass){var r=Ye(e);hs(n,i.data,i.blueprint,r,!0),hs(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var ys=function e(){_classCallCheck(this,e)},ks=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(M(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),ws=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new ks,e}(),Cs=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Ss(e)},e}(),Ss=function(e){return oa(e,qe(),ze())},xs=function e(){_classCallCheck(this,e)},Ms=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Ls=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Os()},e}(),Os=function(){var e=ze(),t=ci(qe().index,e);return function(e){var t=e[11];if(Lt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ee(t)?t:e)},Ds=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=_({token:e,providedIn:"root",factory:function(){return null}}),e}(),Ts=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},As=new Ts("9.0.4"),Es=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return ja(e)}},{key:"create",value:function(e){return new Rs(e)}}]),e}(),Ps=function(e,t){return t},Rs=function(){function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ps}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var a=!n||t&&t.currentIndex0&&ea(l,d,y.join(" "))}a=oi(_[1],0),t&&(a.projection=t.map((function(e){return Array.from(e)}))),r=function(e,t,n,i,r){var a=n[1],o=function(e,t,n){var i=qe();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ar(e,i,1),lr(e,t,n));var r=tn(t,e,t.length-1,i);pi(r,t);var a=ai(i,t);return a&&pi(a,t),r}(a,n,t);i.components.push(o),e[8]=o,r&&r.forEach((function(e){return e(o,t)})),t.contentQueries&&t.contentQueries(1,o,n.length-1);var s=qe();if(a.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){pt(s.index-19);var c=n[1];nr(c,t),ir(c,n,t.hostVars),rr(t,o)}return o}(b,this.componentDef,_,p,[ts]),zi(m,_,null)}finally{ht()}var k=new nc(this.componentType,r,oa(Cs,a,_),_,a);return n&&!f||(k.hostView._tViewNode.child=a),k}},{key:"inputs",get:function(){return Qs(this.componentDef.inputs)}},{key:"outputs",get:function(){return Qs(this.componentDef.outputs)}}]),t}(ys),nc=function(e){function t(e,n,i,r,a){var o,s,c,l;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).location=i,o._rootLView=r,o._tNode=a,o.destroyCbs=[],o.instance=n,o.hostView=o.changeDetectorRef=new aa(r),o.hostView._tViewNode=(s=r[1],c=r,null==(l=s.node)&&(s.node=l=Xi(0,null,2,-1,null,null)),c[6]=l),o.componentType=e,o}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new an(this._tNode,this._rootLView)}}]),t}(function(){return function e(){_classCallCheck(this,e)}}()),ic=void 0,rc=["en",[["a","p"],["AM","PM"],ic],[["AM","PM"],ic,ic],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ic,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ic,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ic,"{1} 'at' {0}",ic],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],ac={};function oc(e,t,n){"string"!=typeof t&&(n=t,t=e[dc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ac[t]=e,n&&(ac[t][dc.ExtraData]=n)}function sc(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=uc(t);if(n)return n;var i=t.split("-")[0];if(n=uc(i))return n;if("en"===i)return rc;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function cc(e){return sc(e)[dc.CurrencyCode]||null}function lc(e){return sc(e)[dc.PluralCase]}function uc(e){return e in ac||(ac[e]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[e]),ac[e]}var dc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),hc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,pc=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,mc=/\ufffd(\d+):?\d*\ufffd/gi,_c=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi;function bc(e){if(!e)return[];var t,n=0,i=[],r=[],a=/[{}]/g;for(a.lastIndex=0;t=a.exec(e);){var o=t.index;if("}"==t[0]){if(i.pop(),0==i.length){var s=e.substring(n,o);hc.test(s)?r.push(gc(s)):r.push(s),n=o+1}}else{if(0==i.length){var c=e.substring(n,o);r.push(c),n=o+1}i.push("{")}}var l=e.substring(n);return r.push(l),r}function gc(e){for(var t=[],n=[],i=1,r=0,a=bc(e=e.replace(hc,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""}))),o=0;on.length&&n.push(c)}return{type:i,mainBinding:r,cases:t,values:n}}function vc(e){for(var t,n,i="",r=0,a=!1;null!==(t=fc.exec(e));)a?t[0]==="\ufffd/*".concat(n,"\ufffd")&&(r=t.index,a=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],a=!0);return i+=e.substr(r)}function yc(e,t,n){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=[null,null],a=e.split(mc),o=0,s=0;s1&&void 0!==arguments[1]?arguments[1]:0;n|=Sc(e.mainBinding);for(var i=0;i>>17;o=Lc(n,a,h===e?i[6]:oi(n,h),o,i);break;case 0:var f=l>=0,p=(f?l:~l)>>>3;s.push(p),o=a,(a=oi(n,p))&&Je(a,f);break;case 5:o=a=oi(n,l>>>3),Je(a,!1);break;case 4:dr(l>>>3,t[++c],t[++c],n,i);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case Ei:var m=t[++c],_=t[++c],b=r.createComment(m);o=a,a=Oc(n,i,_,5,b,null),s.push(_),pi(b,i),a.activeCaseIndex=null,Ge();break;case Ai:var g=t[++c],v=t[++c];o=a,a=Oc(n,i,v,3,r.createElement(g),g),s.push(v);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}}return Ge(),s}function Tc(e,t,n,i){var r=oi(e,n),a=ri(n,t);a&&Kr(t[11],a);var o=si(t,n);if(Pe(o)){var s=o;0!==r.type&&Kr(t[11],s[7])}i&&(r.flags|=64)}function Ac(e,t,n){var i;(function(e,t,n){var i=Ne();wc[++Cc]=e,go(!0),i.firstCreatePass&&null===i.data[e+19]&&function(e,t,n,i,r){var a=t.blueprint.length-19;xc=0;var o=qe(),s=Ke()?o:o&&o.parent,c=s&&s!==e[6]?s.index-19:n,l=0;Mc[l]=c;var u=[];if(n>0&&o!==s){var d=o.index-19;Ke()||(d=~d),u.push(d<<3|0)}for(var h,f=[],p=[],m=(h=function(e,t){if("number"!=typeof t)return vc(e);var n=e.indexOf(":".concat(t,"\ufffd"))+2+t.toString().length,i=e.search(new RegExp("\ufffd\\/\\*\\d+:".concat(t,"\ufffd")));return vc(e.substring(n,i))}(i,r),h.replace(Hc," ")).split(pc),_=0;_0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(var i=0;i>1),o++}}(Ne(),i),go(!1)}function Ec(e,t){!function(e,t,n,i){for(var r=qe().index-19,a=[],o=0;o6&&void 0!==arguments[6]&&arguments[6],c=!1,l=0;l>>2,_=void 0,b=void 0;switch(3&p){case 1:er(a,o,m,t[++f],h,t[++f]);break;case 0:Dr(o,m,h);break;case 2:if(_=n[t[++f]],null!==(b=oi(a,m)).activeCaseIndex)for(var g=_.remove[b.activeCaseIndex],v=0;v>>3,!1);break;case 6:var k=oi(a,g[v+1]>>>3).activeCaseIndex;null!==k&&oe(n[y>>>3].remove[k],g)}}var w=Yc(_,h);b.activeCaseIndex=-1!==w?w:null,w>-1&&(Dc(-1,_.create[w],a,o),c=!0);break;case 3:_=n[t[++f]],null!==(b=oi(a,m)).activeCaseIndex&&e(_.update[b.activeCaseIndex],n,i,r,a,o,c)}}}l+=d}}(t,r,a,Pc,n,o),Pc=0,Rc=0}}function Yc(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var i=function(e,t){switch(lc(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,Bc);-1===(n=e.cases.indexOf(i))&&"other"!==i&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function Vc(e,t,n,i){for(var r=[],a=[],o=[],s=[],c=[],l=0;l null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&(Bc=e.toLowerCase().replace(/_/g,"-"))}var Nc=new Map,Uc=function(e){function t(e,n){var i;_classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._parent=n,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new Xs(_assertThisInitialized(i));var r=Ae(e),a=e[H]||null;return a&&zc(a),i._bootstrapComponents=Bt(r.bootstrap),i._r3Injector=ga(e,n,[{provide:re,useValue:_assertThisInitialized(i)},{provide:ws,useValue:i.componentFactoryResolver}],M(e)),i.instance=i.get(e),i}return _inherits(t,e),_createClass(t,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ma.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.Default;return e===Ma||e===re||e===U?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),t}(re),qc=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).moduleType=e,null!==Ae(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(M(t)," vs ").concat(M(t.name)))})(n,Nc.get(n),t),Nc.set(n,t)}var i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach((function(t){return e(t)}))}(e),n}return _inherits(t,e),_createClass(t,[{key:"create",value:function(e){return new Uc(this.moduleType,e)}}]),t}(ae);function Jc(e,t,n){var i=Xe()+e,r=ze();return r[i]===Li?Va(r,i,n?t.call(n):t()):Wa(r,i)}function Kc(e,t,n,i){return $c(ze(),Xe(),e,t,n,i)}function Gc(e,t,n,i,r){return function(e,t,n,i,r,a,o){var s=t+n;return Ha(e,s,r,a)?Va(e,s+2,o?i.call(o,r,a):i(r,a)):Wa(e,s+2)}(ze(),Xe(),e,t,n,i,r)}function $c(e,t,n,i,r,a){var o=t+n;return Fa(e,o,r)?Va(e,o+1,a?i.call(a,r):i(r)):Wa(e,o+1)}function Zc(e,t){var n,i=Ne(),r=e+19;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=Te(n.type)),o=Z(Ka),s=a();return Z(o),function(e,t,n,i){var r=n+19;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(i,ze(),e,s),s}function Xc(e,t,n){var i=ze(),r=si(i,e);return function(e,t){return Ia.isWrapped(t)&&(t=Ia.unwrap(t),e[Qe()]=Li),t}(i,function(e,t){return e[1].data[t+19].pure}(i,e)?$c(i,Xe(),t,r.transform,n,r):r.transform(n))}var Qc=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).__isAsync=n,e}return _inherits(t,e),_createClass(t,[{key:"emit",value:function(e){_get(_getPrototypeOf(t.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,n,i){var a,o=function(e){return null},s=function(){return null};e&&"object"==typeof e?(a=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(a=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(o=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),i&&(s=this.__isAsync?function(){setTimeout((function(){return i()}))}:function(){i()}));var c=_get(_getPrototypeOf(t.prototype),"subscribe",this).call(this,a,o,s);return e instanceof r.a&&e.add(c),c}}]),t}(i.a);function el(){return this._results[Pa()]()}var tl=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Qc,this.length=0;var t=Pa(),n=e.prototype;n[t]||(n[t]=el)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],a=0;a3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=i,this.read=r},al=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,i=0;i0)r.push(s[c/2]);else{for(var u=o[c+1],d=n[-l],h=9;h0&&void 0!==arguments[0]?arguments[0]:f.Default,t=la(!0);if(null!=t||e&f.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var wl=new N("Application Initializer"),Cl=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var i=0;i0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(e){return e.timeoutId!==r})),e(i._didWork,i.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Nl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}(),Ql=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,nu.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return nu.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function eu(e){nu=e}var tu,nu=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),iu=function(e,t,n){var i=new qc(n);if(0===Oa.size)return Promise.resolve(i);var r,a,o=(r=e.get(Hl,[]).concat(t).map((function(e){return e.providers})),a=[],r.forEach((function(e){return e&&a.push.apply(a,_toConsumableArray(e))})),a);if(0===o.length)return Promise.resolve(i);var s=function(){var e=j.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),c=Ma.create({providers:o}).get(s.ResourceLoader);return function(e){var t=[],n=new Map;function i(e){var t=n.get(e);if(!t){var i=function(e){return Promise.resolve(c.get(e))}(e);n.set(e,t=i.then(Ta))}return t}return Oa.forEach((function(e,n){var r=[];e.templateUrl&&r.push(i(e.templateUrl).then((function(t){e.template=t})));var a=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;a&&a.forEach((function(t,n){o.push(""),r.push(i(t).then((function(i){o[s+n]=i,a.splice(a.indexOf(t),1),0==a.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(r).then((function(){return function(e){Da.delete(e)}(n)}));t.push(c)})),Oa=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},ru=new N("AllowMultipleToken"),au=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function ou(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new N(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=su();if(!a||a.injector.get(ru,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var o=n.concat(t).concat({provide:r,useValue:!0},{provide:ha,useValue:"platform"});!function(e){if(tu&&!tu.destroyed&&!tu.injector.get(ru,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");tu=e.get(cu);var t=e.get(Ll,null);t&&t.forEach((function(e){return e()}))}(Ma.create({providers:o,name:i}))}return function(e){var t=su();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function su(){return tu&&!tu.destroyed?tu:null}var cu=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,a=(n=t?t.ngZone:void 0,i=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Zl:("zone.js"===n?void 0:n)||new Nl({enableLongStackTrace:Ln(),shouldCoalesceEventChangeDetection:i})),o=[{provide:Nl,useValue:a}];return a.run((function(){var t=Ma.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(un,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return du(r._modules,n)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(e){i.handleError(e)}})})),function(e,t,i){try{var a=((o=n.injector.get(Cl)).runInitializers(),o.donePromise.then((function(){return zc(n.injector.get(Al,"en-US")||"en-US"),r._moduleDoBootstrap(n),n})));return oo(a)?a.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):a}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var o}(i,a)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=lu({},n);return iu(this.injector,i,e).then((function(e){return t.bootstrapModuleFactory(e,i)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(uu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(M(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Ma))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function lu(e,t){return Array.isArray(t)?t.reduce(lu,e):Object.assign(Object.assign({},e),t)}var uu=function(){var e=function(){function e(t,n,i,r,c,l){var u=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=c,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ln(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var d=new a.a((function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){e.next(u._stable),e.complete()}))})),h=new a.a((function(e){var t;u._zone.runOutsideAngular((function(){t=u._zone.onStable.subscribe((function(){Nl.assertNotInAngularZone(),zl((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){Nl.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(o.a)(d,h.pipe(Object(s.a)()))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof ys?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(re),a=n.create(Ma.NULL,[],t||n.selector,r);a.onDestroy((function(){i._unloadComponent(a)}));var o=a.injector.get(Xl,null);return o&&a.injector.get(Ql).registerApplication(a.location.nativeElement,o),this._loadComponent(a),Ln()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t=!0,n=!1,i=void 0;try{for(var r,a=this._views[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){r.value.detectChanges()}}catch(d){n=!0,i=d}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}if(this._enforceNoNewChanges){var o=!0,s=!1,c=void 0;try{for(var l,u=this._views[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){l.value.checkNoChanges()}}catch(d){s=!0,c=d}finally{try{o||null==u.return||u.return()}finally{if(s)throw c}}}}catch(h){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(h)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;du(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Dl,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),du(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Nl),Q(Tl),Q(Ma),Q(un),Q(ws),Q(Cl))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function du(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var hu=function e(){_classCallCheck(this,e)},fu=function e(){_classCallCheck(this,e)},pu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},mu=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||pu}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray(e.split("#"),2),r=i[0],a=i[1];return void 0===a&&(a="default"),n("crnd")(r).then((function(e){return e[a]})).then((function(e){return _u(e,r,a)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),i=t[0],r=t[1],a="NgFactory";return void 0===r&&(r="default",a=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(e){return e[r+a]})).then((function(e){return _u(e,i,r)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Q(Fl),Q(fu,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e}();function _u(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var bu=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(ua)),gu=function(e){return null},vu=ou(null,"core",[{provide:Ol,useValue:"unknown"},{provide:cu,deps:[Ma]},{provide:Ql,deps:[]},{provide:Tl,deps:[]}]),yu=[{provide:uu,useClass:uu,deps:[Nl,Tl,Ma,un,ws,Cl]},{provide:ec,deps:[Nl],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:Cl,useClass:Cl,deps:[[new u,wl]]},{provide:Fl,useClass:Fl,deps:[]},xl,{provide:Bs,useFactory:function(){return Us},deps:[]},{provide:zs,useFactory:function(){return qs},deps:[]},{provide:Al,useFactory:function(e){return zc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new l(Al),new u,new h]]},{provide:El,useValue:"USD"}],ku=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=Se({type:e}),e.\u0275inj=b({factory:function(t){return new(t||e)(Q(uu))},providers:yu}),e}()}).call(this,n("aWmh"))},fZJM:function(e,t,n){var i=t;i.utils=n("w8CP"),i.common=n("7ckf"),i.sha=n("WRkp"),i.ripemd=n("u0Sq"),i.hmac=n("ITfd"),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},fnjI:function(e,t,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,r.call(this,64,56)}function l(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function d(e,t,n,i){return 0===e?t&n|~t&i:2===e?t&n|t&i|n&i:t^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,h=0;h<16;++h)n[h]=e.readInt32BE(4*h);for(;h<80;++h)n[h]=(t=n[h-3]^n[h-8]^n[h-14]^n[h-16])<<1|t>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=l(i)+d(p,r,a,s)+c+n[f]+o[p]|0;c=s,s=a,a=u(r),r=i,i=m}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g2Dh:function(e,t,n){var i=n("Qd/k").Reporter,r=n("Qd/k").EncoderBuffer,a=n("Qd/k").DecoderBuffer,o=n("2j6C"),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function l(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=l;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var e=this._baseState,t={};u.forEach((function(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},l.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},l.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),o.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(o(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0),t[e[n]]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){throw new Error(e+" not implemented for encoding: "+this._baseState.enc)}})),s.forEach((function(e){l.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(n),this}})),l.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){var t=this._baseState;return o(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var i,r=n.default,o=!0,s=null;if(null!==n.key&&(s=e.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(o=this._peekTag(e,c,n.any),e.isError(o))return o}else{var l=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),o=!0}catch(p){o=!1}e.restore(l)}}if(n.obj&&o&&(i=e.enterObject()),o){if(null!==n.explicit){var u=this._decodeTag(e,n.explicit);if(e.isError(u))return u;e=u}var d=e.offset;if(null===n.use&&null===n.choice){n.any&&(l=e.save());var h=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(h))return h;n.any?r=e.raw(l):e=h}if(t&&t.track&&null!==n.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),r=n.any?r:null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),e.isError(r))return r;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var f=new a(r);r=this._getUse(n.contains,e._reporterState.obj)._decode(f,t)}}return n.obj&&o&&(r=e.leaveObject(i)),null===n.key||null===r&&!0!==o?null!==s&&e.exitKey(s):e.leaveKey(s,n.key,r),r},l.prototype._decodeGeneric=function(e,t,n){var i=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,i.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&i.args?this._decodeObjid(t,i.args[0],i.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,i.args&&i.args[0],n):null!==i.use?this._getUse(i.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),o(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(e,t){var n=this._baseState,i=null,r=!1;return Object.keys(n.choice).some((function(a){var o=e.save(),s=n.choice[a];try{var c=s._decode(e,t);if(e.isError(c))return!1;i={type:a,value:c},r=!0}catch(l){return e.restore(o),!1}return!0}),this),r?i:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},l.prototype._encode=function(e,t,n){var i=this._baseState;if(null===i.default||i.default!==e){var r=this._encodeValue(e,t,n);if(void 0!==r&&!this._skipDefault(r,t,n))return r}},l.prototype._encodeValue=function(e,t,n){var r=this._baseState;if(null===r.parent)return r.children[0]._encode(e,t||new i);var a=null;if(this.reporter=t,r.optional&&void 0===e){if(null===r.default)return;e=r.default}var o=null,s=!1;if(r.any)a=this._createEncoderBuffer(e);else if(r.choice)a=this._encodeChoice(e,t);else if(r.contains)o=this._getUse(r.contains,n)._encode(e,t),s=!0;else if(r.children)o=r.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var i=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var r=n._encode(e[n._baseState.key],t,e);return t.leaveKey(i),r}),this).filter((function(e){return e})),o=this._createEncoderBuffer(o);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,o=this._createEncoderBuffer(e.map((function(n){return this._getUse(this._baseState.args[0],e)._encode(n,t)}),c))}else null!==r.use?a=this._getUse(r.use,n)._encode(e,t):(o=this._encodePrimitive(r.tag,e),s=!0);if(!r.any&&null===r.choice){var l=null!==r.implicit?r.implicit:r.tag,u=null===r.implicit?"universal":"context";null===l?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(a=this._encodeComposite(l,s,u,o))}return null!==r.explicit&&(a=this._encodeComposite(r.explicit,!1,"context",a)),a},l.prototype._encodeChoice=function(e,t){var n=this._baseState,i=n.choice[e.type];return i||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),i._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},g9U9:function(e,t){e.exports=function(e,t){for(var n=e.length,i=-1;++i10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hbMA:function(e,t,n){var i=n("P7XM"),r=n("N2jm");function a(e){r.call(this,e),this.enc="pem"}i(a,r),e.exports=a,a.prototype.encode=function(e,t){for(var n=r.prototype.encode.call(this,e).toString("base64"),i=["-----BEGIN "+t.label+"-----"],a=0;a15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),n=-1;++n0){var s=new i(this.degree);return s.fill(0),a.copy(s,o),s}return a},e.exports=a},jUeY:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/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:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(i(e)?"godziny":"godzin");case"MM":return r+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?""===i?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_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\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("quSY");function a(e,t){return new i.a((function(n){var i=new r.a,a=0;return i.add(t.schedule((function(){a!==e.length?(n.next(e[a++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}},jfSC:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".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:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jfd1:function(e,t,n){var i=n("P7XM"),r=n("tjlA").Buffer,a=n("z71Z");function o(e){a.call(this,e),this.enc="pem"}i(o,a),e.exports=o,o.prototype.decode=function(e,t){for(var n=e.toString().split(/[\r\n]+/g),i=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,l=0;l=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(e){return function(t,n,a,o){var s=i(t),c=r[e][i(t)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},"k+aG":function(e,t,n){"use strict";var i=n("hwdV").Buffer,r=n("1IWx").Transform;function a(e){r.call(this),this._block=i.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n("P7XM")(a,r),a.prototype._transform=function(e,t,n){var i=null;try{this.update(e,t)}catch(r){i=r}n(i)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(n){t=n}e(t)},a.prototype.update=function(e,t){if(function(e,t){if(!i.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer")}(e),this._finalized)throw new Error("Digest already called");i.isBuffer(e)||(e=i.from(e,t));for(var n=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var a=this._blockOffset;a0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},a.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=a},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},"kVK+":function(e,t){t.read=function(e,t,n,i,r){var a,o,s=8*r-i-1,c=(1<>1,u=-7,d=n?r-1:0,h=n?-1:1,f=e[t+d];for(d+=h,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=i;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-l;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),a-=l}return(f?-1:1)*o*Math.pow(2,a-i)},t.write=function(e,t,n,i,r,a){var o,s,c,l=8*a-r-1,u=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+d>=1?h/c:h*Math.pow(2,1-d))*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*Math.pow(2,r),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;e[n+f]=255&s,f+=p,s/=256,r-=8);for(o=o<0;e[n+f]=255&o,f+=p,o/=256,l-=8);e[n+f-p]|=128*m}},"kk9/":function(e,t,n){var i=n("e/Dd").getSymbolSize;t.getPositions=function(e){var t=i(e);return[[0,0],[t-7,0],[0,t-7]]}},l5ep:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),t}(n("7o/Q").a)},lF1L:function(e,t,n){"use strict";var i=n("fZJM"),r=n("DLvh"),a=n("86MQ"),o=a.assert,s=a.parseBytes,c=n("OA+I"),l=n("RKMU");function u(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);this.curve=e=r[e].curve,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}e.exports=u,u.prototype.sign=function(e,t){e=s(e);var n=this.keyFromSecret(t),i=this.hashInt(n.messagePrefix(),e),r=this.g.mul(i),a=this.encodePoint(r),o=this.hashInt(a,n.pubBytes(),e).mul(n.priv()),c=i.add(o).umod(this.curve.n);return this.makeSignature({R:r,S:c,Rencoded:a})},u.prototype.verify=function(e,t,n){e=s(e),t=this.makeSignature(t);var i=this.keyFromPublic(n),r=this.hashInt(t.Rencoded(),i.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(i.pub().mul(r)).eq(a)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t>>7)^(p<<14|p>>>18)^p>>>3)+l[f-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+l[f-16]}var _=i&r^i&a^r&a,b=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[f]+l[f];h=d,d=u,u=s,s=o+b|0,o=a,a=r,r=i,i=b+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+_)|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),i.SHA256)},lWpZ:function(e,t,n){var i=n("Hjy1"),r=n("/ab2"),a=n("usKN"),o=n("C+gy"),s=n("roQf");function c(e,t,n){if(e=e.toLowerCase(),a[e])return r.createCipheriv(e,t,n);if(o[e])return new i({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function l(e,t,n){if(e=e.toLowerCase(),a[e])return r.createDecipheriv(e,t,n);if(o[e])return new i({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var n,i;if(e=e.toLowerCase(),a[e])n=a[e].key,i=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,i=o[e].iv}var r=s(t,!1,n,i);return c(e,r.key,r.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var n,i;if(e=e.toLowerCase(),a[e])n=a[e].key,i=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");n=8*o[e].key,i=o[e].iv}var r=s(t,!1,n,i);return l(e,r.key,r.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(o).concat(r.getCiphers())}},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYJp:function(e,t,n){var i=n("e/Dd"),r=i.getBCHDigit(1335);t.getEncodedBits=function(e,t){for(var n=e.bit<<3|t,a=n<<10;i.getBCHDigit(a)-r>=0;)a^=1335<=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lm0R:function(e,t,n){"use strict";(function(t){e.exports=!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?function(e,n,i,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,i)}));case 4:return t.nextTick((function(){e.call(null,n,i,r)}));default:for(a=new Array(s-1),o=0;o=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".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\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},mAz1:function(e,t,n){(function(t){var i=n("OZ/i"),r=n("MzeL").ec,a=n("Ku4m"),o=n("zZGF");function s(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,n,c,l,u){var d=a(c);if("ec"===d.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var i=o[n.data.algorithm.curve.join(".")];if(!i)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));return new r(i).verify(t,e,n.data.subjectPrivateKey.data)}(e,n,d)}if("dsa"===d.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,o=n.data.q,c=n.data.g,l=n.data.pub_key,u=a.signature.decode(e,"der"),d=u.s,h=u.r;s(d,o),s(h,o);var f=i.mont(r),p=d.invm(o);return 0===c.toRed(f).redPow(new i(t).mul(p).mod(o)).fromRed().mul(l.toRed(f).redPow(h.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(h)}(e,n,d)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");n=t.concat([u,n]);for(var h=d.modulus.byteLength(),f=[1],p=0;n.length+f.length+2=6?"utf-8":"binary",e.exports=n}).call(this,n("8oxB"))},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",(function(){return i}))},nZSm:function(e,t,n){var i=n("u/Db"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function a(e){this.mode=i.ALPHANUMERIC,this.data=e}a.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var n=45*r.indexOf(this.data[t]);n+=r.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},e.exports=a},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return function(t){for(var n=0,i=e.length;n>>2]}},i.pad.Iso10126)},olUY:function(e,t,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,r.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}i(c,r),c.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},c.prototype._update=function(e){for(var t,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,_=0|this._h,b=0;b<16;++b)n[b]=e.readInt32BE(4*b);for(;b<64;++b)n[b]=0|(((t=n[b-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[b-7]+f(n[b-15])+n[b-16];for(var g=0;g<64;++g){var v=_+h(c)+l(c,p,m)+o[g]+n[g]|0,y=d(i)+u(i,r,a)|0;_=m,m=p,p=c,c=s+v|0,s=a,a=r,r=i,i=v+y|0}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=_+this._h|0},c.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pA7S:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib,n=t.WordArray,r=t.BlockCipher,a=e.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var i=o[n]-1;t[n]=e[i>>>5]>>>31-i%32&1}for(var r=this._subKeys=[],a=0;a<16;a++){var l=r[a]=[],u=c[a];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=r[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var i=0;i<16;i++){for(var r=n[i],a=this._lBlock,o=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((o^r[c])&u[c])>>>0];this._lBlock=o,this._rBlock=a^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<>>2]|=r<<24-a%4*8,e.sigBytes+=r},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},i.pad.Ansix923)},qM6L:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(){var e=i.lib.WordArray,t=i.enc;function n(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>16-r%4*8&65535));return i.join("")},parse:function(t){for(var n=t.length,i=[],r=0;r>>1]|=t.charCodeAt(r)<<16-r%2*16;return e.create(i,2*n)}},t.Utf16LE={stringify:function(e){for(var t=e.words,i=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var i=t.length,r=[],a=0;a>>1]|=n(t.charCodeAt(a)<<16-a%2*16);return e.create(r,2*i)}}}(),i.enc.Utf16)},qVij:function(e,t,n){(function(t){var i=n("OZ/i"),r=n("Edxu");function a(e,n){var r=function(e){var t=o(e);return{blinder:t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(n),a=n.modulus.byteLength(),s=(i.mont(n.modulus),new i(e).mul(r.blinder).umod(n.modulus)),c=s.toRed(i.mont(n.prime1)),l=s.toRed(i.mont(n.prime2)),u=n.coefficient,d=n.prime1,h=n.prime2,f=c.redPow(n.exponent1),p=l.redPow(n.exponent2);f=f.fromRed(),p=p.fromRed();var m=f.isub(p).imul(u).umod(d);return m.imul(h),p.iadd(m),new t(p.imul(r.unblinder).umod(n.modulus).toArray(!1,a))}function o(e){for(var t=e.modulus.byteLength(),n=new i(r(t));n.cmp(e.modulus)>=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new i(r(t));return n}e.exports=a,a.getr=o}).call(this,n("tjlA").Buffer)},qlaj:function(e,t,n){"use strict";var i=n("w8CP").rotr32;function r(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,i){return 0===e?r(t,n,i):1===e||3===e?o(t,n,i):2===e?a(t,n,i):void 0},t.ch32=r,t.maj32=a,t.p32=o,t.s0_256=function(e){return i(e,2)^i(e,13)^i(e,22)},t.s1_256=function(e){return i(e,6)^i(e,11)^i(e,25)},t.g0_256=function(e){return i(e,7)^i(e,18)^e>>>3},t.g1_256=function(e){return i(e,17)^i(e,19)^e>>>10}},qmMu:function(e,t,n){var i=n("Wogr"),r=n("e/Dd"),a=n("ekOh"),o=n("e6BP"),s=n("V35J"),c=n("1sBl"),l=n("kk9/"),u=n("eQOe"),d=n("NPxG"),h=n("jSPq"),f=n("yKow"),p=n("lYJp"),m=n("u/Db"),_=n("vvrf"),b=n("7uVY");function g(e,t,n){var i,r,a=e.size,o=p.getEncodedBits(t,n);for(i=0;i<15;i++)e.set(i<6?i:i<8?i+1:a-15+i,8,r=1==(o>>i&1),!0),e.set(8,i<8?a-i-1:i<9?15-i-1+1:15-i-1,r,!0);e.set(a-8,8,1,!0)}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var n,p,v=a.M;return void 0!==t&&(v=a.from(t.errorCorrectionLevel,a.M),n=f.from(t.version),p=u.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,n,a){var p;if(b(e))p=_.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var v=t;if(!v){var y=_.rawSplit(e);v=f.getBestVersionForData(y,n)}p=_.fromString(e,v||40)}var k=f.getBestVersionForData(p,n);if(!k)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t=0&&s<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===s||6===s)||s>=2&&s<=4&&c>=2&&c<=4,!0)}(S,t),function(e){for(var t=e.size,n=8;n=7&&function(e,t){for(var n,i,r,a=e.size,o=f.getEncodedBits(t),s=0;s<18;s++)n=Math.floor(s/3),e.set(n,i=s%3+a-8-3,r=1==(o>>s&1),!0),e.set(i,n,r,!0)}(S,t),function(e,t){for(var n=e.size,i=-1,r=n-1,a=7,o=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var c=0;c<2;c++)if(!e.isReserved(r,s-c)){var l=!1;o>>a&1)),e.set(r,s-c,l),-1==--a&&(o++,a=7)}if((r+=i)<0||n<=r){r-=i,i=-i;break}}}(S,w),isNaN(a)&&(a=u.getBestMask(S,g.bind(null,S,n))),u.applyMask(a,S),g(S,n,a),{modules:S,version:t,errorCorrectionLevel:n,maskPattern:a,segments:p}}(e,n,v,p)}},qu8F:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CTRGladman=function(){var e=i.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}else e+=1<<24;return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(o);var s=o.slice(0);i.encryptBlock(s,0);for(var c=0;cn-h-2)throw new Error("message too long");var f=d.alloc(n-i-h-2),p=n-u-1,m=r(u),_=s(d.concat([l,f,d.alloc(1,1),t],p),o(m,p)),b=s(m,o(_,u));return new c(d.concat([d.alloc(1),b,_],n))}(p,t);else if(1===h)f=function(e,t,n){var i,a=t.length,o=e.modulus.byteLength();if(a>o-11)throw new Error("message too long");return i=n?d.alloc(o-a-3,255):function(e){for(var t,n=d.allocUnsafe(e),i=0,a=r(2*e),o=0;i=0)throw new Error("data too long for modulus")}return n?u(f,p):l(f,p)}},"rVI/":function(e,t,n){var i=n("tjlA"),r=i.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(r.prototype),a(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},rXFu:function(e,t,n){"use strict";(function(t,i){var r=n("lm0R");e.exports=v;var a,o=n("49sm");v.ReadableState=g,n("+qE3");var s=function(e,t){return e.listeners(t).length},c=n("QpuX"),l=n("hwdV").Buffer,u=t.Uint8Array||function(){},d=n("Onz0");d.inherits=n("P7XM");var h=n(1),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=n("Xhqo"),_=n("RoFp");d.inherits(v,c);var b=["error","close","destroy","pause","resume"];function g(e,t){a=a||n("sZro"),this.objectMode=!!(e=e||{}).objectMode,t instanceof a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark;this.highWaterMark=i||0===i?i:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n("fXKp").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function v(e){if(a=a||n("sZro"),!(this instanceof v))return new v(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function y(e,t,n,i,r){var a,o=e._readableState;return null===t?(o.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,C(e)}}(e,o)):(r||(a=function(e,t){var n,i;return l.isBuffer(i=t)||i instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),i?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?k(e,o,t,!1):x(e,o)):k(e,o,t,!1))):i||(o.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r(S,e):S(e))}function S(e){f("emit readable"),e.emit("readable"),D(e)}function x(e,t){t.readingMore||(t.readingMore=!0,r(M,e,t))}function M(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var i;return ea.length?a.length:e;if(r+=o===a.length?a:a.slice(0,e),0==(e-=o)){o===a.length?(++i,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t):function(e,t){var n=l.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var a=i.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),0==(e-=o)){o===a.length?(++r,t.head=i.next?i.next:t.tail=null):(t.head=i,i.data=a.slice(o));break}++r}return t.length-=r,n}(e,t),i}(e,t.buffer,t.decoder),n);var n}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,r(E,t,e))}function E(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function P(e,t){for(var n=0,i=e.length;n=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?A(this):C(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&A(this),null;var i,r=t.needReadable;return f("need readable",r),(0===t.length||t.length-e0?T(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&A(this)),null!==i&&this.emit("data",i),i},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,f("pipe count=%d opts=%j",a.pipesCount,t);var c=t&&!1===t.end||e===i.stdout||e===i.stderr?g:l;function l(){f("onend"),e.end()}a.endEmitted?r(c):n.once("end",c),e.on("unpipe",(function t(i,r){f("onunpipe"),i===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",_),e.removeListener("finish",b),e.removeListener("drain",u),e.removeListener("error",m),e.removeListener("unpipe",t),n.removeListener("end",l),n.removeListener("end",g),n.removeListener("data",p),d=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}));var u=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,D(e))}}(n);e.on("drain",u);var d=!1,h=!1;function p(t){f("ondata"),h=!1,!1!==e.write(t)||h||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==P(a.pipes,e))&&!d&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function m(t){f("onerror",t),g(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",b),g()}function b(){f("onfinish"),e.removeListener("close",_),g()}function g(){f("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener("error",n);e._events&&e._events.error?o(e._events.error)?e._events.error.unshift(n):e._events.error=[n,e._events.error]:e.on("error",n)}(e,0,m),e.once("close",_),e.once("finish",b),e.emit("pipe",n),a.flowing||(f("pipe resume"),n.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},roQf:function(e,t,n){var i=n("hwdV").Buffer,r=n("9XZ3");e.exports=function(e,t,n,a){if(i.isBuffer(e)||(e=i.from(e,"binary")),t&&(i.isBuffer(t)||(t=i.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=n/8,s=i.alloc(o),c=i.alloc(a||0),l=i.alloc(0);o>0||a>0;){var u=new r;u.update(l),u.update(e),t&&u.update(t),l=u.digest();var d=0;if(o>0){var h=s.length-o;d=Math.min(o,l.length),l.copy(s,h,0,d),o-=d}if(d0){var f=c.length-a,p=Math.min(a,l.length-d);l.copy(c,f,d,d+p),a-=p}}return l.fill(0),{key:s,iv:c}}},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sZro:function(e,t,n){"use strict";var i=n("lm0R"),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var a=n("Onz0");a.inherits=n("P7XM");var o=n("rXFu"),s=n("3BRs");a.inherits(d,o);for(var c=r(s.prototype),l=0;l4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],c=[],l=-1,u=null;if(r.forEach((function(e){var n=e.offset,r=n==l,d=r&&u||{};Object.keys(e).forEach((function(n){var r=n,c=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),c){case i.p:c=a[n];break;case i.a:c=o[n];break;default:c=t.normalizeStyleValue(n,r,c,s)}d[r]=c})),r||c.push(d),u=d,l=n})),s.length){var d="\n - ";throw new Error("Unable to animate due to the following errors:".concat(d).concat(s.join(d)))}return c}function c(e,t,n,i){switch(t){case"start":e.onStart((function(){return i(n&&l(n,"start",e))}));break;case"done":e.onDone((function(){return i(n&&l(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return i(n&&l(n,"destroy",e))}))}}function l(e,t,n){var i=n.totalTime,r=u(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),a=e._data;return null!=a&&(r._data=a),r}function u(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function d(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function h(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var f=function(e,t){return!1},p=function(e,t){return!1},m=function(e,t,n){return[]},_=a();(_||"undefined"!=typeof Element)&&(f=function(e,t){return e.contains(t)},p=function(){if(_||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:p}(),m=function(e,t,n){var i=[];if(n)i.push.apply(i,_toConsumableArray(e.querySelectorAll(t)));else{var r=e.querySelector(t);r&&i.push(r)}return i});var b=null,g=!1;function v(e){b||(b=("undefined"!=typeof document?document.body:null)||{},g=!!b.style&&"WebkitAppearance"in b.style);var t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in b.style)&&g)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}var y=p,k=f,w=m;function C(e){var t={};return Object.keys(e).forEach((function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]})),t}var S=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return y(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return w(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,a){arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&arguments[6];return new i.d(n,r)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Lb({token:e,factory:e.\u0275fac}),e}(),x=function(){var e=function e(){_classCallCheck(this,e)};return e.NOOP=new S,e}();function M(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:L(parseFloat(t[1]),t[2])}function L(e,t){switch(t){case"s":return 1e3*e;default:return e}}function O(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,r=0,a="";if("string"==typeof e){var o=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=L(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=L(parseFloat(s),o[4]));var c=o[5];c&&(a=c)}else i=e;if(!n){var l=!1,u=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),l=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&t.splice(u,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:i,delay:r,easing:a}}(e,t,n)}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else D(e,n);return n}function A(e,t,n){return n?t+":"+n+";":""}function E(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var a=r[1],o=r[2],s=r[3];t.push(K(a,s)),"<"!=o[0]||"*"==a&&"*"==s||t.push(K(s,a))}(e,r,i)})):r.push(n),r),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:ee(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return N(n,e,t)})),options:ee(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,a=e.steps.map((function(e){t.currentTime=i;var a=N(n,e,t);return r=Math.max(r,t.currentTime),a}));return t.currentTime=r,{type:3,steps:a,options:ee(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return te(O(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var r=te(0,0,"");return r.dynamic=!0,r.strValue=i,r}return te((n=n||O(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var a=e.styles?e.styles:Object(i.l)({});if(5==a.type)n=this.visitKeyframes(a,t);else{var o=e.styles,s=!1;if(!o){s=!0;var c={};r.easing&&(c.easing=r.easing),o=Object(i.l)(c)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=s,n=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==i.a?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var r=!1,a=null;return n.forEach((function(e){if(Q(e)){var t=e,n=t.easing;if(n&&(a=n,delete t.easing),!r)for(var i in t)if(t[i].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,a=t.currentTime;i&&a>0&&(a-=i.duration+i.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(i){if(n._driver.validateStyleProperty(i)){var o,s,c,l,u,d=t.collectedStyles[t.currentQuerySelector],h=d[i],f=!0;h&&(a!=r&&a>=h.startTime&&r<=h.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(h.startTime,'ms" and "').concat(h.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),f=!1),a=h.startTime),f&&(d[i]={startTime:a,endTime:r}),t.options&&(o=e[i],s=t.options,c=t.errors,l=s.params||{},(u=Y(o)).length&&u.forEach((function(e){l.hasOwnProperty(e)||c.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,c=0,l=e.steps.map((function(e){var i=n._makeStyleAst(e,t),l=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(Q(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(Q(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),u=0;return null!=l&&(r++,u=i.offset=l),s=s||u<0||u>1,o=o||u0&&r0?r==h?1:d*r:a[r],s=o*m;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=o,i.styles.push(e)})),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:N(this,I(e.animation),t),options:ee(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ee(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ee(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(G,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),a=r[0],o=r[1];t.currentQuerySelector=n.length?n+" "+a:a,d(t.collectedStyles,t.currentQuerySelector,{});var s=N(this,I(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:ee(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:O(e.timings,t.errors,!0);return{type:12,animation:N(this,I(e.animation),t),timings:n,options:null}}}]),e}(),X=function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Q(e){return!Array.isArray(e)&&"object"==typeof e}function ee(e){var t;return e?(e=D(e)).params&&(e.params=(t=e.params)?D(t):null):e={},e}function te(e,t,n){return{duration:e,delay:t,easing:n}}function ne(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var ie=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),re=new RegExp(":enter","g"),ae=new RegExp(":leave","g");function oe(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new se).buildKeyframes(e,t,n,i,r,a,o,s,c,l)}var se=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,a,o,s,c){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new ie;var u=new le(e,t,c,i,r,l,[]);u.options=s,u.currentTimeline.setStyles([a],null,u.errors,s),N(this,n,u);var d=u.timelines.filter((function(e){return e.containsAnimation()}));if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,u.errors,s)}return d.length?d.map((function(e){return e.buildKeyframes()})):[ne(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?M(n.duration):null,a=null!=n.delay?M(n.delay):null;return 0!==r&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,r,a);i=Math.max(i,n.duration+n.delay)})),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),N(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,a=e.options;if(a&&(a.params||a.delay)&&((r=t.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ce);var o=M(a.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach((function(e){return N(n,e,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,a=e.options&&e.options.delay?M(e.options.delay):0;e.steps.forEach((function(o){var s=t.createSubContext(e.options);a&&s.delayNextStep(a),N(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return O(t.params?V(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach((function(e){a.forwardTime((e.offset||0)*r),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},a=r.delay?M(r.delay):0;a&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ce);var o=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach((function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);a&&s.delayNextStep(a),i===t.element&&(c=s.currentTimeline),N(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var l=c.currentTime;N(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),e}(),ce={},le=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ce,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new ue(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=M(i.duration)),null!=i.delay&&(r.delay=M(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(e){t&&o.hasOwnProperty(e)||(o[e]=V(a[e],o,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ce,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new de(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,a){var o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(re,"."+this._enterClassName)).replace(ae,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,_toConsumableArray(s))}return r||0!=o.length||a.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),o}},{key:"params",get:function(){return this.options.params}}]),e}(),ue=function(){function e(t,n,i,r){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||i.a,t._currentKeyframe[e]=i.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var a=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]=i.a})):T(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=V(s[e],o,n);a._pendingStyles[e]=t,a._localTimelineStyles.hasOwnProperty(e)||(a._backFill[e]=a._globalTimelineStyles.hasOwnProperty(e)?a._globalTimelineStyles[e]:i.a),a._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,a=[];this._keyframes.forEach((function(o,s){var c=T(o,!0);Object.keys(c).forEach((function(e){var r=c[e];r==i.p?t.add(e):r==i.a&&n.add(e)})),r||(c.offset=s/e.duration),a.push(c)}));var o=t.size?W(t.values()):[],s=n.size?W(n.values()):[];if(r){var c=a[0],l=D(c);c.offset=0,l.offset=1,a=[c,l]}return ne(this.element,a,o,s,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),de=function(e){function t(e,n,i,r,a,o){var s,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,t),(s=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,o.delay))).element=n,s.keyframes=i,s.preStyleProps=r,s.postStyleProps=a,s._stretchStartingKeyframe=c,s.timings={duration:o.duration,delay:o.delay,easing:o.easing},s}return _inherits(t,e),_createClass(t,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,c=T(e[0],!1);c.offset=0,a.push(c);var l=T(e[0],!1);l.offset=he(s),a.push(l);for(var u=e.length-1,d=1;d<=u;d++){var h=T(e[d],!1);h.offset=he((n+h.offset*i)/o),a.push(h)}i=o,n=0,r="",e=a}return ne(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),t}(ue);function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var fe,pe,me=function e(){_classCallCheck(this,e)},_e=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"normalizePropertyName",value:function(e,t){return H(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",a=n.toString().trim();if(be[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return a+r}}]),t}(me),be=(fe="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),pe={},fe.forEach((function(e){return pe[e]=!0})),pe);function ge(e,t,n,i,r,a,o,s,c,l,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}var ve={},ye=function(){function e(t,n,i){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return _createClass(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some((function(e){return e(t,n,i,r)}))}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],a=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):a}},{key:"build",value:function(e,t,n,i,r,a,o,s,c,l){var u=[],h=this.ast.options&&this.ast.options.params||ve,f=this.buildStyles(n,o&&o.params||ve,u),p=s&&s.params||ve,m=this.buildStyles(i,p,u),_=new Set,b=new Map,g=new Map,v="void"===i,y={params:Object.assign(Object.assign({},h),p)},k=l?[]:oe(e,t,this.ast.animation,r,a,f,m,y,c,u),w=0;if(k.forEach((function(e){w=Math.max(e.duration+e.delay,w)})),u.length)return ge(t,this._triggerName,n,i,v,f,m,[],[],b,g,w,u);k.forEach((function(e){var n=e.element,i=d(b,n,{});e.preStyleProps.forEach((function(e){return i[e]=!0}));var r=d(g,n,{});e.postStyleProps.forEach((function(e){return r[e]=!0})),n!==t&&_.add(n)}));var C=W(_.values());return ge(t,this._triggerName,n,i,v,f,m,k,C,b,g,w)}}]),e}(),ke=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},i=D(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(i[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach((function(e){var a=r[e];a.length>1&&(a=V(a,i,t)),n[e]=a}))}})),n}}]),e}(),we=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){i.states[e.name]=new ke(e.style,e.options&&e.options.params||{})})),Ce(this.states,"true","1"),Ce(this.states,"false","0"),n.transitions.forEach((function(e){i.transitionFactories.push(new ye(t,e,i.states))})),this.fallbackTransition=new ye(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find((function(r){return r.match(e,t,n,i)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function Ce(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Se=new ie,xe=function(){function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],i=$(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=s(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],c=this._animations[e],l=new Map;if(c?(n=oe(this._driver,t,c,"ng-enter","ng-leave",{},{},a,Se,s)).forEach((function(e){var t=d(l,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(s.push("The requested animation doesn't exist or has already been destroyed"),n=[]),s.length)throw new Error("Unable to create the animation due to the following errors: ".concat(s.join("\n")));l.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,i.a)}))}));var u=o(n.map((function(e){var t=l.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=u,u.onDestroy((function(){return r.destroy(e)})),this.players.push(u),u}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=u(t,"","","");return c(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Me=[],Le={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},De=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var a=D(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),Te=new De("void"),Ae=function(){function e(t,n,i){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ve(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var o=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);var c=d(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(Ve(e,"ng-trigger"),Ve(e,"ng-trigger-"+t),c[t]=Te),function(){a._engine.afterFlush((function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),a._triggers[t]||delete c[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(t),o=new Pe(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Ve(e,"ng-trigger"),Ve(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],l=new De(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s[t]=l,c||(c=Te),"void"===l.value||c.value!==l.value){var u=d(this._engine.playersByElement,e,[]);u.forEach((function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()}));var h=a.matchTransition(c.value,l.value,e,l.params),f=!1;if(!h){if(!r)return;h=a.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:c,toState:l,player:o,isFallbackTransition:f}),f||(Ve(e,"ng-animate-queued"),o.onStart((function(){We(e,"ng-animate-queued")}))),o.onDone((function(){var t=i.players.indexOf(o);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}})),this.players.push(o),u.push(o),o}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(a,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ve(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),We(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Re(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Re(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return o(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Le,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;D--)this._namespaceList[D].drainQueuedTransitions(t).forEach((function(e){var t=e.player,i=e.element;if(L.push(t),n.collectedEnterElements.length){var o=i.__ng_removed;if(o&&o.setForMove)return void t.destroy()}var s=!p||!n.driver.containsElement(p,i),f=x.get(i),m=b.get(i),_=n._buildInstruction(e,r,m,f,s);if(!_.errors||!_.errors.length)return s?(t.onStart((function(){return R(i,_.fromStyles)})),t.onDestroy((function(){return P(i,_.toStyles)})),void a.push(t)):e.isFallbackTransition?(t.onStart((function(){return R(i,_.fromStyles)})),t.onDestroy((function(){return P(i,_.toStyles)})),void a.push(t)):(_.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(i,_.timelines),c.push({instruction:_,player:t,element:i}),_.queriedElements.forEach((function(e){return d(l,e,[]).push(t)})),_.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var i=u.get(t);i||u.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}})),void _.postStyleProps.forEach((function(e,t){var n=Object.keys(e),i=h.get(t);i||h.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))})));O.push(_)}));if(O.length){var T=[];O.forEach((function(e){T.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return T.push("- ".concat(e,"\n"))}))})),L.forEach((function(e){return e.destroy()})),this.reportError(T)}var A=new Map,E=new Map;c.forEach((function(e){var t=e.element;r.has(t)&&(E.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,A))})),a.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){d(A,t,[]).push(e),e.destroy()}))}));var I=v.filter((function(e){return He(e,u,h)})),j=new Map;je(j,this.driver,k,h,i.a).forEach((function(e){He(e,u,h)&&I.push(e)}));var Y=new Map;_.forEach((function(e,t){je(Y,n.driver,new Set(e),u,i.p)})),I.forEach((function(e){var t=j.get(e),n=Y.get(e);j.set(e,Object.assign(Object.assign({},t),n))}));var V=[],W=[],F={};c.forEach((function(e){var t=e.element,i=e.player,c=e.instruction;if(r.has(t)){if(f.has(t))return i.onDestroy((function(){return P(t,c.toStyles)})),i.disabled=!0,i.overrideTotalTime(c.totalTime),void a.push(i);var l=F;if(E.size>1){for(var u=t,d=[];u=u.parentNode;){var h=E.get(u);if(h){l=h;break}d.push(u)}d.forEach((function(e){return E.set(e,l)}))}var p=n._buildAnimation(i.namespaceId,c,A,s,Y,j);if(i.setRealPlayer(p),l===F)V.push(i);else{var m=n.playersByElement.get(l);m&&m.length&&(i.parentPlayer=o(m)),a.push(i)}}else R(t,c.fromStyles),i.onDestroy((function(){return P(t,c.toStyles)})),W.push(i),f.has(t)&&a.push(i)})),W.forEach((function(e){var t=s.get(e.element);if(t&&t.length){var n=o(t);e.setRealPlayer(n)}})),a.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var H=0;H0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new i.d(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),Pe=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new i.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return c(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){d(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Re(e){return e&&1===e.nodeType}function Ie(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function je(e,t,n,i,r){var a=[];n.forEach((function(e){return a.push(Ie(e))}));var o=[];i.forEach((function(n,i){var a={};n.forEach((function(e){var n=a[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Oe,o.push(i))})),e.set(i,a)}));var s=0;return n.forEach((function(e){return Ie(e,a[s++])})),o}function Ye(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var i=new Set(t),r=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var a=r.get(t);if(a)return a;var o=t.parentNode;return a=n.has(o)?o:i.has(o)?1:e(o),r.set(t,a),a}(e);1!==t&&n.get(t).push(e)})),n}function Ve(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function We(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Fe(e,t,n){o(n).onDone((function(){return e.processLeaveNode(t)}))}function He(e,t,n){var i=n.get(e);if(!i)return!1;var r=t.get(e);return r?i.forEach((function(e){return r.add(e)})):t.set(e,i),n.delete(e),!0}var Be=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Ee(t,n,i),this._timelineEngine=new xe(t,n,i),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return _createClass(e,[{key:"registerTrigger",value:function(e,t,n,i,r){var a=e+"-"+i,o=this._triggerCache[a];if(!o){var s=[],c=$(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));o=function(e,t){return new we(e,t)}(i,c),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}},{key:"onRemove",value:function(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,i){if("@"==n.charAt(0)){var r=_slicedToArray(h(n),2),a=r[0],o=r[1];this._timelineEngine.command(a,t,o,i)}else this._transitionEngine.trigger(e,t,n,i)}},{key:"listen",value:function(e,t,n,i,r){if("@"==n.charAt(0)){var a=_slicedToArray(h(n),2),o=a[0],s=a[1];return this._timelineEngine.listen(o,t,s,r)}return this._transitionEngine.listen(e,t,n,i,r)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function ze(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=Ue(t[0]),t.length>1&&(i=Ue(t[t.length-1]))):t&&(n=Ue(t)),n||i?new Ne(e,n,i):null}var Ne=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&P(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(P(this._element,this._initialStyles),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),P(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function Ue(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Ze(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=Qe(e,"").split(","),(i=$e(n,t))>=0&&(n.splice(i,1),Xe(e,"",n.join(","))))}}]),e}();function Ke(e,t,n){Xe(e,"PlayState",n,Ge(e,t))}function Ge(e,t){var n=Qe(e,"");return n.indexOf(",")>0?$e(n.split(","),t):$e([n],t)}function $e(e,t){for(var n=0;n=0)return n;return-1}function Ze(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Xe(e,t,n,i){var r="animation"+t;if(null!=i){var a=e.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}e.style[r]=n}function Qe(e,t){return e.style["animation"+t]}var et=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Je(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:U(e.element,i))}))}this.currentSnapshot=t}}]),e}(),tt=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).element=e,i._startingStyles={},i.__initialized=!1,i._styles=C(n),i}return _inherits(t,e),_createClass(t,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),_get(_getPrototypeOf(t.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),_get(_getPrototypeOf(t.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,_get(_getPrototypeOf(t.prototype),"destroy",this).call(this))}}]),t}(i.d),nt=function(){function e(){_classCallCheck(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return y(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return w(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return C(e)}));var i="@keyframes ".concat(t," {\n"),r="";n.forEach((function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}})),i+="".concat(r,"}\n")})),i+="}\n";var a=document.createElement("style");return a.innerHTML=i,a}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;o&&this._notifyFaultyScrubber();var s=a.filter((function(e){return e instanceof et})),c={};B(n,i)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=z(e,t,c));if(0==n)return new tt(e,l);var u="gen_css_kf_".concat(this._count++),d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);var h=ze(e,t),f=new et(e,t,u,n,i,r,l,h);return f.onDestroy((function(){var e;(e=d).parentNode.removeChild(e)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}(),it=function(){function e(t,n,i,r){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:U(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),rt=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ot().toString()),this._cssKeyframesDriver=new nt}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return v(e)}},{key:"matchesElement",value:function(e,t){return y(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return w(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,a);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var c={},l=a.filter((function(e){return e instanceof it}));B(n,i)&&l.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=ze(e,t=z(e,t=t.map((function(e){return T(e,!1)})),c));return new it(e,t,s,u)}}]),e}();function at(){return"function"==typeof ot()}function ot(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,n("8oxB"))},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tOiH:function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},tSWc:function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("2j6C"),o=i.rotr64_hi,s=i.rotr64_lo,c=i.shr64_hi,l=i.shr64_lo,u=i.sum64,d=i.sum64_hi,h=i.sum64_lo,f=i.sum64_4_hi,p=i.sum64_4_lo,m=i.sum64_5_hi,_=i.sum64_5_lo,b=r.BlockHash,g=[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 v(){if(!(this instanceof v))return new v;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function y(e,t,n,i,r){var a=e&n^~e&r;return a<0&&(a+=4294967296),a}function k(e,t,n,i,r,a){var o=t&i^~t&a;return o<0&&(o+=4294967296),o}function w(e,t,n,i,r){var a=e&n^e&r^n&r;return a<0&&(a+=4294967296),a}function C(e,t,n,i,r,a){var o=t&i^t&a^i&a;return o<0&&(o+=4294967296),o}function S(e,t){var n=o(e,t,28)^o(t,e,2)^o(t,e,7);return n<0&&(n+=4294967296),n}function x(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function M(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function L(e,t){var n=o(e,t,1)^o(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function O(e,t){var n=s(e,t,1)^s(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function D(e,t){var n=s(e,t,19)^s(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}i.inherits(v,b),e.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(e,t){for(var n=this.W,i=0;i<32;i++)n[i]=e[t+i];for(;i=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tcrS:function(e,t,n){"use strict";var i=n("tjlA").Buffer,r=n("P7XM"),a=n("k+aG"),o=new Array(16),s=[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],c=[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],l=[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],u=[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],d=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function m(e,t,n,i,r,a,o,s){return p(e+(t^n^i)+a+o|0,s)+r|0}function _(e,t,n,i,r,a,o,s){return p(e+(t&n|~t&i)+a+o|0,s)+r|0}function b(e,t,n,i,r,a,o,s){return p(e+((t|~n)^i)+a+o|0,s)+r|0}function g(e,t,n,i,r,a,o,s){return p(e+(t&i|n&~i)+a+o|0,s)+r|0}function v(e,t,n,i,r,a,o,s){return p(e+(t^(n|~i))+a+o|0,s)+r|0}r(f,a),f.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,i=0|this._b,r=0|this._c,a=0|this._d,f=0|this._e,y=0|this._a,k=0|this._b,w=0|this._c,C=0|this._d,S=0|this._e,x=0;x<80;x+=1){var M,L;x<16?(M=m(n,i,r,a,f,e[s[x]],d[0],l[x]),L=v(y,k,w,C,S,e[c[x]],h[0],u[x])):x<32?(M=_(n,i,r,a,f,e[s[x]],d[1],l[x]),L=g(y,k,w,C,S,e[c[x]],h[1],u[x])):x<48?(M=b(n,i,r,a,f,e[s[x]],d[2],l[x]),L=b(y,k,w,C,S,e[c[x]],h[2],u[x])):x<64?(M=g(n,i,r,a,f,e[s[x]],d[3],l[x]),L=_(y,k,w,C,S,e[c[x]],h[3],u[x])):(M=v(n,i,r,a,f,e[s[x]],d[4],l[x]),L=m(y,k,w,C,S,e[c[x]],h[4],u[x])),n=f,f=a,a=p(r,10),r=i,i=M,y=S,S=C,C=p(w,10),w=k,k=L}var O=this._b+r+C|0;this._b=this._c+a+S|0,this._c=this._d+f+y|0,this._d=this._e+n+k|0,this._e=this._a+i+w|0,this._a=O},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 e=i.alloc?i.alloc(20):new i(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=f},tjlA:function(e,t,n){"use strict";(function(e){var i=n("H7XF"),r=n("kVK+"),a=n("49sm");function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(e).length;default:if(i)return W(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return L(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function _(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function b(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=c.from(t,i)),c.isBuffer(t))return 0===t.length?-1:g(e,t,n,i,r);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,i,r){var a,o=1,s=e.length,c=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var u=-1;for(a=n;as&&(n=s-c),a=n;a>=0;a--){for(var d=!0,h=0;hr&&(i=r):i=r;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o>8,r.push(n%256),r.push(i);return r}(t,e.length-n),e,n,i)}function x(e,t,n){return i.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r239?4:l>223?3:l>191?2:1;if(r+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(a=e[r+1]))&&(c=(31&l)<<6|63&a)>127&&(u=c);break;case 3:o=e[r+2],128==(192&(a=e[r+1]))&&128==(192&o)&&(c=(15&l)<<12|(63&a)<<6|63&o)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[r+2],s=e[r+3],128==(192&(a=e[r+1]))&&128==(192&o)&&128==(192&s)&&(c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(i.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;ir)&&(n=r);for(var a="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,n,i,r,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function P(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function R(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function I(e,t,n,i,r,a){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,i,a){return a||I(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function Y(e,t,n,i,a){return a||I(e,0,n,8),r.write(e,t,n,i,52,8),n+8}t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=o(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,i){return u(t),t<=0?s(null,t):void 0!==n?"string"==typeof i?s(null,t).fill(n,i):s(null,t).fill(n):s(null,t)}(0,e,t,n)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,a=Math.min(n,i);r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,i,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(i,r),u=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},c.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var i=this[e],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var i=t,r=1,a=this[e+--i];i>0&&(r*=256);)a+=this[e+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||E(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+r]=e/a&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return Y(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return Y(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function F(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}}).call(this,n("aWmh"))},tnIz:function(e,t,n){var i=n("hwdV").Buffer;function r(e,t){this._block=i.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(e=i.from(e,t=t||"utf8"));for(var n=this._block,r=this._blockSize,a=e.length,o=this._len,s=0;s=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 i=(4294967295&n)>>>0;this._block.writeUInt32BE((n-i)/4294967296,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var r=this._hash();return e?r.toString(e):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r},tpL1:function(e,t,n){(function(t){var i=n("mObS"),r=n("1IWx"),a=n("P7XM"),o=n("b+dc"),s=n("mAz1"),c=n("tOiH");function l(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){r.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new l(e)}function h(e){return new u(e)}Object.keys(c).forEach((function(e){c[e].id=new t(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),a(l,r.Writable),l.prototype._write=function(e,t,n){this._hash.update(e),n()},l.prototype.update=function(e,n){return"string"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),i=o(n,e,this._hashType,this._signType,this._tag);return t?i.toString(t):i},a(u,r.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,n){return"string"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},u.prototype.verify=function(e,n,i){"string"==typeof n&&(n=new t(n,i)),this.end();var r=this._hash.digest();return s(n,r,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}}).call(this,n("tjlA").Buffer)},"tz+M":function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ"),a=r.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new i(e.r,16),this.s=new i(e.s,16),this.recoveryParam=void 0===e.recoveryParam?null:e.recoveryParam)}function s(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;for(var i=15&n,r=0,a=0,o=t.place;a>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=r.toArray(e,t);var n=new s;if(48!==e[n.place++])return!1;if(c(e,n)+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var a=c(e,n),o=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var l=c(e,n);if(e.length!==l+n.place)return!1;var u=e.slice(n.place,l+n.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===u[0]&&128&u[1]&&(u=u.slice(1)),this.r=new i(o),this.s=new i(u),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var i=[2];u(i,t.length),(i=i.concat(t)).push(2),u(i,n.length);var a=i.concat(n),o=[48];return u(o,a.length),o=o.concat(a),r.encode(o,e)}},"u/Db":function(e,t,n){var i=n("J6Nv"),r=n("BCVQ");t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!i.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return r.testNumeric(e)?t.NUMERIC:r.testAlphanumeric(e)?t.ALPHANUMERIC:r.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(i){return n}}},u0Sq:function(e,t,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=i.rotl32,o=i.sum32,s=i.sum32_3,c=i.sum32_4,l=r.BlockHash;function u(){if(!(this instanceof u))return new u;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,n,i){return e<=15?t^n^i:e<=31?t&n|~t&i:e<=47?(t|~n)^i:e<=63?t&i|n&~i:t^(n|~i)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}i.inherits(u,l),t.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var n=this.h[0],i=this.h[1],r=this.h[2],l=this.h[3],u=this.h[4],g=n,v=i,y=r,k=l,w=u,C=0;C<80;C++){var S=o(a(c(n,d(C,i,r,l),e[p[C]+t],h(C)),_[C]),u);n=u,u=l,l=a(r,10),r=i,i=S,S=o(a(c(g,d(79-C,v,y,k),e[m[C]+t],f(C)),b[C]),w),g=w,w=k,k=a(y,10),y=v,v=S}S=s(this.h[1],r,k),this.h[1]=s(this.h[2],l,w),this.h[2]=s(this.h[3],u,g),this.h[3]=s(this.h[4],n,v),this.h[4]=s(this.h[0],i,y),this.h[0]=S},u.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var p=[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],m=[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],_=[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],b=[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]},u3GI:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uDfV:function(e,t,n){var i=n("P7XM"),r=n("T9HO"),a=n("tnIz"),o=n("hwdV").Buffer,s=new Array(160);function c(){this.init(),this._w=s,a.call(this,128,112)}i(c,r),c.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},c.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,n,i){e.writeInt32BE(t,i),e.writeInt32BE(n,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},uEye:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),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\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] 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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uGsb:function(e,t,n){var i,r,a,o,s,c,l,u;e.exports=(u=n("Ib8C"),n("MlIO"),n("1uat"),a=(r=(i=u).x64).Word,o=r.WordArray,l=(s=i.algo).SHA384=(c=s.SHA512).extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),i.SHA384=c._createHelper(l),i.HmacSHA384=c._createHmacHelper(l),u.SHA384)},uGxW:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding)},uXwI:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_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:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uagp:function(e,t,n){"use strict";var i=n("OZ/i"),r=n("aqI/"),a=n("86MQ"),o=n("DLvh"),s=n("/ayr"),c=a.assert,l=n("uzSA"),u=n("tz+M");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(c(o.hasOwnProperty(e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new l(this,e)},d.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new i(2));;){var o=new i(t.generate(n));if(!(o.cmp(a)>0))return o.iaddn(1),this.keyFromPrivate(o)}},d.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,n,a){"object"==typeof n&&(a=n,n=null),a||(a={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new i(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),c=e.toArray("be",o),l=new r({hash:this.hash,entropy:s,nonce:c,pers:a.pers,persEnc:a.persEnc||"utf8"}),d=this.n.sub(new i(1)),h=0;;h++){var f=a.k?a.k(h):new i(l.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(d)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var m=p.getX(),_=m.umod(this.n);if(0!==_.cmpn(0)){var b=f.invm(this.n).mul(_.mul(t.getPrivate()).iadd(e));if(0!==(b=b.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(_)?2:0);return a.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),g^=1),new u({r:_,s:b,recoveryParam:g})}}}}}},d.prototype.verify=function(e,t,n,r){e=this._truncateToN(new i(e,16)),n=this.keyFromPublic(n,r);var a=(t=new u(t,"hex")).r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,c=o.invm(this.n),l=c.mul(e).umod(this.n),d=c.mul(a).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,n.getPublic(),d)).isInfinity()&&s.eqXToP(a):!(s=this.g.mulAdd(l,n.getPublic(),d)).isInfinity()&&0===s.getX().umod(this.n).cmp(a)},d.prototype.recoverPubKey=function(e,t,n,r){c((3&n)===n,"The recovery param is more than two bits"),t=new u(t,r);var a=this.n,o=new i(e),s=t.r,l=t.s,d=1&n,h=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=this.curve.pointFromX(h?s.add(this.curve.n):s,d);var f=t.r.invm(a),p=a.sub(o).mul(f).umod(a),m=l.mul(f).umod(a);return this.g.mulAdd(p,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,n,i){if(null!==(t=new u(t,i)).recoveryParam)return t.recoveryParam;for(var r=0;r<4;r++){var a;try{a=this.recoverPubKey(e,t,r)}catch(e){continue}if(a.eq(n))return r}throw new Error("Unable to find valid recovery factor")}},usKN:function(e,t,n){var i={ECB:n("AUX7"),CBC:n("wRn4"),CFB:n("NQVK"),CFB8:n("YskG"),CFB1:n("Ujlg"),OFB:n("UWVS"),CTR:n("at63"),GCM:n("at63")},r=n("6F8h");for(var a in r)r[a].module=i[r[a].mode];e.exports=r},uzSA:function(e,t,n){"use strict";var i=n("OZ/i"),r=n("86MQ").assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,n){return t instanceof a?t:new a(e,{pub:t,pubEnc:n})},a.fromPrivate=function(e,t,n){return t instanceof a?t:new a(e,{priv:t,privEnc:n})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.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"}},a.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return""}},vZ2G:function(e,t){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},vvrf:function(e,t,n){var i=n("u/Db"),r=n("3X7Y"),a=n("nZSm"),o=n("AZa5"),s=n("Lzq4"),c=n("BCVQ"),l=n("e/Dd"),u=n("ELBg");function d(e){return unescape(encodeURIComponent(e)).length}function h(e,t,n){for(var i,r=[];null!==(i=e.exec(n));)r.push({data:i[0],index:i.index,mode:t,length:i[0].length});return r}function f(e){var t,n,r=h(c.NUMERIC,i.NUMERIC,e),a=h(c.ALPHANUMERIC,i.ALPHANUMERIC,e);return l.isKanjiModeEnabled()?(t=h(c.BYTE,i.BYTE,e),n=h(c.KANJI,i.KANJI,e)):(t=h(c.BYTE_KANJI,i.BYTE,e),n=[]),r.concat(a,t,n).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function p(e,t){switch(t){case i.NUMERIC:return r.getBitsLength(e);case i.ALPHANUMERIC:return a.getBitsLength(e);case i.KANJI:return s.getBitsLength(e);case i.BYTE:return o.getBitsLength(e)}}function m(e,t){var n,c=i.getBestModeForData(e);if((n=i.from(t,c))!==i.BYTE&&n.bit=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,l.isKanjiModeEnabled()))}},w1tV:function(e,t,n){"use strict";var i=n("XNiG"),r=n("HDdC"),a=n("7o/Q"),o=n("quSY");function s(){return function(e){return e.lift(new l(e))}}var c,l=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new u(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),u=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).connectable=n,i}return _inherits(t,e),_createClass(t,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),t}(a.a),d=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return _inherits(t,e),_createClass(t,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new o.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}},{key:"refCount",value:function(){return s()(this)}}]),t}(r.a),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(c=d.prototype)._subscribe},_isComplete:{value:c._isComplete,writable:!0},getSubject:{value:c.getSubject},connect:{value:c.connect},refCount:{value:c.refCount}},f=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).connectable=n,i}return _inherits(t,e),_createClass(t,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(t.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(t.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),t}(i.b);function p(){return new i.a}function m(){return function(e){return s()((t=p,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,h);return i.source=e,i.subjectFactory=n,i})(e));var t}}n.d(t,"a",(function(){return m}))},w7YG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var a=0;r<256;r++){var o=r%n,s=i[r];i[r]=i[a=(a+i[r]+(t[o>>>2]>>>24-o%4*8&255))%256],i[a]=s}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,i=0,r=0;r<4;r++){var a=e[t=(t+1)%256];e[t]=e[n=(n+e[t])%256],e[n]=a,i|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,i}e.RC4=t._createHelper(r);var o=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});e.RC4Drop=t._createHelper(o)}(),i.RC4)},w8CP:function(e,t,n){"use strict";var i=n("2j6C"),r=n("P7XM");function a(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=r,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r>6|192,n[i++]=63&o|128):a(e,r)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++r)),n[i++]=o>>18|240,n[i++]=o>>12&63|128,n[i++]=o>>6&63|128,n[i++]=63&o|128):(n[i++]=o>>12|224,n[i++]=o>>6&63|128,n[i++]=63&o|128)}else for(r=0;r>>0;return o},t.split32=function(e,t){for(var n=new Array(4*e.length),i=0,r=0;i>>24,n[r+1]=a>>>16&255,n[r+2]=a>>>8&255,n[r+3]=255&a):(n[r+3]=a>>>24,n[r+2]=a>>>16&255,n[r+1]=a>>>8&255,n[r]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,i){return e+t+n+i>>>0},t.sum32_5=function(e,t,n,i,r){return e+t+n+i+r>>>0},t.sum64=function(e,t,n,i){var r=i+e[t+1]>>>0;e[t]=(r>>0,e[t+1]=r},t.sum64_hi=function(e,t,n,i){return(t+i>>>0>>0},t.sum64_lo=function(e,t,n,i){return t+i>>>0},t.sum64_4_hi=function(e,t,n,i,r,a,o,s){var c=0,l=t;return c+=(l=l+i>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,i,r,a,o,s){return t+i+a+s>>>0},t.sum64_5_hi=function(e,t,n,i,r,a,o,s,c,l){var u=0,d=t;return u+=(d=d+i>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,i,r,a,o,s,c,l){return t+i+a+s+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".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:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wRn4:function(e,t,n){var i=n("jIre");t.encrypt=function(e,t){var n=i(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var r=e._cipher.decryptBlock(t);return i(r,n)}},wZgz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.BlockCipher,n=e.algo,r=[],a=[],o=[],s=[],c=[],l=[],u=[],d=[],h=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var p=i^i<<1^i<<2^i<<3^i<<4;r[n]=p=p>>>8^255&p^99,a[p]=n;var m,_=e[n],b=e[_],g=e[b];o[n]=(m=257*e[p]^16843008*p)<<24|m>>>8,s[n]=m<<16|m>>>16,c[n]=m<<8|m>>>24,l[n]=m,u[p]=(m=16843009*g^65537*b^257*_^16843008*n)<<24|m>>>8,d[p]=m<<16|m>>>16,h[p]=m<<8|m>>>24,f[p]=m,n?(n=_^e[e[e[g^_]]],i^=e[e[i]]):n=i=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],o=0;o6&&o%n==4&&(s=r[s>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s]):(s=r[(s=s<<8|s>>>24)>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s],s^=p[o/n|0]<<24),a[o]=a[o-n]^s}for(var c=this._invKeySchedule=[],l=0;l>>24]]^d[r[s>>>16&255]]^h[r[s>>>8&255]]^f[r[255&s]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,s,c,l,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,h,f,a),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,i,r,a,o,s){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],f=4,p=1;p>>24]^r[u>>>16&255]^a[d>>>8&255]^o[255&h]^n[f++],_=i[u>>>24]^r[d>>>16&255]^a[h>>>8&255]^o[255&l]^n[f++],b=i[d>>>24]^r[h>>>16&255]^a[l>>>8&255]^o[255&u]^n[f++],g=i[h>>>24]^r[l>>>16&255]^a[u>>>8&255]^o[255&d]^n[f++];l=m,u=_,d=b,h=g}m=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&h])^n[f++],_=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^n[f++],b=(s[d>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^n[f++],g=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[f++],e[t]=m,e[t+1]=_,e[t+2]=b,e[t+3]=g},keySize:8});e.AES=t._createHelper(m)}(),i.AES)},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[];for(n=0;n>>0,i=0;i0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function N(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(z[e]=r),t&&(z[t[0]]=function(){return W(r.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),B[t]=B[t]||function(e){var t,n,i,r=e.match(F);for(t=0,n=r.length;t=0&&H.test(e);)e=e.replace(H,i),H.lastIndex=0,n-=1;return e}var J=/\d/,K=/\d\d/,G=/\d{3}/,$=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,ie=/[+-]?\d{1,6}/,re=/\d+/,ae=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ue(e,t,n){le[e]=T(t)?t:function(e,i){return e&&n?n:t}}function de(e,t){return d(le,e)?le[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=C(e)}),n=0;n68?1900:2e3)};var ve,ye=ke("FullYear",!0);function ke(e,t){return function(n){return null!=n?(Ce(this,e,n),r.updateOffset(this,t),this):we(this,e)}}function we(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ce(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ge(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Se(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Se(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?ge(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ie(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function je(e,t,n){var i=7+t-n;return-(7+Ie(e,0,i).getUTCDay()-t)%7+i-1}function Ye(e,t,n,i,r){var a,o,s=1+7*(t-1)+(7+n-i)%7+je(e,i,r);return s<=0?o=be(a=e-1)+s:s>be(e)?(a=e+1,o=s-be(e)):(a=e,o=s),{year:a,dayOfYear:o}}function Ve(e,t,n){var i,r,a=je(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?i=o+We(r=e.year()-1,t,n):o>We(e.year(),t,n)?(i=o-We(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function We(e,t,n){var i=je(e,t,n),r=je(e+1,t,n);return(be(e)-i+r)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),V("week",5),V("isoWeek",5),ue("w",X),ue("ww",X,K),ue("W",X),ue("WW",X,K),me(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=C(e)})),N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),ue("d",X),ue("e",X),ue("E",X),ue("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ue("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ue("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e})),me(["d","e","E"],(function(e,t,n,i){t[i]=C(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ne(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))?r:-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:-1!==(r=ve.call(this._weekdaysParse,o))?r:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:-1!==(r=ve.call(this._weekdaysParse,o))?r:-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null}var Ue=ce,qe=ce,Je=ce;function Ke(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),c.push(a),l.push(i),l.push(r),l.push(a);for(o.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=he(s[t]),c[t]=he(c[t]),l[t]=he(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ge(){return this.hours()%12||12}function $e(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Ge),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+Ge.apply(this)+W(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Ge.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+W(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)})),$e("a",!0),$e("A",!1),R("hour","h"),V("hour",13),ue("a",Ze),ue("A",Ze),ue("H",X),ue("h",X),ue("k",X),ue("HH",X,K),ue("hh",X,K),ue("kk",X,K),ue("hmm",Q),ue("hmmss",ee),ue("Hmm",Q),ue("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var i=C(e);t[3]=24===i?0:i})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=C(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var i=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i,2)),t[5]=C(e.substr(r)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var i=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i))})),pe("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=C(e.substr(0,i)),t[4]=C(e.substr(i,2)),t[5]=C(e.substr(r))}));var Xe,Qe=ke("Hours",!0),et={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:Le,week:{dow:0,doy:6},weekdays:He,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var i=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{i=Xe._abbr,n("RnhZ")("./"+t),at(i)}catch(r){}return tt[t]}function at(e,t){var n;return e&&((n=s(t)?st(e):ot(e,t))?Xe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function ot(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new E(A(i,t)),nt[e]&&nt[e].forEach((function(e){ot(e.name,e.config)})),at(e),tt[e]}return delete tt[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!a(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,i,r,a=0;a0;){if(i=rt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&S(r,n,!0)>=t-1)break;t--}a++}return Xe}(e)}function ct(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Se(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,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var t,n,i,a,o,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,a,o,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,o=4,n=lt(t.GG,e._a[0],Ve(St(),1,4).year),i=lt(t.W,1),((r=lt(t.E,1))<1||r>7)&&(c=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var l=Ve(St(),a,o);n=lt(t.gg,e._a[0],l.year),i=lt(t.w,l.week),null!=t.d?((r=t.d)<0||r>6)&&(c=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(c=!0)):r=a}i<1||i>We(n,a,o)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=Ye(n,i,r,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=lt(e._a[0],i[0]),(e._dayOfYear>be(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ie(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ie:Re).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}var dt=/^\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)?)?$/,ht=/^\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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/]],mt=[["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/]],_t=/^\/?Date\((\-?\d+)/i;function bt(e){var t,n,i,r,a,o,s=e._i,c=dt.exec(s)||ht.exec(s);if(c){for(p(e).iso=!0,t=0,n=pt.length;t0&&p(e).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),l+=n.length),z[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),_e(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=c-l,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ut(e),ct(e)}else yt(e);else bt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new y(ct(t)):(l(t)?e._d=t:a(n)?function(e){var t,n,i,r,a;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:_()}));function Lt(e,t){var n,i;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Qt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){N(0,[e,e.length],0,t)}function tn(e,t,n,i,r){var a;return null==e?Ve(this,i,r).year:(t>(a=We(e,i,r))&&(t=a),nn.call(this,e,t,n,i,r))}function nn(e,t,n,i,r){var a=Ye(e,t,n,i,r),o=Ie(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),ue("G",ae),ue("g",ae),ue("GG",X,K),ue("gg",X,K),ue("GGGG",ne,$),ue("gggg",ne,$),ue("GGGGG",ie,Z),ue("ggggg",ie,Z),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=C(e)})),me(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),R("quarter","Q"),V("quarter",7),ue("Q",J),pe("Q",(function(e,t){t[1]=3*(C(e)-1)})),N("D",["DD",2],"Do","date"),R("date","D"),V("date",9),ue("D",X),ue("DD",X,K),ue("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=C(e.match(X)[0])}));var rn=ke("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),V("dayOfYear",4),ue("DDD",te),ue("DDDD",G),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=C(e)})),N("m",["mm",2],0,"minute"),R("minute","m"),V("minute",14),ue("m",X),ue("mm",X,K),pe(["m","mm"],4);var an=ke("Minutes",!1);N("s",["ss",2],0,"second"),R("second","s"),V("second",15),ue("s",X),ue("ss",X,K),pe(["s","ss"],5);var on,sn=ke("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),R("millisecond","ms"),V("millisecond",16),ue("S",te,J),ue("SS",te,K),ue("SSS",te,G),on="SSSS";on.length<=9;on+="S")ue(on,re);function cn(e,t){t[6]=C(1e3*("0."+e))}for(on="S";on.length<=9;on+="S")pe(on,cn);var ln=ke("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var un=y.prototype;function dn(e){return e}un.add=Ut,un.calendar=function(e,t){var n=e||St(),i=It(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(T(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,St(n)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=It(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=I(t)){case"year":a=Jt(this,i)/12;break;case"month":a=Jt(this,i);break;case"quarter":a=Jt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:w(a)},un.endOf=function(e){var t;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Qt:Xt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},un.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(St(),e)},un.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(St(),e)},un.get=function(e){return T(this[e=I(e)])?this[e]():this},un.invalidAt=function(){return p(this).overflow},un.isAfter=function(e,t){var n=k(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=ye,un.isLeapYear=function(){return ge(this.year())},un.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=Te,un.daysInMonth=function(){return Se(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return We(this.year(),1,4)},un.date=rn,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=Qe,un.minute=un.minutes=an,un.second=un.seconds=sn,un.millisecond=un.milliseconds=ln,un.utcOffset=function(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Rt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=jt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Nt(this,Ft(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:jt(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Rt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=Yt,un.isUTC=Yt,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=M("dates accessor is deprecated. Use date instead.",rn),un.months=M("months accessor is deprecated. Use month instead",Te),un.years=M("years accessor is deprecated. Use year instead",ye),un.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),un.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=wt(e))._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&S(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var hn=E.prototype;function fn(e,t,n,i){var r=st(),a=f().set(i,t);return r[n](a,e)}function pn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=fn(e,i,n,"month");return r}function mn(e,t,n,i){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var r,a=st(),o=e?a._week.dow:0;if(null!=n)return fn(t,(n+o)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=fn(t,(r+o)%7,i,"day");return s}hn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return T(i)?i.call(t,n):i},hn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return T(r)?r(e,t,n,i):r.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},hn.set=function(e){var t,n;for(n in e)T(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},hn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(e,t,n){var i,r,a;if(this._monthsParseExact)return Oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},hn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},hn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.weekdaysParse=function(e,t,n){var i,r,a;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===C(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",at),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",st);var _n=Math.abs;function bn(e,t,n,i){var r=Ft(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function yn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var wn=kn("ms"),Cn=kn("s"),Sn=kn("m"),xn=kn("h"),Mn=kn("d"),Ln=kn("w"),On=kn("M"),Dn=kn("Q"),Tn=kn("y");function An(e){return function(){return this.isValid()?this._data[e]:NaN}}var En=An("milliseconds"),Pn=An("seconds"),Rn=An("minutes"),In=An("hours"),jn=An("days"),Yn=An("months"),Vn=An("years"),Wn=Math.round,Fn={ss:44,s:45,m:45,h:22,d:26,M:11};function Hn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Bn=Math.abs;function zn(e){return(e>0)-(e<0)||+e}function Nn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Bn(this._milliseconds)/1e3,i=Bn(this._days),r=Bn(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var a=w(r/12),o=r%=12,s=i,c=t,l=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=zn(this._months)!==zn(d)?"-":"",p=zn(this._days)!==zn(d)?"-":"",m=zn(this._milliseconds)!==zn(d)?"-":"";return h+"P"+(a?f+a+"Y":"")+(o?f+o+"M":"")+(s?p+s+"D":"")+(c||l||u?"T":"")+(c?m+c+"H":"")+(l?m+l+"M":"")+(u?m+u+"S":"")}var Un=Dt.prototype;return Un.isValid=function(){return this._isValid},Un.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},Un.add=function(e,t){return bn(this,e,t,1)},Un.subtract=function(e,t){return bn(this,e,t,-1)},Un.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(n=this._months+vn(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(yn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Un.asMilliseconds=wn,Un.asSeconds=Cn,Un.asMinutes=Sn,Un.asHours=xn,Un.asDays=Mn,Un.asWeeks=Ln,Un.asMonths=On,Un.asQuarters=Dn,Un.asYears=Tn,Un.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12):NaN},Un._bubble=function(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*gn(yn(s)+o),o=0,s=0),c.milliseconds=a%1e3,e=w(a/1e3),c.seconds=e%60,t=w(e/60),c.minutes=t%60,n=w(t/60),c.hours=n%24,o+=w(n/24),s+=r=w(vn(o)),o-=gn(yn(r)),i=w(s/12),s%=12,c.days=o,c.months=s,c.years=i,this},Un.clone=function(){return Ft(this)},Un.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},Un.milliseconds=En,Un.seconds=Pn,Un.minutes=Rn,Un.hours=In,Un.days=jn,Un.weeks=function(){return w(this.days()/7)},Un.months=Yn,Un.years=Vn,Un.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Ft(e).abs(),r=Wn(i.as("s")),a=Wn(i.as("m")),o=Wn(i.as("h")),s=Wn(i.as("d")),c=Wn(i.as("M")),l=Wn(i.as("y")),u=r<=Fn.ss&&["s",r]||r0,u[4]=n,Hn.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Un.toISOString=Nn,Un.toString=Nn,Un.toJSON=Nn,Un.locale=Kt,Un.localeData=$t,Un.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nn),Un.lang=Gt,N("X",0,0,"unix"),N("x",0,0,"valueOf"),ue("x",ae),ue("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(C(e))})),r.version="2.24.0",t=St,r.fn=un,r.min=function(){var e=[].slice.call(arguments,0);return Lt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Lt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return St(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=l,r.locale=at,r.invalid=_,r.duration=Ft,r.isMoment=k,r.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},r.parseZone=function(){return St.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=Tt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=(i=rt(e))&&(r=i._config),(n=new E(t=A(r,t))).parentLocale=tt[e],tt[e]=n,at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return L(tt)},r.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},r.normalizeUnits=I,r.relativeTimeRounding=function(e){return void 0===e?Wn:"function"==typeof e&&(Wn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Fn[e]&&(void 0===t?Fn[e]:(Fn[e]=t,"s"===e&&(Fn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=un,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("2pl3")(e))},wk3p:function(e){e.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"}}')},wq4j:function(e,t,n){e.exports=n("43KI").PassThrough},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]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:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("HDdC"),r=n("ngJS"),a=n("jZKg");function o(e,t){return t?Object(a.a)(e,t):new i.a(Object(r.a)(e))}},yKow:function(e,t,n){var i=n("e/Dd"),r=n("NPxG"),a=n("ekOh"),o=n("u/Db"),s=n("J6Nv"),c=n("7uVY"),l=i.getBCHDigit(7973);function u(e,t){return o.getCharCountIndicator(e,t)+4}function d(e,t){var n=0;return e.forEach((function(e){var i=u(e.mode,t);n+=i+e.getBitsLength()})),n}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw new Error("Invalid QR Code version");void 0===n&&(n=o.BYTE);var a=8*(i.getSymbolTotalCodewords(e)-r.getTotalCodewordsCount(e,t));if(n===o.MIXED)return a;var c=a-u(n,e);switch(n){case o.NUMERIC:return Math.floor(c/10*3);case o.ALPHANUMERIC:return Math.floor(c/11*2);case o.KANJI:return Math.floor(c/13);case o.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){var i,r=a.from(n,a.M);if(c(e)){if(e.length>1)return function(e,n){for(var i=1;i<=40;i++)if(d(e,i)<=t.getCapacity(i,n,o.MIXED))return i}(e,r);if(0===e.length)return 1;i=e[0]}else i=e;return function(e,n,i){for(var r=1;r<=40;r++)if(n<=t.getCapacity(r,i,e))return r}(i.mode,i.getLength(),r)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;i.getBCHDigit(t)-l>=0;)t^=7973<11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var a=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+t[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}(e);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".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\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z71Z:function(e,t,n){var i=n("P7XM"),r=n("f3pb"),a=r.base,o=r.bignum,s=r.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){a.Node.call(this,"der",e)}function u(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var i=s.tagClass[n>>6],r=0==(32&n);if(31==(31&n)){var a=n;for(n=0;128==(128&a);){if(a=e.readUInt8(t),e.isError(a))return a;n<<=7,n|=127&a}}else n&=31;return{cls:i,primitive:r,tag:n,tagStr:s.tag[n]}}function d(e,t,n){var i=e.readUInt8(n);if(e.isError(i))return i;if(!t&&128===i)return null;if(0==(128&i))return i;var r=127&i;if(r>4)return e.error("length octect is too long");i=0;for(var a=0;a0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),t}(v)).\u0275fac=function(e){return new(e||C)(i.fc(c),i.fc(S,8))},C.\u0275prov=i.Lb({token:C,factory:C.\u0275fac}),C),M=((w=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._platformLocation=e,i._baseHref="",null!=n&&(i._baseHref=n),i}return _inherits(t,e),_createClass(t,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=m(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),t}(v)).\u0275fac=function(e){return new(e||w)(i.fc(c),i.fc(S,8))},w.\u0275prov=i.Lb({token:w,factory:w.\u0275fac}),w),L=((k=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=_(D(a)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+b(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,D(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}()).\u0275fac=function(e){return new(e||k)(i.fc(v),i.fc(c))},k.normalizeQueryParams=b,k.joinWithSlash=m,k.stripTrailingSlash=_,k.\u0275prov=Object(i.Lb)({factory:O,token:k,providedIn:"root"}),k);function O(){return new L(Object(i.fc)(v),Object(i.fc)(c))}function D(e){return e.replace(/\/index.html$/,"")}var T,A=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),E=i.ob,P=function e(){_classCallCheck(this,e)},R=((T=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).locale=e,n}return _inherits(t,e),_createClass(t,[{key:"getPluralCategory",value:function(e,t){switch(E(t||this.locale)(e)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}]),t}(P)).\u0275fac=function(e){return new(e||T)(i.fc(i.v))},T.\u0275prov=i.Lb({token:T,factory:T.\u0275fac}),T);function I(e,t){t=encodeURIComponent(t);var n=!0,i=!1,r=void 0;try{for(var a,o=e.split(";")[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value,c=s.indexOf("="),l=_slicedToArray(-1==c?[s,""]:[s.slice(0,c),s.slice(c+1)],2),u=l[0],d=l[1];if(u.trim()===t)return decodeURIComponent(d)}}catch(h){i=!0,r=h}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return null}var j,Y,V,W=((j=function(){function e(t,n,i,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Object(i.xb)(e.item)));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}()).\u0275fac=function(e){return new(e||j)(i.Pb(i.t),i.Pb(i.u),i.Pb(i.l),i.Pb(i.F))},j.\u0275dir=i.Kb({type:j,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),j),F=function(){function e(t,n,i,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),H=((Y=function(){function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,i,r){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new F(null,t._ngForOf,-1,-1),null===r?void 0:r),o=new B(e,a);n.push(o)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var c=new B(e,s);n.push(c)}}));for(var i=0;i1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},i.qb.getAllAngularTestabilities=function(){return e.getAllTestabilities()},i.qb.getAllAngularRootElements=function(){return e.getAllRootElements()},i.qb.frameworkStabilizers||(i.qb.frameworkStabilizers=[]),i.qb.frameworkStabilizers.push((function(e){var t=i.qb.getAllAngularTestabilities(),n=t.length,r=!1,a=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(a)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?a().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(i.Y)(new e)}}]),e}(),ye=new i.r("EventManagerPlugins"),ke=((ue=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=i})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(n.splice(t,1),a+=e+".")})),a+=r,0!=n.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Be.hasOwnProperty(t)&&(t=Be[t]))}return He[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Fe.forEach((function(i){i!=n&&(0,ze[i])(e)&&(t+=i+".")})),t+=n}},{key:"eventCallback",value:function(e,n,i){return function(r){t.getEventFullKey(r)===e&&i.runGuarded((function(){return n(r)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),t}(we)).\u0275fac=function(e){return new(e||Pe)(i.fc(s))},Pe.\u0275prov=i.Lb({token:Pe,factory:Pe.\u0275fac}),Pe),Ue=((Ee=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Ee)},Ee.\u0275prov=Object(i.Lb)({factory:function(){return Object(i.fc)(qe)},token:Ee,providedIn:"root"}),Ee),qe=((Ae=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._doc=e,n}return _inherits(t,e),_createClass(t,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case i.J.NONE:return t;case i.J.HTML:return Object(i.fb)(t,"HTML")?Object(i.yb)(t):Object(i.cb)(this._doc,String(t));case i.J.STYLE:return Object(i.fb)(t,"Style")?Object(i.yb)(t):Object(i.db)(t);case i.J.SCRIPT:if(Object(i.fb)(t,"Script"))return Object(i.yb)(t);throw new Error("unsafe value used in a script context");case i.J.URL:return Object(i.pb)(t),Object(i.fb)(t,"URL")?Object(i.yb)(t):Object(i.eb)(String(t));case i.J.RESOURCE_URL:if(Object(i.fb)(t,"ResourceURL"))return Object(i.yb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(i.gb)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(i.jb)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(i.ib)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(i.kb)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(i.hb)(e)}}]),t}(Ue)).\u0275fac=function(e){return new(e||Ae)(i.fc(s))},Ae.\u0275prov=Object(i.Lb)({factory:function(){return e=Object(i.fc)(i.p),new qe(e.get(s));var e},token:Ae,providedIn:"root"}),Ae),Je=[{provide:i.C,useValue:"browser"},{provide:i.D,useValue:function(){me.makeCurrent(),ve.init()},multi:!0},{provide:s,useFactory:function(){return Object(i.wb)(document),document},deps:[]}],Ke=Object(i.S)(i.X,"browser",Je),Ge=[[],{provide:i.ab,useValue:"root"},{provide:i.n,useFactory:function(){return new i.n},deps:[]},{provide:ye,useClass:We,multi:!0,deps:[s,i.A,i.C]},{provide:ye,useClass:Ne,multi:!0,deps:[s]},[],{provide:Ie,useClass:Ie,deps:[ke,Se,i.c]},{provide:i.G,useExisting:Ie},{provide:Ce,useExisting:Se},{provide:Se,useClass:Se,deps:[s]},{provide:i.N,useClass:i.N,deps:[i.A]},{provide:ke,useClass:ke,deps:[ye,i.A]},[]],$e=((Re=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:i.c,useValue:t.appId},{provide:be,useExisting:i.c},ge]}}}]),e}()).\u0275mod=i.Nb({type:Re}),Re.\u0275inj=i.Mb({factory:function(e){return new(e||Re)(i.fc(Re,12))},providers:Ge,imports:[ae,i.f]}),Re);"undefined"!=typeof window&&window;var Ze,Xe=n("R0Ic"),Qe=n("t9l1"),et=((Ze=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:i.Q.None,styles:[],data:{animation:[]}}),r}return _inherits(t,e),_createClass(t,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(Xe.j)(e):e;return it(this._renderer,null,t,"register",[n]),new tt(t,this._renderer)}}]),t}(Xe.b)).\u0275fac=function(e){return new(e||Ze)(i.fc(i.G),i.fc(s))},Ze.\u0275prov=i.Lb({token:Ze,factory:Ze.\u0275fac}),Ze),tt=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._id=e,i._renderer=n,i}return _inherits(t,e),_createClass(t,[{key:"create",value:function(e,t){return new nt(this._id,e,t||{},this._renderer)}}]),t}(Xe.c),nt=function(){function e(t,n,i,r){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&ee?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return Wt(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return Wt(e.value)?null:Bt.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(Wt(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),n=new RegExp(i)):(i=t.toString(),n=t),function(e){if(Wt(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:i,actualValue:t}}}):e.nullValidator;var n,i}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(Nt);return 0==t.length?null:function(e){return qt(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(Nt);return 0==t.length?null:function(e){return yt(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(Ut)).pipe(Object(bt.a)(qt))}}}]),e}();function Nt(e){return null!=e}function Ut(e){var t=Object(i.tb)(e)?Object(vt.a)(e):e;if(!Object(i.sb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function qt(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function Jt(e){return e.validate?function(t){return e.validate(t)}:e}function Kt(e){return e.validate?function(t){return e.validate(t)}:e}var Gt,$t,Zt,Xt,Qt={provide:Mt,useExisting:Object(i.U)((function(){return en})),multi:!0},en=((Gt=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Gt)(i.Pb(i.F),i.Pb(i.l))},Gt.\u0275dir=i.Kb({type:Gt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.Bb([Qt])]}),Gt),tn={provide:Mt,useExisting:Object(i.U)((function(){return rn})),multi:!0},nn=((Zt=function(){function e(){_classCallCheck(this,e),this._accessors=[]}return _createClass(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}()).\u0275fac=function(e){return new(e||Zt)},Zt.\u0275prov=i.Lb({token:Zt,factory:Zt.\u0275fac}),Zt),rn=(($t=function(){function e(t,n,i,r){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return _createClass(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(Yt),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}}]),e}()).\u0275fac=function(e){return new(e||$t)(i.Pb(i.F),i.Pb(i.l),i.Pb(nn),i.Pb(i.s))},$t.\u0275dir=i.Kb({type:$t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i.jc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Bb([tn])]}),$t),an={provide:Mt,useExisting:Object(i.U)((function(){return on})),multi:!0},on=((Xt=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Xt)(i.Pb(i.F),i.Pb(i.l))},Xt.\u0275dir=i.Kb({type:Xt,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.Bb([an])]}),Xt),sn='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',cn='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',ln='\n
\n
\n \n
\n
',un={provide:Mt,useExisting:Object(i.U)((function(){return pn})),multi:!0};function dn(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var hn,fn,pn=((fn=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=i.ub}return _createClass(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=dn(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,a=0;a1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function On(e){return null!=e?zt.compose(e.map(Jt)):null}function Dn(e){return null!=e?zt.composeAsync(e.map(Kt)):null}var Tn=[Ot,on,en,pn,yn,rn];function An(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function En(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pn(e){var t=In(e)?e.validators:e;return Array.isArray(t)?On(t):t||null}function Rn(e,t){var n=In(t)?t.asyncValidators:e;return Array.isArray(n)?Dn(n):n||null}function In(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var jn,Yn,Vn,Wn,Fn,Hn,Bn,zn,Nn,Un=function(){function e(t,n){_classCallCheck(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _createClass(e,[{key:"setValidators",value:function(e){this.validator=Pn(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=Rn(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Ut(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach((function(e){i=i instanceof Jn?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Kn&&i.at(e)||null})),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new i.o,this.statusChanges=new i.o}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){In(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),qn=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,Pn(i),Rn(r,i))))._onChange=[],e._applyFormState(n),e._setUpdateStrategy(i),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _inherits(t,e),_createClass(t,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),t}(Un),Jn=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,Pn(n),Rn(i,n)))).controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return _inherits(t,e),_createClass(t,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof qn?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(i,r){n=n||t.contains(r)&&e(i)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,i){n=t(n,e,i)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),t}(Un),Kn=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,Pn(n),Rn(i,n)))).controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return _inherits(t,e),_createClass(t,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof qn?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e=!0,t=!1,n=void 0;try{for(var i,r=this.controls[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){if(i.value.enabled)return!1}}catch(a){t=!0,n=a}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),t}(Un),Gn={provide:Pt,useExisting:Object(i.U)((function(){return Zn}))},$n=Promise.resolve(null),Zn=((Yn=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).submitted=!1,r._directives=[],r.ngSubmit=new i.o,r.form=new Jn({},On(e),Dn(n)),r}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Cn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),En(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path),i=new Jn({});xn(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;$n.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;$n.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,An(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),t}(Pt)).\u0275fac=function(e){return new(e||Yn)(i.Pb(Ft,10),i.Pb(Ht,10))},Yn.\u0275dir=i.Kb({type:Yn,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([Gn]),i.zb]}),Yn),Xn=((jn=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return wn(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return On(this._validators)}},{key:"asyncValidator",get:function(){return Dn(this._asyncValidators)}}]),t}(Pt)).\u0275fac=function(e){return Qn(e||jn)},jn.\u0275dir=i.Kb({type:jn,features:[i.zb]}),jn),Qn=i.Zb(Xn),ei=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(sn,'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(cn,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(ln))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(cn,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(ln))}}]),e}(),ti={provide:Pt,useExisting:Object(i.U)((function(){return ni}))},ni=((Vn=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._parent=e,r._validators=n,r._asyncValidators=i,r}return _inherits(t,e),_createClass(t,[{key:"_checkParentType",value:function(){this._parent instanceof t||this._parent instanceof Zn||ei.modelGroupParentException()}}]),t}(Xn)).\u0275fac=function(e){return new(e||Vn)(i.Pb(Pt,5),i.Pb(Ft,10),i.Pb(Ht,10))},Vn.\u0275dir=i.Kb({type:Vn,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.Bb([ti]),i.zb]}),Vn),ii={provide:Yt,useExisting:Object(i.U)((function(){return ai}))},ri=Promise.resolve(null),ai=((Wn=function(e){function t(e,n,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).control=new qn,o._registered=!1,o.update=new i.o,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Ln(e,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return t.forEach((function(t){var a;t.constructor===At?n=t:(a=t,Tn.some((function(e){return a.constructor===e}))?(i&&Ln(e,"More than one built-in value accessor matches form control with"),i=t):(r&&Ln(e,"More than one custom value accessor matches form control with"),r=t))})),r||i||n||(Ln(e,"No valid value accessor for form control with"),null)}(_assertThisInitialized(o),a),o}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(i.ub)(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){Cn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof ni)&&this._parent instanceof Xn?ei.formGroupNameException():this._parent instanceof ni||this._parent instanceof Zn||ei.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ei.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;ri.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;ri.then((function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()}))}},{key:"path",get:function(){return this._parent?wn(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return On(this._rawValidators)}},{key:"asyncValidator",get:function(){return Dn(this._rawAsyncValidators)}}]),t}(Yt)).\u0275fac=function(e){return new(e||Wn)(i.Pb(Pt,9),i.Pb(Ft,10),i.Pb(Ht,10),i.Pb(Mt,10))},Wn.\u0275dir=i.Kb({type:Wn,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Bb([ii]),i.zb,i.Ab()]}),Wn),oi={provide:Pt,useExisting:Object(i.U)((function(){return si}))},si=((Fn=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new i.o,r}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return Cn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){En(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);xn(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);xn(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,An(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return Mn(t)})),t.valueAccessor.registerOnTouched((function(){return Mn(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&Cn(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=On(this._validators);this.form.validator=zt.compose([this.form.validator,e]);var t=Dn(this._asyncValidators);this.form.asyncValidator=zt.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),t}(Pt)).\u0275fac=function(e){return new(e||Fn)(i.Pb(Ft,10),i.Pb(Ht,10))},Fn.\u0275dir=i.Kb({type:Fn,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([oi]),i.zb,i.Ab()]}),Fn),ci={provide:Ft,useExisting:Object(i.U)((function(){return li})),multi:!0},li=((Hn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validate",value:function(e){return this.required?zt.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!=="".concat(e),this._onChange&&this._onChange()}}]),e}()).\u0275fac=function(e){return new(e||Hn)},Hn.\u0275dir=i.Kb({type:Hn,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("required",t.required?"":null)},inputs:{required:"required"},features:[i.Bb([ci])]}),Hn),ui={provide:Ft,useExisting:Object(i.U)((function(){return di})),multi:!0},di=((Nn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=zt.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}()).\u0275fac=function(e){return new(e||Nn)},Nn.\u0275dir=i.Kb({type:Nn,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Bb([ui]),i.Ab()]}),Nn),hi=((zn=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:zn}),zn.\u0275inj=i.Mb({factory:function(e){return new(e||zn)}}),zn),fi=((Bn=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bn}),Bn.\u0275inj=i.Mb({factory:function(e){return new(e||Bn)},providers:[nn],imports:[hi]}),Bn),pi=n("z+Ro"),mi=n("yCtX"),_i=n("jZKg");function bi(){for(var e=arguments.length,t=new Array(e),n=0;n0){var i=e.slice(0,t),r=i.toLowerCase(),a=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))}))}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var a=this.headers.get(t);if(!a)return;0===(a=a.filter((function(e){return-1===r.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),Li=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return Oi(e)}},{key:"encodeValue",value:function(e){return Oi(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function Oi(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Di=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Li,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var i=e.indexOf("="),r=_slicedToArray(-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],2),a=r[0],o=r[1],s=n.get(a)||[];s.push(o),n.set(a,s)})),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])}))):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function Ti(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Ai(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Ei(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Pi=function(){function e(t,n,i,r){var a;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new Mi),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,a=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),l)),new e(n,i,a,{params:l,headers:c,reportProgress:s,responseType:r,withCredentials:o})}}]),e}(),Ri=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),Ii=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new Mi,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},ji=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).type=Ri.ResponseHeader,e}return _inherits(t,e),_createClass(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),t}(Ii),Yi=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).type=Ri.Response,e.body=void 0!==n.body?n.body:null,e}return _inherits(t,e),_createClass(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),t}(Ii),Vi=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,0,"Unknown Error"))).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),n.error=e.error||null,n}return _inherits(t,e),t}(Ii);function Wi(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Fi,Hi,Bi,zi,Ni,Ui,qi,Ji,Ki,Gi=((Fi=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Pi)n=e;else{var a=void 0;a=r.headers instanceof Mi?r.headers:new Mi(r.headers);var o=void 0;r.params&&(o=r.params instanceof Di?r.params:new Di({fromObject:r.params})),n=new Pi(e,t,void 0!==r.body?r.body:null,{headers:a,params:o,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=bi(n).pipe(vi((function(e){return i.handler.handle(e)})));if(e instanceof Pi||"events"===r.observe)return s;var c=s.pipe(ki((function(e){return e instanceof Yi})));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return c.pipe(Object(bt.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return c.pipe(Object(bt.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return c.pipe(Object(bt.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return c.pipe(Object(bt.a)((function(e){return e.body})))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new Di).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,Wi(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,Wi(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,Wi(n,t))}}]),e}()).\u0275fac=function(e){return new(e||Fi)(i.fc(Si))},Fi.\u0275prov=i.Lb({token:Fi,factory:Fi.\u0275fac}),Fi),$i=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),Zi=new i.r("HTTP_INTERCEPTORS"),Xi=((Hi=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Hi)},Hi.\u0275prov=i.Lb({token:Hi,factory:Hi.\u0275fac}),Hi),Qi=/^\)\]\}',?\n/,er=function e(){_classCallCheck(this,e)},tr=((zi=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||zi)},zi.\u0275prov=i.Lb({token:zi,factory:zi.\u0275fac}),zi),nr=((Bi=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new mt.a((function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((function(e,t){return i.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var a=e.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Mi(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new ji({headers:r,status:t,statusText:n,url:a})},l=function(){var t=c(),r=t.headers,a=t.status,o=t.statusText,s=t.url,l=null;204!==a&&(l=void 0===i.response?i.responseText:i.response),0===a&&(a=l?200:0);var u=a>=200&&a<300;if("json"===e.responseType&&"string"==typeof l){var d=l;l=l.replace(Qi,"");try{l=""!==l?JSON.parse(l):null}catch(h){l=d,u&&(u=!1,l={error:h,text:l})}}u?(n.next(new Yi({body:l,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new Vi({error:l,headers:r,status:a,statusText:o,url:s||void 0}))},u=function(e){var t=c().url,r=new Vi({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},d=!1,h=function(t){d||(n.next(c()),d=!0);var r={type:Ri.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(e){var t={type:Ri.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",l),i.addEventListener("error",u),e.reportProgress&&(i.addEventListener("progress",h),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),n.next({type:Ri.Sent}),function(){i.removeEventListener("error",u),i.removeEventListener("load",l),e.reportProgress&&(i.removeEventListener("progress",h),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.abort()}}))}}]),e}()).\u0275fac=function(e){return new(e||Bi)(i.fc(er))},Bi.\u0275prov=i.Lb({token:Bi,factory:Bi.\u0275fac}),Bi),ir=new i.r("XSRF_COOKIE_NAME"),rr=new i.r("XSRF_HEADER_NAME"),ar=function e(){_classCallCheck(this,e)},or=((Ki=function(){function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=I(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||Ki)(i.fc(s),i.fc(i.C),i.fc(ir))},Ki.\u0275prov=i.Lb({token:Ki,factory:Ki.\u0275fac}),Ki),sr=((Ji=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Ji)(i.fc(ar),i.fc(rr))},Ji.\u0275prov=i.Lb({token:Ji,factory:Ji.\u0275fac}),Ji),cr=((qi=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(Zi,[]);this.chain=t.reduceRight((function(e,t){return new $i(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||qi)(i.fc(xi),i.fc(i.s))},qi.\u0275prov=i.Lb({token:qi,factory:qi.\u0275fac}),qi),lr=((Ui=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:sr,useClass:Xi}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:ir,useValue:t.cookieName}:[],t.headerName?{provide:rr,useValue:t.headerName}:[]]}}}]),e}()).\u0275mod=i.Nb({type:Ui}),Ui.\u0275inj=i.Mb({factory:function(e){return new(e||Ui)},providers:[sr,{provide:Zi,useExisting:sr,multi:!0},{provide:ar,useClass:or},{provide:ir,useValue:"XSRF-TOKEN"},{provide:rr,useValue:"X-XSRF-TOKEN"}]}),Ui),ur=((Ni=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Ni}),Ni.\u0275inj=i.Mb({factory:function(e){return new(e||Ni)},providers:[Gi,{provide:Si,useClass:cr},nr,{provide:xi,useExisting:nr},tr,{provide:er,useExisting:tr}],imports:[[lr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ni),dr=n("XNiG"),hr=n("9ppp"),fr=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._value=e,n}return _inherits(t,e),_createClass(t,[{key:"_subscribe",value:function(e){var n=_get(_getPrototypeOf(t.prototype),"_subscribe",this).call(this,e);return n&&!n.closed&&e.next(this._value),n}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new hr.a;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(t.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),t}(dr.a),pr=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),mr=n("l7GE"),_r=n("ZUHj"),br={};function gr(){for(var e=arguments.length,t=new Array(e),n=0;n0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:Pr;return function(t){return t.lift(new Ar(e))}}var Ar=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Er(e,this.errorFactory))}}]),e}(),Er=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).errorFactory=n,i.hasValue=!1,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),t}(yi.a);function Pr(){return new pr}function Rr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new Ir(e))}}var Ir=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new jr(e,this.defaultValue))}}]),e}(),jr=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).defaultValue=n,i.isEmpty=!0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),t}(yi.a),Yr=n("SpAZ");function Vr(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?ki((function(t,n){return e(t,n,i)})):Yr.a,Lr(1),n?Rr(t):Tr((function(){return new pr})))}}var Wr=n("51Dv");function Fr(e){return function(t){var n=new Hr(e),i=t.lift(n);return n.caught=i}}var Hr=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Br(e,this.selector,this.caught))}}]),e}(),Br=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).selector=n,r.caught=i,r}return _inherits(t,e),_createClass(t,[{key:"error",value:function(e){if(!this.isStopped){var n;try{n=this.selector(e,this.caught)}catch(a){return void _get(_getPrototypeOf(t.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var i=new Wr.a(this,void 0,void 0);this.add(i);var r=Object(_r.a)(this,n,void 0,void 0,i);r!==i&&this.add(r)}}}]),t}(mr.a);function zr(e){return function(t){return 0===e?wr():t.lift(new Nr(e))}}var Nr=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Mr}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Ur(e,this.total))}}]),e}(),Ur=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).total=n,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),t}(yi.a);function qr(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?ki((function(t,n){return e(t,n,i)})):Yr.a,zr(1),n?Rr(t):Tr((function(){return new pr})))}}var Jr=function(){function e(t,n,i){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Kr(e,this.predicate,this.thisArg,this.source))}}]),e}(),Kr=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).predicate=n,a.thisArg=i,a.source=r,a.index=0,a.thisArg=i||_assertThisInitialized(a),a}return _inherits(t,e),_createClass(t,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),t}(yi.a);function Gr(e,t){return"function"==typeof t?function(n){return n.pipe(Gr((function(n,i){return Object(vt.a)(e(n,i)).pipe(Object(bt.a)((function(e,r){return t(n,e,i,r)})))})))}:function(t){return t.lift(new $r(e))}}var $r=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Zr(e,this.project))}}]),e}(),Zr=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).project=n,i.index=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new Wr.a(this,t,n),a=this.destination;a.add(r),this.innerSubscription=Object(_r.a)(this,e,void 0,void 0,r),this.innerSubscription!==r&&a.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(t.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(t.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}}]),t}(mr.a);function Xr(){return xr()(bi.apply(void 0,arguments))}function Qr(){for(var e=arguments.length,t=new Array(e),n=0;n=2&&(n=!0),function(i){return i.lift(new ta(e,t,n))}}var ta=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new na(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),na=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).accumulator=n,a._seed=i,a.hasSeed=r,a.index=0,a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),t}(yi.a),ia=n("mCNh"),ra=n("KqfI"),aa=n("n6bG");function oa(e,t,n){return function(i){return i.lift(new sa(e,t,n))}}var sa=function(){function e(t,n,i){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ca(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),ca=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._tapNext=ra.a,a._tapError=ra.a,a._tapComplete=ra.a,a._tapError=i||ra.a,a._tapComplete=r||ra.a,Object(aa.a)(n)?(a._context=_assertThisInitialized(a),a._tapNext=n):n&&(a._context=n,a._tapNext=n.next||ra.a,a._tapError=n.error||ra.a,a._tapComplete=n.complete||ra.a),a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),t}(yi.a),la=n("quSY");function ua(e){return function(t){return t.lift(new ha(e))}}var da,ha=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new fa(e,this.callback))}}]),e}(),fa=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).add(new la.a(n)),i}return _inherits(t,e),t}(yi.a),pa=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},ma=function(e){function t(e,n){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).navigationTrigger=r,i.restoredState=a,i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(pa),_a=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(pa),ba=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).reason=i,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(pa),ga=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).error=i,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(pa),va=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),ya=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),ka=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,o.state=r,o.shouldActivate=a,o}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(pa),wa=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),Ca=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).urlAfterRedirects=i,a.state=r,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(pa),Sa=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),xa=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),Ma=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),La=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Oa=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Da=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Ta=function(){function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),Aa=((da=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||da)},da.\u0275cmp=i.Jb({type:da,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i.Rb(0,"router-outlet")},directives:function(){return[Ws]},encapsulation:2}),da),Ea=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Pa(e){return new Ea(e)}function Ra(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Ia(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length1&&void 0!==arguments[1]?arguments[1]:"",n=0;n-1})):e===t}function za(e){return Array.prototype.concat.apply([],e)}function Na(e){return e.length>0?e[e.length-1]:null}function Ua(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function qa(e){return Object(i.sb)(e)?e:Object(i.tb)(e)?Object(vt.a)(Promise.resolve(e)):bi(e)}function Ja(e,t,n){return n?function(e,t){return Ha(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Za(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return Ba(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,r){if(n.segments.length>r.length)return!!Za(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Za(n.segments,r))return!1;for(var a in i.children){if(!n.children[a])return!1;if(!e(n.children[a],i.children[a]))return!1}return!0}var o=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Za(n.segments,o)&&!!n.children.primary&&t(n.children.primary,i,s)}(t,n,n.segments)}(e.root,t.root)}var Ka=function(){function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}return _createClass(e,[{key:"toString",value:function(){return to.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pa(this.queryParams)),this._queryParamMap}}]),e}(),Ga=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,Ua(n,(function(e,t){return e.parent=i}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return no(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),$a=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return co(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Pa(this.parameters)),this._parameterMap}}]),e}();function Za(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Xa(e,t){var n=[];return Ua(e.children,(function(e,i){"primary"===i&&(n=n.concat(t(e,i)))})),Ua(e.children,(function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))})),n}var Qa=function e(){_classCallCheck(this,e)},eo=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new po(e);return new Ka(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i;return"".concat("/".concat(function e(t,n){if(!t.hasChildren())return no(t);if(n){var i=t.children.primary?e(t.children.primary,!1):"",r=[];return Ua(t.children,(function(t,n){"primary"!==n&&r.push("".concat(n,":").concat(e(t,!1)))})),r.length>0?"".concat(i,"(").concat(r.join("//"),")"):i}var a=Xa(t,(function(n,i){return"primary"===i?[e(t.children.primary,!1)]:["".concat(i,":").concat(e(n,!1))]}));return"".concat(no(t),"/(").concat(a.join("//"),")")}(e.root,!0)),(n=e.queryParams,i=Object.keys(n).map((function(e){var t=n[e];return Array.isArray(t)?t.map((function(t){return"".concat(ro(e),"=").concat(ro(t))})).join("&"):"".concat(ro(e),"=").concat(ro(t))})),i.length?"?".concat(i.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),to=new eo;function no(e){return e.segments.map((function(e){return co(e)})).join("/")}function io(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ro(e){return io(e).replace(/%3B/gi,";")}function ao(e){return io(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oo(e){return decodeURIComponent(e)}function so(e){return oo(e.replace(/\+/g,"%20"))}function co(e){return"".concat(ao(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(ao(e),"=").concat(ao(t[e]))})).join("")));var t}var lo=/^[^\/()?;=#]+/;function uo(e){var t=e.match(lo);return t?t[0]:""}var ho=/^[^=?&#]+/,fo=/^[^?&#]+/,po=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ga([],{}):new Ga([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ga(e,t)),n}},{key:"parseSegment",value:function(){var e=uo(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new $a(oo(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=uo(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=uo(this.remaining);i&&(n=i,this.capture(n))}e[oo(t)]=oo(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(ho);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(fo);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=so(t),a=so(n);if(e.hasOwnProperty(r)){var o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(a)}else e[r]=a}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=uo(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var a=this.parseChildren();t[r]=1===Object.keys(a).length?a.primary:new Ga([],a),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),mo=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=_o(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=_o(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=bo(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return bo(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function _o(e,t){if(e===t.value)return t;var n=!0,i=!1,r=void 0;try{for(var a,o=t.children[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=_o(e,a.value);if(s)return s}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return null}function bo(e,t){if(e===t.value)return[t];var n=!0,i=!1,r=void 0;try{for(var a,o=t.children[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=bo(e,a.value);if(s.length)return s.unshift(t),s}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return[]}var go=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function vo(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var yo=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).snapshot=n,Mo(_assertThisInitialized(i),e),i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(mo);function ko(e,t){var n=function(e,t){var n=new So([],{},{},"",{},"primary",t,null,e.root,-1,{});return new xo("",new go(n,[]))}(e,t),i=new fr([new $a("",{})]),r=new fr({}),a=new fr({}),o=new fr({}),s=new fr(""),c=new wo(i,r,o,s,a,"primary",t,n.root);return c.snapshot=n.root,new yo(new go(c,[]),n)}var wo=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(bt.a)((function(e){return Pa(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(bt.a)((function(e){return Pa(e)})))),this._queryParamMap}}]),e}();function Co(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var So=function(){function e(t,n,i,r,a,o,s,c,l,u,d){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=u,this._resolve=d}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Pa(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pa(this.queryParams)),this._queryParamMap}}]),e}(),xo=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n))).url=e,Mo(_assertThisInitialized(i),n),i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return Lo(this._root)}}]),t}(mo);function Mo(e,t){t.value._routerState=e,t.children.forEach((function(t){return Mo(e,t)}))}function Lo(e){var t=e.children.length>0?" { ".concat(e.children.map(Lo).join(", ")," } "):"";return"".concat(e.value).concat(t)}function Oo(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ha(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ha(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&To(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==Na(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Po=function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function Ro(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:"".concat(e)}function Io(e,t,n){if(e||(e=new Ga([],{})),0===e.segments.length&&e.hasChildren())return jo(e,t,n);var i=function(e,t,n){for(var i=0,r=t,a={match:!1,pathIndex:0,commandIndex:0};r=n.length)return a;var o=e.segments[r],s=Ro(n[i]),c=i0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!Fo(s,c,o))return a;i+=2}else{if(!Fo(s,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex0?new Ga([],{primary:e}):e;return new Ka(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(bt.a)((function(e){return new Ga([],e)}))):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return bi({});var a=[],o=[],s={};return Ua(n,(function(n,r){var c,l,u=(c=r,l=n,i.expandSegmentGroup(e,t,l,c)).pipe(Object(bt.a)((function(e){return s[r]=e})));"primary"===r?a.push(u):o.push(u)})),bi.apply(null,a.concat(o)).pipe(xr(),Vr(),Object(bt.a)((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,i,r,a){var o=this;return bi.apply(void 0,_toConsumableArray(n)).pipe(Object(bt.a)((function(s){return o.expandSegmentAgainstRoute(e,t,n,s,i,r,a).pipe(Fr((function(e){if(e instanceof Uo)return bi(null);throw e})))})),xr(),qr((function(e){return!!e})),Fr((function(e,n){if(e instanceof pr||"EmptyError"===e.name){if(o.noLeftoversInUrl(t,i,r))return bi(new Ga([],{}));throw new Uo(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,a,o){return es(i)!==a?Jo(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a):Jo(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ko(a):this.lineralizeSegments(n,a).pipe(Object(gi.a)((function(n){var a=new Ga(n,{});return r.expandSegment(e,a,t,n,i,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){var o=this,s=Zo(t,i,r),c=s.matched,l=s.consumedSegments,u=s.lastChild,d=s.positionalParamSegments;if(!c)return Jo(t);var h=this.applyRedirectCommands(l,i.redirectTo,d);return i.redirectTo.startsWith("/")?Ko(h):this.lineralizeSegments(i,h).pipe(Object(gi.a)((function(i){return o.expandSegment(e,t,n,i.concat(r.slice(u)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(bt.a)((function(e){return n._loadedConfig=e,new Ga(i,{})}))):bi(new Ga(i,{}));var a=Zo(t,n,i),o=a.matched,s=a.consumedSegments,c=a.lastChild;if(!o)return Jo(t);var l=i.slice(c);return this.getChildConfig(e,n,i).pipe(Object(gi.a)((function(e){var n=e.module,i=e.routes,a=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some((function(n){return Qo(e,t,n)&&"primary"!==es(n)}))}(e,n,i)?{segmentGroup:Xo(new Ga(t,function(e,t){var n={};n.primary=t;var i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;""===c.path&&"primary"!==es(c)&&(n[es(c)]=new Ga([],{}))}}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(i,new Ga(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Qo(e,t,n)}))}(e,n,i)?{segmentGroup:Xo(new Ga(e.segments,function(e,t,n,i){var r={},a=!0,o=!1,s=void 0;try{for(var c,l=n[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var u=c.value;Qo(e,t,u)&&!i[es(u)]&&(r[es(u)]=new Ga([],{}))}}catch(d){o=!0,s=d}finally{try{a||null==l.return||l.return()}finally{if(o)throw s}}return Object.assign(Object.assign({},i),r)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,i),o=a.segmentGroup,c=a.slicedSegments;return 0===c.length&&o.hasChildren()?r.expandChildren(n,i,o).pipe(Object(bt.a)((function(e){return new Ga(s,e)}))):0===i.length&&0===c.length?bi(new Ga(s,{})):r.expandSegment(n,o,i,c,"primary",!0).pipe(Object(bt.a)((function(e){return new Ga(s.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?bi(new ja(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?bi(t._loadedConfig):function(e,t,n){var i,r=t.canLoad;return r&&0!==r.length?Object(vt.a)(r).pipe(Object(bt.a)((function(i){var r,a=e.get(i);if(function(e){return e&&zo(e.canLoad)}(a))r=a.canLoad(t,n);else{if(!zo(a))throw new Error("Invalid CanLoad guard");r=a(t,n)}return qa(r)}))).pipe(xr(),(i=function(e){return!0===e},function(e){return e.lift(new Jr(i,void 0,e))})):bi(!0)}(e.injector,t,n).pipe(Object(gi.a)((function(n){return n?i.configLoader.load(e.injector,t).pipe(Object(bt.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new mt.a((function(t){return t.error(Ra("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):bi(new ja([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return bi(n);if(i.numberOfChildren>1||!i.children.primary)return Go(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Ka(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Ua(e,(function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,a=this.createSegments(e,t.segments,n,i),o={};return Ua(t.children,(function(t,a){o[a]=r.createSegmentGroup(e,t,n,i)})),new Ga(a,o)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map((function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n=0,i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;if(c.path===e.path)return t.splice(n),c;n++}}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return e}}]),e}();function Zo(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(t.matcher||Ia)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Xo(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Ga(e.segments.concat(t.segments),t.children)}return e}function Qo(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function es(e){return e.outlet||"primary"}var ts=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},ns=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function is(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function rs(e,t,n){var i=vo(e),r=e.value;Ua(i,(function(e,i){rs(e,r.component?t?t.children.getContext(i):null:t,n)})),n.canDeactivateChecks.push(new ns(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var as=Symbol("INITIAL_VALUE");function os(){return Gr((function(e){return gr.apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(zr(1),Qr(as))})))).pipe(ea((function(e,t){var n=!1;return t.reduce((function(e,i,r){if(e!==as)return e;if(i===as&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||No(i))return i}return e}),e)}),as),ki((function(e){return e!==as})),Object(bt.a)((function(e){return No(e)?e:!0===e})),zr(1))}))}function ss(e,t){return null!==e&&t&&t(new Oa(e)),bi(!0)}function cs(e,t){return null!==e&&t&&t(new Ma(e)),bi(!0)}function ls(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?bi(i.map((function(i){return Cr((function(){var r,a=is(i,t,n);if(function(e){return e&&zo(e.canActivate)}(a))r=qa(a.canActivate(t,e));else{if(!zo(a))throw new Error("Invalid CanActivate guard");r=qa(a(t,e))}return r.pipe(qr())}))}))).pipe(os()):bi(!0)}function us(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return Cr((function(){return bi(t.guards.map((function(r){var a,o=is(r,t.node,n);if(function(e){return e&&zo(e.canActivateChild)}(o))a=qa(o.canActivateChild(i,e));else{if(!zo(o))throw new Error("Invalid CanActivateChild guard");a=qa(o(i,e))}return a.pipe(qr())}))).pipe(os())}))}));return bi(r).pipe(os())}var ds=function e(){_classCallCheck(this,e)},hs=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return _createClass(e,[{key:"recognize",value:function(){try{var e=ms(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new So([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new go(n,t),r=new xo(this.url,i);return this.inheritParamsAndData(r._root),bi(r)}catch(a){return new mt.a((function(e){return e.error(a)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=Co(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,i=this,r=Xa(t,(function(t,n){return i.processSegmentGroup(e,t,n)}));return n={},r.forEach((function(e){var t=n[e.value.outlet];if(t){var i=t.url.map((function(e){return e.toString()})).join("/"),r=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(i,"' and '").concat(r,"'."))}n[e.value.outlet]=e.value})),r.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),r}},{key:"processSegment",value:function(e,t,n,i){var r=!0,a=!1,o=void 0;try{for(var s,c=e[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value;try{return this.processSegmentAgainstRoute(l,t,n,i)}catch(u){if(!(u instanceof ds))throw u}}}catch(d){a=!0,o=d}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}if(this.noLeftoversInUrl(t,n,i))return[];throw new ds}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,i){if(e.redirectTo)throw new ds;if((e.outlet||"primary")!==i)throw new ds;var r,a=[],o=[];if("**"===e.path){var s=n.length>0?Na(n).parameters:{};r=new So(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gs(e),i,e.component,e,fs(t),ps(t)+n.length,vs(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new ds;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||Ia)(n,e,t);if(!i)throw new ds;var r={};Ua(i.posParams,(function(e,t){r[t]=e.path}));var a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,o=n.slice(c.lastChild),r=new So(a,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gs(e),i,e.component,e,fs(t),ps(t)+a.length,vs(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=ms(t,a,o,l,this.relativeLinkResolution),d=u.segmentGroup,h=u.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(l,d);return[new go(r,f)]}if(0===l.length&&0===h.length)return[new go(r,[])];var p=this.processSegment(l,d,h,"primary");return[new go(r,p)]}}]),e}();function fs(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function ps(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function ms(e,t,n,i,r){if(n.length>0&&function(e,t,n){return n.some((function(n){return _s(e,t,n)&&"primary"!==bs(n)}))}(e,n,i)){var a=new Ga(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var a=!0,o=!1,s=void 0;try{for(var c,l=n[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var u=c.value;if(""===u.path&&"primary"!==bs(u)){var d=new Ga([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,r[bs(u)]=d}}}catch(h){o=!0,s=h}finally{try{a||null==l.return||l.return()}finally{if(o)throw s}}return r}(e,t,i,new Ga(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return _s(e,t,n)}))}(e,n,i)){var o=new Ga(e.segments,function(e,t,n,i,r,a){var o={},s=!0,c=!1,l=void 0;try{for(var u,d=i[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var h=u.value;if(_s(e,n,h)&&!r[bs(h)]){var f=new Ga([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===a?e.segments.length:t.length,o[bs(h)]=f}}}catch(p){c=!0,l=p}finally{try{s||null==d.return||d.return()}finally{if(c)throw l}}return Object.assign(Object.assign({},r),o)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new Ga(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function _s(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function bs(e){return e.outlet||"primary"}function gs(e){return e.data||{}}function vs(e){return e.resolve||{}}function ys(e,t,n,i){var r=is(e,t,i);return qa(r.resolve?r.resolve(t,n):r(t,n))}function ks(e){return function(t){return t.pipe(Gr((function(t){var n=e(t);return n?Object(vt.a)(n).pipe(Object(bt.a)((function(){return t}))):Object(vt.a)([t])})))}}var ws=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}(),Cs=new i.r("ROUTES"),Ss=function(){function e(t,n,i,r){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(bt.a)((function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new ja(za(r.injector.get(Cs)).map(Fa),r)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Object(vt.a)(this.loader.load(e)):qa(e()).pipe(Object(gi.a)((function(e){return e instanceof i.w?bi(e):Object(vt.a)(t.compiler.compileModuleAsync(e))})))}}]),e}(),xs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Ms(e){throw e}function Ls(e,t,n){return t.parse("/")}function Os(e,t){return bi(null)}var Ds,Ts,As=((Ts=function(){function e(t,n,r,a,o,s,c,l){var u=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=a,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new dr.a,this.errorHandler=Ms,this.malformedUriErrorHandler=Ls,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Os,afterPreactivation:Os},this.urlHandlingStrategy=new xs,this.routeReuseStrategy=new ws,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.y),this.console=o.get(i.Z);var d=o.get(i.A);this.isNgZoneEnabled=d instanceof i.A,this.resetConfig(l),this.currentUrlTree=new Ka(new Ga([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ss(s,c,(function(e){return u.triggerEvent(new Sa(e))}),(function(e){return u.triggerEvent(new xa(e))})),this.routerState=ko(this.currentUrlTree,this.rootComponentType),this.transitions=new fr({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(ki((function(e){return 0!==e.id})),Object(bt.a)((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Gr((function(e){var i,r,a,o=!1,s=!1;return bi(e).pipe(oa((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Gr((function(e){var i,r,a,o,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return bi(e).pipe(Gr((function(e){var i=t.transitions.getValue();return n.next(new ma(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?kr:[e]})),Gr((function(e){return Promise.resolve(e)})),(i=t.ngModule.injector,r=t.configLoader,a=t.urlSerializer,o=t.config,function(e){return e.pipe(Gr((function(e){return function(e,t,n,i,r){return new $o(e,t,n,i,r).apply()}(i,r,a,e.extractedUrl,o).pipe(Object(bt.a)((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),oa((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,i,r,a){return function(i){return i.pipe(Object(gi.a)((function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new hs(e,t,n,i,r,a).recognize()}(e,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,t.serializeUrl(o)),r,a).pipe(Object(bt.a)((function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})})));var o})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),oa((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),oa((function(e){var i=new va(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var c=e.id,l=e.extractedUrl,u=e.source,d=e.restoredState,h=e.extras,f=new ma(c,t.serializeUrl(l),u,d);n.next(f);var p=ko(l,t.rootComponentType).snapshot;return bi(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:l,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),kr})),ks((function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),oa((function(e){var n=new ya(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(bt.a)((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,r=t.rootContexts,a=n._root,function e(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=vo(n);return t.children.forEach((function(t){!function(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,s=n?n.value:null,c=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Za(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Za(e.url,t.url)||!Ha(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Do(e,t)||!Ha(e.queryParams,t.queryParams);case"paramsChange":default:return!Do(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?a.canActivateChecks.push(new ts(r)):(o.data=s.data,o._resolvedData=s._resolvedData),e(t,n,o.component?c?c.children:null:i,r,a),l&&a.canDeactivateChecks.push(new ns(c&&c.outlet&&c.outlet.component||null,s))}else s&&rs(n,c,a),a.canActivateChecks.push(new ts(r)),e(t,null,o.component?c?c.children:null:i,r,a)}(t,o[t.value.outlet],i,r.concat([t.value]),a),delete o[t.value.outlet]})),Ua(o,(function(e,t){return rs(e,i.getContext(t),a)})),a}(a,i?i._root:null,r,[a.value]))});var n,i,r,a})),function(e,t){return function(n){return n.pipe(Object(gi.a)((function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?bi(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(vt.a)(e).pipe(Object(gi.a)((function(e){return function(e,t,n,i,r){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return a&&0!==a.length?bi(a.map((function(a){var o,s=is(a,t,r);if(function(e){return e&&zo(e.canDeactivate)}(s))o=qa(s.canDeactivate(e,t,n,i));else{if(!zo(s))throw new Error("Invalid CanDeactivate guard");o=qa(s(e,t,n,i))}return o.pipe(qr())}))).pipe(os()):bi(!0)}(e.component,e.route,n,t,i)})),qr((function(e){return!0!==e}),!0))}(s,i,r,e).pipe(Object(gi.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return Object(vt.a)(t).pipe(vi((function(t){return Object(vt.a)([cs(t.route.parent,i),ss(t.route,i),us(e,t.path,n),ls(e,t.route,n)]).pipe(xr(),qr((function(e){return!0!==e}),!0))})),qr((function(e){return!0!==e}),!0))}(i,o,e,t):bi(n)})),Object(bt.a)((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),oa((function(e){if(No(e.guardsResult)){var n=Ra('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),oa((function(e){var n=new ka(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),ki((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new ba(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0})),ks((function(e){if(e.guards.canActivateChecks.length)return bi(e).pipe(oa((function(e){var n=new wa(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(Object(gi.a)((function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;return r.length?Object(vt.a)(r).pipe(vi((function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return bi({});if(1===r.length){var a=r[0];return ys(e[a],t,n,i).pipe(Object(bt.a)((function(e){return _defineProperty({},a,e)})))}var o={};return Object(vt.a)(r).pipe(Object(gi.a)((function(r){return ys(e[r],t,n,i).pipe(Object(bt.a)((function(e){return o[r]=e,e})))}))).pipe(Vr(),Object(bt.a)((function(){return o})))}(e._resolve,e,t,i).pipe(Object(bt.a)((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Co(e,n).resolve),null})))}(e.route,t,n,i)})),function(e,t){return arguments.length>=2?function(n){return Object(ia.a)(ea(e,t),Lr(1),Rr(t))(n)}:function(t){return Object(ia.a)(ea((function(t,n,i){return e(t,n,i+1)})),Lr(1))(t)}}((function(e,t){return e})),Object(bt.a)((function(t){return e}))):bi(e)})))}),oa((function(e){var n=new Ca(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,i})),ks((function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(bt.a)((function(e){var n=function(e,t,n){var i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){var r=i.value;r._futureSnapshot=n.value;var a=function(t,n,i){return n.children.map((function(n){var r=!0,a=!1,o=void 0;try{for(var s,c=i.children[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value;if(t.shouldReuseRoute(l.value.snapshot,n.value))return e(t,n,l)}}catch(u){a=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return e(t,n)}))}(t,n,i);return new go(r,a)}var o=t.retrieve(n.value);if(o){var s=o.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,r=t.queryParams,a=t.fragment,o=t.preserveQueryParams,s=t.queryParamsHandling,c=t.preserveFragment;Object(i.W)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,u=c?this.currentUrlTree.fragment:a,d=null;if(s)switch(s){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=o?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,i,r){if(0===n.length)return Ao(t.root,t.root,t,i,r);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Eo(!0,0,e);var t=0,n=!1,i=e.reduce((function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return Ua(i.outlets,(function(e,t){a[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:a}])}if(i.segmentPath)return[].concat(_toConsumableArray(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(e),[i]):0===r?(i.split("/").forEach((function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))})),e):[].concat(_toConsumableArray(e),[i])}),[]);return new Eo(n,t,i)}(n);if(a.toRoot())return Ao(t.root,new Ga([],{}),t,i,r);var o=function(e,t,n){if(e.isAbsolute)return new Po(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Po(n.snapshot._urlSegment,!0,0);var i=To(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,a=n;a>r;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new Po(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(a,t,e),s=o.processChildren?jo(o.segmentGroup,o.index,a.commands):Io(o.segmentGroup,o.index,a.commands);return Ao(o.segmentGroup,s,t,i,r)}(l,this.currentUrlTree,e,d,u)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(i.W)()&&this.isNgZoneEnabled&&!i.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=No(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof ma?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof _a&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Ta&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new Ta(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){i.ic()},Is.\u0275dir=i.Kb({type:Is}),Is),Us=new i.r("ROUTER_CONFIGURATION"),qs=new i.r("ROUTER_FORROOT_GUARD"),Js=[L,{provide:Qa,useClass:eo},{provide:As,useFactory:function(e,t,n,i,r,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,d=new As(null,e,t,n,i,r,o,za(s));if(l&&(d.urlHandlingStrategy=l),u&&(d.routeReuseStrategy=u),c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){var h=a();d.events.subscribe((function(e){h.logGroup("Router Event: ".concat(e.constructor.name)),h.log(e.toString()),h.log(e),h.logGroupEnd()}))}return c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),d},deps:[Qa,Vs,L,i.s,i.x,i.i,Cs,Us,[function(){return function e(){_classCallCheck(this,e)}}(),new i.B],[function(){return function e(){_classCallCheck(this,e)}}(),new i.B]]},Vs,{provide:wo,useFactory:function(e){return e.routerState.root},deps:[As]},{provide:i.x,useClass:i.L},zs,Bs,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(Fr((function(){return bi(null)})))}}]),e}(),{provide:Us,useValue:{enableTracing:!1}}];function Ks(){return new i.z("Router",As)}var Gs,$s=((Gs=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Js,ec(t),{provide:qs,useFactory:Qs,deps:[[As,new i.B,new i.K]]},{provide:Us,useValue:n||{}},{provide:v,useFactory:Xs,deps:[c,[new i.q(S),new i.B],Us]},{provide:Ns,useFactory:Zs,deps:[As,fe,Us]},{provide:Hs,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bs},{provide:i.z,multi:!0,useFactory:Ks},[nc,{provide:i.d,multi:!0,useFactory:ic,deps:[nc]},{provide:sc,useFactory:rc,deps:[nc]},{provide:i.b,multi:!0,useExisting:sc}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[ec(t)]}}}]),e}()).\u0275mod=i.Nb({type:Gs}),Gs.\u0275inj=i.Mb({factory:function(e){return new(e||Gs)(i.fc(qs,8),i.fc(As,8))}}),Gs);function Zs(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Ns(e,t,n)}function Xs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new M(e,t):new x(e,t)}function Qs(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function ec(e){return[{provide:i.a,multi:!0,useValue:e},{provide:Cs,multi:!0,useValue:e}]}var tc,nc=((tc=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new dr.a}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(d,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),i=e.injector.get(As),r=e.injector.get(Us);if(e.isLegacyDisabled(r)||e.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));i.hooks.afterPreactivation=function(){return e.initNavigation?bi(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Us),n=this.injector.get(zs),r=this.injector.get(Ns),a=this.injector.get(As),o=this.injector.get(i.g);e===o.components[0]&&(this.isLegacyEnabled(t)?a.initialNavigation():this.isLegacyDisabled(t)&&a.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),a.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||tc)(i.fc(i.s))},tc.\u0275prov=i.Lb({token:tc,factory:tc.\u0275fac}),tc);function ic(e){return e.appInitializer.bind(e)}function rc(e){return e.bootstrapListener.bind(e)}var ac,oc,sc=new i.r("Router Initializer"),cc=function e(){_classCallCheck(this,e)},lc=function e(){_classCallCheck(this,e)},uc=function e(){_classCallCheck(this,e)},dc=function e(){_classCallCheck(this,e)},hc=function(e){return e[e.REMOTE_ADDR=1]="REMOTE_ADDR",e[e.X_Forwarded_For=2]="X_Forwarded_For",e[e.X_REAL_IP=4]="X_REAL_IP",e[e.REAL_IP=8]="REAL_IP",e}({}),fc=function e(){_classCallCheck(this,e)},pc=function(e){return e[e.Reverse_Proxy=1]="Reverse_Proxy",e[e.Local_FastCGI=2]="Local_FastCGI",e[e.Static_Website=4]="Static_Website",e[e.K8S_Ingress=8]="K8S_Ingress",e}({}),mc=function e(){_classCallCheck(this,e)},_c=function e(){_classCallCheck(this,e)},bc=function e(){_classCallCheck(this,e)},gc=function(e){return e[e.Host=1]="Host",e[e.IPAddress=2]="IPAddress",e[e.Method=4]="Method",e[e.URLPath=8]="URLPath",e[e.URLQuery=16]="URLQuery",e[e.FileExt=32]="FileExt",e[e.GetPostKey=128]="GetPostKey",e[e.GetPostValue=256]="GetPostValue",e[e.UploadFileExt=512]="UploadFileExt",e[e.Referer=1024]="Referer",e[e.CookieKey=2048]="CookieKey",e[e.CookieValue=4096]="CookieValue",e[e.UserAgent=8192]="UserAgent",e[e.ContentType=16384]="ContentType",e[e.HeaderKey=32768]="HeaderKey",e[e.HeaderValue=65536]="HeaderValue",e[e.Proto=131072]="Proto",e[e.ResponseStatusCode=33554432]="ResponseStatusCode",e[e.ResponseHeaderKey=67108864]="ResponseHeaderKey",e[e.ResponseHeaderValue=134217728]="ResponseHeaderValue",e[e.ResponseBody=536870912]="ResponseBody",e}({}),vc=function(e){return e[e.BLOCK=100]="BLOCK",e[e.BYPASS_AND_LOG=200]="BYPASS_AND_LOG",e[e.CAPTCHA=300]="CAPTCHA",e[e.OK_PASS=400]="OK_PASS",e}({}),yc=function e(){_classCallCheck(this,e)},kc=function(e){return e[e.Regex_Match=1]="Regex_Match",e[e.Equals_String_Case_Insensitive=2]="Equals_String_Case_Insensitive",e[e.Greater_Than_Integer=4]="Greater_Than_Integer",e[e.Equals_Integer=8]="Equals_Integer",e[e.Length_Greater_Than_Integer=16]="Length_Greater_Than_Integer",e[e.Regex_Not_Match=32]="Regex_Not_Match",e}({}),wc=function e(){_classCallCheck(this,e)},Cc=function e(){_classCallCheck(this,e)},Sc=function e(){_classCallCheck(this,e)},xc=function e(){_classCallCheck(this,e),this.regex_logs=[]},Mc=function e(){_classCallCheck(this,e),this.cc_logs=[]},Lc=function e(t,n,i,r){_classCallCheck(this,e),this.ip=t,this.port=n,this.username=i,this.password=r},Oc=function e(){_classCallCheck(this,e)},Dc=function e(){_classCallCheck(this,e)},Tc=((ac=function(){function e(){_classCallCheck(this,e),this.messages=[]}return _createClass(e,[{key:"add",value:function(e){this.messages.push(e)}},{key:"clear",value:function(){this.messages=[]}}]),e}()).\u0275fac=function(e){return new(e||ac)},ac.\u0275prov=i.Lb({token:ac,factory:ac.\u0275fac}),ac),Ac={headers:new Mi({"Content-Type":"application/json"})},Ec=((oc=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.messageService=n,this.apiUrl="/janusec-admin/ui-api",this.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.certificates=[],this.applications=[],this.vip_apps=[],this.appmap=new Object,this.vip_app_map=new Object,this.domains=[],this.admins=[],this.vulntypes=[],this.vulntypemap=new Object,this.lastRegexLogs=new xc,this.lastCCLogs=new Mc,this.oauth=new Oc}return _createClass(e,[{key:"getResponse",value:function(e,t,n,i){var r=this,a={action:e};null!=n&&(a.id=n),null!=i&&(a.object=i),this.http.post(this.apiUrl,a,Ac).pipe(oa((function(e){})),Fr(this.handleError("Get response"))).subscribe((function(e){null==e.err?t(e.object):r.messageService.add("Error: "+e.err)}))}},{key:"getResponseByCustomBody",value:function(e,t){var n=this;this.http.post(this.apiUrl,e,Ac).pipe(oa((function(e){})),Fr(this.handleError("Get response"))).subscribe((function(e){null==e.err?t(e.object):n.messageService.add("Error: "+e.err)}))}},{key:"getResponseByURL",value:function(e,t,n,i){var r=this;this.http.get(e,Ac).pipe(oa((function(e){})),Fr(this.handleError("Get response"))).subscribe((function(e){null==e.err?t(e.object):r.messageService.add("Error: "+e.err)}))}},{key:"getApplications",value:function(){var e=this;this.getResponse("get_apps",(function(t){if(null==t)e.applications=[];else{e.applications=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.applications[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;e.appmap[s.id]=s.name}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}}))}},{key:"getVipApps",value:function(){var e=this;this.getResponse("get_vip_apps",(function(t){if(null==t)e.vip_apps=[];else{e.vip_apps=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.vip_apps[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;e.vip_app_map[s.id]=s.name}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}}))}},{key:"getCertificates",value:function(){var e=this;this.getResponse("get_certs",(function(t){e.certificates=t;var n=(new Date).getTime(),i=!0,r=!1,a=void 0;try{for(var o,s=e.certificates[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value,l=new Date(1e3*c.expire_time).getTime()-n;c.due_to_expire=l<2592e6}}catch(u){r=!0,a=u}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}}))}},{key:"getAPIKey",value:function(){var e=this;return this.getResponse("get_api_key",(function(t){e.hexAPIKey=t.api_key})),e.hexAPIKey}},{key:"getNodesKey",value:function(){var e=this;return this.getResponse("get_nodes_key",(function(t){e.hexNodesKey=t.nodes_key})),e.hexNodesKey}},{key:"getAuthUser",value:function(e){var t=this;this.getResponse("get_auth_user",(function(n){t.auth_user=n,e(t.auth_user)}))}},{key:"getVulnTypes",value:function(e){var t=this;this.getResponse("get_vuln_types",(function(n){t.vulntypes=n;var i=!0,r=!1,a=void 0;try{for(var o,s=t.vulntypes[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;t.vulntypemap[c.id]=c.name}}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}e()}))}},{key:"getDomains",value:function(){var e=this;this.getResponse("get_domains",(function(t){e.domains=t}))}},{key:"getAppUsers",value:function(){var e=this;this.getResponse("get_app_users",(function(t){e.admins=t}))}},{key:"saveCertificate",value:function(e){return this.http.post(this.apiUrl,{action:"update_cert",certificate:e},Ac).pipe(oa((function(e){})),Fr(this.handleError("Save certificate")))}},{key:"getDateString",value:function(e){var t=new Date(1e3*e);return t.toLocaleDateString()+" "+t.toLocaleTimeString("en-GB",{hour12:!1})}},{key:"handleError",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"operation",n=arguments.length>1?arguments[1]:void 0;return function(i){return console.error(i),e.messageService.add("".concat(t," failed: ").concat(i.message)),bi(n)}}}]),e}()).\u0275fac=function(e){return new(e||oc)(i.fc(Gi),i.fc(Tc))},oc.\u0275prov=i.Lb({token:oc,factory:oc.\u0275fac}),oc);function Pc(e){return null!=e&&"false"!=="".concat(e)}function Rc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Ic(e)?Number(e):t}function Ic(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function jc(e){return Array.isArray(e)?e:[e]}function Yc(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function Vc(e){return e instanceof i.l?e.nativeElement:e}function Wc(e){return e&&"function"==typeof e.connect}var Fc,Hc,Bc,zc,Nc=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new dr.a,i&&i.length&&(n?i.forEach((function(e){return t._markSelected(e)})):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _createClass(e,[{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),e}(),Uc=((Fc=function(){function e(){_classCallCheck(this,e),this._listeners=[]}return _createClass(e,[{key:"notify",value:function(e,t){var n=!0,i=!1,r=void 0;try{for(var a,o=this._listeners[Symbol.iterator]();!(n=(a=o.next()).done);n=!0)(0,a.value)(e,t)}catch(s){i=!0,r=s}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}},{key:"listen",value:function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter((function(t){return e!==t}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),e}()).\u0275fac=function(e){return new(e||Fc)},Fc.\u0275prov=Object(i.Lb)({factory:function(){return new Fc},token:Fc,providedIn:"root"}),Fc),qc=new i.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.V)(s)}}),Jc=((zc=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new i.o,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||zc)(i.fc(qc,8))},zc.\u0275prov=Object(i.Lb)({factory:function(){return new zc(Object(i.fc)(qc,8))},token:zc,providedIn:"root"}),zc),Kc=((Bc=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bc}),Bc.\u0275inj=i.Mb({factory:function(e){return new(e||Bc)}}),Bc);try{Hc="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(JY){Hc=!1}var Gc,$c,Zc,Xc,Qc,el=((Zc=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?oe(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hc)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||Zc)(i.fc(i.C,8))},Zc.\u0275prov=Object(i.Lb)({factory:function(){return new Zc(Object(i.fc)(i.C,8))},token:Zc,providedIn:"root"}),Zc),tl=(($c=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:$c}),$c.\u0275inj=i.Mb({factory:function(e){return new(e||$c)}}),$c),nl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function il(){if(Gc)return Gc;if("object"!=typeof document||!document)return Gc=new Set(nl);var e=document.createElement("input");return Gc=new Set(nl.filter((function(t){return e.setAttribute("type",t),e.type===t})))}function rl(e){return function(){if(null==Xc&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Xc=!0}}))}finally{Xc=Xc||!1}return Xc}()?e:!!e.capture}function al(){if("object"!=typeof document||!document)return 0;if(null==Qc){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),Qc=0,0===e.scrollLeft&&(e.scrollLeft=1,Qc=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return Qc}function ol(e){return function(t){return t.lift(new sl(e))}}var sl=function(){function e(t){_classCallCheck(this,e),this.notifier=t}return _createClass(e,[{key:"call",value:function(e,t){var n=new cl(e),i=Object(_r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),cl=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).seenValue=!1,n}return _inherits(t,e),_createClass(t,[{key:"notifyNext",value:function(e,t,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),t}(mr.a),ll=[[["caption"]]],ul=["caption"];function dl(e){return function(e){function t(){var e,n;_classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),a=0;a3&&void 0!==arguments[3])||arguments[3];_classCallCheck(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=i,this._isBrowser=r}return _createClass(e,[{key:"clearStickyPositioning",value:function(e,t){var n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(s.nodeType===s.ELEMENT_NODE){this._removeStickyStyle(s,t);for(var c=0;c0;r--)t[r]&&(n[r]=i,i+=e[r]);return n}}]),e}();function Ul(e){return Error('Could not find column with id "'.concat(e,'".'))}var ql,Jl,Kl,Gl,$l=((Gl=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}).\u0275fac=function(e){return new(e||Gl)(i.Pb(i.P),i.Pb(i.l))},Gl.\u0275dir=i.Kb({type:Gl,selectors:[["","rowOutlet",""]]}),Gl),Zl=((Kl=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}).\u0275fac=function(e){return new(e||Kl)(i.Pb(i.P),i.Pb(i.l))},Kl.\u0275dir=i.Kb({type:Kl,selectors:[["","headerRowOutlet",""]]}),Kl),Xl=((Jl=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}).\u0275fac=function(e){return new(e||Jl)(i.Pb(i.P),i.Pb(i.l))},Jl.\u0275dir=i.Kb({type:Jl,selectors:[["","footerRowOutlet",""]]}),Jl),Ql=((ql=function(){function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=i,this._dir=a,this._platform=s,this._onDestroy=new dr.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new fr({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Wc(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;t.forEachOperation((function(t,i,r){if(null==t.previousIndex)e._insertRow(t.item,r);else if(null==r)n.remove(i);else{var a=n.get(i);n.move(a,r)}})),this._updateRowIndexContext(),t.forEachIdentityChange((function(e){n.get(e.currentIndex).context.$implicit=e.item.data})),this.updateStickyColumnStyles()}}},{key:"setHeaderRowDef",value:function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}},{key:"setFooterRowDef",value:function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([].concat(_toConsumableArray(t),_toConsumableArray(n),_toConsumableArray(i)),["left","right"]),t.forEach((function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])})),this._rowDefs.forEach((function(t){for(var i=[],r=0;r1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}},{key:"_renderUpdatedColumns",value:function(){var e=function(e,t){return e||!!t.getColumnsDiff()};this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}},{key:"_switchDataSource",value:function(e){this._data=[],Wc(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}},{key:"_observeRenderChanges",value:function(){var e=this;if(this.dataSource){var t,n;if(Wc(this.dataSource)?t=this.dataSource.connect(this):(n=this.dataSource)&&(n instanceof mt.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=bi(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(ol(this._onDestroy)).subscribe((function(t){e._data=t||[],e.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(t,n){return e._renderRow(e._headerRowOutlet,t,n)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(t,n){return e._renderRow(e._footerRowOutlet,t,n)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,i=Array.from(t.columns||[]).map((function(e){var t=n._columnDefsByName.get(e);if(!t)throw Ul(e);return t})),r=i.map((function(e){return e.sticky})),a=i.map((function(e){return e.stickyEnd}));this._stickyStyler.updateStickyColumns(e,r,a)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:{};e.viewContainer.createEmbeddedView(t.template,i,n);var r=!0,a=!1,o=void 0;try{for(var s,c=this._getCellTemplates(t)[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value;Fl.mostRecentCellOutlet&&Fl.mostRecentCellOutlet._viewContainer.createEmbeddedView(l,i)}}catch(u){a=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),t}(function(e){function t(e,n){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),t}(la.a)),au=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),ou=function(e){function t(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:au.now;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,(function(){return t.delegate&&t.delegate!==_assertThisInitialized(n)?t.delegate.now():i()})))).actions=[],n.active=!1,n.scheduled=void 0,n}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(e,n,i):_get(_getPrototypeOf(t.prototype),"schedule",this).call(this,e,n,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),t}(au),su=new ou(ru);function cu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:su;return function(n){return n.lift(new lu(e,t))}}var lu=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new uu(e,this.dueTime,this.scheduler))}}]),e}(),uu=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(du,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),t}(yi.a);function du(e){e.debouncedNext()}var hu,fu,pu,mu,_u=((mu=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}()).\u0275fac=function(e){return new(e||mu)},mu.\u0275prov=Object(i.Lb)({factory:function(){return new mu},token:mu,providedIn:"root"}),mu),bu=((pu=function(){function e(t){_classCallCheck(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))}},{key:"observe",value:function(e){var t=this,n=Vc(e);return new mt.a((function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}}))}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new dr.a,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}()).\u0275fac=function(e){return new(e||pu)(i.fc(_u))},pu.\u0275prov=Object(i.Lb)({factory:function(){return new pu(Object(i.fc)(_u))},token:pu,providedIn:"root"}),pu),gu=((fu=function(){function e(t,n,r){_classCallCheck(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=r,this.event=new i.o,this._disabled=!1,this._currentSubscription=null}return _createClass(e,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(cu(e.debounce)):t).subscribe(e.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Pc(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Rc(e),this._subscribe()}}]),e}()).\u0275fac=function(e){return new(e||fu)(i.Pb(bu),i.Pb(i.l),i.Pb(i.A))},fu.\u0275dir=i.Kb({type:fu,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),fu),vu=((hu=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:hu}),hu.\u0275inj=i.Mb({factory:function(e){return new(e||hu)},providers:[_u]}),hu);function yu(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var ku,wu,Cu=0,Su=new Map,xu=null,Mu=((ku=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"describe",value:function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Su.set(t,{messageElement:t,referenceCount:0})):Su.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}},{key:"removeDescription",value:function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=Su.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}xu&&0===xu.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}}))}return _createClass(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(oa((function(t){return e._pressedLetters.push(t)})),cu(t),ki((function(){return e._pressedLetters.length>0})),Object(bt.a)((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),i=1;i-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||iu(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof i.E?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),e}(),Ou=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(t.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),t}(Lu),Du=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._origin="program",e}return _inherits(t,e),_createClass(t,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_get(_getPrototypeOf(t.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),t}(Lu),Tu=((wu=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(JY){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var i=n&&n.nodeName.toLowerCase();if(-1===Eu(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===i)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var r=e.nodeName.toLowerCase(),a=Eu(e);if(e.hasAttribute("contenteditable"))return-1!==a;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Au(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}]),e}()).\u0275fac=function(e){return new(e||wu)(i.fc(el))},wu.\u0275prov=Object(i.Lb)({factory:function(){return new wu(Object(i.fc)(el))},token:wu,providedIn:"root"}),wu);function Au(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function Eu(e){if(!Au(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var Pu,Ru,Iu=function(){function e(t,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return _createClass(e,[{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe(e)}},{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}}]),e}(),ju=((Ru=function(){function e(t,n,i){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=i}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Iu(e,this._checker,this._ngZone,this._document,t)}}]),e}()).\u0275fac=function(e){return new(e||Ru)(i.fc(Tu),i.fc(i.A),i.fc(s))},Ru.\u0275prov=Object(i.Lb)({factory:function(){return new Ru(Object(i.fc)(Tu),Object(i.fc)(i.A),Object(i.fc)(s))},token:Ru,providedIn:"root"}),Ru),Yu=((Pu=function(){function e(t,n,i){_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=Pc(e)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(e){this._autoCapture=Pc(e)}}]),e}()).\u0275fac=function(e){return new(e||Pu)(i.Pb(i.l),i.Pb(ju),i.Pb(s))},Pu.\u0275dir=i.Kb({type:Pu,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),Pu);"undefined"!=typeof Element&∈var Vu,Wu,Fu,Hu,Bu=new i.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),zu=new i.r("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Nu=((Wu=function(){function e(t,n,i,r){_classCallCheck(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return _createClass(e,[{key:"announce",value:function(e){for(var t,n,i,r=this,a=this._defaultOptions,o=arguments.length,s=new Array(o>1?o-1:0),c=1;c1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return bi(null);var i=Vc(e);if(this._elementInfo.has(i)){var r=this._elementInfo.get(i);return r.checkChildren=n,r.subject.asObservable()}var a={unlisten:function(){},checkChildren:n,subject:new dr.a};this._elementInfo.set(i,a),this._incrementMonitoredElementCount();var o=function(e){return t._onFocus(e,i)},s=function(e){return t._onBlur(e,i)};return this._ngZone.runOutsideAngular((function(){i.addEventListener("focus",o,!0),i.addEventListener("blur",s,!0)})),a.unlisten=function(){i.removeEventListener("focus",o,!0),i.removeEventListener("blur",s,!0)},a.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Vc(e),n=this._elementInfo.get(t);n&&(n.unlisten(),n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())}},{key:"focusVia",value:function(e,t,n){var i=Vc(e);this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_setClasses",value:function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,t._originTimeoutId=setTimeout((function(){return t._origin=null}),1)}))}},{key:"_wasCausedByTouch",value:function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===e.target)){var i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_incrementMonitoredElementCount",value:function(){var e=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular((function(){document.addEventListener("keydown",e._documentKeydownListener,qu),document.addEventListener("mousedown",e._documentMousedownListener,qu),document.addEventListener("touchstart",e._documentTouchstartListener,qu),window.addEventListener("focus",e._windowFocusListener)}))}},{key:"_decrementMonitoredElementCount",value:function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,qu),document.removeEventListener("mousedown",this._documentMousedownListener,qu),document.removeEventListener("touchstart",this._documentTouchstartListener,qu),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}]),e}()).\u0275fac=function(e){return new(e||Hu)(i.fc(i.A),i.fc(el))},Hu.\u0275prov=Object(i.Lb)({factory:function(){return new Hu(Object(i.fc)(i.A),Object(i.fc)(el))},token:Hu,providedIn:"root"}),Hu),Ku=((Fu=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new i.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return r.cdkFocusChange.emit(e)}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||Fu)(i.Pb(i.l),i.Pb(Ju))},Fu.\u0275dir=i.Kb({type:Fu,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Fu);function Gu(e){return 0===e.buttons}var $u,Zu,Xu=((Zu=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=(this._document.defaultView.getComputedStyle(e).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),t){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||Zu)(i.fc(el),i.fc(s))},Zu.\u0275prov=Object(i.Lb)({factory:function(){return new Zu(Object(i.fc)(el),Object(i.fc)(s))},token:Zu,providedIn:"root"}),Zu),Qu=(($u=function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()}).\u0275mod=i.Nb({type:$u}),$u.\u0275inj=i.Mb({factory:function(e){return new(e||$u)(i.fc(Xu))},imports:[[tl,vu]]}),$u),ed=new i.O("9.1.0"),td=["*",[["mat-option"],["ng-container"]]],nd=["*","mat-option, ng-container"];function id(e,t){if(1&e&&i.Rb(0,"mat-pseudo-checkbox",3),2&e){var n=i.nc();i.sc("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var rd,ad=["*"],od=new i.O("9.1.0"),sd=new i.r("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),cd=((rd=function(){function e(t,n){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(e,[{key:"_checksAreEnabled",value:function(){return Object(i.W)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._window;return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&od.full!==ed.full&&console.warn("The Angular Material version ("+od.full+") does not match the Angular CDK version ("+ed.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=i.Nb({type:rd}),rd.\u0275inj=i.Mb({factory:function(e){return new(e||rd)(i.fc(Xu),i.fc(sd,8))},imports:[[Kc],Kc]}),rd);function ld(e){return function(e){function t(){var e,n;_classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return(function(e){function n(){var e,i;_classCallCheck(this,n);for(var r=arguments.length,a=new Array(r),o=0;o0?n:e}},{key:"localeChanges",get:function(){return this._localeChanges}}]),e}(),bd=new i.r("mat-date-formats");try{pd="undefined"!=typeof Intl}catch(JY){pd=!1}var gd={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},vd=wd(31,(function(e){return String(e+1)})),yd={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},kd=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function wd(e,t){for(var n=Array(e),i=0;i11)throw Error('Invalid month index "'.concat(t,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var i=this._createDateWithOverflow(e,t,n);if(i.getMonth()!=t)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(t,'".'));return i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(pd){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(kd.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return _get(_getPrototypeOf(t.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var i=new Date(e,t,n);return e>=0&&e<100&&i.setFullYear(this.getYear(i)-1900),i}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)}}]),t}(_d)).\u0275fac=function(e){return new(e||Sd)(i.fc(md,8),i.fc(el))},Sd.\u0275prov=i.Lb({token:Sd,factory:Sd.\u0275fac}),Sd),Dd=((Cd=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Cd}),Cd.\u0275inj=i.Mb({factory:function(e){return new(e||Cd)},providers:[{provide:_d,useClass:Od}],imports:[[tl]]}),Cd),Td={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Ad=((Ld=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Ld}),Ld.\u0275inj=i.Mb({factory:function(e){return new(e||Ld)},providers:[{provide:bd,useValue:Td}],imports:[[Dd]]}),Ld),Ed=((Md=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}()).\u0275fac=function(e){return new(e||Md)},Md.\u0275prov=Object(i.Lb)({factory:function(){return new Md},token:Md,providedIn:"root"}),Md),Pd=((xd=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||xd)},xd.\u0275dir=i.Kb({type:xd,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),xd);function Rd(e,t,n){var i=e.nativeElement.classList;n?i.add(t):i.remove(t)}var Id,jd,Yd,Vd,Wd,Fd,Hd,Bd=((Id=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Id}),Id.\u0275inj=i.Mb({factory:function(e){return new(e||Id)},imports:[[cd],cd]}),Id),zd=function(){function e(t,n,i){_classCallCheck(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return _createClass(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),Nd={enterDuration:450,exitDuration:400},Ud=rl({passive:!0}),qd=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(e){var t=Gu(e),n=a._lastTouchStartEvent&&Date.now()2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},Nd),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var o=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,c=t-r.top,l=a.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left="".concat(s-o,"px"),u.style.top="".concat(c-o,"px"),u.style.height="".concat(2*o,"px"),u.style.width="".concat(2*o,"px"),null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";var d=new zd(this,u,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone((function(){var e=d===n._mostRecentTransientRipple;d.state=1,i.persistent||e&&n._isPointerDown||d.fadeOut()}),l),d}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},Nd),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone((function(){e.state=3,n.parentNode.removeChild(n)}),i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))}},{key:"setupTriggerEvents",value:function(e){var t=this,n=Vc(e);n&&n!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular((function(){t._triggerEvents.forEach((function(e,t){n.addEventListener(t,e,Ud)}))})),this._triggerElement=n)}},{key:"_runTimeoutOutsideZone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&this._triggerEvents.forEach((function(t,n){e._triggerElement.removeEventListener(n,t,Ud)}))}}]),e}(),Jd=new i.r("mat-ripple-global-options"),Kd=((Wd=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new qd(this,n,t,i),"NoopAnimations"===a&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return _createClass(e,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),e}()).\u0275fac=function(e){return new(e||Wd)(i.Pb(i.l),i.Pb(i.A),i.Pb(el),i.Pb(Jd,8),i.Pb(dt,8))},Wd.\u0275dir=i.Kb({type:Wd,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),Wd),Gd=((Vd=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Vd}),Vd.\u0275inj=i.Mb({factory:function(e){return new(e||Vd)},imports:[[cd,tl],cd]}),Vd),$d=((Yd=function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1}).\u0275fac=function(e){return new(e||Yd)(i.Pb(dt,8))},Yd.\u0275cmp=i.Jb({type:Yd,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.Gb("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Yd),Zd=((jd=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:jd}),jd.\u0275inj=i.Mb({factory:function(e){return new(e||jd)}}),jd),Xd=ld((function e(){_classCallCheck(this,e)})),Qd=0,eh=((Fd=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._labelId="mat-optgroup-label-".concat(Qd++),e}return _inherits(t,e),t}(Xd)).\u0275fac=function(e){return th(e||Fd)},Fd.\u0275cmp=i.Jb({type:Fd,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(i.Db("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),i.Gb("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[i.zb],ngContentSelectors:nd,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(i.rc(td),i.Wb(0,"label",0),i.Jc(1),i.qc(2),i.Vb(),i.qc(3,1)),2&e&&(i.sc("id",t._labelId),i.Cb(1),i.Lc("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Fd),th=i.Zb(eh),nh=0,ih=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=n},rh=new i.r("MAT_OPTION_PARENT_COMPONENT"),ah=((Hd=function(){function e(t,n,r,a){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(nh++),this.onSelectionChange=new i.o,this._stateChanges=new dr.a}return _createClass(e,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){13!==e.keyCode&&32!==e.keyCode||iu(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new ih(this,e))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Pc(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),e}()).\u0275fac=function(e){return new(e||Hd)(i.Pb(i.l),i.Pb(i.h),i.Pb(rh,8),i.Pb(eh,8))},Hd.\u0275cmp=i.Jb({type:Hd,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.jc("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(i.ac("id",t.id),i.Db("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.Gb("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:ad,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(i.rc(),i.Ic(0,id,1,2,"mat-pseudo-checkbox",0),i.Wb(1,"span",1),i.qc(2),i.Vb(),i.Rb(3,"div",2)),2&e&&(i.sc("ngIf",t.multiple),i.Cb(3),i.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[z,Kd,$d],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Hd);function oh(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),a=0,o=0;o0&&void 0!==arguments[0]?arguments[0]:[];return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._renderData=new fr([]),e._filter=new fr(""),e._internalPageChanges=new dr.a,e._renderChangesSubscription=la.a.EMPTY,e.sortingDataAccessor=function(e,t){var n=e[t];if(Ic(n)){var i=Number(n);return i<9007199254740991?i:n}return n},e.sortData=function(t,n){var i=n.active,r=n.direction;return i&&""!=r?t.sort((function(t,n){var a=e.sortingDataAccessor(t,i),o=e.sortingDataAccessor(n,i),s=0;return null!=a&&null!=o?a>o?s=1:a0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,t._internalPageChanges.next())}}))}},{key:"connect",value:function(){return this._renderData}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e)}},{key:"filter",get:function(){return this._filter.value},set:function(e){this._filter.next(e)}},{key:"sort",get:function(){return this._sort},set:function(e){this._sort=e,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(e){this._paginator=e,this._updateChangeSubscription()}}]),t}(function(){return function e(){_classCallCheck(this,e)}}()),ef=["*",[["mat-card-footer"]]],tf=["*","mat-card-footer"],nf=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],rf=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],af=((xh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||xh)},xh.\u0275dir=i.Kb({type:xh,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),xh),of=((Sh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Sh)},Sh.\u0275dir=i.Kb({type:Sh,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),Sh),sf=((Ch=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Ch)},Ch.\u0275dir=i.Kb({type:Ch,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),Ch),cf=((wh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||wh)},wh.\u0275dir=i.Kb({type:wh,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),wh),lf=((kh=function e(t){_classCallCheck(this,e),this._animationMode=t}).\u0275fac=function(e){return new(e||kh)(i.Pb(dt,8))},kh.\u0275cmp=i.Jb({type:kh,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:tf,decls:2,vars:0,template:function(e,t){1&e&&(i.rc(ef),i.qc(0),i.qc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),kh),uf=((yh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||yh)},yh.\u0275cmp=i.Jb({type:yh,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:rf,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(i.rc(nf),i.qc(0),i.Wb(1,"div",0),i.qc(2,1),i.Vb(),i.qc(3,2))},encapsulation:2,changeDetection:0}),yh),df=((vh=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:vh}),vh.\u0275inj=i.Mb({factory:function(e){return new(e||vh)},imports:[[cd],cd]}),vh),hf=["mat-button",""],ff=["*"],pf=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],mf=ud(ld(dd((function e(t){_classCallCheck(this,e),this._elementRef=t})))),_f=((Oh=function(e){function t(e,n,i){var r;_classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._focusMonitor=n,r._animationMode=i,r.isRoundButton=r._hasHostAttributes("mat-fab","mat-mini-fab"),r.isIconButton=r._hasHostAttributes("mat-icon-button");var a=!0,o=!1,s=void 0;try{for(var c,l=pf[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var u=c.value;r._hasHostAttributes(u)&&r._getHostElement().classList.add(u)}}catch(d){o=!0,s=d}finally{try{a||null==l.return||l.return()}finally{if(o)throw s}}return e.nativeElement.classList.add("mat-button-base"),r._focusMonitor.monitor(r._elementRef,!0),r.isRoundButton&&(r.color="accent"),r}return _inherits(t,e),_createClass(t,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),Oh),bf=((Lh=function(e){function t(e,n,i){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n,e,i))}return _inherits(t,e),_createClass(t,[{key:"_haltDisabledEvents",value:function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}]),t}(_f)).\u0275fac=function(e){return new(e||Lh)(i.Pb(Ju),i.Pb(i.l),i.Pb(dt,8))},Lh.\u0275cmp=i.Jb({type:Lh,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){1&e&&i.jc("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(i.Db("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[i.zb],attrs:hf,ngContentSelectors:ff,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"span",0),i.qc(1),i.Vb(),i.Rb(2,"div",1),i.Rb(3,"div",2)),2&e&&(i.Cb(2),i.Gb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.sc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Kd],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),Lh),gf=((Mh=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Mh}),Mh.\u0275inj=i.Mb({factory:function(e){return new(e||Mh)},imports:[[Gd,cd],cd]}),Mh);function vf(e,t,n,i){return Object(aa.a)(n)&&(i=n,n=void 0),i?vf(e,t,n).pipe(Object(bt.a)((function(e){return Object(_t.a)(e)?i.apply(void 0,_toConsumableArray(e)):i(e)}))):new mt.a((function(i){!function e(t,n,i,r,a){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,i,a),o=function(){return s.removeEventListener(n,i,a)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,i),o=function(){return c.off(n,i)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,i),o=function(){return l.removeListener(n,i)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,d=t.length;u1?Array.prototype.slice.call(arguments):e)}),i,n)}))}var yf=["underline"],kf=["connectionContainer"],wf=["inputContainer"],Cf=["label"];function Sf(e,t){1&e&&(i.Ub(0),i.Wb(1,"div",14),i.Rb(2,"div",15),i.Rb(3,"div",16),i.Rb(4,"div",17),i.Vb(),i.Wb(5,"div",18),i.Rb(6,"div",15),i.Rb(7,"div",16),i.Rb(8,"div",17),i.Vb(),i.Tb())}function xf(e,t){1&e&&(i.Wb(0,"div",19),i.qc(1,1),i.Vb())}function Mf(e,t){if(1&e&&(i.Ub(0),i.qc(1,2),i.Wb(2,"span"),i.Jc(3),i.Vb(),i.Tb()),2&e){var n=i.nc(2);i.Cb(3),i.Kc(n._control.placeholder)}}function Lf(e,t){1&e&&i.qc(0,3,["*ngSwitchCase","true"])}function Of(e,t){1&e&&(i.Wb(0,"span",23),i.Jc(1," *"),i.Vb())}function Df(e,t){if(1&e){var n=i.Yb();i.Wb(0,"label",20,21),i.jc("cdkObserveContent",(function(){return i.Cc(n),i.nc().updateOutlineGap()})),i.Ic(2,Mf,4,1,"ng-container",12),i.Ic(3,Lf,1,0,void 0,12),i.Ic(4,Of,2,0,"span",22),i.Vb()}if(2&e){var r=i.nc();i.Gb("mat-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-form-field-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-accent","accent"==r.color)("mat-warn","warn"==r.color),i.sc("cdkObserveContentDisabled","outline"!=r.appearance)("id",r._labelId)("ngSwitch",r._hasLabel()),i.Db("for",r._control.id)("aria-owns",r._control.id),i.Cb(2),i.sc("ngSwitchCase",!1),i.Cb(1),i.sc("ngSwitchCase",!0),i.Cb(1),i.sc("ngIf",!r.hideRequiredMarker&&r._control.required&&!r._control.disabled)}}function Tf(e,t){1&e&&(i.Wb(0,"div",24),i.qc(1,4),i.Vb())}function Af(e,t){if(1&e&&(i.Wb(0,"div",25,26),i.Rb(2,"span",27),i.Vb()),2&e){var n=i.nc();i.Cb(2),i.Gb("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function Ef(e,t){if(1&e&&(i.Wb(0,"div"),i.qc(1,5),i.Vb()),2&e){var n=i.nc();i.sc("@transitionMessages",n._subscriptAnimationState)}}function Pf(e,t){if(1&e&&(i.Wb(0,"div",31),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.sc("id",n._hintLabelId),i.Cb(1),i.Kc(n.hintLabel)}}function Rf(e,t){if(1&e&&(i.Wb(0,"div",28),i.Ic(1,Pf,2,2,"div",29),i.qc(2,6),i.Rb(3,"div",30),i.qc(4,7),i.Vb()),2&e){var n=i.nc();i.sc("@transitionMessages",n._subscriptAnimationState),i.Cb(1),i.sc("ngIf",n.hintLabel)}}var If,jf,Yf=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Vf=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Wf=0,Ff=((If=function e(){_classCallCheck(this,e),this.id="mat-error-".concat(Wf++)}).\u0275fac=function(e){return new(e||If)},If.\u0275dir=i.Kb({type:If,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("id",t.id)},inputs:{id:"id"}}),If),Hf={transitionMessages:Object(Xe.n)("transitionMessages",[Object(Xe.k)("enter",Object(Xe.l)({opacity:1,transform:"translateY(0%)"})),Object(Xe.m)("void => enter",[Object(Xe.l)({opacity:0,transform:"translateY(-100%)"}),Object(Xe.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Bf=((jf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||jf)},jf.\u0275dir=i.Kb({type:jf}),jf);function zf(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}var Nf,Uf,qf,Jf,Kf,Gf,$f,Zf=0,Xf=((Kf=function e(){_classCallCheck(this,e),this.align="start",this.id="mat-hint-".concat(Zf++)}).\u0275fac=function(e){return new(e||Kf)},Kf.\u0275dir=i.Kb({type:Kf,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.Db("id",t.id)("align",null),i.Gb("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),Kf),Qf=((Jf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Jf)},Jf.\u0275dir=i.Kb({type:Jf,selectors:[["mat-label"]]}),Jf),ep=((qf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||qf)},qf.\u0275dir=i.Kb({type:qf,selectors:[["mat-placeholder"]]}),qf),tp=((Uf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Uf)},Uf.\u0275dir=i.Kb({type:Uf,selectors:[["","matPrefix",""]]}),Uf),np=((Nf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Nf)},Nf.\u0275dir=i.Kb({type:Nf,selectors:[["","matSuffix",""]]}),Nf),ip=0,rp=ud((function e(t){_classCallCheck(this,e),this._elementRef=t}),"primary"),ap=new i.r("MAT_FORM_FIELD_DEFAULT_OPTIONS"),op=(($f=function(e){function t(e,n,i,r,a,o,s,c){var l;return _classCallCheck(this,t),(l=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._elementRef=e,l._changeDetectorRef=n,l._dir=r,l._defaults=a,l._platform=o,l._ngZone=s,l._outlineGapCalculationNeededImmediately=!1,l._outlineGapCalculationNeededOnStable=!1,l._destroyed=new dr.a,l._showAlwaysAnimate=!1,l._subscriptAnimationState="",l._hintLabel="",l._hintLabelId="mat-hint-".concat(ip++),l._labelId="mat-form-field-label-".concat(ip++),l._labelOptions=i||{},l.floatLabel=l._getDefaultFloatLabelState(),l._animationsEnabled="NoopAnimations"!==c,l.appearance=a&&a.appearance?a.appearance:"legacy",l._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,l}return _inherits(t,e),_createClass(t,[{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe(Qr(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(ol(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(ol(e._destroyed)).subscribe((function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}))})),Object(Ah.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Qr(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Qr(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(ol(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e.updateOutlineGap()}))})):e.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,vf(this._label.nativeElement,"transitionend").pipe(zr(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(e||n.hintLabel)throw zf("start");e=i}else if("end"===i.align){if(t)throw zf("end");t=i}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find((function(e){return"start"===e.align})):null,n=this._hintChildren?this._hintChildren.find((function(e){return"end"===e.align})):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var s=this._getStartEnd(o),c=this._getStartEnd(e.children[0].getBoundingClientRect()),l=0,u=!0,d=!1,h=void 0;try{for(var f,p=e.children[Symbol.iterator]();!(u=(f=p.next()).done);u=!0)l+=f.value.offsetWidth}catch(b){d=!0,h=b}finally{try{u||null==p.return||p.return()}finally{if(d)throw h}}t=c-s-5,n=l>0?.75*l+10:0}for(var m=0;m=0}function dp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return up(t)?i=Number(t)<1?1:Number(t):Object(pi.a)(t)&&(n=t),Object(pi.a)(n)||(n=su),new mt.a((function(t){var r=up(e)?e:+e-n.now();return n.schedule(hp,r,{index:0,period:i,subscriber:t})}))}function hp(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function fp(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:su;return t=function(){return dp(e,n)},function(e){return e.lift(new cp(t))}}var pp,mp,_p,bp,gp=rl({passive:!0}),vp=((mp=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}return _createClass(e,[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return kr;var n=Vc(e),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var r=new dr.a,a="cdk-text-field-autofilled",o=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(a)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(a)&&(n.classList.remove(a),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!1})}))):(n.classList.add(a),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",o,gp),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",o,gp)}}),r.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Vc(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach((function(t,n){return e.stopMonitoring(n)}))}}]),e}()).\u0275fac=function(e){return new(e||mp)(i.fc(el),i.fc(i.A))},mp.\u0275prov=Object(i.Lb)({factory:function(){return new mp(Object(i.fc)(el),Object(i.fc)(i.A))},token:mp,providedIn:"root"}),mp),yp=((pp=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:pp}),pp.\u0275inj=i.Mb({factory:function(e){return new(e||pp)},imports:[[tl]]}),pp),kp=new i.r("MAT_INPUT_VALUE_ACCESSOR"),wp=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Cp=0,Sp=fd((function e(t,n,i,r){_classCallCheck(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r})),xp=((bp=function(e){function t(e,n,i,r,a,o,s,c,l){var u;_classCallCheck(this,t),(u=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,o,r,a,i)))._elementRef=e,u._platform=n,u.ngControl=i,u._autofillMonitor=c,u._uid="mat-input-".concat(Cp++),u._isServer=!1,u._isNativeSelect=!1,u.focused=!1,u.stateChanges=new dr.a,u.controlType="mat-input",u.autofilled=!1,u._disabled=!1,u._required=!1,u._type="text",u._readonly=!1,u._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(e){return il().has(e)}));var d=u._elementRef.nativeElement;return u._inputValueAccessor=s||d,u._previousNativeValue=u.value,u.id=u.id,n.IOS&&l.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))}))})),u._isServer=!u._platform.isBrowser,u._isNativeSelect="select"===d.nodeName.toLowerCase(),u._isNativeSelect&&(u.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),u}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()}))}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_isTextarea",value:function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){if(wp.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Pc(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea()&&il().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=Pc(e)}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}}]),t}(Sp)).\u0275fac=function(e){return new(e||bp)(i.Pb(i.l),i.Pb(el),i.Pb(Yt,10),i.Pb(Zn,8),i.Pb(si,8),i.Pb(Ed),i.Pb(kp,10),i.Pb(vp),i.Pb(i.A))},bp.\u0275dir=i.Kb({type:bp,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&i.jc("blur",(function(){return t._focusChanged(!1)}))("focus",(function(){return t._focusChanged(!0)}))("input",(function(){return t._onInput()})),2&e&&(i.ac("disabled",t.disabled)("required",t.required),i.Db("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),i.Gb("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[i.Bb([{provide:Bf,useExisting:bp}]),i.zb,i.Ab()]}),bp),Mp=((_p=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:_p}),_p.\u0275inj=i.Mb({factory:function(e){return new(e||_p)},providers:[Ed],imports:[[yp,sp],yp,sp]}),_p),Lp=1,Op=Promise.resolve(),Dp={};function Tp(e){return e in Dp&&(delete Dp[e],!0)}var Ap=function(e){var t=Lp++;return Dp[t]=!0,Op.then((function(){return Tp(t)&&e()})),t},Ep=function(e){Tp(e)},Pp=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))).scheduler=e,i.work=n,i}return _inherits(t,e),_createClass(t,[{key:"requestAsyncId",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(t.prototype),"requestAsyncId",this).call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=Ap(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(t.prototype),"recycleAsyncId",this).call(this,e,n,i);0===e.actions.length&&(Ep(n),e.scheduled=void 0)}}]),t}(ru),Rp=new(function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new mt.a((function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(fp(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):bi()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ki((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)})),n}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return vf(window.document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||Up)(i.fc(i.A),i.fc(el))},Up.\u0275prov=Object(i.Lb)({factory:function(){return new Up(Object(i.fc)(i.A),Object(i.fc)(el))},token:Up,providedIn:"root"}),Up),Jp=((Np=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new dr.a,this._elementScrolled=new mt.a((function(e){return a.ngZone.runOutsideAngular((function(){return vf(a.elementRef.nativeElement,"scroll").pipe(ol(a._destroyed)).subscribe(e)}))}))}return _createClass(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=al()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==al()?e.left=e.right:1==al()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==al()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==al()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}()).\u0275fac=function(e){return new(e||Np)(i.Pb(i.l),i.Pb(qp),i.Pb(i.A),i.Pb(Jc,8))},Np.\u0275dir=i.Kb({type:Np,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Np),Kp=((zp=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._platform=t,n.runOutsideAngular((function(){i._change=t.isBrowser?Object(Ah.a)(vf(window,"resize"),vf(window,"orientationchange")):bi(),i._invalidateCache=i.change().subscribe((function(){return i._updateViewportSize()}))}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(fp(e)):this._change}},{key:"_updateViewportSize",value:function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||zp)(i.fc(el),i.fc(i.A))},zp.\u0275prov=Object(i.Lb)({factory:function(){return new zp(Object(i.fc)(el),Object(i.fc)(i.A))},token:zp,providedIn:"root"}),zp),Gp=((Bp=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bp}),Bp.\u0275inj=i.Mb({factory:function(e){return new(e||Bp)},imports:[[Kc,tl],Kc]}),Bp);function $p(){throw Error("Host already has a portal attached")}var Zp,Xp,Qp,em,tm=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"attach",value:function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&$p(),this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),e}(),nm=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).component=e,a.viewContainerRef=n,a.injector=i,a.componentFactoryResolver=r,a}return _inherits(t,e),t}(tm),im=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).templateRef=e,r.viewContainerRef=n,r.context=i,r}return _inherits(t,e),_createClass(t,[{key:"attach",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=n,_get(_getPrototypeOf(t.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(t.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),t}(tm),rm=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).element=e instanceof i.l?e.nativeElement:e,n}return _inherits(t,e),t}(tm),am=function(){function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&$p(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof nm?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof im?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof rm?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),om=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).outletElement=e,o._componentFactoryResolver=n,o._appRef=i,o._defaultInjector=r,o.attachDomPortal=function(e){if(!o._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=e.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=o._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),o.outletElement.appendChild(n),_get(_getPrototypeOf(t.prototype),"setDisposeFn",_assertThisInitialized(o)).call(_assertThisInitialized(o),(function(){i.parentNode&&i.parentNode.replaceChild(n,i)}))},o._document=a,o}return _inherits(t,e),_createClass(t,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(i);-1!==e&&n.remove(e)})),i}},{key:"dispose",value:function(){_get(_getPrototypeOf(t.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),t}(am),sm=((Qp=function(e){function t(e,n){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n))}return _inherits(t,e),t}(im)).\u0275fac=function(e){return new(e||Qp)(i.Pb(i.M),i.Pb(i.P))},Qp.\u0275dir=i.Kb({type:Qp,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.zb]}),Qp),cm=((Xp=function(e){function t(e,n,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._componentFactoryResolver=e,a._viewContainerRef=n,a._isInitialized=!1,a.attached=new i.o,a.attachDomPortal=function(e){if(!a._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=e.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=a._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(a)),n.parentNode.insertBefore(i,n),a._getRootNode().appendChild(n),_get(_getPrototypeOf(t.prototype),"setDisposeFn",_assertThisInitialized(a)).call(_assertThisInitialized(a),(function(){i.parentNode&&i.parentNode.replaceChild(n,i)}))},a._document=r,a}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(t.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=n.createComponent(i,n.length,e.injector||n.injector);return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),_get(_getPrototypeOf(t.prototype),"setDisposeFn",this).call(this,(function(){return r.destroy()})),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var n=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _get(_getPrototypeOf(t.prototype),"setDisposeFn",this).call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_get(_getPrototypeOf(t.prototype),"detach",this).call(this),e&&_get(_getPrototypeOf(t.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),t}(am)).\u0275fac=function(e){return new(e||Xp)(i.Pb(i.j),i.Pb(i.P),i.Pb(s))},Xp.\u0275dir=i.Kb({type:Xp,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),Xp),lm=((Zp=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(cm)).\u0275fac=function(e){return um(e||Zp)},Zp.\u0275dir=i.Kb({type:Zp,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i.Bb([{provide:cm,useExisting:Zp}]),i.zb]}),Zp),um=i.Zb(lm),dm=((em=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:em}),em.\u0275inj=i.Mb({factory:function(e){return new(e||em)}}),em),hm=function(){function e(t,n){_classCallCheck(this,e),this._parentInjector=t,this._customTokens=n}return _createClass(e,[{key:"get",value:function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}]),e}(),fm=function(){function e(t,n){_classCallCheck(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return _createClass(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Yc(-this._previousScrollPosition.left),e.style.top=Yc(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=i,n.scrollBehavior=r}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}();function pm(){return Error("Scroll strategy has already been attached.")}var mm=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run((function(){return a._overlayRef.detach()}))}}return _createClass(e,[{key:"attach",value:function(e){if(this._overlayRef)throw pm();this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),_m=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function bm(e,t){return t.some((function(t){return e.bottomt.bottom||e.rightt.right}))}function gm(e,t){return t.some((function(t){return e.topt.bottom||e.leftt.right}))}var vm,ym=function(){function e(t,n,i,r){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _createClass(e,[{key:"attach",value:function(e){if(this._overlayRef)throw pm();this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;bm(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),km=((vm=function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new _m},this.close=function(e){return new mm(a._scrollDispatcher,a._ngZone,a._viewportRuler,e)},this.block=function(){return new fm(a._viewportRuler,a._document)},this.reposition=function(e){return new ym(a._scrollDispatcher,a._viewportRuler,a._ngZone,e)},this._document=r}).\u0275fac=function(e){return new(e||vm)(i.fc(qp),i.fc(Kp),i.fc(i.A),i.fc(s))},vm.\u0275prov=Object(i.Lb)({factory:function(){return new vm(Object(i.fc)(qp),Object(i.fc)(Kp),Object(i.fc)(i.A),Object(i.fc)(s))},token:vm,providedIn:"root"}),vm),wm=function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new _m,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1;i--)if(t[i]._keydownEventSubscriptions>0){t[i]._keydownEvents.next(e);break}},this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),e}()).\u0275fac=function(e){return new(e||Lm)(i.fc(s))},Lm.\u0275prov=Object(i.Lb)({factory:function(){return new Lm(Object(i.fc)(s))},token:Lm,providedIn:"root"}),Lm),Tm=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),Am=((Om=function(){function e(t,n){_classCallCheck(this,e),this._platform=n,this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||Tm)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),n=0;nm&&(m=w,p=k)}}catch(C){b=!0,g=C}finally{try{_||null==y.return||y.return()}finally{if(b)throw g}}return this._isPushed=!1,void this._applyPosition(p.position,p.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Im(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=e.x,a=e.y,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(r+=o),s&&(a+=s);var c=0-a,l=a+t.height-n.height,u=this._subtractOverflows(t.width,0-r,r+t.width-n.width),d=this._subtractOverflows(t.height,c,l),h=u*d;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:u==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,a=jm(this._overlayRef.getConfig().minHeight),o=jm(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=o&&o<=r;return(e.fitsInViewportVertically||null!=a&&a<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,a=this._viewportRect,o=Math.max(e.x+t.width-a.right,0),s=Math.max(e.y+t.height-a.bottom,0),c=Math.max(a.top-n.top-e.y,0),l=Math.max(a.left-n.left-e.x,0);return i=t.width<=a.width?l||-o:e.xd&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-d/2)}if("end"===t.overlayX&&!l||"start"===t.overlayX&&l)s=c.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!l||"end"===t.overlayX&&l)o=e.x,a=c.right-e.x;else{var h=Math.min(c.right-e.x+c.left,e.x),f=this._lastBoundingBoxSize.width;a=2*h,o=e.x-h,a>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.x-f/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Yc(n.height),i.top=Yc(n.top),i.bottom=Yc(n.bottom),i.width=Yc(n.width),i.left=Yc(n.left),i.right=Yc(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Yc(r)),a&&(i.maxWidth=Yc(a))}this._lastBoundingBoxSize=n,Im(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){Im(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Im(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();Im(n,this._getExactOverlayY(t,e,o)),Im(n,this._getExactOverlayX(t,e,o))}else n.position="static";var s="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(s+="translateX(".concat(c,"px) ")),l&&(s+="translateY(".concat(l,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=Yc(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=Yc(a.maxWidth):r&&(n.maxWidth="")),Im(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===e.overlayY?i.bottom="".concat(this._document.documentElement.clientHeight-(r.y+this._overlayRect.height),"px"):i.top=Yc(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right="".concat(this._document.documentElement.clientWidth-(r.x+this._overlayRect.width),"px"):i.left=Yc(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:gm(e,n),isOriginOutsideView:bm(e,n),isOverlayClipped:gm(t,n),isOverlayOutsideView:bm(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),Nm=((Vm=function(){function e(t,n,i,r){_classCallCheck(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return _createClass(e,[{key:"global",value:function(){return new zm}},{key:"connectedTo",value:function(e,t,n){return new Bm(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new Rm(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}()).\u0275fac=function(e){return new(e||Vm)(i.fc(Kp),i.fc(s),i.fc(el),i.fc(Am))},Vm.\u0275prov=Object(i.Lb)({factory:function(){return new Vm(Object(i.fc)(Kp),Object(i.fc)(s),Object(i.fc)(el),Object(i.fc)(Am))},token:Vm,providedIn:"root"}),Vm),Um=0,qm=((Ym=function(){function e(t,n,i,r,a,o,s,c,l,u){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=c,this._directionality=l,this._location=u}return _createClass(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new wm(e);return r.direction=r.direction||this._directionality.value,new Em(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-".concat(Um++),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(i.g)),new om(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}()).\u0275fac=function(e){return new(e||Ym)(i.fc(km),i.fc(Am),i.fc(i.j),i.fc(Nm),i.fc(Dm),i.fc(i.s),i.fc(i.A),i.fc(s),i.fc(Jc),i.fc(L,8))},Ym.\u0275prov=i.Lb({token:Ym,factory:Ym.\u0275fac}),Ym),Jm=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Km=new i.r("cdk-connected-overlay-scroll-strategy"),Gm=((Fm=function e(t){_classCallCheck(this,e),this.elementRef=t}).\u0275fac=function(e){return new(e||Fm)(i.Pb(i.l))},Fm.\u0275dir=i.Kb({type:Fm,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Fm),$m=((Wm=function(){function e(t,n,r,a,o){_classCallCheck(this,e),this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=la.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new i.o,this.positionChange=new i.o,this.attach=new i.o,this.detach=new i.o,this.overlayKeydown=new i.o,this._templatePortal=new im(n,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=Jm),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),27!==t.keyCode||iu(t)||(t.preventDefault(),e._detachOverlay())}))}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new wm({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}}));return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Pc(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=Pc(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Pc(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Pc(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=Pc(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),e}()).\u0275fac=function(e){return new(e||Wm)(i.Pb(qm),i.Pb(i.M),i.Pb(i.P),i.Pb(Km),i.Pb(Jc,8))},Wm.\u0275dir=i.Kb({type:Wm,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[i.Ab()]}),Wm),Zm={provide:Km,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Xm=((Hm=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Hm}),Hm.\u0275inj=i.Mb({factory:function(e){return new(e||Hm)},providers:[qm,Zm],imports:[[Kc,dm,Gp],Gp]}),Hm),Qm=["trigger"],e_=["panel"];function t_(e,t){if(1&e&&(i.Wb(0,"span",8),i.Jc(1),i.Vb()),2&e){var n=i.nc();i.Cb(1),i.Kc(n.placeholder||"\xa0")}}function n_(e,t){if(1&e&&(i.Wb(0,"span"),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.Kc(n.triggerValue||"\xa0")}}function i_(e,t){1&e&&i.qc(0,0,["*ngSwitchCase","true"])}function r_(e,t){if(1&e&&(i.Wb(0,"span",9),i.Ic(1,n_,2,1,"span",10),i.Ic(2,i_,1,0,void 0,11),i.Vb()),2&e){var n=i.nc();i.sc("ngSwitch",!!n.customTrigger),i.Cb(2),i.sc("ngSwitchCase",!0)}}function a_(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",12),i.Wb(1,"div",13,14),i.jc("@transformPanel.done",(function(e){return i.Cc(n),i.nc()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return i.Cc(n),i.nc()._handleKeydown(e)})),i.qc(3,1),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("@transformPanelWrap",void 0),i.Cb(1),i.Fb("mat-select-panel ",r._getPanelTheme(),""),i.Hc("transform-origin",r._transformOrigin)("font-size",r._triggerFontSize,"px"),i.sc("ngClass",r.panelClass)("@transformPanel",r.multiple?"showing-multiple":"showing")}}var o_,s_,c_,l_,u_,d_=[[["mat-select-trigger"]],"*"],h_=["mat-select-trigger","*"],f_={transformPanelWrap:Object(Xe.n)("transformPanelWrap",[Object(Xe.m)("* => void",Object(Xe.i)("@transformPanel",[Object(Xe.f)()],{optional:!0}))]),transformPanel:Object(Xe.n)("transformPanel",[Object(Xe.k)("void",Object(Xe.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(Xe.k)("showing",Object(Xe.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(Xe.k)("showing-multiple",Object(Xe.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(Xe.m)("void => *",Object(Xe.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(Xe.m)("* => void",Object(Xe.e)("100ms 25ms linear",Object(Xe.l)({opacity:0})))])},p_=0,m_=new i.r("mat-select-scroll-strategy"),__=new i.r("MAT_SELECT_CONFIG"),b_={provide:m_,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},g_=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},v_=dd(hd(ld(fd((function e(t,n,i,r,a){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a}))))),y_=((c_=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||c_)},c_.\u0275dir=i.Kb({type:c_,selectors:[["mat-select-trigger"]]}),c_),k_=((s_=function(e){function t(e,n,r,a,o,s,c,l,u,d,h,f,p,m){var _;return _classCallCheck(this,t),(_=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,o,a,c,l,d)))._viewportRuler=e,_._changeDetectorRef=n,_._ngZone=r,_._dir=s,_._parentFormField=u,_.ngControl=d,_._liveAnnouncer=p,_._panelOpen=!1,_._required=!1,_._scrollTop=0,_._multiple=!1,_._compareWith=function(e,t){return e===t},_._uid="mat-select-".concat(p_++),_._destroy=new dr.a,_._triggerFontSize=0,_._onChange=function(){},_._onTouched=function(){},_._optionIds="",_._transformOrigin="top",_._panelDoneAnimatingStream=new dr.a,_._offsetY=0,_._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],_._disableOptionCentering=!1,_._focused=!1,_.controlType="mat-select",_.ariaLabel="",_.optionSelectionChanges=Cr((function(){var e=_.options;return e?e.changes.pipe(Qr(e),Gr((function(){return Object(Ah.a).apply(void 0,_toConsumableArray(e.map((function(e){return e.onSelectionChange}))))}))):_._ngZone.onStable.asObservable().pipe(zr(1),Gr((function(){return _.optionSelectionChanges})))})),_.openedChange=new i.o,_._openedStream=_.openedChange.pipe(ki((function(e){return e})),Object(bt.a)((function(){}))),_._closedStream=_.openedChange.pipe(ki((function(e){return!e})),Object(bt.a)((function(){}))),_.selectionChange=new i.o,_.valueChange=new i.o,_.ngControl&&(_.ngControl.valueAccessor=_assertThisInitialized(_)),_._scrollStrategyFactory=f,_._scrollStrategy=_._scrollStrategyFactory(),_.tabIndex=parseInt(h)||0,_.id=_.id,m&&(null!=m.disableOptionCentering&&(_.disableOptionCentering=m.disableOptionCentering),null!=m.typeaheadDebounceInterval&&(_.typeaheadDebounceInterval=m.typeaheadDebounceInterval)),_}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new Nc(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ip(),ol(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(ol(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(ol(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(Qr(null),ol(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.options&&this._setSelectionByValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&i&&!iu(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,r=t.isTyping();if(36===n||35===n)e.preventDefault(),36===n?t.setFirstItemActive():t.setLastItemActive();else if(i&&e.altKey)e.preventDefault(),this.close();else if(r||13!==n&&32!==n||!t.activeItem||iu(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var a=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(a?e.select():e.deselect())}))}else{var o=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==o&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(zr(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find((function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(r){return Object(i.W)()&&console.warn(r),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new Ou(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ol(this._destroy)).subscribe((function(){!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close()})),this._keyManager.change.pipe(ol(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var e=this,t=Object(Ah.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ol(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),Object(Ah.a).apply(void 0,_toConsumableArray(this.options.map((function(e){return e._stateChanges})))).pipe(ol(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new g_(this,t)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var e,t,n,i,r=this._keyManager.activeItemIndex||0,a=oh(r,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(e=r+a,t=this._getItemHeight(),n=this.panel.nativeElement.scrollTop,(i=e*t)n+256?Math.max(0,i-256+t):n)}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getOptionIndex",value:function(e){return this.options.reduce((function(t,n,i){return void 0!==t?t:e===n?i:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),i=t*e-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=oh(r,this.options,this.optionGroups);var a=n/2;this._scrollTop=this._calculateOverlayScroll(r,a,i),this._offsetY=this._calculateOverlayOffsetY(r,a,i),this._checkOverlayWithinViewport(i)}},{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else{var a=this._selectionModel.selected[0]||this.options.first;e=a&&a.group?32:16}i||(e*=-1);var o=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);o>0?e+=o+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Pc(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Pc(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=Rc(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),t}(v_)).\u0275fac=function(e){return new(e||s_)(i.Pb(Kp),i.Pb(i.h),i.Pb(i.A),i.Pb(Ed),i.Pb(i.l),i.Pb(Jc,8),i.Pb(Zn,8),i.Pb(si,8),i.Pb(op,8),i.Pb(Yt,10),i.gc("tabindex"),i.Pb(m_),i.Pb(Nu),i.Pb(__,8))},s_.\u0275cmp=i.Jb({type:s_,selectors:[["mat-select"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,y_,!0),i.Ib(n,ah,!0),i.Ib(n,eh,!0)),2&e&&(i.zc(r=i.kc())&&(t.customTrigger=r.first),i.zc(r=i.kc())&&(t.options=r),i.zc(r=i.kc())&&(t.optionGroups=r))},viewQuery:function(e,t){var n;1&e&&(i.Sc(Qm,!0),i.Sc(e_,!0),i.Sc($m,!0)),2&e&&(i.zc(n=i.kc())&&(t.trigger=n.first),i.zc(n=i.kc())&&(t.panel=n.first),i.zc(n=i.kc())&&(t.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&i.jc("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(i.Db("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.Gb("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[i.Bb([{provide:Bf,useExisting:s_},{provide:rh,useExisting:s_}]),i.zb,i.Ab()],ngContentSelectors:h_,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.rc(d_),i.Wb(0,"div",0,1),i.jc("click",(function(){return t.toggle()})),i.Wb(3,"div",2),i.Ic(4,t_,2,1,"span",3),i.Ic(5,r_,3,2,"span",4),i.Vb(),i.Wb(6,"div",5),i.Rb(7,"div",6),i.Vb(),i.Vb(),i.Ic(8,a_,4,10,"ng-template",7),i.jc("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){var n=i.Ac(1);i.Cb(3),i.sc("ngSwitch",t.empty),i.Cb(1),i.sc("ngSwitchCase",!0),i.Cb(1),i.sc("ngSwitchCase",!1),i.Cb(3),i.sc("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[Gm,X,Q,$m,ee,W],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[f_.transformPanelWrap,f_.transformPanel]},changeDetection:0}),s_),w_=((o_=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:o_}),o_.\u0275inj=i.Mb({factory:function(e){return new(e||o_)},providers:[b_],imports:[[ae,Xm,Dh,cd],sp,Dh,cd]}),o_),C_=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new S_(e,this.total))}}]),e}(),S_=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).total=n,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),t}(yi.a),x_=new Set,M_=((u_=function(){function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):L_}return _createClass(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!x_.has(e))try{l_||((l_=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(l_)),l_.sheet&&(l_.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),x_.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}()).\u0275fac=function(e){return new(e||u_)(i.fc(el))},u_.\u0275prov=Object(i.Lb)({factory:function(){return new u_(Object(i.fc)(el))},token:u_,providedIn:"root"}),u_);function L_(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var O_,D_=((O_=function(){function e(t,n){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new dr.a}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return T_(jc(e)).some((function(e){return t._registerQuery(e).mql.matches}))}},{key:"observe",value:function(e){var t=this,n=gr(T_(jc(e)).map((function(e){return t._registerQuery(e).observable})));return(n=Xr(n.pipe(zr(1)),n.pipe((function(e){return e.lift(new C_(1))}),cu(0)))).pipe(Object(bt.a)((function(e){var t={matches:!1,breakpoints:{}};return e.forEach((function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches})),t})))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new mt.a((function(e){var i=function(n){return t._zone.run((function(){return e.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Qr(n),Object(bt.a)((function(t){return{query:e,matches:t.matches}})),ol(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}()).\u0275fac=function(e){return new(e||O_)(i.fc(M_),i.fc(i.A))},O_.\u0275prov=Object(i.Lb)({factory:function(){return new O_(Object(i.fc)(M_),Object(i.fc)(i.A))},token:O_,providedIn:"root"}),O_);function T_(e){return e.map((function(e){return e.split(",")})).reduce((function(e,t){return e.concat(t)})).map((function(e){return e.trim()}))}var A_={tooltipState:Object(Xe.n)("state",[Object(Xe.k)("initial, void, hidden",Object(Xe.l)({opacity:0,transform:"scale(0)"})),Object(Xe.k)("visible",Object(Xe.l)({transform:"scale(1)"})),Object(Xe.m)("* => visible",Object(Xe.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.h)([Object(Xe.l)({opacity:0,transform:"scale(0)",offset:0}),Object(Xe.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(Xe.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(Xe.m)("* => hidden",Object(Xe.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({opacity:0})))])},E_=rl({passive:!0});function P_(e){return Error('Tooltip position "'.concat(e,'" is invalid.'))}var R_,I_,j_,Y_=new i.r("mat-tooltip-scroll-strategy"),V_={provide:Y_,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},W_=new i.r("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),F_=((j_=function(){function e(t,n,i,r,a,o,s,c,l,u,d,h){var f=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=s,this._focusMonitor=c,this._dir=u,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new dr.a,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!iu(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run((function(){return f.hide(0)})))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),c.monitor(n).pipe(ol(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&a.run((function(){return f.show()})):a.run((function(){return f.hide(0)}))})),a.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",f._handleKeydown)}))}return _createClass(e,[{key:"ngOnInit",value:function(){this._setupPointerEvents()}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(t,n){e.removeEventListener(n,t,E_)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new nm(H_,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(ol(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(ol(this._destroyed)).subscribe((function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run((function(){return e.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(ol(this._destroyed)).subscribe((function(){return e._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw P_(n);e={originX:"end",originY:"center"}}var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw P_(n);e={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(zr(1),ol(this._destroyed)).subscribe((function(){e._tooltipInstance&&e._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_setupPointerEvents",value:function(){var e=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var t=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",(function(){clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout((function(){return e.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return e.show()})).set("mouseleave",(function(){return e.hide()}));this._passiveListeners.forEach((function(t,n){e._elementRef.nativeElement.addEventListener(n,t,E_)}))}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this._elementRef.nativeElement,t=e.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==n&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}},{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Pc(e),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?"".concat(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),e}()).\u0275fac=function(e){return new(e||j_)(i.Pb(qm),i.Pb(i.l),i.Pb(qp),i.Pb(i.P),i.Pb(i.A),i.Pb(el),i.Pb(Mu),i.Pb(Ju),i.Pb(Y_),i.Pb(Jc,8),i.Pb(W_,8),i.Pb(i.l))},j_.\u0275dir=i.Kb({type:j_,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),j_),H_=((I_=function(){function e(t,n){_classCallCheck(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new dr.a,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}return _createClass(e,[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}()).\u0275fac=function(e){return new(e||I_)(i.Pb(i.h),i.Pb(D_))},I_.\u0275cmp=i.Jb({type:I_,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.jc("click",(function(){return t._handleBodyInteraction()}),!1,i.Bc),2&e&&i.Hc("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.jc("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),i.oc(1,"async"),i.Jc(2),i.Vb()),2&e){var n,r=null==(n=i.pc(1,5,t._isHandset))?null:n.matches;i.Gb("mat-tooltip-handset",r),i.sc("ngClass",t.tooltipClass)("@state",t._visibility),i.Cb(2),i.Kc(t.message)}},directives:[W],pipes:[re],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[A_.tooltipState]},changeDetection:0}),I_),B_=((R_=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:R_}),R_.\u0275inj=i.Mb({factory:function(e){return new(e||R_)},providers:[V_],imports:[[Qu,ae,Xm,cd],cd]}),R_);function z_(e,t){if(1&e&&(i.Wb(0,"mat-option",19),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n),i.Cb(1),i.Lc(" ",n," ")}}function N_(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field",16),i.Wb(1,"mat-select",17),i.jc("selectionChange",(function(e){return i.Cc(n),i.nc(2)._changePageSize(e.value)})),i.Ic(2,z_,2,2,"mat-option",18),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.sc("color",r.color),i.Cb(1),i.sc("value",r.pageSize)("disabled",r.disabled)("aria-label",r._intl.itemsPerPageLabel),i.Cb(1),i.sc("ngForOf",r._displayedPageSizeOptions)}}function U_(e,t){if(1&e&&(i.Wb(0,"div",20),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.Kc(n.pageSize)}}function q_(e,t){if(1&e&&(i.Wb(0,"div",12),i.Wb(1,"div",13),i.Jc(2),i.Vb(),i.Ic(3,N_,3,5,"mat-form-field",14),i.Ic(4,U_,2,1,"div",15),i.Vb()),2&e){var n=i.nc();i.Cb(2),i.Lc(" ",n._intl.itemsPerPageLabel," "),i.Cb(1),i.sc("ngIf",n._displayedPageSizeOptions.length>1),i.Cb(1),i.sc("ngIf",n._displayedPageSizeOptions.length<=1)}}function J_(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",21),i.jc("click",(function(){return i.Cc(n),i.nc().firstPage()})),i.mc(),i.Wb(1,"svg",7),i.Rb(2,"path",22),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),i.Db("aria-label",r._intl.firstPageLabel)}}function K_(e,t){if(1&e){var n=i.Yb();i.mc(),i.lc(),i.Wb(0,"button",23),i.jc("click",(function(){return i.Cc(n),i.nc().lastPage()})),i.mc(),i.Wb(1,"svg",7),i.Rb(2,"path",24),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),i.Db("aria-label",r._intl.lastPageLabel)}}var G_,$_,Z_,X_=((G_=function e(){_classCallCheck(this,e),this.changes=new dr.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of ".concat(n);var i=e*t;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+t,n):i+t," of ").concat(n)}}).\u0275fac=function(e){return new(e||G_)},G_.\u0275prov=Object(i.Lb)({factory:function(){return new G_},token:G_,providedIn:"root"}),G_),Q_={provide:X_,deps:[[new i.B,new i.K,X_]],useFactory:function(e){return e||new X_}},eb=new i.r("MAT_PAGINATOR_DEFAULT_OPTIONS"),tb=ld(function(e){function t(){var e,n;_classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),a=0;a=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var e=this.getNumberOfPages()-1;return this.pageIndex1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(i.J.RESOURCE_URL,e);if(!n)throw sb(e);var r=this._cachedIconsByUrl.get(n);return r?bi(hb(r)):this._loadSvgIconFromConfig(new ub(e)).pipe(oa((function(e){return t._cachedIconsByUrl.set(n,e)})),Object(bt.a)((function(e){return hb(e)})))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=fb(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):Vp(ob(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgElement?bi(hb(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(oa((function(t){return e.svgElement=t})),Object(bt.a)((function(e){return hb(e)})))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,r=this._extractIconWithNameFromAnySet(e,t);return r?bi(r):yt(t.filter((function(e){return!e.svgElement})).map((function(e){return n._loadSvgIconSetFromConfig(e).pipe(Fr((function(t){var r="Loading icon set URL: ".concat(n._sanitizer.sanitize(i.J.RESOURCE_URL,e.url)," failed: ").concat(t.message);return n._errorHandler?n._errorHandler.handleError(new Error(r)):console.error(r),bi(null)})))}))).pipe(Object(bt.a)((function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw ob(e);return i})))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,e,i.options);if(r)return r}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchUrl(e.url).pipe(Object(bt.a)((function(n){return t._createSvgElementForSingleIcon(n,e.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(e){var t=this;return e.svgElement?bi(e.svgElement):this._fetchUrl(e.url).pipe(Object(bt.a)((function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(e,t){var n=this._svgElementFromString(e);return this._setSvgAttributes(n,t),n}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),n=e.attributes,i=0;i collapsed, void => collapsed",Object(Xe.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(Xe.n)("expansionHeight",[Object(Xe.k)("collapsed, void",Object(Xe.l)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(Xe.k)("expanded",Object(Xe.l)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(Xe.m)("expanded <=> collapsed, void => collapsed",Object(Xe.g)([Object(Xe.i)("@indicatorRotate",Object(Xe.f)(),{optional:!0}),Object(Xe.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(Xe.n)("bodyExpansion",[Object(Xe.k)("collapsed, void",Object(Xe.l)({height:"0px",visibility:"hidden"})),Object(Xe.k)("expanded",Object(Xe.l)({height:"*",visibility:"visible"})),Object(Xe.m)("expanded <=> collapsed, void => collapsed",Object(Xe.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},Gg=((Ig=function e(t){_classCallCheck(this,e),this._template=t}).\u0275fac=function(e){return new(e||Ig)(i.Pb(i.M))},Ig.\u0275dir=i.Kb({type:Ig,selectors:[["ng-template","matExpansionPanelContent",""]]}),Ig),$g=0,Zg=new i.r("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Xg=((Wg=function(e){function t(e,n,r,a,o,s,c){var l;return _classCallCheck(this,t),(l=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,r)))._viewContainerRef=a,l._animationMode=s,l._hideToggle=!1,l.afterExpand=new i.o,l.afterCollapse=new i.o,l._inputChanges=new dr.a,l._headerId="mat-expansion-panel-header-".concat($g++),l._bodyAnimationDone=new dr.a,l.accordion=e,l._document=o,l._bodyAnimationDone.pipe(Ip((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){"void"!==e.fromState&&("expanded"===e.toState?l.afterExpand.emit():"collapsed"===e.toState&&l.afterCollapse.emit())})),c&&(l.hideToggle=c.hideToggle),l}return _inherits(t,e),_createClass(t,[{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(Qr(null),ki((function(){return e.expanded&&!e._portal})),zr(1)).subscribe((function(){e._portal=new im(e._lazyContent._template,e._viewContainerRef)}))}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(t.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}},{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=Pc(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}}]),t}(Mg)).\u0275fac=function(e){return new(e||Wg)(i.Pb(Jg,12),i.Pb(i.h),i.Pb(Uc),i.Pb(i.P),i.Pb(s),i.Pb(dt,8),i.Pb(Zg,8))},Wg.\u0275cmp=i.Jb({type:Wg,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,Gg,!0),2&e&&i.zc(r=i.kc())&&(t._lazyContent=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(Og,!0),2&e&&i.zc(n=i.kc())&&(t._body=n.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.Gb("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Bb([{provide:Jg,useValue:void 0}]),i.zb,i.Ab()],ngContentSelectors:Ag,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.rc(Tg),i.qc(0),i.Wb(1,"div",0,1),i.jc("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),i.Wb(3,"div",2),i.qc(4,1),i.Ic(5,Dg,0,0,"ng-template",3),i.Vb(),i.qc(6,2),i.Vb()),2&e&&(i.Cb(1),i.sc("@bodyExpansion",t._getExpandedState())("id",t.id),i.Db("aria-labelledby",t._headerId),i.Cb(4),i.sc("cdkPortalOutlet",t._portal))},directives:[cm],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Kg.bodyExpansion]},changeDetection:0}),Wg),Qg=((Vg=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.panel=t,this._element=n,this._focusMonitor=i,this._changeDetectorRef=r,this._parentChangeSubscription=la.a.EMPTY,this._animationsDisabled=!0;var s=t.accordion?t.accordion._stateChanges.pipe(ki((function(e){return!(!e.hideToggle&&!e.togglePosition)}))):kr;this._parentChangeSubscription=Object(Ah.a)(t.opened,t.closed,s,t._inputChanges.pipe(ki((function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)})))).subscribe((function(){return o._changeDetectorRef.markForCheck()})),t.closed.pipe(ki((function(){return t._containsFocus()}))).subscribe((function(){return i.focusVia(n,"program")})),i.monitor(n).subscribe((function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(o)})),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}return _createClass(e,[{key:"_animationStarted",value:function(){this._animationsDisabled=!1}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_keydown",value:function(e){switch(e.keyCode){case 32:case 13:iu(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._element,e,t)}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}},{key:"disabled",get:function(){return this.panel.disabled}}]),e}()).\u0275fac=function(e){return new(e||Vg)(i.Pb(Xg,1),i.Pb(i.l),i.Pb(Ju),i.Pb(i.h),i.Pb(Zg,8))},Vg.\u0275cmp=i.Jb({type:Vg,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header"],hostVars:19,hostBindings:function(e,t){1&e&&(i.Hb("@expansionHeight.start",(function(){return t._animationStarted()})),i.jc("click",(function(){return t._toggle()}))("keydown",(function(e){return t._keydown(e)}))),2&e&&(i.Db("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Rc("@.disabled",t._animationsDisabled)("@expansionHeight",i.yc(16,Pg,t._getExpandedState(),i.yc(13,Eg,t.collapsedHeight,t.expandedHeight))),i.Gb("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:qg,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.rc(Ug),i.Wb(0,"span",0),i.qc(1),i.qc(2,1),i.qc(3,2),i.Vb(),i.Ic(4,Rg,1,1,"span",1)),2&e&&(i.Cb(4),i.sc("ngIf",t._showToggle()))},directives:[z],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[Kg.indicatorRotate,Kg.expansionHeaderHeight]},changeDetection:0}),Vg),ev=((Yg=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Yg)},Yg.\u0275dir=i.Kb({type:Yg,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),Yg),tv=((jg=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._ownHeaders=new i.E,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(Qr(this._headers)).subscribe((function(t){e._ownHeaders.reset(t.filter((function(t){return t.panel.accordion===e}))),e._ownHeaders.notifyOnChanges()})),this._keyManager=new Du(this._ownHeaders).withWrap()}},{key:"_handleHeaderKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;36===t?iu(e)||(n.setFirstItemActive(),e.preventDefault()):35===t?iu(e)||(n.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=Pc(e)}}]),t}(Sg)).\u0275fac=function(e){return nv(e||jg)},jg.\u0275dir=i.Kb({type:jg,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,Qg,!0),2&e&&i.zc(r=i.kc())&&(t._headers=r)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i.Bb([{provide:Jg,useExisting:jg}]),i.zb]}),jg),nv=i.Zb(tv),iv=((Fg=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Fg}),Fg.\u0275inj=i.Mb({factory:function(e){return new(e||Fg)},imports:[[ae,Lg,dm]]}),Fg),rv=["input"],av=function(){return{enterDuration:150}},ov=["*"],sv=new i.r("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),cv=new i.r("mat-checkbox-click-action"),lv=0,uv={provide:Mt,useExisting:Object(i.U)((function(){return fv})),multi:!0},dv=function e(){_classCallCheck(this,e)},hv=hd(ud(dd(ld((function e(t){_classCallCheck(this,e),this._elementRef=t}))))),fv=((zg=function(e){function t(e,n,r,a,o,s,c,l){var u;return _classCallCheck(this,t),(u=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._changeDetectorRef=n,u._focusMonitor=r,u._ngZone=a,u._clickAction=s,u._animationMode=c,u._options=l,u.ariaLabel="",u.ariaLabelledby=null,u._uniqueId="mat-checkbox-".concat(++lv),u.id=u._uniqueId,u.labelPosition="after",u.name=null,u.change=new i.o,u.indeterminateChange=new i.o,u._onTouched=function(){},u._currentAnimationClass="",u._currentCheckState=0,u._controlValueAccessorChangeFn=function(){},u._checked=!1,u._disabled=!1,u._indeterminate=!1,u._options=u._options||{},u._options.color&&(u.color=u._options.color),u.tabIndex=parseInt(o)||0,u._focusMonitor.monitor(e,!0).subscribe((function(e){e||Promise.resolve().then((function(){u._onTouched(),n.markForCheck()}))})),u._clickAction=u._clickAction||u._options.clickAction,u}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(i)}),1e3)}))}}},{key:"_emitChangeEvent",value:function(){var e=new dv;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t=this;e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){t._indeterminate=!1,t.indeterminateChange.emit(t._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,e,t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=Pc(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=Pc(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),t}(hv)).\u0275fac=function(e){return new(e||zg)(i.Pb(i.l),i.Pb(i.h),i.Pb(Ju),i.Pb(i.A),i.gc("tabindex"),i.Pb(cv,8),i.Pb(dt,8),i.Pb(sv,8))},zg.\u0275cmp=i.Jb({type:zg,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(rv,!0),i.Sc(Kd,!0)),2&e&&(i.zc(n=i.kc())&&(t._inputElement=n.first),i.zc(n=i.kc())&&(t.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.ac("id",t.id),i.Db("tabindex",null),i.Gb("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i.Bb([uv]),i.zb],ngContentSelectors:ov,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.rc(),i.Wb(0,"label",0,1),i.Wb(2,"div",2),i.Wb(3,"input",3,4),i.jc("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),i.Vb(),i.Wb(5,"div",5),i.Rb(6,"div",6),i.Vb(),i.Rb(7,"div",7),i.Wb(8,"div",8),i.mc(),i.Wb(9,"svg",9),i.Rb(10,"path",10),i.Vb(),i.lc(),i.Rb(11,"div",11),i.Vb(),i.Vb(),i.Wb(12,"span",12,13),i.jc("cdkObserveContent",(function(){return t._onLabelTextChange()})),i.Wb(14,"span",14),i.Jc(15,"\xa0"),i.Vb(),i.qc(16),i.Vb(),i.Vb()),2&e){var n=i.Ac(1),r=i.Ac(13);i.Db("for",t.inputId),i.Cb(2),i.Gb("mat-checkbox-inner-container-no-side-margin",!r.textContent||!r.textContent.trim()),i.Cb(1),i.sc("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.Db("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked()),i.Cb(2),i.sc("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.wc(18,av))}},directives:[Kd,gu],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),zg),pv=((Bg=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Bg}),Bg.\u0275inj=i.Mb({factory:function(e){return new(e||Bg)}}),Bg),mv=((Hg=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Hg}),Hg.\u0275inj=i.Mb({factory:function(e){return new(e||Hg)},imports:[[Gd,cd,vu,pv],cd,pv]}),Hg);Ng=$localize(_templateObject13());var _v,bv,gv=["placeholder",$localize(_templateObject14())],vv=["placeholder",$localize(_templateObject15())];_v=$localize(_templateObject16()),bv=$localize(_templateObject17());var yv,kv,wv,Cv,Sv,xv,Mv,Lv=["placeholder",$localize(_templateObject18())];yv=$localize(_templateObject19()),kv=$localize(_templateObject20()),wv=$localize(_templateObject21()),Cv=$localize(_templateObject22()),Sv=$localize(_templateObject23()),xv=$localize(_templateObject24(),"\ufffd0\ufffd"),Mv=$localize(_templateObject25());var Ov,Dv,Tv,Av=["placeholder",$localize(_templateObject26())],Ev=["placeholder",$localize(_templateObject27())];Ov=$localize(_templateObject28()),Dv=$localize(_templateObject29()),Tv=$localize(_templateObject30());var Pv,Rv=["matTooltip",$localize(_templateObject31())];Pv=$localize(_templateObject32());var Iv,jv=["matTooltip",$localize(_templateObject33())];function Yv(e,t){if(1&e&&(i.Wb(0,"mat-option",20),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}Iv=$localize(_templateObject34());var Vv,Wv=["matTooltip",$localize(_templateObject35())];Vv=$localize(_templateObject36());var Fv=["matTooltip",$localize(_templateObject37())],Hv=["matTooltip",$localize(_templateObject38())];function Bv(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",25),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delDestination(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function zv(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",21),i.Wb(2,"mat-label"),i.bc(3,Iv),i.Vb(),i.Wb(4,"input",22),i.dc(5,Wv),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].destination=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field",21),i.Wb(7,"mat-label"),i.bc(8,Vv),i.Vb(),i.Wb(9,"input",22),i.dc(10,Fv),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].backend_route=e})),i.Vb(),i.Wb(11,"mat-icon",23),i.dc(12,Hv),i.jc("click",(function(){return i.Cc(n),i.nc(3).addDestination()})),i.Jc(13,"add_circle_outline"),i.Vb(),i.Ic(14,Bv,2,0,"mat-icon",24),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.application.destinations[r].destination)("readonly",a.readOnlyValue),i.Cb(5),i.sc("ngModel",a.application.destinations[r].backend_route)("readonly",a.readOnlyValue),i.Cb(5),i.sc("ngIf",a.application.destinations.length>1)}}var Nv=["matTooltip",$localize(_templateObject39())];function Uv(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",25),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delDestination(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function qv(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",21),i.Wb(2,"mat-label"),i.Jc(3,"K8S Pods API"),i.Vb(),i.Wb(4,"input",26),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].pods_api=e})),i.Vb(),i.Vb(),i.Wb(5,"mat-form-field",21),i.Wb(6,"mat-label"),i.Jc(7,"K8S Pod Port"),i.Vb(),i.Wb(8,"input",27),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).application.destinations[t].pod_port=e})),i.Vb(),i.Wb(9,"mat-icon",23),i.dc(10,Nv),i.jc("click",(function(){return i.Cc(n),i.nc(3).addDestination()})),i.Jc(11,"add_circle_outline"),i.Vb(),i.Ic(12,Uv,2,0,"mat-icon",24),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.application.destinations[r].pods_api)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.application.destinations[r].pod_port)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.application.destinations.length>1)}}function Jv(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",16),i.Wb(1,"mat-form-field",17),i.Wb(2,"mat-label"),i.bc(3,Tv),i.Vb(),i.Wb(4,"input",18),i.dc(5,Rv),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.destinations[r].request_route=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field",17),i.Wb(7,"mat-label"),i.bc(8,Pv),i.Vb(),i.Wb(9,"mat-select",19),i.dc(10,jv),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.destinations[r].route_type=e})),i.Ic(11,Yv,2,2,"mat-option",10),i.Vb(),i.Vb(),i.Ic(12,zv,15,5,"ng-container",0),i.Ic(13,qv,13,5,"ng-container",0),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc(2);i.Cb(4),i.sc("ngModel",o.application.destinations[a].request_route)("readonly",o.readOnlyValue),i.Cb(5),i.sc("ngModel",o.application.destinations[a].route_type)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_route_types),i.Cb(1),i.sc("ngIf",r.route_type!=o.k8sRoute),i.Cb(1),i.sc("ngIf",r.route_type==o.k8sRoute)}}var Kv,Gv,$v=["placeholder",$localize(_templateObject40()),"matTooltip",$localize(_templateObject41())],Zv=["placeholder",$localize(_templateObject42()),"matTooltip",$localize(_templateObject43())];Kv=$localize(_templateObject44()),Gv=$localize(_templateObject45());var Xv=["matTooltip",$localize(_templateObject46())];function Qv(e,t){if(1&e&&(i.Wb(0,"option"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Kc(n.name)}}function ey(e,t){if(1&e&&(i.Wb(0,"mat-option",20),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.common_name," ")}}function ty(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",39),i.jc("click",(function(){i.Cc(n);var e=i.nc().index;return i.nc(2).delDomain(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function ny(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",16),i.Wb(1,"mat-form-field",17),i.Wb(2,"mat-icon",28),i.Jc(3,"language"),i.Vb(),i.Wb(4,"input",29),i.dc(5,$v),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].name=e})),i.Vb(),i.Wb(6,"datalist",30),i.Ic(7,Qv,2,1,"option",31),i.Vb(),i.Vb(),i.Wb(8,"mat-form-field",17),i.Wb(9,"mat-icon",28),i.Jc(10,"lock_outline"),i.Vb(),i.Wb(11,"mat-select",32),i.dc(12,Zv),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].cert_id=e})),i.Wb(13,"mat-option",33),i.bc(14,Kv),i.Vb(),i.Ic(15,ey,2,2,"mat-option",10),i.Vb(),i.Vb(),i.Wb(16,"mat-form-field",34),i.Wb(17,"mat-checkbox",35),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].redirect=e})),i.bc(18,Gv),i.Vb(),i.Wb(19,"input",36),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).application.domains[r].location=e})),i.Vb(),i.Wb(20,"mat-icon",37),i.dc(21,Xv),i.jc("click",(function(){return i.Cc(n),i.nc(2).addDomain()})),i.Jc(22,"add_circle_outline"),i.Vb(),i.Ic(23,ty,2,0,"mat-icon",38),i.Vb(),i.Vb()}if(2&e){var r=t.index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.application.domains[r].name)("disabled",a.readOnlyValue),i.Cb(3),i.sc("ngForOf",a.rpcService.domains),i.Cb(4),i.sc("ngModel",a.application.domains[r].cert_id)("disabled",a.readOnlyValue),i.Cb(4),i.sc("ngForOf",a.optionCertificates),i.Cb(2),i.sc("ngModel",a.application.domains[r].redirect)("disabled",a.readOnlyValue),i.Cb(2),i.sc("ngModel",a.application.domains[r].location)("disabled",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.application.domains.length>1)}}function iy(e,t){if(1&e&&(i.Wb(0,"mat-option",20),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}var ry=["placeholder",$localize(_templateObject47())];function ay(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",40),i.dc(2,ry),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).application.session_seconds=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.application.session_seconds)("readonly",r.readOnlyValue)}}function oy(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"mat-label"),i.Jc(2,"Content-Security-Policy"),i.Vb(),i.Wb(3,"input",41,42),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).application.csp=e})),i.Vb(),i.Wb(5,"mat-hint",4),i.Jc(6),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(4),a=i.nc(2);i.Cb(3),i.sc("ngModel",a.application.csp)("readonly",a.readOnlyValue),i.Cb(3),i.Lc("",(null==r.value?null:r.value.length)||0,"/1024")}}function sy(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"h2",1),i.bc(2,Ng),i.Vb(),i.Wb(3,"div",1),i.Wb(4,"mat-form-field"),i.Wb(5,"input",2,3),i.dc(7,gv),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.name=e})),i.Vb(),i.Wb(8,"mat-hint",4),i.Jc(9),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"mat-select",5),i.dc(12,vv),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.internal_scheme=e})),i.Wb(13,"mat-option",6),i.Jc(14,"http"),i.Vb(),i.Wb(15,"mat-option",7),i.Jc(16,"https"),i.Vb(),i.Vb(),i.Vb(),i.Wb(17,"mat-expansion-panel",8),i.Wb(18,"mat-expansion-panel-header"),i.Wb(19,"mat-panel-title"),i.Wb(20,"h3"),i.bc(21,_v),i.Vb(),i.Vb(),i.Vb(),i.Ic(22,Jv,14,7,"div",9),i.Vb(),i.Wb(23,"mat-expansion-panel",8),i.Wb(24,"mat-expansion-panel-header"),i.Wb(25,"mat-panel-title"),i.Wb(26,"h3"),i.bc(27,bv),i.Vb(),i.Vb(),i.Vb(),i.Ic(28,ny,24,11,"div",9),i.Vb(),i.Wb(29,"mat-form-field"),i.Wb(30,"mat-select",5),i.dc(31,Lv),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.ip_method=e})),i.Ic(32,iy,2,2,"mat-option",10),i.Vb(),i.Vb(),i.Wb(33,"section"),i.Wb(34,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.redirect_https=e})),i.bc(35,yv),i.Vb(),i.Vb(),i.Wb(36,"section"),i.Wb(37,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.hsts_enabled=e})),i.bc(38,kv),i.Vb(),i.Vb(),i.Wb(39,"section"),i.Wb(40,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.waf_enabled=e})),i.bc(41,wv),i.Vb(),i.Vb(),i.Wb(42,"section"),i.Wb(43,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.cache_enabled=e})),i.bc(44,Cv),i.Vb(),i.Vb(),i.Wb(45,"section"),i.Wb(46,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.shield_enabled=e})),i.bc(47,Sv),i.Vb(),i.Vb(),i.Wb(48,"section"),i.Wb(49,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.oauth_required=e})),i.bc(50,xv),i.Vb(),i.Vb(),i.Ic(51,ay,3,2,"mat-form-field",0),i.Wb(52,"section"),i.Wb(53,"mat-checkbox",11),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.csp_enabled=e})),i.bc(54,Mv),i.Vb(),i.Vb(),i.Ic(55,oy,7,3,"mat-form-field",0),i.Wb(56,"mat-form-field"),i.Wb(57,"input",12),i.dc(58,Av),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.owner=e})),i.Vb(),i.Vb(),i.Wb(59,"mat-form-field"),i.Wb(60,"input",12,13),i.dc(62,Ev),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().application.description=e})),i.Vb(),i.Wb(63,"mat-hint",4),i.Jc(64),i.Vb(),i.Vb(),i.Wb(65,"div"),i.Wb(66,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().setApplication()})),i.bc(67,Ov),i.Vb(),i.Wb(68,"button",15),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(69),i.Vb(),i.Wb(70,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().deleteApplication()})),i.bc(71,Dv),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(6),a=i.Ac(61),o=i.nc();i.Cb(5),i.sc("ngModel",o.application.name)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",o.application.internal_scheme)("disabled",o.readOnlyValue),i.Cb(6),i.sc("expanded",!0),i.Cb(5),i.sc("ngForOf",o.application.destinations)("ngForTrackBy",o.trackByFn),i.Cb(1),i.sc("expanded",!0),i.Cb(5),i.sc("ngForOf",o.application.domains)("ngForTrackBy",o.trackByFn),i.Cb(2),i.sc("ngModel",o.application.ip_method)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_ip_method_values),i.Cb(2),i.sc("ngModel",o.application.redirect_https)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.hsts_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.waf_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.cache_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.shield_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.oauth_required)("disabled",o.readOnlyValue),i.Cb(1),i.ec(o.oauth.display_name),i.cc(50),i.Cb(1),i.sc("ngIf",o.application.oauth_required),i.Cb(2),i.sc("ngModel",o.application.csp_enabled)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngIf",o.application.csp_enabled),i.Cb(2),i.sc("ngModel",o.application.owner)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.application.description)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==a.value?null:a.value.length)||0,"/256"),i.Cb(2),i.sc("disabled",o.readOnlyValue),i.Cb(3),i.Kc(o.readOnlyButtonText),i.Cb(1),i.sc("disabled",o.readOnlyValue)}}var cy,ly,uy,dy=((cy=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.http=a,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.enum_ip_method_values=[],this.enum_route_types=[],this.oauth=new Oc,this.k8sRoute=pc.K8S_Ingress}return _createClass(e,[{key:"getApplication",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_app",(function(e){null!=e&&(t.application=e)}),e)}else this.readOnlyValue=!1,this.application=new lc,this.application.id="0",this.application.name="XXX",this.application.internal_scheme="http",this.application.redirect_https=!0,this.application.hsts_enabled=!1,this.application.waf_enabled=!0,this.application.shield_enabled=!1,this.application.domains=[],this.application.ip_method=1,this.application.destinations=[],this.application.oauth_required=!1,this.application.session_seconds=7200,this.application.owner=this.rpcService.auth_user.username,this.application.csp_enabled=!1,this.application.csp="",this.application.cache_enabled=!0,this.application.description="Used for ...",this.addDomain(),this.addDestination()}},{key:"setApplication",value:function(){var e=this;this.rpcService.getResponse("update_app",(function(t){if(null!=t){var n=t.id;e.application.id==n?e.application=t:(e.application.id=n,e.router.navigate(["/application/"+n])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Application "+t.name+" saved.")}else e.messageService.add("Update failed.")}),null,e.application)}},{key:"deleteApplication",value:function(){if(confirm("Are you sure to delete application: "+this.application.name+"?")){var e=this;this.rpcService.getResponse("del_app",(function(){e.messageService.add(e.application.name+" deleted."),e.router.navigate(["/applications"])}),this.application.id,null)}}},{key:"addDestination",value:function(){if(!this.readOnlyValue){var e=new mc;e.id="0",e.route_type=pc.Reverse_Proxy,e.request_route="/",e.backend_route="/",e.destination="127.0.0.1:8080",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",e.app_id=this.application.id,e.node_id="0",this.application.destinations.push(e)}}},{key:"delDestination",value:function(e){this.readOnlyValue||(1!=this.application.destinations.length?this.application.destinations.splice(e,1):alert("At least one item is required!"))}},{key:"addDomain",value:function(){if(!this.readOnlyValue){var e=new _c;e.name="",e.id="0",e.app_id=this.application.id,e.cert_id="0",e.redirect=!1,e.location="",this.application.domains.push(e),console.log(this.application.domains)}}},{key:"delDomain",value:function(e){this.readOnlyValue||(1!=this.application.domains.length?this.application.domains.splice(e,1):alert("At least one item is required!"))}},{key:"ngOnInit",value:function(){for(var e in hc)"number"==typeof hc[e]&&this.enum_ip_method_values.push({value:hc[e],name:e});for(var e in pc)"number"==typeof pc[e]&&this.enum_route_types.push({value:pc[e],name:e});null!=this.rpcService.domains&&0!=this.rpcService.domains.length||this.rpcService.getDomains(),null!=this.rpcService.certificates&&0!=this.rpcService.certificates.length||this.rpcService.getCertificates(),this.getApplication(),this.acme_certificate=new fc,this.acme_certificate.id="0",this.acme_certificate.common_name="Automated Certificate",this.getCertificates();var t=this;this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(e){null!=e&&(t.oauth=e)}))}},{key:"getCertificates",value:function(){var e=this;this.rpcService.getResponse("get_certs",(function(t){null!=t&&(e.optionCertificates=t)}))}},{key:"trackByFn",value:function(e,t){return e}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}]),e}()).\u0275fac=function(e){return new(e||cy)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(Gi))},cy.\u0275cmp=i.Jb({type:cy,selectors:[["app-application-detail"]],inputs:{application:"application"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","http"],["value","https"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","disabled","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"matTooltip"],[3,"value"],[1,"inline-form-field-25"],["matInput","","matTooltipPosition","below",3,"ngModel","readonly","ngModelChange",6,"matTooltip"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"],["matPrefix",""],["matInput","","matTooltipPosition","below","list","domains","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["id","domains"],[4,"ngFor","ngForOf"],["matTooltipPosition","below","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder","matTooltip"],["value","0"],[1,"inline-form-field-50"],["matPrefix","",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","https://www.your-domain.com/",3,"ngModel","disabled","ngModelChange"],["matSuffix","","matTooltipPosition","right",3,"click",6,"matTooltip"],["matSuffix","",3,"click",4,"ngIf"],["matSuffix","",3,"click"],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","",3,"ngModel","readonly","ngModelChange"],["csp",""]],template:function(e,t){1&e&&i.Ic(0,sy,72,39,"div",0),2&e&&i.sc("ngIf",t.application)},directives:[z,op,xp,At,li,Vt,ai,Xf,k_,ah,Xg,Qg,ev,H,fv,_f,Qf,F_,Mb,np,tp,mn,kn,en],styles:['.required[_ngcontent-%COMP%]{color:red}.align-right[_ngcontent-%COMP%]{text-align:right}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.inner-container[_ngcontent-%COMP%]{border:1px dashed;padding:3px}.inline-form[_ngcontent-%COMP%]{display:-webkit-box;display:flex;margin-top:10px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-25[_ngcontent-%COMP%]{width:25%;margin-right:5px}.inline-form-field-50[_ngcontent-%COMP%]{width:50%}.clickable_btn[_ngcontent-%COMP%]:hover{cursor:pointer}.detail_panel[_ngcontent-%COMP%]{margin:10px 0;background-color:#f5f5f5;box-shadow:5px 5px 3px #d5d5d5}.highlighted[_ngcontent-%COMP%]{color:red}.description_block[_ngcontent-%COMP%]{background-color:#f0f0f0;margin-bottom:20px;padding:5px;border-radius:5px}button[_ngcontent-%COMP%]{margin-right:5px}']}),cy),hy=n("J5zx"),fy=n("NFKh"),py={provide:i.b,useFactory:function(e,t){return function(){if(oe(t)){var n=Array.from(e.querySelectorAll("[class*=".concat(my,"]"))),i=/\bflex-layout-.+?\b/g;n.forEach((function(e){e.classList.contains("".concat(my,"ssr"))&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")}))}}},deps:[s,i.C],multi:!0},my="flex-layout-",_y=((ly=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:ly}),ly.\u0275inj=i.Mb({factory:function(e){return new(e||ly)},providers:[py]}),ly),by=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;_classCallCheck(this,e),this.matches=t,this.mediaQuery=n,this.mqAlias=i,this.suffix=r,this.priority=a,this.property=""}return _createClass(e,[{key:"clone",value:function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}]),e}(),gy=((uy=function(){function e(){_classCallCheck(this,e),this.stylesheet=new Map}return _createClass(e,[{key:"addStyleToElement",value:function(e,t,n){var i=this.stylesheet.get(e);i?i.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(e,t){var n=this.stylesheet.get(e),i="";if(n){var r=n.get(t);"number"!=typeof r&&"string"!=typeof r||(i=r+"")}return i}}]),e}()).\u0275fac=function(e){return new(e||uy)},uy.\u0275prov=Object(i.Lb)({factory:function(){return new uy},token:uy,providedIn:"root"}),uy),vy={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},yy=new i.r("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return vy}}),ky=new i.r("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),wy=new i.r("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function Cy(e,t){return e=e?e.clone():new by,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var Sy=["row","column","row-reverse","column-reverse"];function xy(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var My,Ly=((My=function(){function e(t,n,i,r){_classCallCheck(this,e),this.elementRef=t,this.styleBuilder=n,this.styler=i,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new dr.a,this.styleCache=new Map}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=this;Object.keys(e).forEach((function(n){if(-1!==t.inputs.indexOf(n)){var i=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,i)}}))}},{key:"ngOnDestroy",value:function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}},{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}},{key:"addStyles",value:function(e,t){var n=this.styleBuilder,i=n.shouldCache,r=this.styleCache.get(e);r&&i||(r=n.buildStyles(e,t),i&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(e,r,t)}},{key:"clearStyles",value:function(){var e=this;Object.keys(this.mru).forEach((function(t){e.mru[t]=""})),this.applyStyleToElement(this.mru),this.mru={}}},{key:"triggerUpdate",value:function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}},{key:"getFlexFlowDirection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=this.styler.getFlowDirection(e),i=_slicedToArray(n,2),r=i[0],a=i[1];if(!a&&t){var o=function(e){var t=function(e){var t=_slicedToArray((e=e?e.toLowerCase():"").split(" "),3),n=t[0],i=t[1],r=t[2];return Sy.find((function(e){return e===n}))||(n=Sy[0]),"inline"===i&&(i="inline"!==r?r:"",r="inline"),[n,xy(i),!!r]}(e),n=_slicedToArray(t,3);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(n[0],n[1],n[2])}(r);this.styler.applyStyleToElements(o,[e])}return r.trim()}return"row"}},{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement;this.styler.applyStyleToElement(n,e,t)}},{key:"setValue",value:function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}},{key:"updateWithValue",value:function(e){this.addStyles(e)}},{key:"parentElement",get:function(){return this.elementRef.nativeElement.parentElement}},{key:"nativeElement",get:function(){return this.elementRef.nativeElement}},{key:"activatedValue",get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}}]),e}()).\u0275fac=function(e){i.ic()},My.\u0275dir=i.Kb({type:My,features:[i.Ab()]}),My),Oy=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Dy="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",Ty="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",Ay="(orientation: portrait) and (min-width: 840px)",Ey="(orientation: landscape) and (min-width: 1280px)",Py={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:"".concat(Dy," , ").concat(Ty),WEB:"".concat(Ay,", ").concat(Ey," "),HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:"".concat(Dy," "),WEB_PORTRAIT:"".concat(Ay),HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)]",TABLET_LANDSCAPE:"".concat(Ty),WEB_LANDSCAPE:"".concat(Ey)},Ry=[{alias:"handset",priority:2e3,mediaQuery:Py.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Py.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Py.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Py.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Py.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:Py.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Py.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Py.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Py.WEB_PORTRAIT,overlapping:!0}],Iy=/(\.|-|_)/g;function jy(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var Yy=new i.r("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=Object(i.V)(wy),t=Object(i.V)(yy),n=[].concat.apply([],(e||[]).map((function(e){return Array.isArray(e)?e:[e]})));return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i={};return e.forEach((function(e){i[e.alias]=e})),n.forEach((function(e){i[e.alias]?function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&void 0!==arguments[1]&&arguments[1];if(e&&e.length){var i=this._observable$.pipe(ki((function(t){return!n||e.indexOf(t.mediaQuery)>-1}))),r=new mt.a((function(n){var i=t.registerQuery(e);if(i.length){var r=i.pop();i.forEach((function(e){n.next(e)})),t.source.next(r)}n.complete()}));return Object(Ah.a)(r,i)}return this._observable$}},{key:"registerQuery",value:function(e){var t=this,n=Array.isArray(e)?e:[e],i=[];return function(e,t){var n=e.filter((function(e){return!Uy[e]}));if(n.length>0){var i=n.join(", ");try{var r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ".concat(i," {.fx-query-test{ }}\n"))),t.head.appendChild(r),n.forEach((function(e){return Uy[e]=r}))}catch(a){console.error(a)}}}(n,this._document),n.forEach((function(e){var n=t.registry.get(e);n||((n=t.buildMQL(e)).addListener((function(n){t._zone.run((function(){return t.source.next(new by(n.matches,e))}))})),t.registry.set(e,n)),n.matches&&i.push(new by(!0,e))})),i}},{key:"buildMQL",value:function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}(e,oe(this._platformId))}},{key:"activations",get:function(){var e=[];return this.registry.forEach((function(t,n){t.matches&&e.push(n)})),e}}]),e}()).\u0275fac=function(e){return new(e||Fy)(i.fc(i.A),i.fc(i.C),i.fc(s))},Fy.\u0275prov=Object(i.Lb)({factory:function(){return new Fy(Object(i.fc)(i.A),Object(i.fc)(i.C),Object(i.fc)(s))},token:Fy,providedIn:"root"}),Fy),Uy={},qy={alias:"print",mediaQuery:"print",priority:1e3},Jy=((By=function(){function e(t,n,i){_classCallCheck(this,e),this.breakpoints=t,this.layoutConfig=n,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.isPrinting=!1,this.queue=new Ky,this.deactivations=[]}return _createClass(e,[{key:"withPrintQuery",value:function(e){return[].concat(_toConsumableArray(e),["print"])}},{key:"isPrintEvent",value:function(e){return e.mediaQuery.startsWith("print")}},{key:"getEventBreakpoints",value:function(e){var t=e.mediaQuery,n=this.breakpoints.findByQuery(t);return(n?[].concat(_toConsumableArray(this.printBreakPoints),[n]):this.printBreakPoints).sort(Vy)}},{key:"updateEvent",value:function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),Cy(e,t)}},{key:"registerBeforeAfterPrintHooks",value:function(e){var t=this;this._document.defaultView&&!this.registeredBeforeAfterPrintHooks&&(this.registeredBeforeAfterPrintHooks=!0,this._document.defaultView.addEventListener("beforeprint",(function(){t.isPrinting||(t.isPrintingBeforeAfterEvent=!0,t.startPrinting(e,t.getEventBreakpoints(new by(!0,"print"))),e.updateStyles())})),this._document.defaultView.addEventListener("afterprint",(function(){t.isPrintingBeforeAfterEvent=!1,t.isPrinting&&(t.stopPrinting(e),e.updateStyles())})))}},{key:"interceptEvents",value:function(e){var t=this;return this.registerBeforeAfterPrintHooks(e),function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):n.matches||!t.isPrinting||t.isPrintingBeforeAfterEvent||(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}}},{key:"blockPropagation",value:function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}}},{key:"startPrinting",value:function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}},{key:"stopPrinting",value:function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}},{key:"collectActivations",value:function(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(Vy))}}},{key:"printAlias",get:function(){return this.layoutConfig.printWithBreakpoints||[]}},{key:"printBreakPoints",get:function(){var e=this;return this.printAlias.map((function(t){return e.breakpoints.findByAlias(t)})).filter((function(e){return null!==e}))}}]),e}()).\u0275fac=function(e){return new(e||By)(i.fc(zy),i.fc(yy),i.fc(s))},By.\u0275prov=Object(i.Lb)({factory:function(){return new By(Object(i.fc)(zy),Object(i.fc)(yy),Object(i.fc)(s))},token:By,providedIn:"root"}),By),Ky=function(){function e(){_classCallCheck(this,e),this.printBreakpoints=[]}return _createClass(e,[{key:"addPrintBreakpoints",value:function(e){var t=this;return e.push(qy),e.sort(Vy),e.forEach((function(e){return t.addBreakpoint(e)})),this.printBreakpoints}},{key:"addBreakpoint",value:function(e){e&&void 0===this.printBreakpoints.find((function(t){return t.mediaQuery===e.mediaQuery}))&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e].concat(_toConsumableArray(this.printBreakpoints)):[].concat(_toConsumableArray(this.printBreakpoints),[e]))}},{key:"clear",value:function(){this.printBreakpoints=[]}}]),e}();function Gy(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var $y,Zy=(($y=function(){function e(t,n,i,r){_classCallCheck(this,e),this._serverStylesheet=t,this._serverModuleLoaded=n,this._platformId=i,this.layoutConfig=r}return _createClass(e,[{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={};"string"==typeof t&&(i[t]=n,t=i),i=this.layoutConfig.disableVendorPrefixes?t:Gy(t),this._applyMultiValueStyleToElement(i,e)}},{key:"applyStyleToElements",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=this.layoutConfig.disableVendorPrefixes?e:Gy(e);n.forEach((function(e){t._applyMultiValueStyleToElement(i,e)}))}},{key:"getFlowDirection",value:function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||se(this._platformId)&&this._serverModuleLoaded?t:""]}},{key:"lookupAttributeValue",value:function(e,t){return e.getAttribute(t)||""}},{key:"lookupInlineStyle",value:function(e,t){return oe(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}},{key:"lookupStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="";return e&&((i=this.lookupInlineStyle(e,t))||(oe(this._platformId)?n||(i=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(e,t)))),i?i.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(e,t){var n=this;Object.keys(e).sort().forEach((function(i){var r=e[i],a=Array.isArray(r)?r:[r];a.sort();var o=!0,s=!1,c=void 0;try{for(var l,u=a[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var d=l.value;d=d?d+"":"",oe(n._platformId)||!n._serverModuleLoaded?oe(n._platformId)?t.style.setProperty(i,d):n._setServerStyle(t,i,d):n._serverStylesheet.addStyleToElement(t,i,d)}}catch(h){s=!0,c=h}finally{try{o||null==u.return||u.return()}finally{if(s)throw c}}}))}},{key:"_setServerStyle",value:function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=this._readStyleAttribute(e);i[t]=n||"",this._writeStyleAttribute(e,i)}},{key:"_getServerStyle",value:function(e,t){return this._readStyleAttribute(e)[t]||""}},{key:"_readStyleAttribute",value:function(e){var t={},n=e.getAttribute("style");if(n)for(var i=n.split(/;+/g),r=0;r0){var o=a.indexOf(":");if(-1===o)throw new Error("Invalid CSS style: ".concat(a));t[a.substr(0,o).trim()]=a.substr(o+1).trim()}}return t}},{key:"_writeStyleAttribute",value:function(e,t){var n="";for(var i in t)t[i]&&(n+=i+":"+t[i]+";");e.setAttribute("style",n)}}]),e}()).\u0275fac=function(e){return new(e||$y)(i.fc(gy),i.fc(ky),i.fc(i.C),i.fc(yy))},$y.\u0275prov=Object(i.Lb)({factory:function(){return new $y(Object(i.fc)(gy),Object(i.fc)(ky),Object(i.fc)(i.C),Object(i.fc)(yy))},token:$y,providedIn:"root"}),$y),Xy=function(){function e(){_classCallCheck(this,e),this.shouldCache=!0}return _createClass(e,[{key:"sideEffect",value:function(e,t,n){}}]),e}();function Qy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"1",i=[t,n,e],r=e.indexOf("calc");if(r>0){i[2]=ek(e.substring(r).trim());var a=e.substr(0,r).trim().split(" ");2==a.length&&(i[0]=a[0],i[1]=a[1])}else if(0==r)i[2]=ek(e.trim());else{var o=e.split(" ");i=3===o.length?o:[t,n,e]}return i}function ek(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var tk,nk=((tk=function(){function e(t,n,i){_classCallCheck(this,e),this.matchMedia=t,this.breakpoints=n,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new dr.a,this.observeActivations()}return _createClass(e,[{key:"onMediaChange",value:function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=Cy(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(Vy),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(Vy),this.updateStyles()))}},{key:"init",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];ik(this.updateMap,e,t,n),ik(this.clearMap,e,t,i),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}},{key:"getValue",value:function(e,t,n){var i=this.elementMap.get(e);if(i){var r=void 0!==n?i.get(n):this.getActivatedValues(i,t);if(r)return r.get(t)}}},{key:"hasValue",value:function(e,t){var n=this.elementMap.get(e);if(n){var i=this.getActivatedValues(n,t);if(i)return void 0!==i.get(t)||!1}return!1}},{key:"setValue",value:function(e,t,n,i){var r=this.elementMap.get(e);if(r){var a=(r.get(i)||new Map).set(t,n);r.set(i,a),this.elementMap.set(e,r)}else r=(new Map).set(i,(new Map).set(t,n)),this.elementMap.set(e,r);var o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}},{key:"trackValue",value:function(e,t){return this.subject.asObservable().pipe(ki((function(n){return n.element===e&&n.key===t})))}},{key:"updateStyles",value:function(){var e=this;this.elementMap.forEach((function(t,n){var i=new Set(e.elementKeyMap.get(n)),r=e.getActivatedValues(t);r&&r.forEach((function(t,r){e.updateElement(n,r,t),i.delete(r)})),i.forEach((function(i){if(r=e.getActivatedValues(t,i)){var a=r.get(i);e.updateElement(n,i,a)}else e.clearElement(n,i)}))}))}},{key:"clearElement",value:function(e,t){var n=this.clearMap.get(e);if(n){var i=n.get(t);i&&(i(),this.subject.next({element:e,key:t,value:""}))}}},{key:"updateElement",value:function(e,t,n){var i=this.updateMap.get(e);if(i){var r=i.get(t);r&&(r(n),this.subject.next({element:e,key:t,value:n}))}}},{key:"releaseElement",value:function(e){var t=this.watcherMap.get(e);t&&(t.forEach((function(e){return e.unsubscribe()})),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach((function(e,t){return n.delete(t)})),this.elementMap.delete(e))}},{key:"triggerUpdate",value:function(e,t){var n=this,i=this.elementMap.get(e);if(i){var r=this.getActivatedValues(i,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach((function(t,i){return n.updateElement(e,i,t)})))}}},{key:"buildElementKeyMap",value:function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}},{key:"watchExtraTriggers",value:function(e,t,n){var i=this;if(n&&n.length){var r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){var a=Object(Ah.a).apply(void 0,_toConsumableArray(n)).subscribe((function(){var n=i.getValue(e,t);i.updateElement(e,t,n)}));r.set(t,a)}}}},{key:"findByQuery",value:function(e){return this.breakpoints.findByQuery(e)}},{key:"getActivatedValues",value:function(e,t){for(var n=0;n-1}function sk(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var ck,lk,uk,dk=((ck=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),_createClass(t,[{key:"buildStyles",value:function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}((t=_slicedToArray(ak(e),3))[0],t[1],t[2]);var t}}]),t}(Xy)).\u0275fac=function(e){return hk(e||ck)},ck.\u0275prov=Object(i.Lb)({factory:function(){return new ck},token:ck,providedIn:"root"}),ck),hk=i.Zb(dk),fk=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],pk=((uk=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,i,n,r))).DIRECTIVE_KEY="layout",a.styleCache=bk,a.init(),a}return _inherits(t,e),t}(Ly)).\u0275fac=function(e){return new(e||uk)(i.Pb(i.l),i.Pb(Zy),i.Pb(dk),i.Pb(nk))},uk.\u0275dir=i.Kb({type:uk,features:[i.zb]}),uk),mk=((lk=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))).inputs=fk,e}return _inherits(t,e),t}(pk)).\u0275fac=function(e){return _k(e||lk)},lk.\u0275dir=i.Kb({type:lk,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[i.zb]}),lk),_k=i.Zb(mk),bk=new Map;function gk(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i-1?"column":"row",s=ok(o)?"max-width":"max-height",c=ok(o)?"min-width":"min-height",l=String(a).indexOf("calc")>-1,u=l||"auto"===a,d=String(a).indexOf("%")>-1&&!l,h=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,f=l||h;r="0"==r?0:r;var p=!(i="0"==i?0:i)&&!r,m={},_={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":var b=!1!==this.layoutConfig.useColumnBasisZero;a="row"===o?"0%":b?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,a="auto";break;case"grow":a="100%";break;case"noshrink":r=0,a="auto";break;case"auto":break;case"none":i=0,r=0,a="auto";break;default:f||d||isNaN(a)||(a+="%"),"0%"===a&&(f=!0),"0px"===a&&(a="0%"),m=gk(_,l?{"flex-grow":i,"flex-shrink":r,"flex-basis":f?a:"100%"}:{flex:"".concat(i," ").concat(r," ").concat(f?a:"100%")})}return m.flex||m["flex-grow"]||(m=gk(_,l?{"flex-grow":i,"flex-shrink":r,"flex-basis":a}:{flex:"".concat(i," ").concat(r," ").concat(a)})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(m[c]=p||f&&i?a:null,m[s]=p||!u&&r?a:null),m[c]||m[s]?t.hasWrap&&(m[l?"flex-basis":"flex"]=m[s]?l?m[s]:"".concat(i," ").concat(r," ").concat(m[s]):l?m[c]:"".concat(i," ").concat(r," ").concat(m[c])):m=gk(_,l?{"flex-grow":i,"flex-shrink":r,"flex-basis":a}:{flex:"".concat(i," ").concat(r," ").concat(a)}),gk(m,{"box-sizing":"border-box"})}}]),t}(Xy)).\u0275fac=function(e){return new(e||vk)(i.fc(yy))},vk.\u0275prov=Object(i.Lb)({factory:function(){return new vk(Object(i.fc)(yy))},token:vk,providedIn:"root"}),vk),xk=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],Mk=((kk=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,r,n,a))).layoutConfig=i,o.DIRECTIVE_KEY="flex",o.direction="",o.wrap=!1,o.flexGrow="1",o.flexShrink="1",o.init(),o.parentElement&&(o.marshal.trackValue(o.parentElement,"layout").pipe(ol(o.destroySubject)).subscribe(o.onLayoutChange.bind(_assertThisInitialized(o))),o.marshal.trackValue(o.nativeElement,"layout-align").pipe(ol(o.destroySubject)).subscribe(o.triggerReflow.bind(_assertThisInitialized(o)))),o}return _inherits(t,e),_createClass(t,[{key:"onLayoutChange",value:function(e){var t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}},{key:"updateWithValue",value:function(e){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));var t=this.direction,n=t.startsWith("row"),i=this.wrap;n&&i?this.styleCache=Ak:n&&!i?this.styleCache=Dk:!n&&i?this.styleCache=Ek:n||i||(this.styleCache=Tk);var r=Qy(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(r.join(" "),{direction:t,hasWrap:i})}},{key:"triggerReflow",value:function(){var e=this.activatedValue;if(void 0!==e){var t=Qy(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}},{key:"shrink",get:function(){return this.flexShrink},set:function(e){this.flexShrink=e||"1",this.triggerReflow()}},{key:"grow",get:function(){return this.flexGrow},set:function(e){this.flexGrow=e||"1",this.triggerReflow()}}]),t}(Ly)).\u0275fac=function(e){return new(e||kk)(i.Pb(i.l),i.Pb(Zy),i.Pb(yy),i.Pb(Sk),i.Pb(nk))},kk.\u0275dir=i.Kb({type:kk,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[i.zb]}),kk),Lk=((yk=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))).inputs=xk,e}return _inherits(t,e),t}(Mk)).\u0275fac=function(e){return Ok(e||yk)},yk.\u0275dir=i.Kb({type:yk,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[i.zb]}),yk),Ok=i.Zb(Lk),Dk=new Map,Tk=new Map,Ak=new Map,Ek=new Map,Pk=((wk=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:wk}),wk.\u0275inj=i.Mb({factory:function(e){return new(e||wk)},imports:[[_y,Kc]]}),wk);Ck=$localize(_templateObject48());var Rk,Ik=["placeholder",$localize(_templateObject49())],jk=["placeholder",$localize(_templateObject50())];Rk=$localize(_templateObject51());var Yk=["placeholder",$localize(_templateObject52()),"matTooltip",$localize(_templateObject53())];function Vk(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",9),i.dc(2,Yk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).login_user.totp_key=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.login_user.totp_key)}}function Wk(e,t){if(1&e&&(i.Wb(0,"div",10),i.Wb(1,"a",11),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.tc("href",n.oauth.entrance_url,i.Dc),i.Cb(1),i.Kc(n.oauth.display_name)}}function Fk(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",3),i.Wb(1,"h1"),i.bc(2,Ck),i.Vb(),i.Wb(3,"mat-form-field"),i.Wb(4,"input",4),i.dc(5,Ik),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().login_user.username=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",5),i.dc(8,jk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().password=e})),i.Vb(),i.Vb(),i.Ic(9,Vk,3,1,"mat-form-field",6),i.Wb(10,"button",7),i.jc("click",(function(e){return i.Cc(n),i.nc().onSubmit(e)})),i.bc(11,Rk),i.Vb(),i.Ic(12,Wk,3,2,"div",8),i.Vb()}if(2&e){var r=i.nc();i.Cb(4),i.sc("ngModel",r.login_user.username),i.Cb(3),i.sc("ngModel",r.password),i.Cb(2),i.sc("ngIf",r.oauth.authenticator_enabled),i.Cb(3),i.sc("ngIf",1==r.oauth.use_oauth)}}var Hk,Bk,zk=((Hk=function(){function e(t,n,i,r){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.http=i,this.router=r,this.submitted=!1,this.oauth=new Oc,this.login_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1}}return _createClass(e,[{key:"onSubmit",value:function(e){if(!this.login_user.username||!this.password)return this.messageService.add("Please input your username and password!"),void(this.submitted=!1);this.messageService.clear();var t="$2a$12$"+String(fy.SHA256("Janusec"+this.login_user.username+this.password)).substring(0,22),n=hy.hashSync(this.password,t);this.login_user.passwd=n;var i=this;this.rpcService.getResponse("login",(function(e){null!=e&&(i.rpcService.auth_user=e,i.submitted=!0,i.router.navigate(i.oauth.authenticator_enabled&&!i.rpcService.auth_user.logged?["/authcode-register"]:["/"]))}),null,this.login_user)}},{key:"ngOnInit",value:function(){var e=this;this.messageService.clear(),this.rpcService.getResponseByURL("/janusec-admin/oauth/info",(function(t){null!=t&&(e.oauth=t)}))}}]),e}()).\u0275fac=function(e){return new(e||Hk)(i.Pb(Ec),i.Pb(Tc),i.Pb(Gi),i.Pb(As))},Hk.\u0275cmp=i.Jb({type:Hk,selectors:[["app-login-form"]],decls:4,vars:1,consts:[["fxLayout","row wrap"],["fxFlex","30%"],["fxFlex","40%","class","container",4,"ngIf"],["fxFlex","40%",1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],[4,"ngIf"],["mat-button","",1,"submit",3,"click"],["class","oauth",4,"ngIf"],["matInput","","matTooltipPosition","below","required","",3,"ngModel","ngModelChange",6,"placeholder","matTooltip"],[1,"oauth"],[3,"href"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Rb(1,"div",1),i.Ic(2,Fk,13,4,"div",2),i.Rb(3,"div",1),i.Vb()),2&e&&(i.Cb(2),i.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[mk,Lk,z,op,xp,At,li,Vt,ai,_f,F_],styles:[".submit[_ngcontent-%COMP%]{background-color:#e5e5e5}.oauth[_ngcontent-%COMP%]{margin-top:20px}"]}),Hk);Bk=$localize(_templateObject54());var Nk,Uk=["placeholder",$localize(_templateObject55())],qk=["placeholder",$localize(_templateObject56())],Jk=["placeholder",$localize(_templateObject57())],Kk=["placeholder",$localize(_templateObject58())];Nk=$localize(_templateObject59());var Gk,$k,Zk=["placeholder",$localize(_templateObject60())];function Xk(e,t){if(1&e&&(i.Wb(0,"mat-form-field"),i.Wb(1,"input",15),i.dc(2,Zk),i.Vb(),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.sc("value",n.getDate(n.certificate.expire_time))("readonly",!0)}}function Qk(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc(2).changeEditable()})),i.Jc(1),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.Kc(r.readOnlyButtonText)}}function ew(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",12),i.jc("click",(function(){return i.Cc(n),i.nc(2).deleteCertificate()})),i.bc(1,Gk),i.Vb()}if(2&e){var r=i.nc(2);i.sc("disabled",r.readOnlyValue)}}function tw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc(2).selfSignCertificate()})),i.bc(1,$k),i.Vb()}}function nw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,Bk),i.Vb(),i.Wb(4,"mat-form-field"),i.Wb(5,"input",2,3),i.dc(7,Uk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.common_name=e})),i.Vb(),i.Wb(8,"mat-hint",4),i.Jc(9),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"textarea",5,6),i.dc(13,qk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.cert_content=e})),i.Jc(14," "),i.Vb(),i.Wb(15,"input",7),i.jc("change",(function(e){return i.Cc(n),i.nc().readCertificateFile(e)})),i.Vb(),i.Wb(16,"mat-hint",4),i.Jc(17),i.Vb(),i.Vb(),i.Wb(18,"mat-form-field"),i.Wb(19,"textarea",8,9),i.dc(21,Jk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.priv_key_content=e})),i.Jc(22," "),i.Vb(),i.Wb(23,"input",7),i.jc("change",(function(e){return i.Cc(n),i.nc().readPrivKeyFile(e)})),i.Vb(),i.Wb(24,"mat-hint",4),i.Jc(25),i.Vb(),i.Vb(),i.Ic(26,Xk,3,2,"mat-form-field",0),i.Wb(27,"mat-form-field"),i.Wb(28,"input",10,11),i.dc(30,Kk),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().certificate.description=e})),i.Vb(),i.Wb(31,"mat-hint",4),i.Jc(32),i.Vb(),i.Vb(),i.Wb(33,"div"),i.Wb(34,"button",12),i.jc("click",(function(){return i.Cc(n),i.nc().setCertificate()})),i.bc(35,Nk),i.Vb(),i.Ic(36,Qk,2,1,"button",13),i.Ic(37,ew,2,1,"button",14),i.Ic(38,tw,2,0,"button",13),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(6),a=i.Ac(12),o=i.Ac(20),s=i.Ac(29),c=i.nc();i.Cb(5),i.sc("ngModel",c.certificate.common_name)("readonly",c.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",c.certificate.cert_content)("readonly",c.readOnlyValue),i.Cb(4),i.sc("disabled",c.readOnlyValue),i.Cb(2),i.Lc("",(null==a.value?null:a.value.length)||0,"/16384"),i.Cb(2),i.sc("ngModel",c.certificate.priv_key_content)("readonly",c.readOnlyValue),i.Cb(4),i.sc("disabled",c.readOnlyValue),i.Cb(2),i.Lc("",(null==o.value?null:o.value.length)||0,"/4096"),i.Cb(1),i.sc("ngIf",c.certificate.id>0),i.Cb(2),i.sc("ngModel",c.certificate.description)("readonly",c.readOnlyValue),i.Cb(4),i.Lc("",(null==s.value?null:s.value.length)||0,"/256"),i.Cb(2),i.sc("disabled",c.readOnlyValue),i.Cb(2),i.sc("ngIf",1==c.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",c.certificate.id>0),i.Cb(1),i.sc("ngIf",0==c.certificate.id&&c.certificate.common_name)}}Gk=$localize(_templateObject61()),$k=$localize(_templateObject62());var iw,rw,aw,ow,sw,cw,lw,uw=((iw=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.http=a,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",t.params.forEach((function(e){o.startDate=new Date,o.getCertificate()}))}return _createClass(e,[{key:"getCertificate",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_cert",(function(e){null!=e&&(t.certificate=e)}),e)}else this.certificate=new fc,this.certificate.id="0",this.certificate.common_name="*.yourdomain.com",this.certificate.description="New certificate",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}},{key:"setCertificate",value:function(){var e=this;this.rpcService.getResponse("update_cert",(function(t){if(null!=t){var n=t.id;e.certificate.id==n?e.certificate=t:e.router.navigate(["/certificate/"+n]),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Certificate "+t.common_name+" saved.")}}),null,e.certificate)}},{key:"deleteCertificate",value:function(){if(confirm("Are you sure to delete certificate: "+this.certificate.common_name+"?")){var e=this;this.rpcService.getResponse("del_cert",(function(){e.messageService.add(e.certificate.common_name+" deleted."),e.router.navigate(["/certificates"])}),this.certificate.id,null)}}},{key:"selfSignCertificate",value:function(){var e=this;this.rpcService.getResponse("self_sign_cert",(function(t){null!=t&&(e.certificate.cert_content=t.cert_content,e.certificate.priv_key_content=t.priv_key_content)}),null,{common_name:this.certificate.common_name})}},{key:"ngOnInit",value:function(){this.startDate=new Date,this.getCertificate()}},{key:"changeEditable",value:function(){0!=this.rpcService.auth_user.is_super_admin&&(this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel")}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"readCertificateFile",value:function(e){var t=this;if(e.target.files&&e.target.files.length>0){var n=e.target.files[0],i=new FileReader;i.onload=function(e){t.certificate.cert_content=i.result},i.readAsText(n)}}},{key:"readPrivKeyFile",value:function(e){var t=this;if(e.target.files&&e.target.files.length>0){var n=e.target.files[0],i=new FileReader;i.onload=function(e){t.certificate.priv_key_content=i.result},i.readAsText(n)}}}]),e}()).\u0275fac=function(e){return new(e||iw)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(Gi))},iw.\u0275cmp=i.Jb({type:iw,selectors:[["app-certificate-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["common_name",""],["align","end"],["matInput","","rows","5","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["cert_content",""],["type","file",3,"disabled","change"],["matInput","","rows","5",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["priv_key_content",""],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","",3,"value","readonly",6,"placeholder"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&i.Ic(0,nw,39,19,"div",0),2&e&&i.sc("ngIf",t.certificate)},directives:[z,op,xp,At,di,li,Vt,ai,Xf,_f],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:3px;margin-bottom:3px;background-color:#f0f0f0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}button[_ngcontent-%COMP%]{margin-right:5px}']}),iw),dw=["userPaginator"];function hw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",20),i.jc("click",(function(){return i.Cc(n),i.nc().addAdmin()})),i.bc(2,aw),i.Vb(),i.Vb()}}function fw(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function pw(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",21),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/appuser/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function mw(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,ow),i.Vb())}function _w(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",21),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/appuser/",n.id,""),i.Cb(1),i.Lc(" ",n.username," ")}}function bw(e,t){1&e&&(i.Wb(0,"mat-header-cell",22),i.bc(1,sw),i.Vb())}function gw(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"check_circle_outline"),i.Vb())}function vw(e,t){if(1&e&&(i.Wb(0,"mat-cell",22),i.Ic(1,gw,2,0,"mat-icon",23),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_super_admin)}}function yw(e,t){1&e&&(i.Wb(0,"mat-header-cell",22),i.bc(1,cw),i.Vb())}function kw(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"check_circle_outline"),i.Vb())}function ww(e,t){if(1&e&&(i.Wb(0,"mat-cell",22),i.Ic(1,kw,2,0,"mat-icon",23),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_cert_admin)}}function Cw(e,t){1&e&&(i.Wb(0,"mat-header-cell",22),i.bc(1,lw),i.Vb())}function Sw(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"check_circle_outline"),i.Vb())}function xw(e,t){if(1&e&&(i.Wb(0,"mat-cell",22),i.Ic(1,Sw,2,0,"mat-icon",23),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_app_admin)}}function Mw(e,t){1&e&&i.Rb(0,"mat-header-row")}function Lw(e,t){1&e&&i.Rb(0,"mat-row")}rw=$localize(_templateObject63()),aw=$localize(_templateObject64()),ow=$localize(_templateObject65()),sw=$localize(_templateObject66()),cw=$localize(_templateObject67()),lw=$localize(_templateObject68());var Ow,Dw,Tw=function(){return[10,20,50]},Aw=((Ow=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.displayedColumns=["id","username","is_super_admin","is_cert_admin","is_app_admin"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;0!=this.rpcService.auth_user.logged?(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),this.rpcService.getAppUsers(),setTimeout((function(){e.userDataSource=new Qh(e.rpcService.admins),e.userLength=e.rpcService.admins.length}),500)):this.router.navigate(["/"])}},{key:"addAdmin",value:function(){this.router.navigate(["/appuser/0"])}},{key:"applyFilter",value:function(e){this.userDataSource.filter=e.trim().toLowerCase()}}]),e}()).\u0275fac=function(e){return new(e||Ow)(i.Pb(Ec),i.Pb(As))},Ow.\u0275cmp=i.Jb({type:Ow,selectors:[["app-usermgmt"]],viewQuery:function(e,t){var n;1&e&&i.Sc(dw,!0),2&e&&i.zc(n=i.kc())&&(t.userPaginator=n.first)},decls:33,vars:8,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","username"],["matColumnDef","is_super_admin"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","is_cert_admin"],["matColumnDef","is_app_admin"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["userPaginator",""],["mat-stroked-button","",3,"click"],[3,"routerLink"],[1,"center_column"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,rw),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"div"),i.Ic(6,hw,3,0,"span",1),i.Wb(7,"span"),i.Jc(8,"\xa0\xa0\xa0\xa0"),i.Vb(),i.Wb(9,"mat-form-field",2),i.Wb(10,"input",3),i.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),i.Vb(),i.Vb(),i.Vb(),i.Wb(11,"div",4),i.Wb(12,"mat-table",5,6),i.Ub(14,7),i.Ic(15,fw,2,0,"mat-header-cell",8),i.Ic(16,pw,3,2,"mat-cell",9),i.Tb(),i.Ub(17,10),i.Ic(18,mw,2,0,"mat-header-cell",8),i.Ic(19,_w,3,2,"mat-cell",9),i.Tb(),i.Ub(20,11),i.Ic(21,bw,2,0,"mat-header-cell",12),i.Ic(22,vw,2,1,"mat-cell",13),i.Tb(),i.Ub(23,14),i.Ic(24,yw,2,0,"mat-header-cell",12),i.Ic(25,ww,2,1,"mat-cell",13),i.Tb(),i.Ub(26,15),i.Ic(27,Cw,2,0,"mat-header-cell",12),i.Ic(28,xw,2,1,"mat-cell",13),i.Tb(),i.Ic(29,Mw,1,0,"mat-header-row",16),i.Ic(30,Lw,1,0,"mat-row",17),i.Vb(),i.Rb(31,"mat-paginator",18,19),i.Vb(),i.Vb()),2&e&&(i.Cb(6),i.sc("ngIf",1==t.rpcService.auth_user.is_super_admin),i.Cb(6),i.sc("dataSource",t.userDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.userLength)("pageSize",20)("pageSizeOptions",i.wc(7,Tw)))},directives:[lf,z,op,xp,Rh,Fh,Vh,jh,Nh,qh,nb,_f,Bh,zh,Es,Mb,Kh,$h],styles:['mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),Ow);Dw=$localize(_templateObject69());var Ew,Pw,Rw,Iw,jw,Yw=["placeholder",$localize(_templateObject70())],Vw=["placeholder",$localize(_templateObject71())],Ww=["placeholder",$localize(_templateObject72())],Fw=["placeholder",$localize(_templateObject73())];function Hw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",10),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).appUser.is_super_admin=e})),i.bc(2,Rw),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.appUser.is_super_admin)("disabled",r.readOnlyValue)}}function Bw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",10),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).appUser.is_cert_admin=e})),i.bc(2,Iw),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.appUser.is_cert_admin)("disabled",r.readOnlyValue)}}function zw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",10),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).appUser.is_app_admin=e})),i.bc(2,jw),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.appUser.is_app_admin)("disabled",r.readOnlyValue)}}function Nw(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",1),i.Wb(1,"h2"),i.Wb(2,"span"),i.bc(3,Dw),i.Vb(),i.Vb(),i.Wb(4,"div"),i.Wb(5,"mat-form-field"),i.Wb(6,"input",2,3),i.dc(8,Yw),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().appUser.username=e})),i.Vb(),i.Wb(9,"mat-hint",4),i.Jc(10),i.Vb(),i.Vb(),i.Wb(11,"mat-form-field"),i.Wb(12,"input",5),i.dc(13,Vw),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().plainpwd=e})),i.Vb(),i.Vb(),i.Wb(14,"mat-form-field"),i.Wb(15,"input",5),i.dc(16,Ww),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().plainpwd2=e})),i.Vb(),i.Vb(),i.Wb(17,"mat-form-field"),i.Wb(18,"input",2,6),i.dc(20,Fw),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().appUser.email=e})),i.Vb(),i.Wb(21,"mat-hint",4),i.Jc(22),i.Vb(),i.Vb(),i.Ic(23,Hw,3,2,"section",7),i.Ic(24,Bw,3,2,"section",7),i.Ic(25,zw,3,2,"section",7),i.Vb(),i.Wb(26,"div"),i.Wb(27,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().onSave()})),i.bc(28,Ew),i.Vb(),i.Wb(29,"button",9),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(30),i.Vb(),i.Wb(31,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().onDelete()})),i.bc(32,Pw),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(7),a=i.Ac(19),o=i.nc();i.Cb(6),i.sc("ngModel",o.appUser.username)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",o.plainpwd)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.plainpwd2)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.appUser.email)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==a.value?null:a.value.length)||0,"/128"),i.Cb(1),i.sc("ngIf",1==o.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==o.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==o.rpcService.auth_user.is_super_admin),i.Cb(2),i.sc("disabled",o.readOnlyValue),i.Cb(3),i.Kc(o.readOnlyButtonText),i.Cb(1),i.sc("disabled","admin"==o.appUser.username||0==o.appUser.id||o.readOnlyValue)}}Ew=$localize(_templateObject74()),Pw=$localize(_templateObject75()),Rw=$localize(_templateObject76()),Iw=$localize(_templateObject77()),jw=$localize(_templateObject78());var Uw,qw,Jw,Kw,Gw,$w,Zw=((Uw=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.http=a,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}return _createClass(e,[{key:"ngOnInit",value:function(){this.appUser=new cc,this.getAppUser()}},{key:"getAppUser",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_app_user",(function(e){null!=e&&(t.appUser=e),t.appUser.need_modify_pwd&&(t.readOnlyValue=!1)}),e,null)}else this.appUser=new cc,this.appUser.id="0",this.appUser.is_super_admin=!1,this.appUser.is_cert_admin=!1,this.appUser.is_app_admin=!1,this.appUser.need_modify_pwd=!0,this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"onDelete",value:function(){if(confirm("Are you sure to delete user: "+this.appUser.username+"?")){var e=this;this.rpcService.getResponse("del_app_user",(function(){e.messageService.add(e.appUser.username+" deleted."),e.router.navigate(["/usermgmt"])}),this.appUser.id,null)}}},{key:"onSave",value:function(){if(this.plainpwd==this.plainpwd2){if(this.plainpwd){var e="$2a$12$"+String(fy.SHA256("Janusec"+this.appUser.username+this.plainpwd)).substring(0,22),t=hy.hashSync(this.plainpwd,e);this.appUser.password=t}else this.appUser.password="";var n=this;this.rpcService.getResponse("update_app_user",(function(e){if(null!=e){var t=e.id;n.appUser.id==t?n.appUser=e:n.router.navigate(["/appuser/"+t]),n.readOnlyValue=!0,n.readOnlyButtonText="Edit",n.messageService.add(n.appUser.username+" saved."),n.rpcService.getAuthUser((function(){}))}}),null,this.appUser)}else this.messageService.add("Password mismatch")}}]),e}()).\u0275fac=function(e){return new(e||Uw)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(Gi))},Uw.\u0275cmp=i.Jb({type:Uw,selectors:[["app-user-detail"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],["matInput","","maxlength","128","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["username",""],["align","end"],["matInput","","type","password",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["email",""],[4,"ngIf"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[3,"ngModel","disabled","ngModelChange"]],template:function(e,t){1&e&&i.Ic(0,Nw,33,16,"div",0),2&e&&i.sc("ngIf",t.appUser)},directives:[z,op,xp,At,di,li,Vt,ai,Xf,_f,fv],styles:['button[_ngcontent-%COMP%]{margin-top:10px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{display:block;margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),Uw),Xw=["paginator"],Qw=["ipPaginator"],eC=["fileInput"];function tC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc().newGroupPolicy()})),i.bc(2,qw),i.Vb(),i.Vb()}}function nC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc().exportWAF()})),i.bc(2,Jw),i.Vb(),i.Vb()}}function iC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"span"),i.Wb(1,"button",16),i.jc("click",(function(){return i.Cc(n),i.nc().importWAF()})),i.bc(2,Kw),i.Vb(),i.Wb(3,"input",17,18),i.jc("change",(function(e){return i.Cc(n),i.nc().readFile(e)})),i.Vb(),i.Vb()}}function rC(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function aC(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/policy/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function oC(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,Gw),i.Vb())}function sC(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.description," ")}}function cC(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,$w),i.Vb())}function lC(e,t){1&e&&(i.Wb(0,"mat-icon",22),i.Jc(1,"check_circle_outline"),i.Vb())}function uC(e,t){1&e&&(i.Wb(0,"mat-icon",23),i.Jc(1,"highlight_off"),i.Vb())}function dC(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Ic(1,lC,2,0,"mat-icon",20),i.Ic(2,uC,2,0,"mat-icon",21),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_enabled),i.Cb(1),i.sc("ngIf",!n.is_enabled)}}function hC(e,t){1&e&&i.Rb(0,"mat-header-row")}function fC(e,t){1&e&&i.Rb(0,"mat-row")}qw=$localize(_templateObject79()),Jw=$localize(_templateObject80()),Kw=$localize(_templateObject81()),Gw=$localize(_templateObject82()),$w=$localize(_templateObject83());var pC,mC,_C=function(){return[10,20,50]},bC=((pC=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.group_policies=[],this.enum_action_values=[],this.displayedColumns=["id","description","is_enabled"],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.dynamicDownload=null,this.global_cc_policy=new bc,this.app_cc_policy=new bc,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getGroupPolicies())}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e});else this.router.navigate(["/"])}},{key:"getCCPolicy",value:function(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(n){null!=n&&("0"==e?t.global_cc_policy=n:(t.app_cc_policy=n,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}},{key:"newCCPolicy",value:function(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}},{key:"updateCCPolicy",value:function(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);var n=this;this.rpcService.getResponse("update_cc_policy",(function(){n.messageService.add("CC policy updated!")}),e,t)}},{key:"deleteCCPolicy",value:function(e){if("0"!=e){this.has_custom_cc_policy=!1;var t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}}},{key:"onSelectApp",value:function(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}},{key:"getGroupPolicies",value:function(){var e=this;this.rpcService.getResponse("get_group_policies",(function(t){if(null!=t){e.group_policies=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.group_policies[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;s.unique_hash=e.calcUniqueHash(s)}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}e.globalRegexDataSource=new Qh(e.group_policies),e.globalRegexDataSource.paginator=e.paginator,e.regexLength=e.group_policies.length,e.paginator.pageIndex=0}}))}},{key:"getVulnNameByID",value:function(e){return this.rpcService.vulntypemap[e]}},{key:"newGroupPolicy",value:function(){this.router.navigate(["/policy/0"])}},{key:"applyFilter",value:function(e){this.globalRegexDataSource.filter=e.trim().toLowerCase()}},{key:"exportWAF",value:function(){var e=this;bi(this.group_policies).subscribe((function(t){var n=JSON.stringify(t);e.dynamicDownload=document.createElement("a"),e.dynamicDownload.setAttribute("href","data:text/json;charset=utf-8,".concat(encodeURIComponent(n))),e.dynamicDownload.setAttribute("download","JANUSEC-WAF.json");var i=new MouseEvent("click");e.dynamicDownload.dispatchEvent(i)}))}},{key:"importWAF",value:function(){this.fileInput.nativeElement.click()}},{key:"readFile",value:function(e){var t=this;if(e.target.files&&e.target.files.length>0){var n=e.target.files[0],i=new FileReader;i.onload=function(e){var n=JSON.parse(i.result);t.importWAFData(n)},i.readAsText(n)}}},{key:"importWAFData",value:function(e){var t=this,n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;this.isInCurrentGroupPolicies(s)||(s.id="0",this.setGroupPolicy(s))}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}setTimeout((function(){t.getGroupPolicies(),t.messageService.add("Import WAF policies finished!")}),3e3)}},{key:"isInCurrentGroupPolicies",value:function(e){var t=this.calcUniqueHash(e),n=!0,i=!1,r=void 0;try{for(var a,o=this.group_policies[Symbol.iterator]();!(n=(a=o.next()).done);n=!0)if(t==a.value.unique_hash)return!0}catch(s){i=!0,r=s}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return!1}},{key:"calcUniqueHash",value:function(e){var t=""+e.app_id+e.description+e.vuln_id+e.hit_value+e.action,n=!0,i=!1,r=void 0;try{for(var a,o=e.check_items[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;t+="^"+s.check_point+s.operation+s.key_name+s.regex_policy}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return String(fy.SHA256(t))}},{key:"setGroupPolicy",value:function(e){this.rpcService.getResponse("update_group_policy",(function(t){if(null!=t){e=t;var n=!0,i=!1,r=void 0;try{for(var a,o=e.check_items[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;s.id="0",s.group_policy_id=e.id}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}}),null,e)}}]),e}()).\u0275fac=function(e){return new(e||pC)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},pC.\u0275cmp=i.Jb({type:pC,selectors:[["app-waf"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(Xw,!0),i.Sc(Qw,!0),i.Sc(eC,!0)),2&e&&(i.zc(n=i.kc())&&(t.paginator=n.first),i.zc(n=i.kc())&&(t.ipPaginator=n.first),i.zc(n=i.kc())&&(t.fileInput=n.first))},decls:26,vars:10,consts:[[1,"container"],[4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","description"],["matColumnDef","is_enabled"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["paginator",""],["mat-stroked-button","",3,"click"],["type","file",2,"display","none",3,"change"],["fileInput",""],[3,"routerLink"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"div"),i.Ic(3,tC,3,0,"span",1),i.Ic(4,nC,3,0,"span",1),i.Ic(5,iC,5,0,"span",1),i.Wb(6,"span"),i.Jc(7,"\xa0\xa0\xa0\xa0"),i.Vb(),i.Wb(8,"mat-form-field",2),i.Wb(9,"input",3),i.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),i.Vb(),i.Vb(),i.Vb(),i.Wb(10,"div",4),i.Wb(11,"mat-table",5,6),i.Ub(13,7),i.Ic(14,rC,2,0,"mat-header-cell",8),i.Ic(15,aC,3,2,"mat-cell",9),i.Tb(),i.Ub(16,10),i.Ic(17,oC,2,0,"mat-header-cell",8),i.Ic(18,sC,2,1,"mat-cell",9),i.Tb(),i.Ub(19,11),i.Ic(20,cC,2,0,"mat-header-cell",8),i.Ic(21,dC,3,2,"mat-cell",9),i.Tb(),i.Ic(22,hC,1,0,"mat-header-row",12),i.Ic(23,fC,1,0,"mat-row",13),i.Vb(),i.Rb(24,"mat-paginator",14,15),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(3),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(6),i.sc("dataSource",t.globalRegexDataSource),i.Cb(11),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.regexLength)("pageSize",20)("pageSizeOptions",i.wc(9,_C)))},directives:[z,op,xp,Rh,Fh,Vh,jh,Nh,qh,nb,_f,Bh,zh,Es,Mb,Kh,$h],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.float_right[_ngcontent-%COMP%]{display:-webkit-box;display:flex;float:right}']}),pC);mC=$localize(_templateObject84());var gC,vC=["placeholder",$localize(_templateObject85())],yC=["placeholder",$localize(_templateObject86())];gC=$localize(_templateObject87());var kC,wC,CC,SC,xC=["placeholder",$localize(_templateObject88())],MC=["placeholder",$localize(_templateObject89())];kC=$localize(_templateObject90()),wC=$localize(_templateObject91()),CC=$localize(_templateObject92()),SC=$localize(_templateObject93());var LC,OC,DC=["placeholder",$localize(_templateObject94())],TC=["placeholder",$localize(_templateObject95())],AC=["placeholder",$localize(_templateObject96())];function EC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function PC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}LC=$localize(_templateObject97()),OC=$localize(_templateObject98());var RC=["placeholder",$localize(_templateObject99())],IC=["placeholder",$localize(_templateObject100())],jC=["placeholder",$localize(_templateObject101())],YC=["matTooltip",$localize(_templateObject102())];function VC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}function WC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}var FC=["placeholder",$localize(_templateObject103())];function HC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",19),i.dc(2,FC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().$implicit.key_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc().$implicit,a=i.nc(2);i.Cb(1),i.sc("ngModel",r.key_name)("disabled",a.readOnlyValue)}}function BC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",20),i.jc("click",(function(){i.Cc(n);var e=i.nc().index;return i.nc(2).delCheckItem(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function zC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",15),i.Wb(1,"mat-form-field"),i.Wb(2,"mat-select",16),i.dc(3,RC),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).group_policy.check_items[r].check_point=e})),i.Ic(4,VC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Wb(5,"mat-form-field"),i.Wb(6,"mat-select",16),i.dc(7,IC),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).group_policy.check_items[r].operation=e})),i.Ic(8,WC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Ic(9,HC,3,2,"mat-form-field",0),i.Wb(10,"mat-form-field"),i.Wb(11,"input",2),i.dc(12,jC),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.regex_policy=e})),i.Vb(),i.Vb(),i.Wb(13,"div"),i.Wb(14,"mat-icon",17),i.dc(15,YC),i.jc("click",(function(){return i.Cc(n),i.nc(2).addCheckItem()})),i.Jc(16,"add_circle_outline"),i.Vb(),i.Ic(17,BC,2,0,"mat-icon",18),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc(2);i.Cb(2),i.sc("ngModel",o.group_policy.check_items[a].check_point)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_check_values),i.Cb(2),i.sc("ngModel",o.group_policy.check_items[a].operation)("disabled",o.readOnlyValue),i.Cb(2),i.sc("ngForOf",o.enum_operation_values),i.Cb(1),i.sc("ngIf",r.check_point==o.chkpointHeadValue),i.Cb(2),i.sc("ngModel",r.regex_policy)("disabled",o.readOnlyValue),i.Cb(6),i.sc("ngIf",o.group_policy.check_items.length>1)}}function NC(e,t){if(1&e&&(i.Wb(0,"mat-option",14),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}var UC=["placeholder",$localize(_templateObject104())];function qC(e,t){if(1&e&&(i.Wb(0,"mat-form-field"),i.Wb(1,"input",21),i.dc(2,UC),i.Vb(),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.sc("value",n.getDate(n.group_policy.update_time))}}function JC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",13),i.jc("click",(function(){return i.Cc(n),i.nc(2).changeEditable()})),i.Jc(1),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.Kc(r.readOnlyButtonText)}}function KC(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"h2",1),i.bc(2,mC),i.Vb(),i.Wb(3,"div",1),i.Wb(4,"mat-form-field"),i.Wb(5,"input",2),i.dc(6,vC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.description=e})),i.Vb(),i.Vb(),i.Wb(7,"mat-form-field"),i.Wb(8,"mat-select",3),i.dc(9,yC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.app_id=e})),i.Wb(10,"mat-option",4),i.bc(11,gC),i.Vb(),i.Ic(12,EC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"mat-select",3),i.dc(15,xC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.vuln_id=e})),i.Ic(16,PC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Ic(17,zC,18,10,"div",6),i.Wb(18,"mat-form-field"),i.Wb(19,"mat-select",3),i.dc(20,MC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.action=e})),i.Ic(21,NC,2,2,"mat-option",5),i.Vb(),i.Vb(),i.Ic(22,qC,3,1,"mat-form-field",0),i.Wb(23,"section"),i.Wb(24,"mat-checkbox",7),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().group_policy.is_enabled=e})),i.bc(25,kC),i.Vb(),i.Vb(),i.Wb(26,"div"),i.Rb(27,"br"),i.Wb(28,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().setGroupPolicy()})),i.bc(29,wC),i.Vb(),i.Ic(30,JC,2,1,"button",9),i.Wb(31,"button",8),i.jc("click",(function(){return i.Cc(n),i.nc().delGroupPolicy()})),i.bc(32,CC),i.Vb(),i.Vb(),i.Vb(),i.Rb(33,"hr"),i.Wb(34,"div",1),i.Wb(35,"h3"),i.bc(36,SC),i.Vb(),i.Wb(37,"mat-form-field"),i.Wb(38,"input",10),i.dc(39,DC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.pattern=e})),i.Vb(),i.Vb(),i.Wb(40,"mat-form-field"),i.Wb(41,"input",10),i.dc(42,TC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.payload=e})),i.Vb(),i.Vb(),i.Wb(43,"mat-form-field"),i.Wb(44,"input",11),i.dc(45,AC),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.matched=e})),i.Vb(),i.Vb(),i.Wb(46,"section"),i.Wb(47,"mat-checkbox",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().regex_match.preprocess=e})),i.bc(48,LC),i.Vb(),i.Vb(),i.Wb(49,"div"),i.Rb(50,"br"),i.Wb(51,"button",13),i.jc("click",(function(){return i.Cc(n),i.nc().testRegex()})),i.bc(52,OC),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.sc("ngModel",r.group_policy.description)("disabled",r.readOnlyValue),i.Cb(3),i.sc("ngModel",r.group_policy.app_id)("disabled",r.readOnlyValue),i.Cb(4),i.sc("ngForOf",r.rpcService.applications),i.Cb(2),i.sc("ngModel",r.group_policy.vuln_id)("disabled",r.readOnlyValue),i.Cb(2),i.sc("ngForOf",r.rpcService.vulntypes),i.Cb(1),i.sc("ngForOf",r.group_policy.check_items)("ngForTrackBy",r.trackByFn),i.Cb(2),i.sc("ngModel",r.group_policy.action)("disabled",r.readOnlyValue),i.Cb(2),i.sc("ngForOf",r.enum_action_values),i.Cb(1),i.sc("ngIf",r.group_policy.id>0),i.Cb(2),i.sc("ngModel",r.group_policy.is_enabled)("disabled",r.readOnlyValue),i.Cb(4),i.sc("disabled",r.readOnlyValue),i.Cb(2),i.sc("ngIf",r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("disabled",r.readOnlyValue),i.Cb(7),i.sc("ngModel",r.regex_match.pattern),i.Cb(3),i.sc("ngModel",r.regex_match.payload),i.Cb(3),i.sc("ngModel",r.regex_match.matched),i.Cb(3),i.sc("ngModel",r.regex_match.preprocess)}}var GC,$C,ZC,XC,QC,eS,tS,nS,iS,rS,aS,oS,sS,cS,lS,uS,dS,hS=((GC=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit",this.regex_match=new Cc,this.enum_check_values=[],this.enum_operation_values=[],this.enum_action_values=[],this.chkpointHeadValue=gc.HeaderValue}return _createClass(e,[{key:"getGroupPolicy",value:function(e){var t=this.route.snapshot.paramMap.get("id");if("0"==t)this.readOnlyValue=!1,this.group_policy=new yc,this.group_policy.id="0",this.group_policy.app_id=null!=e?e:"0",this.group_policy.action=vc.BLOCK,this.group_policy.description="Custom",this.group_policy.check_items=[],this.addCheckItem(),this.group_policy.is_enabled=!0,this.readOnlyButtonText="Cancel";else{var n=this;this.rpcService.getResponse("get_group_policy",(function(e){null!=e&&(n.group_policy=e,n.regex_match.pattern=n.group_policy.check_items[0].regex_policy)}),t)}this.regex_match.preprocess=!0}},{key:"setGroupPolicy",value:function(){var e=this;this.rpcService.getResponse("update_group_policy",(function(t){if(null!=t){var n=t.id;e.group_policy.id==n?e.group_policy=t:(e.group_policy=t,e.router.navigate(["/policy/"+n])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Policy saved.")}}),null,e.group_policy)}},{key:"ngOnInit",value:function(){for(var e in this.getGroupPolicy(),0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),gc)"number"==typeof gc[e]&&this.enum_check_values.push({value:gc[e],name:e});for(var e in kc)"number"==typeof kc[e]&&this.enum_operation_values.push({value:kc[e],name:e});for(var e in vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e})}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"testRegex",value:function(){this.regex_match.matched=null;var e=this;this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}},{key:"addCheckItem",value:function(){if(!this.readOnlyValue){var e=new wc;e.id="0",e.operation=kc.Regex_Match,e.key_name="",e.regex_policy="",e.group_policy_id=this.group_policy.id,this.group_policy.check_items.push(e)}}},{key:"delCheckItem",value:function(e){this.readOnlyValue||(1!=this.group_policy.check_items.length?this.group_policy.check_items.splice(e,1):alert("At least one checkpoint is required!"))}},{key:"delGroupPolicy",value:function(){if(!this.readOnlyValue){var e=this;this.rpcService.getResponse("del_group_policy",(function(){e.router.navigate(["/waf"]),e.messageService.add("Policy Deleted.")}),this.group_policy.id,null)}}}]),e}()).\u0275fac=function(e){return new(e||GC)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},GC.\u0275cmp=i.Jb({type:GC,selectors:[["app-policy"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"ngModel","disabled","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["class","inner-container",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngModel","disabled","ngModelChange"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click",4,"ngIf"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","readonly","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange"],["mat-stroked-button","",3,"click"],[3,"value"],[1,"inner-container"],["required","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],["matTooltipPosition","right",3,"click",6,"matTooltip"],[3,"click",4,"ngIf"],["matInput","",3,"ngModel","disabled","ngModelChange",6,"placeholder"],[3,"click"],["matInput","","disabled","true",3,"value",6,"placeholder"]],template:function(e,t){1&e&&i.Ic(0,KC,53,23,"div",0),2&e&&i.sc("ngIf",t.group_policy)},directives:[z,op,xp,At,li,Vt,ai,k_,ah,H,fv,_f,Mb,F_],styles:['button[_ngcontent-%COMP%]{margin-top:5px;margin-right:5px}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),GC),fS=["*"],pS=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],mS=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],_S=ld(dd((function e(){_classCallCheck(this,e)}))),bS=dd((function e(){_classCallCheck(this,e)})),gS=(($C=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._stateChanges=new dr.a,e}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),t}(_S)).\u0275fac=function(e){return vS(e||$C)},$C.\u0275cmp=i.Jb({type:$C,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i.zb,i.Ab()],ngContentSelectors:fS,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),$C),vS=i.Zb(gS),yS=((tS=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._elementRef=e,n._stateChanges=new dr.a,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return _inherits(t,e),_createClass(t,[{key:"_getListType",value:function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),t}(_S)).\u0275fac=function(e){return new(e||tS)(i.Pb(i.l))},tS.\u0275cmp=i.Jb({type:tS,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i.zb,i.Ab()],ngContentSelectors:fS,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n"],encapsulation:2,changeDetection:0}),tS),kS=((eS=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||eS)},eS.\u0275dir=i.Kb({type:eS,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),eS),wS=((QC=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||QC)},QC.\u0275dir=i.Kb({type:QC,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),QC),CS=((XC=function(e){function t(e,n,i,r){var a;_classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._element=e,a._isInteractiveList=!1,a._destroyed=new dr.a,a._disabled=!1,a._isInteractiveList=!!(i||r&&"action-list"===r._getListType()),a._list=i||r;var o=a._getHostElement();return"button"!==o.nodeName.toLowerCase()||o.hasAttribute("type")||o.setAttribute("type","button"),a._list&&a._list._stateChanges.pipe(ol(a._destroyed)).subscribe((function(){n.markForCheck()})),a}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentInit",value:function(){var e,t;t=this._element,(e=this._lines).changes.pipe(Qr(e)).subscribe((function(e){var n=e.length;Rd(t,"mat-2-line",!1),Rd(t,"mat-3-line",!1),Rd(t,"mat-multi-line",!1),2===n||3===n?Rd(t,"mat-".concat(n,"-line"),!0):n>3&&Rd(t,"mat-multi-line",!0)}))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=Pc(e)}}]),t}(bS)).\u0275fac=function(e){return new(e||XC)(i.Pb(i.l),i.Pb(i.h),i.Pb(gS,8),i.Pb(yS,8))},XC.\u0275cmp=i.Jb({type:XC,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,kS,!0),i.Ib(n,wS,!0),i.Ib(n,Pd,!0)),2&e&&(i.zc(r=i.kc())&&(t._avatar=r.first),i.zc(r=i.kc())&&(t._icon=r.first),i.zc(r=i.kc())&&(t._lines=r))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.Gb("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.zb],ngContentSelectors:mS,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.rc(pS),i.Wb(0,"div",0),i.Rb(1,"div",1),i.qc(2),i.Wb(3,"div",2),i.qc(4,1),i.Vb(),i.qc(5,2),i.Vb()),2&e&&(i.Cb(1),i.sc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Kd],encapsulation:2,changeDetection:0}),XC),SS=((ZC=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:ZC}),ZC.\u0275inj=i.Mb({factory:function(e){return new(e||ZC)},imports:[[Bd,Gd,cd,Zd,ae],Bd,cd,Zd,eg]}),ZC),xS=["nodesPaginator"];function MS(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,oS),i.Vb())}function LS(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.last_ip," ")}}function OS(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,sS),i.Vb())}function DS(e,t){1&e&&(i.Wb(0,"mat-icon",23),i.Jc(1,"check_circle_outline"),i.Vb())}function TS(e,t){1&e&&(i.Wb(0,"mat-icon",24),i.Jc(1,"highlight_off"),i.Vb())}function AS(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Ic(1,DS,2,0,"mat-icon",21),i.Ic(2,TS,2,0,"mat-icon",22),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.online),i.Cb(1),i.sc("ngIf",!n.online)}}function ES(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,cS),i.Vb())}function PS(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.version," ")}}function RS(e,t){1&e&&(i.Wb(0,"mat-header-cell",25),i.bc(1,lS),i.Vb())}function IS(e,t){if(1&e&&(i.Wb(0,"mat-cell",25),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getDate(n.last_req_time)," ")}}function jS(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,uS),i.Vb())}function YS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"button",1),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().deleteNode(e.id)})),i.bc(2,dS),i.Vb(),i.Vb()}}function VS(e,t){1&e&&i.Rb(0,"mat-header-row")}function WS(e,t){1&e&&i.Rb(0,"mat-row")}nS=$localize(_templateObject105()),iS=$localize(_templateObject106()),rS=$localize(_templateObject107()),aS=$localize(_templateObject108()),oS=$localize(_templateObject109()),sS=$localize(_templateObject110()),cS=$localize(_templateObject111()),lS=$localize(_templateObject112()),uS=$localize(_templateObject113()),dS=$localize(_templateObject114());var FS,HS,BS=function(){return[10,20,50]},zS=((FS=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.nodes=[],this.displayedColumns=["last_ip","online","version","last_req_time","action"],this.rpcService.auth_user.logged&&(this.rpcService.getNodesKey(),this.getNodes())}return _createClass(e,[{key:"ngOnInit",value:function(){0!=this.rpcService.auth_user.logged?this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]):this.router.navigate(["/"])}},{key:"onSelect",value:function(e){this.selectedNode=e,this.router.navigate(["/node/"+this.selectedNode.id])}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getNodes",value:function(){var e=this;this.rpcService.getResponse("get_nodes",(function(t){if(e.nodes=t,e.nodesDataSource=new Qh(e.nodes),e.nodesLength=e.nodes.length,null!=e.nodes){var n=(new Date).getTime(),i=!0,r=!1,a=void 0;try{for(var o,s=e.nodes[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value,l=n-new Date(1e3*c.last_req_time).getTime();c.online=l<36e4}}catch(u){r=!0,a=u}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}}}))}},{key:"deleteNode",value:function(e){var t=this;this.rpcService.getResponse("del_node",(function(){t.getNodes()}),e,null)}}]),e}()).\u0275fac=function(e){return new(e||FS)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},FS.\u0275cmp=i.Jb({type:FS,selectors:[["app-nodes"]],viewQuery:function(e,t){var n;1&e&&i.Sc(xS,!0),2&e&&i.zc(n=i.kc())&&(t.nodesPaginator=n.first)},decls:44,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click"],["matListIcon",""],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","last_ip"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","online"],["matColumnDef","version"],["matColumnDef","last_req_time"],["class","center_column",4,"matHeaderCellDef"],["class","center_column",4,"matCellDef"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["nodesPaginator",""],["matLine",""],[1,"wrapkey"],["color","primary",4,"ngIf"],["color","warn",4,"ngIf"],["color","primary"],["color","warn"],[1,"center_column"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.Wb(4,"span"),i.bc(5,nS),i.Vb(),i.Wb(6,"span"),i.Jc(7," \xa0\xa0\xa0\xa0 "),i.Vb(),i.Wb(8,"span"),i.Wb(9,"button",1),i.jc("click",(function(){return t.getNodes()})),i.Wb(10,"mat-icon",2),i.Jc(11,"refresh"),i.Vb(),i.Wb(12,"span"),i.bc(13,iS),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(14,"div",3),i.Wb(15,"mat-table",4,5),i.Ub(17,6),i.Ic(18,MS,2,0,"mat-header-cell",7),i.Ic(19,LS,2,1,"mat-cell",8),i.Tb(),i.Ub(20,9),i.Ic(21,OS,2,0,"mat-header-cell",7),i.Ic(22,AS,3,2,"mat-cell",8),i.Tb(),i.Ub(23,10),i.Ic(24,ES,2,0,"mat-header-cell",7),i.Ic(25,PS,2,1,"mat-cell",8),i.Tb(),i.Ub(26,11),i.Ic(27,RS,2,0,"mat-header-cell",12),i.Ic(28,IS,2,1,"mat-cell",13),i.Tb(),i.Ub(29,14),i.Ic(30,jS,2,0,"mat-header-cell",7),i.Ic(31,YS,3,0,"mat-cell",8),i.Tb(),i.Ic(32,VS,1,0,"mat-header-row",15),i.Ic(33,WS,1,0,"mat-row",16),i.Vb(),i.Rb(34,"mat-paginator",17,18),i.Vb(),i.Rb(36,"br"),i.Wb(37,"mat-card"),i.Wb(38,"h3"),i.bc(39,rS),i.Vb(),i.Wb(40,"p",19),i.bc(41,aS),i.Vb(),i.Wb(42,"span",20),i.Jc(43),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(15),i.sc("dataSource",t.nodesDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.nodesLength)("pageSize",20)("pageSizeOptions",i.wc(7,BS)),i.Cb(9),i.Kc(t.rpcService.hexNodesKey))},directives:[lf,_f,Mb,wS,Rh,Fh,Vh,jh,Nh,qh,nb,Pd,Bh,zh,z,Kh,$h],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.wrapkey[_ngcontent-%COMP%]{font-size:10px;font-family:Courier New,Courier,monospace;background-color:#f4f4f4;padding:5px;line-height:2em;word-break:break-all}"]}),FS);function NS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",4),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).node.last_ip=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.node.last_ip)("readonly",!0)}}function US(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).node.version=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.node.version)("readonly",!0)}}function qS(e,t){if(1&e&&(i.Wb(0,"mat-form-field"),i.Rb(1,"input",6),i.Vb()),2&e){var n=i.nc(2);i.Cb(1),i.sc("value",n.getDate(n.node.last_req_time))("readonly",!0)}}function JS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",7),i.jc("click",(function(){i.Cc(n);var e=i.nc(2);return e.deleteNode(e.node.id)})),i.Jc(1,"Delete"),i.Vb()}if(2&e){var r=i.nc(2);i.sc("disabled",r.readOnlyValue)}}function KS(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,HS),i.Vb(),i.Ic(4,NS,2,2,"mat-form-field",0),i.Ic(5,US,2,2,"mat-form-field",0),i.Ic(6,qS,2,2,"mat-form-field",0),i.Wb(7,"div"),i.Wb(8,"button",2),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(9),i.Vb(),i.Ic(10,JS,2,1,"button",3),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(4),i.sc("ngIf",r.node.id>0),i.Cb(1),i.sc("ngIf",r.node.id>0),i.Cb(1),i.sc("ngIf",r.node.id>0),i.Cb(3),i.Kc(r.readOnlyButtonText),i.Cb(1),i.sc("ngIf",r.node.id>0)}}HS=$localize(_templateObject115());var GS,$S,ZS,XS=((GS=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}return _createClass(e,[{key:"ngOnInit",value:function(){this.getNode()}},{key:"getNode",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_node",(function(e){null!=e&&(t.node=e)}),e)}else this.node=new Sc,this.node.id="0",this.readOnlyValue=!1,this.readOnlyButtonText="Cancel"}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"deleteNode",value:function(e){this.rpcService.getResponse("del_node",(function(){}),e,null),this.router.navigate(["/nodes"])}}]),e}()).\u0275fac=function(e){return new(e||GS)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},GS.\u0275cmp=i.Jb({type:GS,selectors:[["app-node-detail"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click",4,"ngIf"],["matInput","","placeholder","Node IP",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Node Version",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","Last Sync time",3,"value","readonly"],["mat-stroked-button","",3,"disabled","click"]],template:function(e,t){1&e&&i.Ic(0,KS,11,5,"div",0),2&e&&i.sc("ngIf",t.node)},directives:[z,_f,op,xp,At,Vt,ai],styles:["button[_ngcontent-%COMP%]{margin-right:5px}"]}),GS),QS=n("MO+k"),ex=["placeholder",$localize(_templateObject116())];$S=$localize(_templateObject117()),ZS=$localize(_templateObject118());var tx,nx,ix,rx,ax=["placeholder",$localize(_templateObject119())];function ox(e,t){if(1&e&&(i.Wb(0,"mat-option",10),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function sx(e,t){if(1&e&&(i.Wb(0,"mat-option",10),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function cx(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",2),i.Wb(1,"div",3),i.Wb(2,"mat-form-field"),i.Wb(3,"mat-select",4),i.dc(4,ex),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().selected_app_id=e})),i.Wb(5,"mat-option",5),i.bc(6,$S),i.Vb(),i.Ic(7,ox,2,2,"mat-option",6),i.Vb(),i.Vb(),i.Wb(8,"button",7),i.jc("click",(function(){return i.Cc(n),i.nc().statByAppID()})),i.bc(9,ZS),i.Vb(),i.Wb(10,"div",8),i.Wb(11,"canvas",9),i.Jc(12),i.Vb(),i.Vb(),i.Vb(),i.Wb(13,"div",3),i.Wb(14,"mat-form-field"),i.Wb(15,"mat-select",4),i.dc(16,ax),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().selected_vuln_id=e})),i.Wb(17,"mat-option",10),i.bc(18,tx),i.Vb(),i.Ic(19,sx,2,2,"mat-option",6),i.Vb(),i.Vb(),i.Wb(20,"button",7),i.jc("click",(function(){return i.Cc(n),i.nc().statByAppAndVuln()})),i.bc(21,nx),i.Vb(),i.Wb(22,"div",8),i.Wb(23,"canvas",11),i.Jc(24),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(3),i.sc("ngModel",r.selected_app_id),i.Cb(4),i.sc("ngForOf",r.rpcService.applications),i.Cb(5),i.Kc(r.todayVulnChart),i.Cb(3),i.sc("ngModel",r.selected_vuln_id),i.Cb(2),i.sc("value",0),i.Cb(2),i.sc("ngForOf",r.rpcService.vulntypes),i.Cb(5),i.Kc(r.weekCountChart)}}function lx(e,t){if(1&e&&(i.Wb(0,"div",2),i.Wb(1,"div",12),i.Wb(2,"div",13),i.Wb(3,"canvas",14),i.Jc(4),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(4),i.Kc(n.accessStatChart)}}function ux(e,t){if(1&e&&(i.Wb(0,"tr"),i.Wb(1,"td"),i.Jc(2),i.Vb(),i.Wb(3,"td"),i.Jc(4),i.Vb(),i.Wb(5,"td",21),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc(2);i.Cb(2),i.Lc(" ",r.getAppNameByID(n.app_id)," "),i.Cb(2),i.Lc(" ",n.url_path," "),i.Cb(2),i.Lc(" ",n.amount," ")}}function dx(e,t){if(1&e&&(i.Wb(0,"div",2),i.Wb(1,"div",15),i.Wb(2,"table",16),i.Wb(3,"caption"),i.bc(4,ix),i.Vb(),i.Wb(5,"tr"),i.Wb(6,"th",17),i.Jc(7,"Application"),i.Vb(),i.Wb(8,"th",18),i.Jc(9,"URL"),i.Vb(),i.Wb(10,"th",19),i.Jc(11,"Count"),i.Vb(),i.Vb(),i.Ic(12,ux,7,3,"tr",20),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(12),i.sc("ngForOf",n.pop_contents)}}function hx(e,t){if(1&e&&(i.Wb(0,"tr"),i.Wb(1,"td"),i.Wb(2,"a",23),i.Jc(3),i.Vb(),i.Vb(),i.Wb(4,"td",21),i.Jc(5),i.Vb(),i.Wb(6,"td",21),i.Jc(7),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc(2);i.Cb(2),i.vc("routerLink","/referring/",r.selected_app_id,"/",n.host,""),i.Cb(1),i.Lc(" ",n.host," "),i.Cb(2),i.Lc(" ",n.PV," "),i.Cb(2),i.Lc(" ",n.UV," ")}}function fx(e,t){if(1&e&&(i.Wb(0,"div",2),i.Wb(1,"div",15),i.Wb(2,"table",16),i.Wb(3,"caption"),i.bc(4,rx),i.Vb(),i.Wb(5,"tr"),i.Wb(6,"th",17),i.Jc(7,"Site"),i.Vb(),i.Wb(8,"th",22),i.Jc(9,"PV"),i.Vb(),i.Wb(10,"th",22),i.Jc(11,"UV"),i.Vb(),i.Vb(),i.Ic(12,hx,8,5,"tr",20),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(12),i.sc("ngForOf",n.referer_hosts)}}tx=$localize(_templateObject120()),nx=$localize(_templateObject121()),ix=$localize(_templateObject122()),rx=$localize(_templateObject123());var px,mx=((px=function(){function e(t,n,i){_classCallCheck(this,e),this.elementRef=t,this.rpcService=n,this.router=i,this.selected_app_id="0",this.selected_vuln_id=0}return _createClass(e,[{key:"initTodayChart",value:function(){var e=this.elementRef.nativeElement.querySelector("#today_canvas");null!=this.todayVulnChart&&this.todayVulnChart.destroy(),this.todayVulnChart=new QS.Chart(e,{type:"doughnut",data:{labels:this.today_stat_vuln_name,datasets:[{data:this.today_stat_count,backgroundColor:this.today_stat_bgcolor,borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Today Attack Statistics",display:!0},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]}}})}},{key:"initWeekChart",value:function(){var e=this;setTimeout((function(){var t=e.elementRef.nativeElement.querySelector("#week_canvas");null!=e.weekCountChart&&e.weekCountChart.destroy(),e.weekCountChart=new QS.Chart(t,{type:"bar",data:{labels:e.week_stat_date,datasets:[{label:"Count",data:e.week_stat_count,backgroundColor:"rgba(250,10,10,0.8)",borderWidth:1}]},options:{legend:{display:!0,position:"bottom"},title:{text:"Week Attack Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})}),300)}},{key:"initAccessStatChart",value:function(){var e=this;setTimeout((function(){var t=e.elementRef.nativeElement.querySelector("#stat_canvas");null!=e.accessStatChart&&e.accessStatChart.destroy(),e.accessStatChart=new QS.Chart(t,{type:"line",data:{labels:e.access_stat_date,datasets:[{label:"Count",lineTension:0,fill:!1,data:e.access_stat_count,borderColor:"rgba(00, 95, 200, 1.0)",borderWidth:1}]},options:{maintainAspectRatio:!1,legend:{display:!0,position:"bottom"},title:{text:"Access Statistics",display:!0},scales:{xAxes:[{display:!0}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}})}),300)}},{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged){if(this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),0==this.rpcService.vulntypes.length){var e=this;this.rpcService.getVulnTypes((function(){e.getTodayVulnStat("0"),e.getWeekStat("0",0),e.getAccessStat("0"),e.getPopContents("0"),e.getRefererHosts("0")}))}else this.getTodayVulnStat("0"),this.getWeekStat("0",0),this.getAccessStat("0"),this.getPopContents("0"),this.getRefererHosts("0");0==this.rpcService.applications.length&&this.rpcService.getApplications(),this.initWeekChart(),this.initAccessStatChart()}else this.router.navigate(["/"])}},{key:"getVulnNameByID",value:function(e){return this.rpcService.vulntypemap[e]}},{key:"getAppNameByID",value:function(e){return this.rpcService.appmap[e]}},{key:"getTodayVulnStat",value:function(e){var t=new Date;t.setHours(0,0,0,0);var n=new Date;n.setHours(23,59,59,0);var i=t.getTime()/1e3,r=n.getTime()/1e3+1;this.today_stat_vuln_name=[],this.today_stat_count=[],this.today_stat_counts=0,this.today_stat_bgcolor=[];var a=this;this.rpcService.getResponseByCustomBody({action:"get_vuln_stat",app_id:e,start_time:i,end_time:r},(function(e){null==e&&(e=[]);var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var s=r.value,c=a.getVulnNameByID(s.vuln_id);a.today_stat_vuln_name.push(c),a.today_stat_count.push(s.count),a.today_stat_counts+=s.count,a.today_stat_bgcolor.push(a.getColorString(s.vuln_id))}}catch(l){n=!0,i=l}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}0==a.today_stat_counts&&(a.today_stat_vuln_name.push("None"),a.today_stat_count.push(1e-9)),a.initTodayChart()}))}},{key:"getWeekStat",value:function(e,t){var n=new Date;n.setHours(0,0,0,0);var i=n.getTime()-5184e5;this.week_stat_date=[];for(var r=0;r<7;r++){var a=new Date(i+864e5*r);this.week_stat_date.push(a.toLocaleDateString())}var o=this;this.rpcService.getResponseByCustomBody({action:"get_week_stat",app_id:e,vuln_id:t,start_time:i/1e3},(function(e){null==e&&(e=[0,0,0,0,0,0,0]),o.week_stat_count=e,o.initWeekChart()}))}},{key:"getAccessStat",value:function(e){var t=new Date;t.setHours(0,0,0,0);var n=t.getTime()-11232e5;this.access_stat_date=[];for(var i=0;i<14;i++){var r=new Date(n+864e5*i);this.access_stat_date.push(r.toLocaleDateString())}var a=this;this.rpcService.getResponseByCustomBody({action:"get_access_stat",app_id:e},(function(e){null==e&&(e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0]),a.access_stat_count=e,a.initAccessStatChart()}))}},{key:"getPopContents",value:function(e){var t=this;this.rpcService.getResponseByCustomBody({action:"get_pop_contents",app_id:e},(function(e){t.pop_contents=e}))}},{key:"getRefererHosts",value:function(e){var t=this;this.rpcService.getResponseByCustomBody({action:"get_referer_hosts",app_id:e},(function(e){t.referer_hosts=e}))}},{key:"getColorString",value:function(e){return"rgba("+60*e%256+","+50*e%256+","+50*e%256+",0.9)"}},{key:"statByAppID",value:function(){this.getTodayVulnStat(this.selected_app_id),this.statByAppAndVuln(),this.getAccessStat(this.selected_app_id),this.getPopContents(this.selected_app_id),this.getRefererHosts(this.selected_app_id)}},{key:"statByAppAndVuln",value:function(){this.getWeekStat(this.selected_app_id,this.selected_vuln_id)}}]),e}()).\u0275fac=function(e){return new(e||px)(i.Pb(i.l),i.Pb(Ec),i.Pb(As))},px.\u0275cmp=i.Jb({type:px,selectors:[["app-dashboard"]],decls:6,vars:4,consts:[[1,"container"],["fxLayout","row wrap",4,"ngIf"],["fxLayout","row wrap"],["fxFlex","50%"],[3,"ngModel","ngModelChange",6,"placeholder"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],[1,"myChart"],["id","today_canvas"],[3,"value"],["id","week_canvas"],["fxFlex","100%"],[1,"statChart"],["id","stat_canvas"],["fxFlex","100%",1,"access_div"],[1,"top_access_table"],["width","30%"],["width","60%"],["width","10%"],[4,"ngFor","ngForOf"],[1,"td-align-center"],["width","35%"],[3,"routerLink"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Ic(1,cx,25,7,"div",1),i.Ic(2,lx,5,1,"div",1),i.Ic(3,dx,13,1,"div",1),i.Rb(4,"br"),i.Ic(5,fx,13,1,"div",1),i.Vb()),2&e&&(i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(1),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(2),i.sc("ngIf",t.rpcService.auth_user.logged))},directives:[z,mk,Lk,op,k_,Vt,ai,ah,H,_f,Es],styles:['.container[_ngcontent-%COMP%], .mat-form-field[_ngcontent-%COMP%], .mat-option[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%], button[_ngcontent-%COMP%], div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;font-size:14px}button[_ngcontent-%COMP%]{margin-left:10px}.myChart[_ngcontent-%COMP%], .statChart[_ngcontent-%COMP%]{background-color:#e5e5e5;margin:15px}.statChart[_ngcontent-%COMP%]{height:300px}.access_div[_ngcontent-%COMP%]{padding:0 15px}.top_access_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.top_access_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.top_access_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.top_access_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}']}),px);function _x(e,t){}var bx=function e(){_classCallCheck(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},gx={dialogContainer:Object(Xe.n)("dialogContainer",[Object(Xe.k)("void, exit",Object(Xe.l)({opacity:0,transform:"scale(0.7)"})),Object(Xe.k)("enter",Object(Xe.l)({transform:"none"})),Object(Xe.m)("* => enter",Object(Xe.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({transform:"none",opacity:1}))),Object(Xe.m)("* => void, * => exit",Object(Xe.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(Xe.l)({opacity:0})))])};function vx(){throw Error("Attempting to attach dialog content after content is already attached")}var yx,kx,wx,Cx,Sx,xx,Mx=((yx=function(e){function t(e,n,r,a,o){var s;return _classCallCheck(this,t),(s=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._elementRef=e,s._focusTrapFactory=n,s._changeDetectorRef=r,s._config=o,s._elementFocusedBeforeDialogWasOpened=null,s._state="enter",s._animationStateChanged=new i.o,s.attachDomPortal=function(e){return s._portalOutlet.hasAttached()&&vx(),s._savePreviouslyFocusedElement(),s._portalOutlet.attachDomPortal(e)},s._ariaLabelledBy=o.ariaLabelledBy||null,s._document=a,s}return _inherits(t,e),_createClass(t,[{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached()&&vx(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached()&&vx(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_trapFocus",value:function(){var e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var t=this._document.activeElement;t===e||e.contains(t)||e.focus()}}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._document.activeElement,n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var e=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e._elementRef.nativeElement.focus()})))}},{key:"_onAnimationDone",value:function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),t}(am)).\u0275fac=function(e){return new(e||yx)(i.Pb(i.l),i.Pb(ju),i.Pb(i.h),i.Pb(s,8),i.Pb(bx))},yx.\u0275cmp=i.Jb({type:yx,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var n;1&e&&i.Gc(cm,!0),2&e&&i.zc(n=i.kc())&&(t._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.Hb("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(i.Db("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.Rc("@dialogContainer",t._state))},features:[i.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.Ic(0,_x,0,0,"ng-template",0)},directives:[cm],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[gx.dialogContainer]}}),yx),Lx=0,Ox=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(Lx++);_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new dr.a,this._afterClosed=new dr.a,this._beforeClosed=new dr.a,this._state=0,n._id=r,n._animationStateChanged.pipe(ki((function(e){return"done"===e.phaseName&&"enter"===e.toState})),zr(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),n._animationStateChanged.pipe(ki((function(e){return"done"===e.phaseName&&"exit"===e.toState})),zr(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._overlayRef.dispose()})),t.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),t.keydownEvents().pipe(ki((function(e){return 27===e.keyCode&&!i.disableClose&&!iu(e)}))).subscribe((function(e){e.preventDefault(),i.close()}))}return _createClass(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(ki((function(e){return"start"===e.phaseName})),zr(1)).subscribe((function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._state=2,t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout((function(){t._overlayRef.dispose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}(),Dx=new i.r("MatDialogData"),Tx=new i.r("mat-dialog-default-options"),Ax=new i.r("mat-dialog-scroll-strategy"),Ex={provide:Ax,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},Px=((xx=function(){function e(t,n,i,r,a,o,s){var c=this;_classCallCheck(this,e),this._overlay=t,this._injector=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new dr.a,this._afterOpenedAtThisLevel=new dr.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Cr((function(){return c.openDialogs.length?c._afterAllClosed:c._afterAllClosed.pipe(Qr(void 0))})),this._scrollStrategy=a}return _createClass(e,[{key:"open",value:function(e,t){var n=this;if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new bx)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'.concat(t.id,'" exists already. The dialog id must be unique.'));var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),a=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe((function(){return n._removeOpenDialog(a)})),this.afterOpened.next(a),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find((function(t){return t.id===e}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new wm({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=new hm(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[bx,t]])),i=new nm(Mx,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,r){var a=new Ox(n,t,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe((function(){a.disableClose||a.close()})),e instanceof i.M)t.attachTemplatePortal(new im(e,null,{$implicit:r.data,dialogRef:a}));else{var o=this._createInjector(r,a,t),s=t.attachComponentPortal(new nm(e,r.viewContainerRef,o));a.componentInstance=s.instance}return a.updateSize(r.width,r.height).updatePosition(r.position),a}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=new WeakMap([[Mx,n],[Dx,e.data],[Ox,t]]);return!e.direction||i&&i.get(Jc,null)||r.set(Jc,{value:e.direction,change:bi()}),new hm(i||this._injector,r)}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}},{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_afterAllClosed",get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}}]),e}()).\u0275fac=function(e){return new(e||xx)(i.fc(qm),i.fc(i.s),i.fc(L,8),i.fc(Tx,8),i.fc(Ax),i.fc(xx,12),i.fc(Am))},xx.\u0275prov=i.Lb({token:xx,factory:xx.\u0275fac}),xx),Rx=0,Ix=((Sx=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=i,this.type="button"}return _createClass(e,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=Wx(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}}]),e}()).\u0275fac=function(e){return new(e||Sx)(i.Pb(Ox,8),i.Pb(i.l),i.Pb(Px))},Sx.\u0275dir=i.Kb({type:Sx,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.jc("click",(function(){return t.dialogRef.close(t.dialogResult)})),2&e&&i.Db("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[i.Ab()]}),Sx),jx=((Cx=function(){function e(t,n,i){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-".concat(Rx++)}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=Wx(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)}))}}]),e}()).\u0275fac=function(e){return new(e||Cx)(i.Pb(Ox,8),i.Pb(i.l),i.Pb(Px))},Cx.\u0275dir=i.Kb({type:Cx,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.ac("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),Cx),Yx=((wx=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||wx)},wx.\u0275dir=i.Kb({type:wx,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),wx),Vx=((kx=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||kx)},kx.\u0275dir=i.Kb({type:kx,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),kx);function Wx(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find((function(e){return e.id===n.id})):null}var Fx,Hx=((Fx=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:Fx}),Fx.\u0275inj=i.Mb({factory:function(e){return new(e||Fx)},providers:[Px,Ex],imports:[[Xm,dm,cd],cd]}),Fx),Bx=["mat-calendar-body",""];function zx(e,t){if(1&e&&(i.Wb(0,"tr",2),i.Wb(1,"td",3),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=i.nc();i.Cb(1),i.Hc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),i.Db("colspan",n.numCols),i.Cb(1),i.Lc(" ",n.label," ")}}function Nx(e,t){if(1&e&&(i.Wb(0,"td",7),i.Jc(1),i.Vb()),2&e){var n=i.nc(2);i.Hc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),i.Db("colspan",n._firstRowOffset),i.Cb(1),i.Lc(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function Ux(e,t){if(1&e){var n=i.Yb();i.Wb(0,"td",8),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc(2)._cellClicked(e)})),i.Wb(1,"div",9),i.Jc(2),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc().index,s=i.nc();i.Hc("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),i.Gb("mat-calendar-body-disabled",!r.enabled)("mat-calendar-body-active",s._isActiveCell(o,a)),i.sc("ngClass",r.cssClasses)("tabindex",s._isActiveCell(o,a)?0:-1),i.Db("aria-label",r.ariaLabel)("aria-disabled",!r.enabled||null)("aria-selected",s.selectedValue===r.value),i.Cb(1),i.Gb("mat-calendar-body-selected",s.selectedValue===r.value)("mat-calendar-body-today",s.todayValue===r.value),i.Cb(1),i.Lc(" ",r.displayValue," ")}}function qx(e,t){if(1&e&&(i.Wb(0,"tr",4),i.Ic(1,Nx,2,6,"td",5),i.Ic(2,Ux,3,20,"td",6),i.Vb()),2&e){var n=t.$implicit,r=t.index,a=i.nc();i.Cb(1),i.sc("ngIf",0===r&&a._firstRowOffset),i.Cb(1),i.sc("ngForOf",n)}}function Jx(e,t){if(1&e&&(i.Wb(0,"th",5),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Db("aria-label",n.long),i.Cb(1),i.Kc(n.narrow)}}var Kx=["*"];function Gx(e,t){}function $x(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-month-view",5),i.jc("activeDateChange",(function(e){return i.Cc(n),i.nc().activeDate=e}))("selectedChange",(function(e){return i.Cc(n),i.nc()._dateSelected(e)}))("_userSelection",(function(){return i.Cc(n),i.nc()._userSelected()})),i.Vb()}if(2&e){var r=i.nc();i.sc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function Zx(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-year-view",6),i.jc("activeDateChange",(function(e){return i.Cc(n),i.nc().activeDate=e}))("monthSelected",(function(e){return i.Cc(n),i.nc()._monthSelectedInYearView(e)}))("selectedChange",(function(e){return i.Cc(n),i.nc()._goToDateInView(e,"month")})),i.Vb()}if(2&e){var r=i.nc();i.sc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)}}function Xx(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-multi-year-view",7),i.jc("activeDateChange",(function(e){return i.Cc(n),i.nc().activeDate=e}))("yearSelected",(function(e){return i.Cc(n),i.nc()._yearSelectedInMultiYearView(e)}))("selectedChange",(function(e){return i.Cc(n),i.nc()._goToDateInView(e,"year")})),i.Vb()}if(2&e){var r=i.nc();i.sc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)}}var Qx=["button"];function eM(e,t){1&e&&(i.mc(),i.Wb(0,"svg",3),i.Rb(1,"path",4),i.Vb())}var tM=[[["","matDatepickerToggleIcon",""]]],nM=["[matDatepickerToggleIcon]"];function iM(e){return Error("MatDatepicker: No provider found for ".concat(e,". You must import one of the following ")+"modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}var rM,aM,oM,sM,cM=((rM=function(){function e(){_classCallCheck(this,e),this.changes=new dr.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return _createClass(e,[{key:"formatYearRange",value:function(e,t){return"".concat(e," \u2013 ").concat(t)}}]),e}()).\u0275fac=function(e){return new(e||rM)},rM.\u0275prov=Object(i.Lb)({factory:function(){return new rM},token:rM,providedIn:"root"}),rM),lM=function e(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};_classCallCheck(this,e),this.value=t,this.displayValue=n,this.ariaLabel=i,this.enabled=r,this.cssClasses=a},uM=((sM=function(){function e(t,n){_classCallCheck(this,e),this._elementRef=t,this._ngZone=n,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new i.o}return _createClass(e,[{key:"_cellClicked",value:function(e){e.enabled&&this.selectedValueChange.emit(e.value)}},{key:"ngOnChanges",value:function(e){var t=e.numCols,n=this.rows,i=this.numCols;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding="".concat(50*this.cellAspectRatio/i,"%")),!t&&this._cellWidth||(this._cellWidth="".concat(100/i,"%"))}},{key:"_isActiveCell",value:function(e,t){var n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){var t=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()}))}))}}]),e}()).\u0275fac=function(e){return new(e||sM)(i.Pb(i.l),i.Pb(i.A))},sM.\u0275cmp=i.Jb({type:sM,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[i.Ab()],attrs:Bx,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell mat-focus-indicator","role","button",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell","role","button",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(i.Ic(0,zx,3,6,"tr",0),i.Ic(1,qx,3,2,"tr",1)),2&e&&(i.sc("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n"],encapsulation:2,changeDetection:0}),sM),dM=((oM=function(){function e(t,n,r,a){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=r,this._dir=a,this._rerenderSubscription=la.a.EMPTY,this.selectedChange=new i.o,this._userSelection=new i.o,this.activeDateChange=new i.o,!this._dateAdapter)throw iM("DateAdapter");if(!this._dateFormats)throw iM("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qr(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(e){if(this._selectedDate!=e){var t=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(t,n,e);this.selectedChange.emit(i)}this._userSelection.emit()}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map((function(e,n){return{long:e,narrow:t[n]}}));this._weekdays=n.slice(e).concat(n.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}}]),e}()).\u0275fac=function(e){return new(e||oM)(i.Pb(i.h),i.Pb(bd,8),i.Pb(_d,8),i.Pb(Jc,8))},oM.\u0275cmp=i.Jb({type:oM,selectors:[["mat-month-view"]],viewQuery:function(e,t){var n;1&e&&i.Sc(uM,!0),2&e&&i.zc(n=i.kc())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(i.Wb(0,"table",0),i.Wb(1,"thead",1),i.Wb(2,"tr"),i.Ic(3,Jx,2,2,"th",2),i.Vb(),i.Wb(4,"tr"),i.Rb(5,"th",3),i.Vb(),i.Vb(),i.Wb(6,"tbody",4),i.jc("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),i.Vb(),i.Vb()),2&e&&(i.Cb(3),i.sc("ngForOf",t._weekdays),i.Cb(3),i.sc("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[H,uM],encapsulation:2,changeDetection:0}),oM),hM=((aM=function(){function e(t,n,r){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateAdapter=n,this._dir=r,this._rerenderSubscription=la.a.EMPTY,this.selectedChange=new i.o,this.yearSelected=new i.o,this.activeDateChange=new i.o,!this._dateAdapter)throw iM("DateAdapter");this._activeDate=this._dateAdapter.today()}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qr(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate)-pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<24;n++)i.push(t+n),4==i.length&&(this._years.push(i.map((function(t){return e._createCellForYear(t)}))),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var t=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_getActiveCell",value:function(){return pM(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(e){var t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new lM(e,t,t,this._shouldEnableYear(e))}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&en||e===n&&t>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,t){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e enter",Object(Xe.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({opacity:1,transform:"scale(1, 1)"}))),Object(Xe.m)("* => void",Object(Xe.e)("100ms linear",Object(Xe.l)({opacity:0})))]),fadeInCalendar:Object(Xe.n)("fadeInCalendar",[Object(Xe.k)("void",Object(Xe.l)({opacity:0})),Object(Xe.k)("enter",Object(Xe.l)({opacity:1})),Object(Xe.m)("void => *",Object(Xe.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},TM=0,AM=new i.r("mat-datepicker-scroll-strategy"),EM={provide:AM,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},PM=ud((function e(t){_classCallCheck(this,e),this._elementRef=t})),RM=((yM=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._changeDetectorRef=n,i._animationState="enter",i._animationDone=new dr.a,i}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._animationDone.complete()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}]),t}(PM)).\u0275fac=function(e){return new(e||yM)(i.Pb(i.l),i.Pb(i.h))},yM.\u0275cmp=i.Jb({type:yM,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var n;1&e&&i.Sc(OM,!0),2&e&&i.zc(n=i.kc())&&(t._calendar=n.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&i.Hb("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(i.Rc("@transformPanel",t._animationState),i.Gb("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[i.zb],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(i.Wb(0,"mat-calendar",0),i.jc("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(){return t.datepicker.close()})),i.Vb()),2&e&&i.sc("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[OM,Yu,W],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[DM.transformPanel,DM.fadeInCalendar]},changeDetection:0}),yM),IM=((vM=function(){function e(t,n,r,a,o,s,c,l){if(_classCallCheck(this,e),this._dialog=t,this._overlay=n,this._ngZone=r,this._viewContainerRef=a,this._dateAdapter=s,this._dir=c,this._document=l,this.startView="month",this._touchUi=!1,this.yearSelected=new i.o,this.monthSelected=new i.o,this.openedStream=new i.o,this.closedStream=new i.o,this._opened=!1,this.id="mat-datepicker-".concat(TM++),this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=la.a.EMPTY,this._disabledChange=new dr.a,this._selectedChanged=new dr.a,!this._dateAdapter)throw iM("DateAdapter");this._scrollStrategy=o}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}},{key:"select",value:function(e){var t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_registerInput",value:function(e){var t=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(e){return t._selected=e}))}},{key:"open",value:function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}},{key:"close",value:function(){var e=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(zr(1)).subscribe((function(){return e._destroyPopup()}))}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var n=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(n)):n()}}},{key:"_openAsDialog",value:function(){var e=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(RM,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe((function(){return e.close()})),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}},{key:"_openAsPopup",value:function(){var e=this,t=new nm(RM,this._viewContainerRef);this._destroyPopup(),this._createPopup();var n=this._popupComponentRef=this._popupRef.attach(t);n.instance.datepicker=this,n.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){e._popupRef.updatePosition()}))}},{key:"_createPopup",value:function(){var e=this,t=new wm({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(Ah.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(ki((function(t){return 27===t.keyCode||e._datepickerInput&&t.altKey&&38===t.keyCode})))).subscribe((function(t){t&&t.preventDefault(),e.close()}))}},{key:"_destroyPopup",value:function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}},{key:"_createPopupPositionStrategy",value:function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"startAt",get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=Pc(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(e){var t=Pc(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}},{key:"opened",get:function(){return this._opened},set:function(e){e?this.open():this.close()}},{key:"_selected",get:function(){return this._validSelected},set:function(e){this._validSelected=e}},{key:"_minDate",get:function(){return this._datepickerInput&&this._datepickerInput.min}},{key:"_maxDate",get:function(){return this._datepickerInput&&this._datepickerInput.max}},{key:"_dateFilter",get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter}}]),e}()).\u0275fac=function(e){return new(e||vM)(i.Pb(Px),i.Pb(qm),i.Pb(i.A),i.Pb(i.P),i.Pb(AM),i.Pb(_d,8),i.Pb(Jc,8),i.Pb(s,8))},vM.\u0275cmp=i.Jb({type:vM,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),vM),jM={provide:Mt,useExisting:Object(i.U)((function(){return WM})),multi:!0},YM={provide:Ft,useExisting:Object(i.U)((function(){return WM})),multi:!0},VM=function e(t,n){_classCallCheck(this,e),this.target=t,this.targetElement=n,this.value=this.target.value},WM=((SM=function(){function e(t,n,r,a){var o=this;if(_classCallCheck(this,e),this._elementRef=t,this._dateAdapter=n,this._dateFormats=r,this._formField=a,this.dateChange=new i.o,this.dateInput=new i.o,this._valueChange=new i.o,this._disabledChange=new i.o,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=la.a.EMPTY,this._localeSubscription=la.a.EMPTY,this._parseValidator=function(){return o._lastValueValid?null:{matDatepickerParse:{text:o._elementRef.nativeElement.value}}},this._minValidator=function(e){var t=o._getValidDateOrNull(o._dateAdapter.deserialize(e.value));return!o.min||!t||o._dateAdapter.compareDate(o.min,t)<=0?null:{matDatepickerMin:{min:o.min,actual:t}}},this._maxValidator=function(e){var t=o._getValidDateOrNull(o._dateAdapter.deserialize(e.value));return!o.max||!t||o._dateAdapter.compareDate(o.max,t)>=0?null:{matDatepickerMax:{max:o.max,actual:t}}},this._filterValidator=function(e){var t=o._getValidDateOrNull(o._dateAdapter.deserialize(e.value));return o._dateFilter&&t&&!o._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=zt.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw iM("DateAdapter");if(!this._dateFormats)throw iM("MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe((function(){o.value=o.value}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}},{key:"registerOnValidatorChange",value:function(e){this._validatorOnChange=e}},{key:"validate",value:function(e){return this._validator?this._validator(e):null}},{key:"getPopupConnectionElementRef",value:function(){return this.getConnectedOverlayOrigin()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._cvaOnChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_onKeydown",value:function(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}},{key:"_onInput",value:function(e){var t=this._lastValueValid,n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n),this._dateAdapter.sameDate(n,this._value)?t!==this._lastValueValid&&this._validatorOnChange():(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new VM(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new VM(this,this._elementRef.nativeElement))}},{key:"_getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"matDatepicker",set:function(e){var t=this;e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe((function(e){t.value=e,t._cvaOnChange(e),t._onTouched(),t.dateInput.emit(new VM(t,t._elementRef.nativeElement)),t.dateChange.emit(new VM(t,t._elementRef.nativeElement))})))}},{key:"matDatepickerFilter",set:function(e){this._dateFilter=e,this._validatorOnChange()}},{key:"value",get:function(){return this._value},set:function(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);var t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}},{key:"min",get:function(){return this._min},set:function(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"max",get:function(){return this._max},set:function(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"disabled",get:function(){return!!this._disabled},set:function(e){var t=Pc(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&n.blur&&n.blur()}}]),e}()).\u0275fac=function(e){return new(e||SM)(i.Pb(i.l),i.Pb(_d,8),i.Pb(bd,8),i.Pb(op,8))},SM.\u0275dir=i.Kb({type:SM,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&i.jc("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(i.ac("disabled",t.disabled),i.Db("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[i.Bb([jM,YM,{provide:kp,useExisting:SM}])]}),SM),FM=((CM=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||CM)},CM.\u0275dir=i.Kb({type:CM,selectors:[["","matDatepickerToggleIcon",""]]}),CM),HM=((wM=function(){function e(t,n,i){_classCallCheck(this,e),this._intl=t,this._changeDetectorRef=n,this._stateChanges=la.a.EMPTY;var r=Number(i);this.tabIndex=r||0===r?r:null}return _createClass(e,[{key:"ngOnChanges",value:function(e){e.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}},{key:"_watchStateChanges",value:function(){var e=this,t=this.datepicker?this.datepicker._disabledChange:bi(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:bi(),i=this.datepicker?Object(Ah.a)(this.datepicker.openedStream,this.datepicker.closedStream):bi();this._stateChanges.unsubscribe(),this._stateChanges=Object(Ah.a)(this._intl.changes,t,n,i).subscribe((function(){return e._changeDetectorRef.markForCheck()}))}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=Pc(e)}}]),e}()).\u0275fac=function(e){return new(e||wM)(i.Pb(cM),i.Pb(i.h),i.gc("tabindex"))},wM.\u0275cmp=i.Jb({type:wM,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,FM,!0),2&e&&i.zc(r=i.kc())&&(t._customIcon=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(Qx,!0),2&e&&i.zc(n=i.kc())&&(t._button=n.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&i.jc("focus",(function(){return t._button.focus()})),2&e&&(i.Db("tabindex",t.disabled?null:-1),i.Gb("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[i.Ab()],ngContentSelectors:nM,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(i.rc(tM),i.Wb(0,"button",0,1),i.jc("click",(function(e){return t._open(e)})),i.Ic(2,eM,2,0,"svg",2),i.qc(3),i.Vb()),2&e&&(i.sc("disabled",t.disabled)("disableRipple",t.disableRipple),i.Db("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),i.Cb(2),i.sc("ngIf",!t._customIcon))},directives:[_f,z],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),wM),BM=((kM=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:kM}),kM.\u0275inj=i.Mb({factory:function(e){return new(e||kM)},providers:[cM,EM],imports:[[ae,gf,Hx,Xm,Qu,dm]]}),kM),zM=["placeholder",$localize(_templateObject124())],NM=["placeholder",$localize(_templateObject125())],UM=["placeholder",$localize(_templateObject126())];function qM(e,t){if(1&e&&(i.Wb(0,"mat-option",25),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function JM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function KM(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",26),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/log/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function GM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Time "),i.Vb())}function $M(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getDate(n.request_time)," ")}}function ZM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Client IP "),i.Vb())}function XM(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.client_ip," ")}}function QM(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Method "),i.Vb())}function eL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.method," ")}}function tL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Host "),i.Vb())}function nL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.host," ")}}function iL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," URL Path "),i.Vb())}function rL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.url_path," ")}}function aL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Action "),i.Vb())}function oL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getPolicyActionEnumString(n.action)," ")}}function sL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," PolicyID "),i.Vb())}function cL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.policy_id," ")}}function lL(e,t){1&e&&i.Rb(0,"mat-header-row")}function uL(e,t){1&e&&i.Rb(0,"mat-row")}xM=$localize(_templateObject127());var dL,hL,fL,pL=function(){return[10,20,50]},mL=((dL=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action","policy_id"]}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.regexLogDataSource=new _L(this.rpcService),this.rpcService.lastRegexLogs.length>0&&(this.regexLogDataSource.loadLast(),this.app_id=this.rpcService.lastRegexLogs.app_id,this.start_date=this.rpcService.lastRegexLogs.start_date,this.end_date=this.rpcService.lastRegexLogs.end_date,this.pageLength=this.rpcService.lastRegexLogs.length,this.pageIndex=this.rpcService.lastRegexLogs.page_index)}else this.router.navigate(["/"])}},{key:"getRegexLogsCount",value:function(e,t,n){var i={action:"get_regex_logs_count",app_id:e,start_time:t,end_time:n},r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(i,(function(e){null!=e&&(r.paginator.length=e.count,r.regexLogDataSource.loadLogs(r.app_id,t,n,0,r.request_count),r.rpcService.lastRegexLogs.length=e.count)}))}},{key:"queryRegexLogs",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getRegexLogsCount(this.app_id,e,t)}},{key:"pageChanged",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.regexLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||dL)(i.Pb(Ec),i.Pb(As),i.Pb(Tc))},dL.\u0275cmp=i.Jb({type:dL,selectors:[["app-logs"]],viewQuery:function(e,t){var n;1&e&&i.Sc(nb,!0),2&e&&i.zc(n=i.kc())&&(t.paginator=n.first)},decls:51,vars:17,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageIndex","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-form-field"),i.Wb(3,"mat-select",1),i.dc(4,zM),i.jc("ngModelChange",(function(e){return t.app_id=e})),i.Ic(5,qM,2,2,"mat-option",2),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",3),i.dc(8,NM),i.jc("ngModelChange",(function(e){return t.start_date=e})),i.Vb(),i.Rb(9,"mat-datepicker-toggle",4),i.Rb(10,"mat-datepicker",null,5),i.Vb(),i.Wb(12,"mat-form-field"),i.Wb(13,"input",3),i.dc(14,UM),i.jc("ngModelChange",(function(e){return t.end_date=e})),i.Vb(),i.Rb(15,"mat-datepicker-toggle",4),i.Rb(16,"mat-datepicker",null,6),i.Vb(),i.Wb(18,"button",7),i.jc("click",(function(){return t.queryRegexLogs()})),i.bc(19,xM),i.Vb(),i.Vb(),i.Wb(20,"div",8),i.Wb(21,"mat-table",9,10),i.Ub(23,11),i.Ic(24,JM,2,0,"mat-header-cell",12),i.Ic(25,KM,3,2,"mat-cell",13),i.Tb(),i.Ub(26,14),i.Ic(27,GM,2,0,"mat-header-cell",12),i.Ic(28,$M,2,1,"mat-cell",13),i.Tb(),i.Ub(29,15),i.Ic(30,ZM,2,0,"mat-header-cell",12),i.Ic(31,XM,2,1,"mat-cell",13),i.Tb(),i.Ub(32,16),i.Ic(33,QM,2,0,"mat-header-cell",12),i.Ic(34,eL,2,1,"mat-cell",13),i.Tb(),i.Ub(35,17),i.Ic(36,tL,2,0,"mat-header-cell",12),i.Ic(37,nL,2,1,"mat-cell",13),i.Tb(),i.Ub(38,18),i.Ic(39,iL,2,0,"mat-header-cell",12),i.Ic(40,rL,2,1,"mat-cell",13),i.Tb(),i.Ub(41,19),i.Ic(42,aL,2,0,"mat-header-cell",12),i.Ic(43,oL,2,1,"mat-cell",13),i.Tb(),i.Ub(44,20),i.Ic(45,sL,2,0,"mat-header-cell",12),i.Ic(46,cL,2,1,"mat-cell",13),i.Tb(),i.Ic(47,lL,1,0,"mat-header-row",21),i.Ic(48,uL,1,0,"mat-row",22),i.Vb(),i.Wb(49,"mat-paginator",23,24),i.jc("page",(function(){return t.pageChanged()})),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.Ac(11),r=i.Ac(17);i.Cb(3),i.sc("ngModel",t.app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(2),i.sc("ngModel",t.start_date)("matDatepicker",n),i.Cb(2),i.sc("for",n),i.Cb(4),i.sc("ngModel",t.end_date)("matDatepicker",r),i.Cb(2),i.sc("for",r),i.Cb(6),i.sc("dataSource",t.regexLogDataSource),i.Cb(26),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.pageLength)("pageSize",20)("pageIndex",t.pageIndex)("pageSizeOptions",i.wc(16,pL))("showFirstLastButtons",!0)}},directives:[op,k_,Vt,ai,H,xp,At,WM,HM,np,IM,_f,Rh,Fh,Vh,jh,Nh,qh,nb,ah,Bh,zh,Es,Kh,$h],styles:[""]}),dL),_L=function(){function e(t){_classCallCheck(this,e),this.rpcService=t,this.logsSubject=new fr([]),this.loadingSubject=new fr(!1),this.loading$=this.loadingSubject.asObservable()}return _createClass(e,[{key:"connect",value:function(e){return this.logsSubject.asObservable()}},{key:"disconnect",value:function(e){this.logsSubject.complete(),this.loadingSubject.complete()}},{key:"loadLogs",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4?arguments[4]:void 0;this.loadingSubject.next(!0);var a=this;this.rpcService.getResponseByCustomBody({action:"get_regex_logs",app_id:e,start_time:t,end_time:n,request_count:r,offset:i*r},(function(r){null!=r&&(a.logsSubject.next(r),a.rpcService.lastRegexLogs.app_id=e,a.rpcService.lastRegexLogs.start_date=new Date(1e3*t),a.rpcService.lastRegexLogs.end_date=new Date(1e3*(n-1)),a.rpcService.lastRegexLogs.page_index=i,a.rpcService.lastRegexLogs.regex_logs=r)}))}},{key:"loadLast",value:function(){this.logsSubject.next(this.rpcService.lastRegexLogs.regex_logs)}}]),e}();function bL(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,hL),i.Vb(),i.Wb(4,"mat-form-field"),i.Rb(5,"input",2),i.Vb(),i.Wb(6,"mat-form-field"),i.Rb(7,"input",3),i.Vb(),i.Wb(8,"mat-form-field"),i.Rb(9,"input",4),i.Vb(),i.Wb(10,"mat-form-field"),i.Rb(11,"input",5),i.Vb(),i.Wb(12,"mat-form-field"),i.Rb(13,"input",6),i.Vb(),i.Wb(14,"mat-form-field"),i.Rb(15,"input",7),i.Vb(),i.Wb(16,"mat-form-field"),i.Rb(17,"input",8),i.Vb(),i.Wb(18,"mat-form-field"),i.Rb(19,"textarea",9),i.Vb(),i.Wb(20,"mat-form-field"),i.Rb(21,"input",10),i.Vb(),i.Wb(22,"mat-form-field"),i.Rb(23,"textarea",11),i.Vb(),i.Wb(24,"mat-form-field"),i.Rb(25,"input",12),i.Vb(),i.Wb(26,"section"),i.Wb(27,"label"),i.Jc(28,"Policy"),i.Vb(),i.Wb(29,"a",13),i.Jc(30),i.Vb(),i.Vb(),i.Rb(31,"section"),i.Rb(32,"div"),i.Wb(33,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().goBack()})),i.bc(34,fL),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.sc("value",r.getDate(r.log.request_time)),i.Cb(2),i.sc("value",r.log.client_ip),i.Cb(2),i.sc("value",r.log.host),i.Cb(2),i.sc("value",r.log.method),i.Cb(2),i.sc("value",r.log.url_path),i.Cb(2),i.sc("value",r.log.url_query),i.Cb(2),i.sc("value",r.log.content_type),i.Cb(2),i.sc("value",r.log.user_agent),i.Cb(2),i.sc("value",r.log.cookies),i.Cb(2),i.sc("value",r.log.raw_request),i.Cb(2),i.sc("value",r.getPolicyActionEnumString(r.log.action)),i.Cb(4),i.uc("routerLink","/policy/",r.log.policy_id,""),i.Cb(1),i.Kc(r.log.policy_id)}}hL=$localize(_templateObject128()),fL=$localize(_templateObject129());var gL,vL,yL=((gL=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.location=a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this.route.snapshot.paramMap.get("id"),t=this;this.rpcService.getResponse("get_regex_log",(function(e){null!=e&&(t.log=e)}),e)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"goBack",value:function(){this.location.back()}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||gL)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(L))},gL.\u0275cmp=i.Jb({type:gL,selectors:[["app-log-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],[3,"routerLink"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&i.Ic(0,bL,35,13,"div",0),2&e&&i.sc("ngIf",t.log)},directives:[z,op,xp,Es,_f],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),gL),kL=["placeholder",$localize(_templateObject130())],wL=["placeholder",$localize(_templateObject131())],CL=["placeholder",$localize(_templateObject132())];function SL(e,t){if(1&e&&(i.Wb(0,"mat-option",25),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function xL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function ML(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",26),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/cclog/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function LL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Time "),i.Vb())}function OL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getDate(n.request_time)," ")}}function DL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Client IP "),i.Vb())}function TL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.client_ip," ")}}function AL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Method "),i.Vb())}function EL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.method," ")}}function PL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Host "),i.Vb())}function RL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.host," ")}}function IL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," URL Path "),i.Vb())}function jL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.url_path," ")}}function YL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," Action "),i.Vb())}function VL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(1),i.Lc(" ",r.getPolicyActionEnumString(n.action)," ")}}function WL(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," PolicyID "),i.Vb())}function FL(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.policy_id," ")}}function HL(e,t){1&e&&i.Rb(0,"mat-header-row")}function BL(e,t){1&e&&i.Rb(0,"mat-row")}vL=$localize(_templateObject133());var zL,NL,UL,qL=function(){return[10,20,50]},JL=((zL=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.messageService=i,this.request_count=20,this.displayedColumns=["id","request_time","client_ip","method","host","url_path","action"]}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)if(this.rpcService.auth_user.need_modify_pwd)this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]);else{if(0==this.rpcService.applications.length){var e=this;this.rpcService.getResponse("get_apps",(function(t){null!=t&&(e.rpcService.applications=t,t.length>0&&(e.app_id=e.rpcService.applications[0].id))}))}else this.app_id=this.rpcService.applications[0].id;this.start_date=new Date,this.start_date.setHours(0,0,0,0),this.end_date=new Date,this.end_date.setHours(23,59,59,0),this.ccLogDataSource=new KL(this.rpcService),this.rpcService.lastCCLogs.length>0&&(this.ccLogDataSource.loadLast(),this.app_id=this.rpcService.lastCCLogs.app_id,this.start_date=this.rpcService.lastCCLogs.start_date,this.end_date=this.rpcService.lastCCLogs.end_date,this.paginator.length=this.rpcService.lastCCLogs.length,this.paginator.pageIndex=this.rpcService.lastCCLogs.page_index)}else this.router.navigate(["/"])}},{key:"getCCLogsCount",value:function(e,t,n){var i={action:"get_cc_logs_count",app_id:e,start_time:t,end_time:n},r=this;this.paginator.pageIndex=0,this.rpcService.getResponseByCustomBody(i,(function(e){null!=e&&(r.paginator.length=e.count,r.ccLogDataSource.loadLogs(r.app_id,t,n,0,r.request_count),r.rpcService.lastCCLogs.length=e.count)}))}},{key:"queryCCLogs",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.getCCLogsCount(this.app_id,e,t)}},{key:"pageChanged",value:function(){var e=this.start_date.getTime()/1e3,t=this.end_date.getTime()/1e3+1;this.ccLogDataSource.loadLogs(this.app_id,e,t,this.paginator.pageIndex,this.request_count)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||zL)(i.Pb(Ec),i.Pb(As),i.Pb(Tc))},zL.\u0275cmp=i.Jb({type:zL,selectors:[["app-cclogs"]],viewQuery:function(e,t){var n;1&e&&i.Sc(nb,!0),2&e&&i.zc(n=i.kc())&&(t.paginator=n.first)},decls:51,vars:15,consts:[[1,"container"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","",3,"ngModel","matDatepicker","ngModelChange",6,"placeholder"],["matSuffix","",3,"for"],["pickerStart",""],["pickerEnd",""],["mat-stroked-button","",3,"click"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","request_time"],["matColumnDef","client_ip"],["matColumnDef","method"],["matColumnDef","host"],["matColumnDef","url_path"],["matColumnDef","action"],["matColumnDef","policy_id"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions","showFirstLastButtons","page"],["paginator",""],[3,"value"],[3,"routerLink"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-form-field"),i.Wb(3,"mat-select",1),i.dc(4,kL),i.jc("ngModelChange",(function(e){return t.app_id=e})),i.Ic(5,SL,2,2,"mat-option",2),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",3),i.dc(8,wL),i.jc("ngModelChange",(function(e){return t.start_date=e})),i.Vb(),i.Rb(9,"mat-datepicker-toggle",4),i.Rb(10,"mat-datepicker",null,5),i.Vb(),i.Wb(12,"mat-form-field"),i.Wb(13,"input",3),i.dc(14,CL),i.jc("ngModelChange",(function(e){return t.end_date=e})),i.Vb(),i.Rb(15,"mat-datepicker-toggle",4),i.Rb(16,"mat-datepicker",null,6),i.Vb(),i.Wb(18,"button",7),i.jc("click",(function(){return t.queryCCLogs()})),i.bc(19,vL),i.Vb(),i.Vb(),i.Wb(20,"div",8),i.Wb(21,"mat-table",9,10),i.Ub(23,11),i.Ic(24,xL,2,0,"mat-header-cell",12),i.Ic(25,ML,3,2,"mat-cell",13),i.Tb(),i.Ub(26,14),i.Ic(27,LL,2,0,"mat-header-cell",12),i.Ic(28,OL,2,1,"mat-cell",13),i.Tb(),i.Ub(29,15),i.Ic(30,DL,2,0,"mat-header-cell",12),i.Ic(31,TL,2,1,"mat-cell",13),i.Tb(),i.Ub(32,16),i.Ic(33,AL,2,0,"mat-header-cell",12),i.Ic(34,EL,2,1,"mat-cell",13),i.Tb(),i.Ub(35,17),i.Ic(36,PL,2,0,"mat-header-cell",12),i.Ic(37,RL,2,1,"mat-cell",13),i.Tb(),i.Ub(38,18),i.Ic(39,IL,2,0,"mat-header-cell",12),i.Ic(40,jL,2,1,"mat-cell",13),i.Tb(),i.Ub(41,19),i.Ic(42,YL,2,0,"mat-header-cell",12),i.Ic(43,VL,2,1,"mat-cell",13),i.Tb(),i.Ub(44,20),i.Ic(45,WL,2,0,"mat-header-cell",12),i.Ic(46,FL,2,1,"mat-cell",13),i.Tb(),i.Ic(47,HL,1,0,"mat-header-row",21),i.Ic(48,BL,1,0,"mat-row",22),i.Vb(),i.Wb(49,"mat-paginator",23,24),i.jc("page",(function(){return t.pageChanged()})),i.Vb(),i.Vb(),i.Vb()),2&e){var n=i.Ac(11),r=i.Ac(17);i.Cb(3),i.sc("ngModel",t.app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(2),i.sc("ngModel",t.start_date)("matDatepicker",n),i.Cb(2),i.sc("for",n),i.Cb(4),i.sc("ngModel",t.end_date)("matDatepicker",r),i.Cb(2),i.sc("for",r),i.Cb(6),i.sc("dataSource",t.ccLogDataSource),i.Cb(26),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("pageSize",20)("pageSizeOptions",i.wc(14,qL))("showFirstLastButtons",!0)}},directives:[op,k_,Vt,ai,H,xp,At,WM,HM,np,IM,_f,Rh,Fh,Vh,jh,Nh,qh,nb,ah,Bh,zh,Es,Kh,$h],styles:[""]}),zL),KL=function(){function e(t){_classCallCheck(this,e),this.rpcService=t,this.logsSubject=new fr([]),this.loadingSubject=new fr(!1),this.loading$=this.loadingSubject.asObservable()}return _createClass(e,[{key:"connect",value:function(e){return this.logsSubject.asObservable()}},{key:"disconnect",value:function(e){this.logsSubject.complete(),this.loadingSubject.complete()}},{key:"loadLogs",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4?arguments[4]:void 0;this.loadingSubject.next(!0);var a=this;this.rpcService.getResponseByCustomBody({action:"get_cc_logs",app_id:e,start_time:t,end_time:n,request_count:r,offset:i*r},(function(r){null!=r&&(a.logsSubject.next(r),a.rpcService.lastCCLogs.app_id=e,a.rpcService.lastCCLogs.start_date=new Date(1e3*t),a.rpcService.lastCCLogs.end_date=new Date(1e3*(n-1)),a.rpcService.lastCCLogs.page_index=i,a.rpcService.lastCCLogs.cc_logs=r)}))}},{key:"loadLast",value:function(){this.logsSubject.next(this.rpcService.lastCCLogs.cc_logs)}}]),e}();function GL(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"h2"),i.bc(3,NL),i.Vb(),i.Wb(4,"mat-form-field"),i.Rb(5,"input",2),i.Vb(),i.Wb(6,"mat-form-field"),i.Rb(7,"input",3),i.Vb(),i.Wb(8,"mat-form-field"),i.Rb(9,"input",4),i.Vb(),i.Wb(10,"mat-form-field"),i.Rb(11,"input",5),i.Vb(),i.Wb(12,"mat-form-field"),i.Rb(13,"input",6),i.Vb(),i.Wb(14,"mat-form-field"),i.Rb(15,"input",7),i.Vb(),i.Wb(16,"mat-form-field"),i.Rb(17,"input",8),i.Vb(),i.Wb(18,"mat-form-field"),i.Rb(19,"textarea",9),i.Vb(),i.Wb(20,"mat-form-field"),i.Rb(21,"input",10),i.Vb(),i.Wb(22,"mat-form-field"),i.Rb(23,"textarea",11),i.Vb(),i.Wb(24,"mat-form-field"),i.Rb(25,"input",12),i.Vb(),i.Rb(26,"section"),i.Rb(27,"div"),i.Wb(28,"button",13),i.jc("click",(function(){return i.Cc(n),i.nc().goBack()})),i.bc(29,UL),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.sc("value",r.getDate(r.log.request_time)),i.Cb(2),i.sc("value",r.log.client_ip),i.Cb(2),i.sc("value",r.log.host),i.Cb(2),i.sc("value",r.log.method),i.Cb(2),i.sc("value",r.log.url_path),i.Cb(2),i.sc("value",r.log.url_query),i.Cb(2),i.sc("value",r.log.content_type),i.Cb(2),i.sc("value",r.log.user_agent),i.Cb(2),i.sc("value",r.log.cookies),i.Cb(2),i.sc("value",r.log.raw_request),i.Cb(2),i.sc("value",r.getPolicyActionEnumString(r.log.action))}}NL=$localize(_templateObject134()),UL=$localize(_templateObject135());var $L,ZL=(($L=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.location=a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this.route.snapshot.paramMap.get("id"),t=this;this.rpcService.getResponse("get_cc_log",(function(e){null!=e&&(t.log=e)}),e)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"goBack",value:function(){this.location.back()}},{key:"getPolicyActionEnumString",value:function(e){return vc[e]}}]),e}()).\u0275fac=function(e){return new(e||$L)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc),i.Pb(L))},$L.\u0275cmp=i.Jb({type:$L,selectors:[["app-cclog-detail"]],inputs:{log:"log"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"container"],["matInput","","placeholder","Time","readonly","true",3,"value"],["matInput","","placeholder","IP","readonly","true",3,"value"],["matInput","","placeholder","Host","readonly","true",3,"value"],["matInput","","placeholder","Method","readonly","true",3,"value"],["matInput","","placeholder","URL Path","readonly","true",3,"value"],["matInput","","placeholder","URL Query","readonly","true",3,"value"],["matInput","","placeholder","Content Type","readonly","true",3,"value"],["matInput","","placeholder","User-Agent","rows","2","readonly","true",3,"value"],["matInput","","placeholder","Cookie","readonly","true",3,"value"],["matInput","","placeholder","Raw Request","rows","16","readonly","true",3,"value"],["matInput","","placeholder","Action","readonly","true",3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&i.Ic(0,GL,30,11,"div",0),2&e&&i.sc("ngIf",t.log)},directives:[z,op,xp,_f],styles:[".container[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace}"]}),$L);function XL(e,t){1&e&&i.qc(0)}var QL=["*"];function eO(e,t){}var tO=function(e){return{animationDuration:e}},nO=function(e,t){return{value:e,params:t}},iO=["tabBodyWrapper"],rO=["tabHeader"];function aO(e,t){}function oO(e,t){if(1&e&&i.Ic(0,aO,0,0,"ng-template",9),2&e){var n=i.nc().$implicit;i.sc("cdkPortalOutlet",n.templateLabel)}}function sO(e,t){if(1&e&&i.Jc(0),2&e){var n=i.nc().$implicit;i.Kc(n.textLabel)}}function cO(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",6),i.jc("click",(function(){i.Cc(n);var e=t.$implicit,r=t.index,a=i.nc(),o=i.Ac(1);return a._handleClick(e,o,r)})),i.Wb(1,"div",7),i.Ic(2,oO,1,1,"ng-template",8),i.Ic(3,sO,1,1,"ng-template",8),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc();i.Gb("mat-tab-label-active",o.selectedIndex==a),i.sc("id",o._getTabLabelId(a))("disabled",r.disabled)("matRippleDisabled",r.disabled||o.disableRipple),i.Db("tabIndex",o._getTabIndex(r,a))("aria-posinset",a+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(a))("aria-selected",o.selectedIndex==a)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),i.Cb(2),i.sc("ngIf",r.templateLabel),i.Cb(1),i.sc("ngIf",!r.templateLabel)}}function lO(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-tab-body",10),i.jc("_onCentered",(function(){return i.Cc(n),i.nc()._removeTabBodyWrapperHeight()}))("_onCentering",(function(e){return i.Cc(n),i.nc()._setTabBodyWrapperHeight(e)})),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc();i.Gb("mat-tab-body-active",o.selectedIndex==a),i.sc("id",o._getTabContentId(a))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",o.animationDuration),i.Db("aria-labelledby",o._getTabLabelId(a))}}var uO,dO,hO,fO,pO,mO,_O,bO,gO,vO,yO,kO,wO,CO,SO,xO,MO=["tabListContainer"],LO=["tabList"],OO=["nextPaginator"],DO=["previousPaginator"],TO=new i.r("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),AO=((hO=function(){function e(t,n,i,r){_classCallCheck(this,e),this._elementRef=t,this._ngZone=n,this._inkBarPositioner=i,this._animationMode=r}return _createClass(e,[{key:"alignToElement",value:function(e){var t=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return t._setStyles(e)}))})):this._setStyles(e)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(e){var t=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=t.left,n.style.width=t.width}}]),e}()).\u0275fac=function(e){return new(e||hO)(i.Pb(i.l),i.Pb(i.A),i.Pb(TO),i.Pb(dt,8))},hO.\u0275dir=i.Kb({type:hO,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),hO),EO=((dO=function e(t){_classCallCheck(this,e),this.template=t}).\u0275fac=function(e){return new(e||dO)(i.Pb(i.M))},dO.\u0275dir=i.Kb({type:dO,selectors:[["","matTabContent",""]]}),dO),PO=((uO=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(sm)).\u0275fac=function(e){return RO(e||uO)},uO.\u0275dir=i.Kb({type:uO,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i.zb]}),uO),RO=i.Zb(PO),IO=ld((function e(){_classCallCheck(this,e)})),jO=new i.r("MAT_TAB_GROUP"),YO=((fO=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._viewContainerRef=e,i._closestTabGroup=n,i.textLabel="",i._contentPortal=null,i._stateChanges=new dr.a,i.position=null,i.origin=null,i.isActive=!1,i}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new im(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"templateLabel",get:function(){return this._templateLabel},set:function(e){e&&(this._templateLabel=e)}},{key:"content",get:function(){return this._contentPortal}}]),t}(IO)).\u0275fac=function(e){return new(e||fO)(i.Pb(i.P),i.Pb(jO,8))},fO.\u0275cmp=i.Jb({type:fO,selectors:[["mat-tab"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,PO,!0),i.Fc(n,EO,!0,i.M)),2&e&&(i.zc(r=i.kc())&&(t.templateLabel=r.first),i.zc(r=i.kc())&&(t._explicitContent=r.first))},viewQuery:function(e,t){var n;1&e&&i.Gc(i.M,!0),2&e&&i.zc(n=i.kc())&&(t._implicitContent=n.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[i.zb,i.Ab()],ngContentSelectors:QL,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.Ic(0,XL,1,0,"ng-template"))},encapsulation:2}),fO),VO={translateTab:Object(Xe.n)("translateTab",[Object(Xe.k)("center, void, left-origin-center, right-origin-center",Object(Xe.l)({transform:"none"})),Object(Xe.k)("left",Object(Xe.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(Xe.k)("right",Object(Xe.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(Xe.m)("* => left, * => right, left => center, right => center",Object(Xe.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(Xe.m)("void => left-origin-center",[Object(Xe.l)({transform:"translate3d(-100%, 0, 0)"}),Object(Xe.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(Xe.m)("void => right-origin-center",[Object(Xe.l)({transform:"translate3d(100%, 0, 0)"}),Object(Xe.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},WO=((_O=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,r)))._host=i,a._centeringSub=la.a.EMPTY,a._leavingSub=la.a.EMPTY,a}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(t.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Qr(this._host._isCenterPosition(this._host._position))).subscribe((function(t){t&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(t.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),t}(cm)).\u0275fac=function(e){return new(e||_O)(i.Pb(i.j),i.Pb(i.P),i.Pb(Object(i.U)((function(){return HO}))),i.Pb(s))},_O.\u0275dir=i.Kb({type:_O,selectors:[["","matTabBodyHost",""]],features:[i.zb]}),_O),FO=((mO=function(){function e(t,n,r){var a=this;_classCallCheck(this,e),this._elementRef=t,this._dir=n,this._dirChangeSubscription=la.a.EMPTY,this._translateTabComplete=new dr.a,this._onCentering=new i.o,this._beforeCentering=new i.o,this._afterLeavingCenter=new i.o,this._onCentered=new i.o(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe((function(e){a._computePositionAnimationState(e),r.markForCheck()}))),this._translateTabComplete.pipe(Ip((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){a._isCenterPosition(e.toState)&&a._isCenterPosition(a._position)&&a._onCentered.emit(),a._isCenterPosition(e.fromState)&&!a._isCenterPosition(a._position)&&a._afterLeavingCenter.emit()}))}return _createClass(e,[{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}},{key:"_computePositionAnimationState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(e){var t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}},{key:"position",set:function(e){this._positionIndex=e,this._computePositionAnimationState()}}]),e}()).\u0275fac=function(e){return new(e||mO)(i.Pb(i.l),i.Pb(Jc,8),i.Pb(i.h))},mO.\u0275dir=i.Kb({type:mO,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),mO),HO=((pO=function(e){function t(e,n,i){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i))}return _inherits(t,e),t}(FO)).\u0275fac=function(e){return new(e||pO)(i.Pb(i.l),i.Pb(Jc,8),i.Pb(i.h))},pO.\u0275cmp=i.Jb({type:pO,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var n;1&e&&i.Sc(lm,!0),2&e&&i.zc(n=i.kc())&&(t._portalHost=n.first)},hostAttrs:[1,"mat-tab-body"],features:[i.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(i.Wb(0,"div",0,1),i.jc("@translateTab.start",(function(e){return t._onTranslateTabStarted(e)}))("@translateTab.done",(function(e){return t._translateTabComplete.next(e)})),i.Ic(2,eO,0,0,"ng-template",2),i.Vb()),2&e&&i.sc("@translateTab",i.yc(3,nO,t._position,i.xc(1,tO,t.animationDuration)))},directives:[WO],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[VO.translateTab]}}),pO),BO=new i.r("MAT_TABS_CONFIG"),zO=0,NO=function e(){_classCallCheck(this,e)},UO=ud(dd((function e(t){_classCallCheck(this,e),this._elementRef=t})),"primary"),qO=((gO=function(e){function t(e,n,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._changeDetectorRef=n,o._animationMode=a,o._tabs=new i.E,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=la.a.EMPTY,o._tabLabelSubscription=la.a.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new i.o,o.focusChange=new i.o,o.animationDone=new i.o,o.selectedTabChange=new i.o(!0),o._groupId=zO++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,o}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentChecked",value:function(){var e=this,t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then((function(){e._tabs.forEach((function(e,n){return e.isActive=n===t})),n||e.selectedIndexChange.emit(t)}))}this._tabs.forEach((function(n,i){n.position=i-t,null==e._selectedIndex||0!=n.position||n.origin||(n.origin=t-e._selectedIndex)})),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var e=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(e._clampTabIndex(e._indexToSelect)===e._selectedIndex)for(var t=e._tabs.toArray(),n=0;n.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),bO),KO=ld((function e(){_classCallCheck(this,e)})),GO=((vO=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this))).elementRef=e,n}return _inherits(t,e),_createClass(t,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),t}(KO)).\u0275fac=function(e){return new(e||vO)(i.Pb(i.l))},vO.\u0275dir=i.Kb({type:vO,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(i.Db("aria-disabled",!!t.disabled),i.Gb("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[i.zb]}),vO),$O=rl({passive:!0}),ZO=((CO=function(){function e(t,n,r,a,o,s,c){var l=this;_classCallCheck(this,e),this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=a,this._ngZone=o,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new dr.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new dr.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.o,this.indexFocused=new i.o,o.runOutsideAngular((function(){vf(t.nativeElement,"mouseleave").pipe(ol(l._destroyed)).subscribe((function(){l._stopInterval()}))}))}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;vf(this._previousPaginator.nativeElement,"touchstart",$O).pipe(ol(this._destroyed)).subscribe((function(){e._handlePaginatorPress("before")})),vf(this._nextPaginator.nativeElement,"touchstart",$O).pipe(ol(this._destroyed)).subscribe((function(){e._handlePaginatorPress("after")}))}},{key:"ngAfterContentInit",value:function(){var e=this,t=this._dir?this._dir.change:bi(null),n=this._viewportRuler.change(150),i=function(){e.updatePagination(),e._alignInkBarToSelectedTab()};this._keyManager=new Du(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),Object(Ah.a)(t,n,this._items.changes).pipe(ol(this._destroyed)).subscribe((function(){i(),e._keyManager.withHorizontalOrientation(e._getLayoutDirection())})),this._keyManager.change.pipe(ol(this._destroyed)).subscribe((function(t){e.indexFocused.emit(t),e._setTabFocus(t)}))}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(e){if(!iu(e))switch(e.keyCode){case 36:this._keyManager.setFirstItemActive(),e.preventDefault();break;case 35:this._keyManager.setLastItemActive(),e.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e);break;default:this._keyManager.onKeydown(e)}}},{key:"_onContentChanges",value:function(){var e=this,t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run((function(){e.updatePagination(),e._alignInkBarToSelectedTab(),e._changeDetectorRef.markForCheck()})))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"_isValidIndex",value:function(e){if(!this._items)return!0;var t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}},{key:"_setTabFocus",value:function(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();var t=this._tabListContainer.nativeElement,n=this._getLayoutDirection();t.scrollLeft="ltr"==n?0:t.scrollWidth-t.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var e=this.scrollDistance,t=this._platform,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(n),"px)"),t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"_scrollHeader",value:function(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(e){this._stopInterval(),this._scrollHeader(e)}},{key:"_scrollToLabel",value:function(e){if(!this.disablePagination){var t=this._items?this._items.toArray()[e]:null;if(t){var n,i,r=this._tabListContainer.nativeElement.offsetWidth,a=t.elementRef.nativeElement,o=a.offsetLeft,s=a.offsetWidth;"ltr"==this._getLayoutDirection()?i=(n=o)+s:n=(i=this._tabList.nativeElement.offsetWidth-o)-s;var c=this.scrollDistance,l=this.scrollDistance+r;nl&&(this.scrollDistance+=i-l+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(e,t){var n=this;t&&null!=t.button&&0!==t.button||(this._stopInterval(),dp(650,100).pipe(ol(Object(Ah.a)(this._stopScrolling,this._destroyed))).subscribe((function(){var t=n._scrollHeader(e),i=t.maxScrollDistance,r=t.distance;(0===r||r>=i)&&n._stopInterval()})))}},{key:"_scrollTo",value:function(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){e=Rc(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(e){this._scrollTo(e)}}]),e}()).\u0275fac=function(e){return new(e||CO)(i.Pb(i.l),i.Pb(i.h),i.Pb(Kp),i.Pb(Jc,8),i.Pb(i.A),i.Pb(el),i.Pb(dt,8))},CO.\u0275dir=i.Kb({type:CO,inputs:{disablePagination:"disablePagination"}}),CO),XO=((wO=function(e){function t(e,n,i,r,a,o,s){var c;return _classCallCheck(this,t),(c=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i,r,a,o,s)))._disableRipple=!1,c}return _inherits(t,e),_createClass(t,[{key:"_itemSelected",value:function(e){e.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Pc(e)}}]),t}(ZO)).\u0275fac=function(e){return new(e||wO)(i.Pb(i.l),i.Pb(i.h),i.Pb(Kp),i.Pb(Jc,8),i.Pb(i.A),i.Pb(el),i.Pb(dt,8))},wO.\u0275dir=i.Kb({type:wO,inputs:{disableRipple:"disableRipple"},features:[i.zb]}),wO),QO=((kO=function(e){function t(e,n,i,r,a,o,s){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i,r,a,o,s))}return _inherits(t,e),t}(XO)).\u0275fac=function(e){return new(e||kO)(i.Pb(i.l),i.Pb(i.h),i.Pb(Kp),i.Pb(Jc,8),i.Pb(i.A),i.Pb(el),i.Pb(dt,8))},kO.\u0275cmp=i.Jb({type:kO,selectors:[["mat-tab-header"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,GO,!1),2&e&&i.zc(r=i.kc())&&(t._items=r)},viewQuery:function(e,t){var n;1&e&&(i.Gc(AO,!0),i.Gc(MO,!0),i.Gc(LO,!0),i.Sc(OO,!0),i.Sc(DO,!0)),2&e&&(i.zc(n=i.kc())&&(t._inkBar=n.first),i.zc(n=i.kc())&&(t._tabListContainer=n.first),i.zc(n=i.kc())&&(t._tabList=n.first),i.zc(n=i.kc())&&(t._nextPaginator=n.first),i.zc(n=i.kc())&&(t._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&i.Gb("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[i.zb],ngContentSelectors:QL,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"div",0,1),i.jc("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),i.Rb(2,"div",2),i.Vb(),i.Wb(3,"div",3,4),i.jc("keydown",(function(e){return t._handleKeydown(e)})),i.Wb(5,"div",5,6),i.jc("cdkObserveContent",(function(){return t._onContentChanges()})),i.Wb(7,"div",7),i.qc(8),i.Vb(),i.Rb(9,"mat-ink-bar"),i.Vb(),i.Vb(),i.Wb(10,"div",8,9),i.jc("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),i.Rb(12,"div",2),i.Vb()),2&e&&(i.Gb("mat-tab-header-pagination-disabled",t._disableScrollBefore),i.sc("matRippleDisabled",t._disableScrollBefore||t.disableRipple),i.Cb(5),i.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.Cb(5),i.Gb("mat-tab-header-pagination-disabled",t._disableScrollAfter),i.sc("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Kd,gu,AO],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),kO),eD=((yO=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:yO}),yO.\u0275inj=i.Mb({factory:function(e){return new(e||yO)},imports:[[ae,cd,dm,Gd,vu,Qu],cd]}),yO),tD=["label",$localize(_templateObject136())];SO=$localize(_templateObject137()),xO=$localize(_templateObject138());var nD,iD=["placeholder",$localize(_templateObject139())];nD=$localize(_templateObject140());var rD,aD,oD,sD,cD,lD,uD,dD,hD,fD=["label",$localize(_templateObject141())];rD=$localize(_templateObject142()),aD=$localize(_templateObject143()),oD=$localize(_templateObject144()),sD=$localize(_templateObject145()),cD=$localize(_templateObject146()),lD=$localize(_templateObject147()),uD=$localize(_templateObject148()),dD=$localize(_templateObject149()),hD=$localize(_templateObject150());var pD,mD,_D,bD,gD=["label",$localize(_templateObject151())],vD=["placeholder",$localize(_templateObject152())],yD=["placeholder",$localize(_templateObject153())],kD=["placeholder",$localize(_templateObject154())],wD=["label",$localize(_templateObject155())];pD=$localize(_templateObject156()),mD=$localize(_templateObject157()),_D=$localize(_templateObject158()),bD=$localize(_templateObject159());var CD,SD,xD,MD,LD,OD,DD,TD=["label",$localize(_templateObject160())];CD=$localize(_templateObject161()),SD=$localize(_templateObject162()),xD=$localize(_templateObject163()),MD=$localize(_templateObject164()),LD=$localize(_templateObject165()),OD=$localize(_templateObject166()),DD=$localize(_templateObject167());var AD=["placeholder",$localize(_templateObject168())];function ED(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,AD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.display_name)("readonly",r.readOnlyValue)}}var PD=["placeholder",$localize(_templateObject169())];function RD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,PD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.callback)("readonly",r.readOnlyValue)}}function ID(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",24),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.corpid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.corpid)("readonly",r.readOnlyValue)}}function jD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",25),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.agentid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.agentid)("readonly",r.readOnlyValue)}}function YD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",26),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).wxworkConfig.corpsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.wxworkConfig.corpsecret)("readonly",r.readOnlyValue)}}var VD=["placeholder",$localize(_templateObject170())];function WD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,VD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.display_name)("readonly",r.readOnlyValue)}}var FD=["placeholder",$localize(_templateObject171())];function HD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,FD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.callback)("readonly",r.readOnlyValue)}}function BD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",27),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.appid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.appid)("readonly",r.readOnlyValue)}}function zD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",28),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).dingtalkConfig.appsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.dingtalkConfig.appsecret)("readonly",r.readOnlyValue)}}var ND=["placeholder",$localize(_templateObject172())];function UD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,ND),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.display_name)("readonly",r.readOnlyValue)}}var qD=["placeholder",$localize(_templateObject173())];function JD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,qD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.callback)("readonly",r.readOnlyValue)}}function KD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",27),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.appid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.appid)("readonly",r.readOnlyValue)}}function GD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",28),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).feishuConfig.appsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.feishuConfig.appsecret)("readonly",r.readOnlyValue)}}var $D=["placeholder",$localize(_templateObject174())];function ZD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,$D),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.display_name)("readonly",r.readOnlyValue)}}var XD=["placeholder",$localize(_templateObject175())];function QD(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,XD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.callback)("readonly",r.readOnlyValue)}}function eT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",27),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.appid=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.appid)("readonly",r.readOnlyValue)}}function tT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",28),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).larkConfig.appsecret=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.larkConfig.appsecret)("readonly",r.readOnlyValue)}}var nT,iT,rT,aT=["placeholder",$localize(_templateObject176())];function oT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,aT),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.display_name)("readonly",r.readOnlyValue)}}function sT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",29),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.entrance=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.entrance)("readonly",r.readOnlyValue)}}function cT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",30),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.address=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.address)("readonly",r.readOnlyValue)}}function lT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",31),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.dn=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.dn)("readonly",r.readOnlyValue)}}function uT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.bind_required=e})),i.bc(2,nT),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.bind_required)("disabled",r.readOnlyValue)}}function dT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",32),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.base_dn=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.base_dn)("readonly",r.readOnlyValue)}}function hT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"mat-label"),i.Jc(2,"Bind Username"),i.Vb(),i.Wb(3,"input",33),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.bind_username=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(3),i.sc("ngModel",r.ldapConfig.bind_username)("readonly",r.readOnlyValue)}}function fT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"mat-label"),i.Jc(2,"Bind Password"),i.Vb(),i.Wb(3,"input",34),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.bind_password=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(3),i.sc("ngModel",r.ldapConfig.bind_password)("readonly",r.readOnlyValue)}}function pT(e,t){1&e&&i.Rb(0,"mat-divider")}function mT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.using_tls=e})),i.bc(2,iT),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.using_tls)("disabled",r.readOnlyValue)}}function _T(e,t){if(1&e){var n=i.Yb();i.Wb(0,"section"),i.Wb(1,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).ldapConfig.authenticator_enabled=e})),i.bc(2,rT),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.ldapConfig.authenticator_enabled)("disabled",r.readOnlyValue)}}nT=$localize(_templateObject177()),iT=$localize(_templateObject178()),rT=$localize(_templateObject179());var bT=["placeholder",$localize(_templateObject180())];function gT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,bT),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).cas2Config.display_name=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.cas2Config.display_name)("readonly",r.readOnlyValue)}}function vT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",29),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).cas2Config.entrance=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.cas2Config.entrance)("readonly",r.readOnlyValue)}}var yT=["placeholder",$localize(_templateObject181())];function kT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-form-field"),i.Wb(1,"input",23),i.dc(2,yT),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc(2).cas2Config.callback=e})),i.Vb(),i.Vb()}if(2&e){var r=i.nc(2);i.Cb(1),i.sc("ngModel",r.cas2Config.callback)("readonly",r.readOnlyValue)}}function wT(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"mat-tab-group"),i.Wb(2,"mat-tab",1),i.dc(3,tD),i.Wb(4,"div",2),i.Wb(5,"section"),i.Wb(6,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.authenticator_enabled=e})),i.bc(7,SO),i.Vb(),i.Vb(),i.Wb(8,"section"),i.Wb(9,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.auth_enabled=e})),i.bc(10,xO),i.Vb(),i.Vb(),i.Rb(11,"br"),i.Wb(12,"mat-form-field"),i.Wb(13,"mat-select",4),i.dc(14,iD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.auth_provider=e}))("selectionChange",(function(){i.Cc(n);var e=i.nc();return e.loadAuthProvider(e.settings.auth_provider)})),i.Wb(15,"mat-option",5),i.Jc(16,"WxWork\uff08\u4f01\u4e1a\u5fae\u4fe1\u626b\u7801\uff09"),i.Vb(),i.Wb(17,"mat-option",6),i.Jc(18,"DingTalk\uff08\u9489\u9489\u626b\u7801\uff09"),i.Vb(),i.Wb(19,"mat-option",7),i.Jc(20,"Feishu\uff08\u98de\u4e66\u626b\u7801\uff09"),i.Vb(),i.Wb(21,"mat-option",8),i.Jc(22,"Lark\uff08Lark\u626b\u7801\uff09"),i.Vb(),i.Wb(23,"mat-option",9),i.Jc(24,"LDAP"),i.Vb(),i.Wb(25,"mat-option",10),i.Jc(26,"CAS 2.0 Protocol"),i.Vb(),i.Vb(),i.Vb(),i.Ic(27,ED,3,2,"mat-form-field",0),i.Ic(28,RD,3,2,"mat-form-field",0),i.Ic(29,ID,2,2,"mat-form-field",0),i.Ic(30,jD,2,2,"mat-form-field",0),i.Ic(31,YD,2,2,"mat-form-field",0),i.Ic(32,WD,3,2,"mat-form-field",0),i.Ic(33,HD,3,2,"mat-form-field",0),i.Ic(34,BD,2,2,"mat-form-field",0),i.Ic(35,zD,2,2,"mat-form-field",0),i.Ic(36,UD,3,2,"mat-form-field",0),i.Ic(37,JD,3,2,"mat-form-field",0),i.Ic(38,KD,2,2,"mat-form-field",0),i.Ic(39,GD,2,2,"mat-form-field",0),i.Ic(40,ZD,3,2,"mat-form-field",0),i.Ic(41,QD,3,2,"mat-form-field",0),i.Ic(42,eT,2,2,"mat-form-field",0),i.Ic(43,tT,2,2,"mat-form-field",0),i.Ic(44,oT,3,2,"mat-form-field",0),i.Ic(45,sT,2,2,"mat-form-field",0),i.Ic(46,cT,2,2,"mat-form-field",0),i.Ic(47,lT,2,2,"mat-form-field",0),i.Ic(48,uT,3,2,"section",0),i.Ic(49,dT,2,2,"mat-form-field",0),i.Ic(50,hT,4,2,"mat-form-field",0),i.Ic(51,fT,4,2,"mat-form-field",0),i.Ic(52,pT,1,0,"mat-divider",0),i.Ic(53,mT,3,2,"section",0),i.Ic(54,_T,3,2,"section",0),i.Ic(55,gT,3,2,"mat-form-field",0),i.Ic(56,vT,2,2,"mat-form-field",0),i.Ic(57,kT,3,2,"mat-form-field",0),i.Rb(58,"br"),i.Rb(59,"mat-divider"),i.Wb(60,"div",11),i.bc(61,nD),i.Vb(),i.Vb(),i.Vb(),i.Wb(62,"mat-tab",1),i.dc(63,fD),i.Wb(64,"div",2),i.Wb(65,"h2"),i.bc(66,rD),i.Vb(),i.Wb(67,"section"),i.Wb(68,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.webssh_enabled=e})),i.bc(69,aD),i.Vb(),i.Vb(),i.Vb(),i.Wb(70,"div",2),i.Wb(71,"h2"),i.bc(72,oD),i.Vb(),i.Wb(73,"section"),i.Wb(74,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.skip_se_enabled=e})),i.bc(75,sD),i.Vb(),i.Vb(),i.Rb(76,"br"),i.Wb(77,"mat-form-field"),i.Wb(78,"mat-label"),i.bc(79,cD),i.Vb(),i.Wb(80,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.search_engines=e})),i.Vb(),i.Wb(81,"mat-hint"),i.bc(82,lD),i.Vb(),i.Vb(),i.Wb(83,"h4"),i.bc(84,uD),i.Vb(),i.Wb(85,"mat-form-field"),i.Wb(86,"textarea",13,14),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.shield_html=e})),i.Jc(88," "),i.Vb(),i.Wb(89,"mat-hint",15),i.Jc(90),i.Vb(),i.Vb(),i.Wb(91,"div",11),i.bc(92,dD),i.Vb(),i.Vb(),i.Wb(93,"div",2),i.Wb(94,"h2"),i.bc(95,hD),i.Vb(),i.Wb(96,"mat-form-field"),i.Wb(97,"textarea",13,16),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.block_html=e})),i.Jc(99," "),i.Vb(),i.Wb(100,"mat-hint",15),i.Jc(101),i.Vb(),i.Vb(),i.Ub(102),i.Qb(),i.Wb(103,"div",11),i.Jc(104," Built-in variables: "),i.Wb(105,"ul"),i.Wb(106,"li"),i.Jc(107," {{ .PolicyID }} : the id of WAF policy/rule."),i.Vb(),i.Wb(108,"li"),i.Jc(109," {{ .VulnName }} : the vulnerability name. "),i.Vb(),i.Vb(),i.Vb(),i.Xb(),i.Tb(),i.Vb(),i.Vb(),i.Wb(110,"mat-tab",1),i.dc(111,gD),i.Wb(112,"div",2),i.Wb(113,"mat-form-field"),i.Wb(114,"input",17),i.dc(115,vD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.waf_log_days=e})),i.Vb(),i.Vb(),i.Wb(116,"mat-form-field"),i.Wb(117,"input",17),i.dc(118,yD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.cc_log_days=e})),i.Vb(),i.Vb(),i.Wb(119,"mat-form-field"),i.Wb(120,"input",17),i.dc(121,kD),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.access_log_days=e})),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(122,"mat-tab",1),i.dc(123,wD),i.Wb(124,"div",2),i.Wb(125,"section"),i.Wb(126,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_enabled=e})),i.bc(127,pD),i.Vb(),i.Vb(),i.Wb(128,"mat-form-field"),i.Wb(129,"mat-label"),i.Jc(130,"API"),i.Vb(),i.Wb(131,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_api=e})),i.Vb(),i.Vb(),i.Wb(132,"mat-form-field"),i.Wb(133,"mat-label"),i.Jc(134,"Tenant ID"),i.Vb(),i.Wb(135,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_tenant_id=e})),i.Vb(),i.Vb(),i.Wb(136,"mat-form-field"),i.Wb(137,"mat-label"),i.bc(138,mD),i.Vb(),i.Wb(139,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.data_discovery_key=e})),i.Vb(),i.Vb(),i.Wb(140,"section"),i.Wb(141,"a",18),i.bc(142,_D),i.Vb(),i.Vb(),i.Rb(143,"br"),i.Rb(144,"mat-divider"),i.Wb(145,"div",11),i.bc(146,bD),i.Vb(),i.Vb(),i.Vb(),i.Wb(147,"mat-tab",1),i.dc(148,TD),i.Wb(149,"div",2),i.Wb(150,"section"),i.Wb(151,"mat-checkbox",3),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_enabled=e})),i.bc(152,CD),i.Vb(),i.Vb(),i.Wb(153,"mat-form-field"),i.Wb(154,"mat-label"),i.bc(155,SD),i.Vb(),i.Wb(156,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_server=e})),i.Vb(),i.Vb(),i.Wb(157,"mat-form-field"),i.Wb(158,"mat-label"),i.bc(159,xD),i.Vb(),i.Wb(160,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_port=e})),i.Vb(),i.Vb(),i.Wb(161,"mat-form-field"),i.Wb(162,"mat-label"),i.bc(163,MD),i.Vb(),i.Wb(164,"input",12),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_account=e})),i.Vb(),i.Vb(),i.Wb(165,"mat-form-field"),i.Wb(166,"mat-label"),i.bc(167,LD),i.Vb(),i.Wb(168,"input",19),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().settings.smtp.smtp_password=e})),i.Vb(),i.Vb(),i.Wb(169,"section"),i.Wb(170,"button",20),i.jc("click",(function(){return i.Cc(n),i.nc().testSMTP()})),i.bc(171,OD),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(172,"div",2),i.Wb(173,"section"),i.Wb(174,"button",21),i.jc("click",(function(){return i.Cc(n),i.nc().saveSettings()})),i.bc(175,DD),i.Vb(),i.Wb(176,"button",22),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(177),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(87),a=i.Ac(98),o=i.nc();i.Cb(6),i.sc("ngModel",o.settings.authenticator_enabled)("disabled",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.settings.auth_enabled)("disabled",o.readOnlyValue),i.Cb(4),i.sc("ngModel",o.settings.auth_provider)("disabled",o.readOnlyValue),i.Cb(14),i.sc("ngIf","wxwork"==o.settings.auth_provider&&o.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==o.settings.auth_provider&&o.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==o.settings.auth_provider&&o.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==o.settings.auth_provider&&o.wxworkConfig),i.Cb(1),i.sc("ngIf","wxwork"==o.settings.auth_provider&&o.wxworkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==o.settings.auth_provider&&o.dingtalkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==o.settings.auth_provider&&o.dingtalkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==o.settings.auth_provider&&o.dingtalkConfig),i.Cb(1),i.sc("ngIf","dingtalk"==o.settings.auth_provider&&o.dingtalkConfig),i.Cb(1),i.sc("ngIf","feishu"==o.settings.auth_provider&&o.feishuConfig),i.Cb(1),i.sc("ngIf","feishu"==o.settings.auth_provider&&o.feishuConfig),i.Cb(1),i.sc("ngIf","feishu"==o.settings.auth_provider&&o.feishuConfig),i.Cb(1),i.sc("ngIf","feishu"==o.settings.auth_provider&&o.feishuConfig),i.Cb(1),i.sc("ngIf","lark"==o.settings.auth_provider&&o.larkConfig),i.Cb(1),i.sc("ngIf","lark"==o.settings.auth_provider&&o.larkConfig),i.Cb(1),i.sc("ngIf","lark"==o.settings.auth_provider&&o.larkConfig),i.Cb(1),i.sc("ngIf","lark"==o.settings.auth_provider&&o.larkConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig&&o.ldapConfig.bind_required),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig&&o.ldapConfig.bind_required),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig&&o.ldapConfig.bind_required),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","ldap"==o.settings.auth_provider&&o.ldapConfig),i.Cb(1),i.sc("ngIf","cas2"==o.settings.auth_provider&&o.cas2Config),i.Cb(1),i.sc("ngIf","cas2"==o.settings.auth_provider&&o.cas2Config),i.Cb(1),i.sc("ngIf","cas2"==o.settings.auth_provider&&o.cas2Config),i.Cb(11),i.sc("ngModel",o.settings.webssh_enabled)("disabled",o.readOnlyValue),i.Cb(6),i.sc("ngModel",o.settings.skip_se_enabled)("disabled",o.readOnlyValue),i.Cb(6),i.sc("ngModel",o.settings.search_engines)("readonly",o.readOnlyValue),i.Cb(6),i.sc("ngModel",o.settings.shield_html)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/4096"),i.Cb(7),i.sc("ngModel",o.settings.block_html)("readonly",o.readOnlyValue),i.Cb(4),i.Lc("",(null==a.value?null:a.value.length)||0,"/4096"),i.Cb(13),i.sc("ngModel",o.settings.waf_log_days)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.settings.cc_log_days)("readonly",o.readOnlyValue),i.Cb(3),i.sc("ngModel",o.settings.access_log_days)("readonly",o.readOnlyValue),i.Cb(6),i.sc("ngModel",o.settings.data_discovery_enabled)("disabled",o.readOnlyValue),i.Cb(5),i.sc("ngModel",o.settings.data_discovery_api)("readonly",o.readOnlyValue),i.Cb(4),i.sc("ngModel",o.settings.data_discovery_tenant_id)("readonly",o.readOnlyValue),i.Cb(4),i.sc("ngModel",o.settings.data_discovery_key)("readonly",o.readOnlyValue),i.Cb(12),i.sc("ngModel",o.settings.smtp.smtp_enabled)("disabled",o.readOnlyValue),i.Cb(5),i.sc("ngModel",o.settings.smtp.smtp_server)("readonly",o.readOnlyValue),i.Cb(4),i.sc("ngModel",o.settings.smtp.smtp_port)("readonly",o.readOnlyValue),i.Cb(4),i.sc("ngModel",o.settings.smtp.smtp_account)("readonly",o.readOnlyValue),i.Cb(4),i.sc("ngModel",o.settings.smtp.smtp_password)("readonly",o.readOnlyValue),i.Cb(6),i.sc("disabled",o.readOnlyValue),i.Cb(3),i.Kc(o.readOnlyButtonText)}}var CT,ST,xT,MT,LT,OT,DT,TT,AT,ET,PT,RT=((CT=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.readOnlyValue=!0,this.readOnlyButtonText="Edit";var i=this;this.rpcService.getResponse("get_primary_setting",(function(e){i.settings=e,i.loadAuthProvider(i.settings.auth_provider)}))}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"loadAuthProvider",value:function(e){var t=this;switch(this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("get_wxwork_config",(function(e){t.wxworkConfig=e}));break;case"dingtalk":this.rpcService.getResponse("get_dingtalk_config",(function(e){t.dingtalkConfig=e}));break;case"feishu":this.rpcService.getResponse("get_feishu_config",(function(e){t.feishuConfig=e}));break;case"lark":this.rpcService.getResponse("get_lark_config",(function(e){t.larkConfig=e}));break;case"ldap":this.rpcService.getResponse("get_ldap_config",(function(e){t.ldapConfig=e}));break;case"cas2":this.rpcService.getResponse("get_cas2_config",(function(e){t.cas2Config=e}))}}},{key:"saveSettings",value:function(){var e=this;switch(this.rpcService.getResponse("update_primary_setting",(function(t){e.settings=t,e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Settings saved.")}),null,this.settings),this.settings.auth_provider){case"wxwork":this.rpcService.getResponse("update_wxwork_config",(function(t){e.wxworkConfig=t}),"0",this.wxworkConfig);break;case"dingtalk":this.rpcService.getResponse("update_dingtalk_config",(function(t){e.dingtalkConfig=t}),"0",this.dingtalkConfig);break;case"feishu":this.rpcService.getResponse("update_feishu_config",(function(t){e.feishuConfig=t}),"0",this.feishuConfig);break;case"lark":this.rpcService.getResponse("update_lark_config",(function(t){e.larkConfig=t}),"0",this.larkConfig);break;case"ldap":this.rpcService.getResponse("update_ldap_config",(function(t){e.ldapConfig=t}),"0",this.ldapConfig);break;case"cas2":this.rpcService.getResponse("update_cas2_config",(function(t){e.cas2Config=t}),"0",this.cas2Config)}}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}},{key:"testSMTP",value:function(){var e=this;this.rpcService.getResponse("test_smtp",(function(){e.messageService.add("Email sent, please check your inbox. If not, check your information under user management.")}),"0",this.settings.smtp)}}]),e}()).\u0275fac=function(e){return new(e||CT)(i.Pb(Ec),i.Pb(Tc))},CT.\u0275cmp=i.Jb({type:CT,selectors:[["app-settings"]],decls:1,vars:1,consts:[[4,"ngIf"],[6,"label"],[1,"container"],[3,"ngModel","disabled","ngModelChange"],[3,"ngModel","disabled","ngModelChange","selectionChange",6,"placeholder"],["value","wxwork"],["value","dingtalk"],["value","feishu"],["value","lark"],["value","ldap"],["value","cas2"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matInput","","rows","30","required","",3,"ngModel","readonly","ngModelChange"],["shield_html",""],["align","end"],["block_html",""],["type","number","matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["mat-stroked-button","","routerLink","/discovery-rules"],["matInput","","type","password","required","",3,"ngModel","readonly","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["matInput","","placeholder","corpid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","agentid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","corpsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appid",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","appsecret",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","entrance",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","address",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","dn",3,"ngModel","readonly","ngModelChange"],["matInput","","placeholder","BaseDN",3,"ngModel","readonly","ngModelChange"],["matInput","",3,"ngModel","readonly","ngModelChange"],["type","password","matInput","",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&i.Ic(0,wT,178,75,"div",0),2&e&&i.sc("ngIf",t.settings)},directives:[z,JO,YO,fv,Vt,ai,op,k_,ah,Qb,Qf,xp,At,li,Xf,en,bf,Es,_f],styles:['mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{margin-left:0}']}),CT);ST=$localize(_templateObject182()),xT=$localize(_templateObject183()),MT=$localize(_templateObject184()),LT=$localize(_templateObject185()),OT=$localize(_templateObject186()),DT=$localize(_templateObject187()),TT=$localize(_templateObject188()),AT=$localize(_templateObject189()),ET=$localize(_templateObject190()),PT=$localize(_templateObject191());var IT,jT,YT=((IT=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.router=i}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=this;this.rpcService.getAuthUser((function(e){if(e.logged)return e.need_modify_pwd?(t.messageService.add("Please modify your password before next step!"),void t.router.navigate(["/appuser/"+e.user_id])):void t.rpcService.getResponse("get_license",(function(e){if(t.rpcService.license=e,null!=e&&"Trial"==e.edition){var n=t.getDate(e.expire_time);t.messageService.add("This is a trial edition, and will expire at "+n+". Limitation: max number of users: "+e.max_users_count+", max number of applications: "+e.max_apps_count+", max concurrency: "+e.max_concurrency)}}));t.router.navigate(["/login"])})),setTimeout((function(){0==e.rpcService.auth_user.logged&&e.router.navigate(["/login"])}),500)}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}}]),e}()).\u0275fac=function(e){return new(e||IT)(i.Pb(Ec),i.Pb(Tc),i.Pb(As))},IT.\u0275cmp=i.Jb({type:IT,selectors:[["app-frontpage"]],decls:51,vars:0,consts:[[1,"container"],[1,"card-content"],["mat-card-image","","src","/janusec-admin/assets/images/gateway.png",1,"card-image"],["mat-card-avatar",""],["mat-list-item","","href","https://www.janusec.com/","target","_blank"],["mat-list-item","","href","https://janusec.github.io/","target","_blank"],["mat-list-item","","href","https://doc.janusec.com/cn/","target","_blank"],["mat-list-item","","href","https://github.com/Janusec/janusec","target","_blank"],["mat-list-item","","href","https://janusec.github.io/documentation/user-agreement/","target","_blank"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"mat-card"),i.Wb(2,"h2"),i.bc(3,ST),i.Vb(),i.Vb(),i.Wb(4,"mat-card"),i.Wb(5,"mat-card-content",1),i.Rb(6,"img",2),i.Wb(7,"p"),i.bc(8,xT),i.Vb(),i.Vb(),i.Vb(),i.Wb(9,"mat-card"),i.Wb(10,"mat-card-header"),i.Wb(11,"mat-card-title"),i.bc(12,MT),i.Vb(),i.Vb(),i.Wb(13,"mat-card-content"),i.Wb(14,"mat-list"),i.Wb(15,"mat-list-item"),i.Wb(16,"mat-icon",3),i.Jc(17,"done"),i.Vb(),i.Wb(18,"span"),i.Jc(19,"HTTP, HTTPS, HTTP2, Web Socket, TCP, UDP"),i.Vb(),i.Vb(),i.Wb(20,"mat-list-item"),i.Wb(21,"mat-icon",3),i.Jc(22,"done"),i.Vb(),i.Wb(23,"span"),i.bc(24,LT),i.Vb(),i.Vb(),i.Wb(25,"mat-list-item"),i.Wb(26,"mat-icon",3),i.Jc(27,"done"),i.Vb(),i.Wb(28,"span"),i.bc(29,OT),i.Vb(),i.Vb(),i.Wb(30,"mat-list-item"),i.Wb(31,"mat-icon",3),i.Jc(32,"done"),i.Vb(),i.Wb(33,"span"),i.bc(34,DT),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(35,"mat-card"),i.Wb(36,"mat-card-header"),i.Wb(37,"mat-card-title"),i.bc(38,TT),i.Vb(),i.Vb(),i.Wb(39,"mat-card-content"),i.Wb(40,"mat-nav-list"),i.Wb(41,"a",4),i.bc(42,AT),i.Vb(),i.Wb(43,"a",5),i.Jc(44,"User Guide (English)"),i.Vb(),i.Wb(45,"a",6),i.Jc(46,"\u7528\u6237\u624b\u518c\uff08\u4e2d\u6587\uff09"),i.Vb(),i.Wb(47,"a",7),i.bc(48,ET),i.Vb(),i.Wb(49,"a",8),i.bc(50,PT),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb())},directives:[lf,af,sf,uf,of,yS,CS,Mb,cf,gS],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:7px;border-radius:0;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.card-content[_ngcontent-%COMP%]{padding-top:15px}.card-image[_ngcontent-%COMP%]{width:70%;margin-left:15%}.mat-list-item[_ngcontent-%COMP%]{font-size:14px}.mat-nav-list[_ngcontent-%COMP%]{display:-webkit-box;display:flex}']}),IT),VT=n("/POA"),WT=n("Fzww"),FT=["terminalDiv"];jT=$localize(_templateObject192());var HT,BT,zT,NT,UT=["placeholder",$localize(_templateObject193())],qT=["placeholder",$localize(_templateObject194())],JT=["placeholder",$localize(_templateObject195())],KT=["placeholder",$localize(_templateObject196())],GT=((HT=function(){function e(){_classCallCheck(this,e),this.server=new Lc("127.0.0.1","22","root","")}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"SSHConnect",value:function(){var e,t=window.location;e="https:"===t.protocol?"wss://":"ws://",e+=t.host+"/janusec-admin/webssh",this.term.reset();var n=new WebSocket(e),i=new WT.AttachAddon(n);this.term.loadAddon(i);var r=this;n.onopen=function(){n.send(JSON.stringify(r.server))}}},{key:"ngAfterViewInit",value:function(){this.term=new VT.Terminal,this.term.open(this.terminalDiv.nativeElement)}}]),e}()).\u0275fac=function(e){return new(e||HT)},HT.\u0275cmp=i.Jb({type:HT,selectors:[["app-webssh"]],viewQuery:function(e,t){var n;1&e&&i.Sc(FT,!0),2&e&&i.zc(n=i.kc())&&(t.terminalDiv=n.first)},inputs:{server:"server"},decls:23,vars:4,consts:[[1,"container"],["matInput","","required","",3,"ngModel","ngModelChange",6,"placeholder"],["matInput","","type","password","required","",3,"ngModel","ngModelChange",6,"placeholder"],["mat-stroked-button","",3,"click"],["terminalDiv",""]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"h2"),i.Wb(2,"mat-icon"),i.Jc(3,"computer"),i.Vb(),i.Wb(4,"span"),i.bc(5,jT),i.Vb(),i.Vb(),i.Wb(6,"div"),i.Wb(7,"mat-form-field"),i.Wb(8,"input",1),i.dc(9,UT),i.jc("ngModelChange",(function(e){return t.server.ip=e})),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"input",1),i.dc(12,qT),i.jc("ngModelChange",(function(e){return t.server.port=e})),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"input",1),i.dc(15,JT),i.jc("ngModelChange",(function(e){return t.server.username=e})),i.Vb(),i.Vb(),i.Wb(16,"mat-form-field"),i.Wb(17,"input",2),i.dc(18,KT),i.jc("ngModelChange",(function(e){return t.server.password=e})),i.Vb(),i.Vb(),i.Wb(19,"button",3),i.jc("click",(function(){return t.SSHConnect()})),i.Jc(20,"SSH"),i.Vb(),i.Vb(),i.Rb(21,"div",null,4),i.Vb()),2&e&&(i.Cb(8),i.sc("ngModel",t.server.ip),i.Cb(3),i.sc("ngModel",t.server.port),i.Cb(3),i.sc("ngModel",t.server.username),i.Cb(3),i.sc("ngModel",t.server.password))},directives:[Mb,op,xp,At,li,Vt,ai,_f],styles:['.xterm{font-feature-settings:"liga" 0;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}'],encapsulation:2}),HT),$T=["label",$localize(_templateObject197())],ZT=["label",$localize(_templateObject198())];BT=$localize(_templateObject199()),zT=$localize(_templateObject200()),NT=$localize(_templateObject201());var XT,QT,eA,tA,nA,iA,rA,aA,oA,sA,cA,lA,uA,dA=["label",$localize(_templateObject202())],hA=["placeholder",$localize(_templateObject203())];function fA(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"mat-list",4),i.Wb(2,"mat-list-item"),i.Wb(3,"span"),i.bc(4,QT),i.Vb(),i.Jc(5),i.Vb(),i.Wb(6,"mat-list-item"),i.Wb(7,"span"),i.bc(8,eA),i.Vb(),i.Jc(9),i.Vb(),i.Wb(10,"mat-list-item"),i.Wb(11,"span"),i.bc(12,tA),i.Vb(),i.Jc(13),i.Vb(),i.Wb(14,"mat-list-item"),i.Wb(15,"span"),i.bc(16,nA),i.Vb(),i.Jc(17),i.Vb(),i.Wb(18,"mat-list-item"),i.Wb(19,"span"),i.bc(20,iA),i.Vb(),i.Jc(21),i.Vb(),i.Wb(22,"mat-list-item"),i.Wb(23,"span"),i.bc(24,rA),i.Vb(),i.Jc(25),i.Vb(),i.Wb(26,"mat-list-item"),i.Wb(27,"span"),i.bc(28,aA),i.Vb(),i.Jc(29),i.Vb(),i.Wb(30,"mat-list-item"),i.Wb(31,"span"),i.bc(32,oA),i.Vb(),i.Jc(33),i.Vb(),i.Wb(34,"mat-list-item"),i.Wb(35,"span"),i.bc(36,sA),i.Vb(),i.Jc(37),i.Vb(),i.Wb(38,"mat-list-item"),i.Wb(39,"span"),i.bc(40,cA),i.Vb(),i.Jc(41),i.Vb(),i.Wb(42,"mat-list-item"),i.Wb(43,"span"),i.bc(44,lA),i.Vb(),i.Jc(45),i.Vb(),i.Wb(46,"button",6),i.jc("click",(function(){return i.Cc(n),i.nc().getGatewayHealth()})),i.Wb(47,"mat-icon",7),i.Jc(48,"refresh"),i.Vb(),i.Wb(49,"span"),i.bc(50,uA),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(5),i.Lc(": ",r.getDate(r.gate_health.start_time)," "),i.Cb(4),i.Lc(": ",r.getDate(r.gate_health.cur_time)," "),i.Cb(4),i.Mc(": ",r.gate_health.time_zone," ",r.gate_health.time_offset," "),i.Cb(4),i.Lc(": ",r.gate_health.version," "),i.Cb(4),i.Lc(": ",r.gate_health.concurrency," "),i.Cb(4),i.Lc(": ",r.gate_health.cpu_percent.toFixed(2),"% "),i.Cb(4),i.Nc(": ",r.gate_health.cpu_load1.toFixed(2)," ",r.gate_health.cpu_load5.toFixed(2)," ",r.gate_health.cpu_load15.toFixed(2)," "),i.Cb(4),i.Lc(": ",(r.gate_health.mem_used/1073741824).toFixed(2)," GB "),i.Cb(4),i.Lc(": ",(r.gate_health.mem_total/1073741824).toFixed(2)," GB "),i.Cb(4),i.Lc(": ",(r.gate_health.disk_used/1073741824).toFixed(2)," GB "),i.Cb(4),i.Lc(": ",(r.gate_health.disk_total/1073741824).toFixed(2)," GB ")}}function pA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",11),i.Jc(2,"error"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getAppNameByID(n.app_id),") "),i.Cb(2),i.Lc(" Offline Time: ",r.getDate(n.check_time)," ")}}function mA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",11),i.Jc(2,"error"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getVipAppNameByID(n.vip_app_id),") "),i.Cb(2),i.Lc(" Offline Time: ",r.getDate(n.check_time)," ")}}function _A(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",12),i.Jc(2,"help"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getAppNameByID(n.app_id),") "),i.Cb(2),i.Lc(" Last Access Time: ",r.getDate(n.check_time)," ")}}function bA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"mat-icon",12),i.Jc(2,"help"),i.Vb(),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc();i.Cb(4),i.Mc(" ",n.destination," (",r.getVipAppNameByID(n.vip_app_id),") "),i.Cb(2),i.Lc(" Last Access Time: ",r.getDate(n.check_time)," ")}}function gA(e,t){if(1&e&&(i.Wb(0,"mat-option",13),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function vA(e,t){1&e&&(i.Wb(0,"mat-icon",11),i.Jc(1,"error"),i.Vb())}function yA(e,t){1&e&&(i.Wb(0,"mat-icon",16),i.Jc(1,"check_circle_outline"),i.Vb())}function kA(e,t){if(1&e&&(i.Wb(0,"mat-list-item"),i.Ic(1,vA,2,0,"mat-icon",14),i.Ic(2,yA,2,0,"mat-icon",15),i.Wb(3,"h3",3),i.Jc(4),i.Vb(),i.Wb(5,"p",3),i.Jc(6),i.Vb(),i.Vb()),2&e){var n=t.$implicit,r=i.nc(2);i.Cb(1),i.sc("ngIf",0==n.online),i.Cb(1),i.sc("ngIf",1==n.online),i.Cb(2),i.Mc(" ",n.destination," (",r.selected_app.name,") "),i.Cb(2),i.Lc(" Check Time: ",r.getDate(n.check_time)," ")}}function wA(e,t){if(1&e&&(i.Wb(0,"mat-list",4),i.Ic(1,kA,7,5,"mat-list-item",5),i.Vb()),2&e){var n=i.nc();i.Cb(1),i.sc("ngForOf",n.selected_app.destinations)}}XT=$localize(_templateObject204()),QT=$localize(_templateObject205()),eA=$localize(_templateObject206()),tA=$localize(_templateObject207()),nA=$localize(_templateObject208()),iA=$localize(_templateObject209()),rA=$localize(_templateObject210()),aA=$localize(_templateObject211()),oA=$localize(_templateObject212()),sA=$localize(_templateObject213()),cA=$localize(_templateObject214()),lA=$localize(_templateObject215()),uA=$localize(_templateObject216());var CA,SA,xA,MA,LA,OA,DA,TA,AA=((CA=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[]}return _createClass(e,[{key:"ngOnInit",value:function(){0!=this.rpcService.auth_user.logged?(this.getGatewayHealth(),this.updateDestinations()):this.router.navigate(["/"])}},{key:"updateDestinations",value:function(){this.offlineDestinations=[],this.unvisitedDestinations=[],this.offlineVipTargets=[],this.unvisitedVipTargets=[];var e=this,t=(new Date).getTime();this.rpcService.getResponse("get_apps",(function(n){e.rpcService.applications=n;var i=!0,r=!1,a=void 0;try{for(var o,s=e.rpcService.applications[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;e.rpcService.appmap[c.id]=c.name}}catch(k){r=!0,a=k}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}var l=!0,u=!1,d=void 0;try{for(var h,f=e.rpcService.applications[Symbol.iterator]();!(l=(h=f.next()).done);l=!0){var p=h.value,m=!0,_=!1,b=void 0;try{for(var g,v=p.destinations[Symbol.iterator]();!(m=(g=v.next()).done);m=!0){var y=g.value;y.route_type==pc.Reverse_Proxy&&(0==y.online?e.offlineDestinations.push(y):t-1e3*y.check_time>864e5&&e.unvisitedDestinations.push(y))}}catch(k){_=!0,b=k}finally{try{m||null==v.return||v.return()}finally{if(_)throw b}}}}catch(k){u=!0,d=k}finally{try{l||null==f.return||f.return()}finally{if(u)throw d}}})),this.rpcService.getResponse("get_vip_apps",(function(n){e.rpcService.vip_apps=n;var i=!0,r=!1,a=void 0;try{for(var o,s=e.rpcService.vip_apps[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var c=o.value;e.rpcService.vip_app_map[c.id]=c.name;var l=!0,u=!1,d=void 0;try{for(var h,f=c.targets[Symbol.iterator]();!(l=(h=f.next()).done);l=!0){var p=h.value;0==p.online?e.offlineVipTargets.push(p):t-1e3*p.check_time>864e5&&e.unvisitedVipTargets.push(p)}}catch(m){u=!0,d=m}finally{try{l||null==f.return||f.return()}finally{if(u)throw d}}}}catch(m){r=!0,a=m}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}}))}},{key:"getAppNameByID",value:function(e){return this.rpcService.appmap[e]}},{key:"getVipAppNameByID",value:function(e){return this.rpcService.vip_app_map[e]}},{key:"health_check_by_app_id",value:function(){var e=!0,t=!1,n=void 0;try{for(var i,r=this.rpcService.applications[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){var a=i.value;if(a.id==this.selected_app_id)return void(this.selected_app=a)}}catch(o){t=!0,n=o}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}}},{key:"getDate",value:function(e){return this.rpcService.getDateString(e)}},{key:"getGatewayHealth",value:function(){var e=this;this.rpcService.getResponse("get_gateway_health",(function(t){e.gate_health=t}))}}]),e}()).\u0275fac=function(e){return new(e||CA)(i.Pb(Ec),i.Pb(As))},CA.\u0275cmp=i.Jb({type:CA,selectors:[["app-health-check"]],decls:40,vars:10,consts:[[1,"container"],[6,"label"],[4,"ngIf"],["matLine",""],[1,"mat-list-item-list-stacked"],[4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],["matListIcon",""],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["class","mat-list-item-list-stacked",4,"ngIf"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn"],["matListIcon","","color","accent"],[3,"value"],["matListIcon","","matTooltip","This host is offline!","matTooltipPosition","right","color","warn",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary",4,"ngIf"],["matListIcon","","matTooltip","This host is online!","matTooltipPosition","right","color","primary"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"mat-tab-group"),i.Wb(2,"mat-tab",1),i.dc(3,$T),i.Ic(4,fA,51,14,"div",2),i.Vb(),i.Wb(5,"mat-tab",1),i.dc(6,ZT),i.Wb(7,"div"),i.Wb(8,"h3",3),i.Wb(9,"span"),i.bc(10,BT),i.Vb(),i.Jc(11),i.Vb(),i.Vb(),i.Wb(12,"div"),i.Wb(13,"mat-list",4),i.Ic(14,pA,7,3,"mat-list-item",5),i.Ic(15,mA,7,3,"mat-list-item",5),i.Vb(),i.Vb(),i.Wb(16,"div"),i.Wb(17,"h3",3),i.Wb(18,"span"),i.bc(19,zT),i.Vb(),i.Jc(20),i.Vb(),i.Vb(),i.Wb(21,"div"),i.Wb(22,"mat-list",4),i.Ic(23,_A,7,3,"mat-list-item",5),i.Ic(24,bA,7,3,"mat-list-item",5),i.Vb(),i.Vb(),i.Wb(25,"button",6),i.jc("click",(function(){return t.updateDestinations()})),i.Wb(26,"mat-icon",7),i.Jc(27,"refresh"),i.Vb(),i.Wb(28,"span"),i.bc(29,NT),i.Vb(),i.Vb(),i.Vb(),i.Wb(30,"mat-tab",1),i.dc(31,dA),i.Wb(32,"mat-form-field"),i.Wb(33,"mat-select",8),i.dc(34,hA),i.jc("ngModelChange",(function(e){return t.selected_app_id=e})),i.Ic(35,gA,2,2,"mat-option",9),i.Vb(),i.Vb(),i.Wb(36,"button",6),i.jc("click",(function(){return t.health_check_by_app_id()})),i.bc(37,XT),i.Vb(),i.Wb(38,"div"),i.Ic(39,wA,2,1,"mat-list",10),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(4),i.sc("ngIf",t.gate_health),i.Cb(7),i.Lc(": ",t.offlineDestinations.length+t.offlineVipTargets.length,""),i.Cb(3),i.sc("ngForOf",t.offlineDestinations),i.Cb(1),i.sc("ngForOf",t.offlineVipTargets),i.Cb(5),i.Lc(": ",t.unvisitedDestinations.length+t.unvisitedVipTargets.length,""),i.Cb(3),i.sc("ngForOf",t.unvisitedDestinations),i.Cb(1),i.sc("ngForOf",t.unvisitedVipTargets),i.Cb(9),i.sc("ngModel",t.selected_app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(4),i.sc("ngIf",t.selected_app))},directives:[JO,YO,z,Pd,yS,H,_f,Mb,wS,op,k_,Vt,ai,CS,F_,ah],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px 0}.refresh_pointer[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#e0e0e0}"]}),CA),EA=["appPaginator"];function PA(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",18),i.jc("click",(function(){return i.Cc(n),i.nc().addVipApp()})),i.bc(1,MA),i.Vb()}}function RA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," ID "),i.Vb())}function IA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/vip/",n.id,""),i.Cb(1),i.Lc(" ",n.id," ")}}function jA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,LA),i.Vb())}function YA(e,t){1&e&&(i.Wb(0,"span",21),i.Jc(1,"TCP"),i.Vb())}function VA(e,t){1&e&&(i.Wb(0,"span",21),i.Jc(1,"UDP"),i.Vb())}function WA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Ic(1,YA,2,0,"span",20),i.Ic(2,VA,2,0,"span",20),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.sc("ngIf",n.is_tcp),i.Cb(1),i.sc("ngIf",!n.is_tcp)}}function FA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,OA),i.Vb())}function HA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/vip/",n.id,""),i.Cb(1),i.Lc(" ",n.listen_port," ")}}function BA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,DA),i.Vb())}function zA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Wb(1,"a",19),i.Jc(2),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.uc("routerLink","/vip/",n.id,""),i.Cb(1),i.Lc(" ",n.name," ")}}function NA(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,TA),i.Vb())}function UA(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.description," ")}}function qA(e,t){1&e&&i.Rb(0,"mat-header-row")}function JA(e,t){1&e&&i.Rb(0,"mat-row")}SA=$localize(_templateObject217()),xA=$localize(_templateObject218()),MA=$localize(_templateObject219()),LA=$localize(_templateObject220()),OA=$localize(_templateObject221()),DA=$localize(_templateObject222()),TA=$localize(_templateObject223());var KA,GA,$A,ZA,XA,QA,eE=function(){return[10,20,50]},tE=((KA=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.router=n,this.displayedColumns=["id","is_tcp","listen_port","name","description"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;0!=this.rpcService.auth_user.logged?(this.rpcService.getVipApps(),setTimeout((function(){e.appDataSource=new Qh(e.rpcService.vip_apps),e.appLength=e.rpcService.vip_apps.length}),500)):this.router.navigate(["/"])}},{key:"addVipApp",value:function(){this.router.navigate(["/vip/0"])}},{key:"applyFilter",value:function(e){this.appDataSource.filter=e.trim().toLowerCase()}}]),e}()).\u0275fac=function(e){return new(e||KA)(i.Pb(Ec),i.Pb(As))},KA.\u0275cmp=i.Jb({type:KA,selectors:[["app-vip-apps"]],viewQuery:function(e,t){var n;1&e&&i.Sc(EA,!0),2&e&&i.zc(n=i.kc())&&(t.appPaginator=n.first)},decls:38,vars:8,consts:[[1,"container"],["mat-stroked-button","",3,"click",4,"ngIf"],["appearance","none"],["matInput","","placeholder","Filter",1,"search_box",3,"keyup"],[1,"mat-elevation-z8",3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_tcp"],["matColumnDef","listen_port"],["matColumnDef","name"],["matColumnDef","description"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["appPaginator",""],[1,"notes"],["mat-stroked-button","",3,"click"],[3,"routerLink"],["color","primary",4,"ngIf"],["color","primary"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,SA),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"div"),i.Wb(6,"span"),i.Ic(7,PA,2,0,"button",1),i.Vb(),i.Wb(8,"span"),i.Jc(9,"\xa0\xa0\xa0\xa0"),i.Vb(),i.Wb(10,"mat-form-field",2),i.Wb(11,"input",3),i.jc("keyup",(function(e){return t.applyFilter(e.target.value)})),i.Vb(),i.Vb(),i.Vb(),i.Wb(12,"div"),i.Wb(13,"mat-table",4,5),i.Ub(15,6),i.Ic(16,RA,2,0,"mat-header-cell",7),i.Ic(17,IA,3,2,"mat-cell",8),i.Tb(),i.Ub(18,9),i.Ic(19,jA,2,0,"mat-header-cell",7),i.Ic(20,WA,3,2,"mat-cell",8),i.Tb(),i.Ub(21,10),i.Ic(22,FA,2,0,"mat-header-cell",7),i.Ic(23,HA,3,2,"mat-cell",8),i.Tb(),i.Ub(24,11),i.Ic(25,BA,2,0,"mat-header-cell",7),i.Ic(26,zA,3,2,"mat-cell",8),i.Tb(),i.Ub(27,12),i.Ic(28,NA,2,0,"mat-header-cell",7),i.Ic(29,UA,2,1,"mat-cell",8),i.Tb(),i.Ic(30,qA,1,0,"mat-header-row",13),i.Ic(31,JA,1,0,"mat-row",14),i.Vb(),i.Rb(32,"mat-paginator",15,16),i.Vb(),i.Rb(34,"br"),i.Rb(35,"mat-divider"),i.Wb(36,"div",17),i.bc(37,xA),i.Vb(),i.Vb()),2&e&&(i.Cb(7),i.sc("ngIf",t.rpcService.auth_user.is_super_admin),i.Cb(6),i.sc("dataSource",t.appDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("length",t.appLength)("pageSize",20)("pageSizeOptions",i.wc(7,eE)))},directives:[lf,z,op,xp,Rh,Fh,Vh,jh,Nh,qh,nb,Qb,_f,Bh,zh,Es,Kh,$h],styles:["mat-list-item[_ngcontent-%COMP%]{background-color:#f0f0f0;margin:3px}mat-list-item[_ngcontent-%COMP%]:hover{cursor:pointer}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}"]}),KA),nE=["input"],iE=function(){return{enterDuration:150}},rE=["*"],aE=new i.r("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),oE=0,sE={provide:Mt,useExisting:Object(i.U)((function(){return lE})),multi:!0},cE=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},lE=((GA=function(){function e(t){_classCallCheck(this,e),this._changeDetector=t,this._value=null,this._name="mat-radio-group-".concat(oE++),this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new i.o}return _createClass(e,[{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach((function(t){t.name=e.name,t._markForCheck()}))}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach((function(t){t.checked=e.value===t.value,t.checked&&(e._selected=t)})))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new cE(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach((function(e){return e._markForCheck()}))}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}},{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Pc(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Pc(e),this._markRadiosForCheck()}}]),e}()).\u0275fac=function(e){return new(e||GA)(i.Pb(i.h))},GA.\u0275dir=i.Kb({type:GA,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,dE,!0),2&e&&i.zc(r=i.kc())&&(t._radios=r)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[i.Bb([sE])]}),GA),uE=dd(hd((function e(t){_classCallCheck(this,e),this._elementRef=t}))),dE=((ZA=function(e){function t(e,n,r,a,o,s,c){var l;return _classCallCheck(this,t),(l=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,n)))._changeDetector=r,l._focusMonitor=a,l._radioDispatcher=o,l._animationMode=s,l._providerOverride=c,l._uniqueId="mat-radio-".concat(++oE),l.id=l._uniqueId,l.change=new i.o,l._checked=!1,l._value=null,l._removeUniqueSelectionListener=function(){},l.radioGroup=e,l._removeUniqueSelectionListener=o.listen((function(e,t){e!==l.id&&t===l.name&&(l.checked=!1)})),l}return _inherits(t,e),_createClass(t,[{key:"focus",value:function(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(t){!t&&e.radioGroup&&e.radioGroup._touch()}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new cE(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"_onInputChange",value:function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}},{key:"checked",get:function(){return this._checked},set:function(e){var t=Pc(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){this._setDisabled(Pc(e))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=Pc(e)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}}]),t}(uE)).\u0275fac=function(e){return new(e||ZA)(i.Pb(lE,8),i.Pb(i.l),i.Pb(i.h),i.Pb(Ju),i.Pb(Uc),i.Pb(dt,8),i.Pb(aE,8))},ZA.\u0275cmp=i.Jb({type:ZA,selectors:[["mat-radio-button"]],viewQuery:function(e,t){var n;1&e&&i.Sc(nE,!0),2&e&&i.zc(n=i.kc())&&(t._inputElement=n.first)},hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&i.jc("focus",(function(){return t._inputElement.nativeElement.focus()})),2&e&&(i.Db("tabindex",-1)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Gb("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},exportAs:["matRadioButton"],features:[i.zb],ngContentSelectors:rE,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(i.rc(),i.Wb(0,"label",0,1),i.Wb(2,"div",2),i.Rb(3,"div",3),i.Rb(4,"div",4),i.Wb(5,"div",5),i.Rb(6,"div",6),i.Vb(),i.Wb(7,"input",7,8),i.jc("change",(function(e){return t._onInputChange(e)}))("click",(function(e){return t._onInputClick(e)})),i.Vb(),i.Vb(),i.Wb(9,"div",9),i.Wb(10,"span",10),i.Jc(11,"\xa0"),i.Vb(),i.qc(12),i.Vb(),i.Vb()),2&e){var n=i.Ac(1);i.Db("for",t.inputId),i.Cb(5),i.sc("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.wc(18,iE)),i.Cb(2),i.sc("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),i.Db("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i.Cb(2),i.Gb("mat-radio-label-before","before"==t.labelPosition)}},directives:[Kd],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),ZA),hE=(($A=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:$A}),$A.\u0275inj=i.Mb({factory:function(e){return new(e||$A)},imports:[[Gd,cd],cd]}),$A);XA=$localize(_templateObject224()),QA=$localize(_templateObject225());var fE,pE,mE=["placeholder",$localize(_templateObject226())],_E=["placeholder",$localize(_templateObject227())];fE=$localize(_templateObject228()),pE=$localize(_templateObject229());var bE,gE,vE,yE,kE=["placeholder",$localize(_templateObject230())],wE=["placeholder",$localize(_templateObject231())];bE=$localize(_templateObject232()),gE=$localize(_templateObject233()),vE=$localize(_templateObject234()),yE=$localize(_templateObject235());var CE=["matTooltip",$localize(_templateObject236())];function SE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",24),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delTarget(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function xE(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",20),i.Wb(2,"mat-label"),i.bc(3,yE),i.Vb(),i.Wb(4,"input",21),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).vip_app.targets[t].destination=e})),i.Vb(),i.Wb(5,"mat-icon",22),i.dc(6,CE),i.jc("click",(function(){return i.Cc(n),i.nc(3).addTarget()})),i.Jc(7,"add_circle_outline"),i.Vb(),i.Ic(8,SE,2,0,"mat-icon",23),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.vip_app.targets[r].destination)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.vip_app.targets.length>1)}}var ME=["matTooltip",$localize(_templateObject237())];function LE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",24),i.jc("click",(function(){i.Cc(n);var e=i.nc(2).index;return i.nc(2).delTarget(e)})),i.Jc(1,"remove_circle_outline"),i.Vb()}}function OE(e,t){if(1&e){var n=i.Yb();i.Ub(0),i.Wb(1,"mat-form-field",25),i.Wb(2,"mat-label"),i.Jc(3,"K8S Pods API"),i.Vb(),i.Wb(4,"input",26),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).vip_app.targets[t].pods_api=e})),i.Vb(),i.Vb(),i.Wb(5,"mat-form-field",17),i.Wb(6,"mat-label"),i.Jc(7,"K8S Pod Port"),i.Vb(),i.Wb(8,"input",27),i.jc("ngModelChange",(function(e){i.Cc(n);var t=i.nc().index;return i.nc(2).vip_app.targets[t].pod_port=e})),i.Vb(),i.Wb(9,"mat-icon",22),i.dc(10,ME),i.jc("click",(function(){return i.Cc(n),i.nc(3).addTarget()})),i.Jc(11,"add_circle_outline"),i.Vb(),i.Ic(12,LE,2,0,"mat-icon",23),i.Vb(),i.Tb()}if(2&e){var r=i.nc().index,a=i.nc(2);i.Cb(4),i.sc("ngModel",a.vip_app.targets[r].pods_api)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngModel",a.vip_app.targets[r].pod_port)("readonly",a.readOnlyValue),i.Cb(4),i.sc("ngIf",a.vip_app.targets.length>1)}}function DE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",16),i.Wb(1,"mat-form-field",17),i.Wb(2,"mat-label"),i.bc(3,vE),i.Vb(),i.Wb(4,"mat-select",18),i.jc("ngModelChange",(function(e){i.Cc(n);var r=t.index;return i.nc(2).vip_app.targets[r].route_type=e})),i.Wb(5,"mat-option",9),i.Jc(6," Reverse Proxy "),i.Vb(),i.Wb(7,"mat-option",9),i.Jc(8," K8S Ingress "),i.Vb(),i.Vb(),i.Vb(),i.Ic(9,xE,9,3,"ng-container",19),i.Ic(10,OE,13,5,"ng-container",19),i.Vb()}if(2&e){var r=t.$implicit,a=t.index,o=i.nc(2);i.Cb(4),i.sc("ngModel",o.vip_app.targets[a].route_type)("disabled",o.readOnlyValue),i.Cb(1),i.sc("value",o.reverseProxyMode),i.Cb(2),i.sc("value",o.k8sMode),i.Cb(2),i.sc("ngIf",r.route_type==o.reverseProxyMode),i.Cb(1),i.sc("ngIf",r.route_type==o.k8sMode)}}function TE(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",1),i.Wb(1,"div"),i.Wb(2,"h2"),i.bc(3,XA),i.Vb(),i.Wb(4,"div",2),i.bc(5,QA),i.Vb(),i.Vb(),i.Wb(6,"div"),i.Wb(7,"mat-form-field"),i.Wb(8,"input",3,4),i.dc(10,mE),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.name=e})),i.Vb(),i.Wb(11,"mat-hint",5),i.Jc(12),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"input",6,7),i.dc(16,_E),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.listen_port=e})),i.Vb(),i.Wb(17,"mat-hint",5),i.Jc(18),i.Vb(),i.Vb(),i.Wb(19,"mat-radio-group",8),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.is_tcp=e})),i.Wb(20,"mat-radio-button",9),i.Jc(21,"TCP"),i.Vb(),i.Wb(22,"mat-radio-button",9),i.Jc(23,"UDP"),i.Vb(),i.Vb(),i.Wb(24,"div",2),i.bc(25,fE),i.Vb(),i.Wb(26,"mat-expansion-panel",10),i.Wb(27,"mat-expansion-panel-header"),i.Wb(28,"mat-panel-title"),i.Wb(29,"h3"),i.bc(30,pE),i.Vb(),i.Vb(),i.Vb(),i.Ic(31,DE,11,6,"div",11),i.Vb(),i.Wb(32,"mat-form-field"),i.Wb(33,"input",12),i.dc(34,kE),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.owner=e})),i.Vb(),i.Vb(),i.Wb(35,"mat-form-field"),i.Wb(36,"input",12,13),i.dc(38,wE),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().vip_app.description=e})),i.Vb(),i.Wb(39,"mat-hint",5),i.Jc(40),i.Vb(),i.Vb(),i.Wb(41,"div"),i.Wb(42,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().updateVipApp()})),i.bc(43,bE),i.Vb(),i.Wb(44,"button",15),i.jc("click",(function(){return i.Cc(n),i.nc().changeEditable()})),i.Jc(45),i.Vb(),i.Wb(46,"button",14),i.jc("click",(function(){return i.Cc(n),i.nc().deleteVipApp()})),i.bc(47,gE),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.Ac(9),a=i.Ac(15),o=i.Ac(37),s=i.nc();i.Cb(8),i.sc("ngModel",s.vip_app.name)("readonly",s.readOnlyValue),i.Cb(4),i.Lc("",(null==r.value?null:r.value.length)||0,"/128"),i.Cb(2),i.sc("ngModel",s.vip_app.listen_port)("readonly",s.readOnlyValue),i.Cb(4),i.Lc("",(null==a.value?null:a.value.length)||0,"/5"),i.Cb(1),i.sc("ngModel",s.vip_app.is_tcp)("disabled",s.readOnlyValue),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1),i.Cb(4),i.sc("expanded",!0),i.Cb(5),i.sc("ngForOf",s.vip_app.targets)("ngForTrackBy",s.trackByFn),i.Cb(2),i.sc("ngModel",s.vip_app.owner)("readonly",s.readOnlyValue),i.Cb(3),i.sc("ngModel",s.vip_app.description)("readonly",s.readOnlyValue),i.Cb(4),i.Lc("",(null==o.value?null:o.value.length)||0,"/256"),i.Cb(2),i.sc("disabled",s.readOnlyValue),i.Cb(3),i.Kc(s.readOnlyButtonText),i.Cb(1),i.sc("disabled",s.readOnlyValue)}}var AE,EE,PE,RE,IE=((AE=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r,this.reverseProxyMode=pc.Reverse_Proxy,this.k8sMode=pc.K8S_Ingress,this.readOnlyValue=!0,this.readOnlyButtonText="Edit"}return _createClass(e,[{key:"ngOnInit",value:function(){this.getVipApp()}},{key:"getVipApp",value:function(){var e=this.route.snapshot.paramMap.get("id");if("0"!=e){var t=this;this.rpcService.getResponse("get_vip_app",(function(e){null!=e&&(t.vip_app=e)}),e)}else this.readOnlyValue=!1,this.vip_app=new uc,this.vip_app.id="0",this.vip_app.name="XXX",this.vip_app.listen_port=8001,this.vip_app.is_tcp=!0,this.vip_app.targets=[],this.vip_app.owner=this.rpcService.auth_user.username,this.vip_app.description="Used for YYY",this.addTarget()}},{key:"addTarget",value:function(){if(!this.readOnlyValue){var e=new dc;e.id="0",e.vip_app_id=this.vip_app.id,e.route_type=pc.Reverse_Proxy,e.destination="127.0.0.1:4001",e.pods_api="http://127.0.0.1:8080/api/v1/namespaces/default/pods",e.pod_port="80",this.vip_app.targets.push(e)}}},{key:"delTarget",value:function(e){this.readOnlyValue||(1!=this.vip_app.targets.length?this.vip_app.targets.splice(e,1):alert("At least one item is required!"))}},{key:"updateVipApp",value:function(){var e=this;this.rpcService.getResponse("update_vip_app",(function(t){if(null!=t){var n=t.id;e.vip_app.id==n?e.vip_app=t:(e.vip_app.id=n,e.router.navigate(["/vip/"+n])),e.readOnlyValue=!0,e.readOnlyButtonText="Edit",e.messageService.add("Port forwarding "+t.name+" saved.")}else e.messageService.add("Update failed.")}),null,e.vip_app)}},{key:"deleteVipApp",value:function(){if(confirm("Are you sure to delete application: "+this.vip_app.name+"?")){var e=this;this.rpcService.getResponse("del_vip_app",(function(){e.messageService.add(e.vip_app.name+" deleted."),e.router.navigate(["/forwarding"])}),this.vip_app.id,null)}}},{key:"changeEditable",value:function(){this.readOnlyValue=!this.readOnlyValue,this.readOnlyButtonText=this.readOnlyValue?"Edit":"Cancel"}}]),e}()).\u0275fac=function(e){return new(e||AE)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},AE.\u0275cmp=i.Jb({type:AE,selectors:[["app-vip-app"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"notes"],["matInput","","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["app_name",""],["align","end"],["matInput","","type","number","required","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["listen_port",""],["aria-label","Protocol",3,"ngModel","disabled","ngModelChange"],[3,"value"],[1,"detail_panel",3,"expanded"],["class","inline-form",4,"ngFor","ngForOf","ngForTrackBy"],["matInput","",3,"ngModel","readonly","ngModelChange",6,"placeholder"],["description",""],["mat-stroked-button","",3,"disabled","click"],["mat-stroked-button","",3,"click"],[1,"inline-form"],[1,"inline-form-field-20"],["required","",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],[1,"inline-form-field-80"],["matInput","","required","",3,"ngModel","readonly","ngModelChange"],["matSuffix","","matTooltipPosition","left",1,"clickable_btn",3,"click",6,"matTooltip"],["matSuffix","","class","clickable_btn",3,"click",4,"ngIf"],["matSuffix","",1,"clickable_btn",3,"click"],[1,"inline-form-field-60"],["matInput","","matTooltipPosition","below","matTooltip","Example: http://127.0.0.1:8080/api/v1/namespaces/default/pods",3,"ngModel","readonly","ngModelChange"],["matInput","","matTooltipPosition","below","matTooltip","Example: 80",3,"ngModel","readonly","ngModelChange"]],template:function(e,t){1&e&&i.Ic(0,TE,48,21,"div",0),2&e&&i.sc("ngIf",t.vip_app)},directives:[z,op,xp,At,li,Vt,ai,Xf,en,lE,dE,Xg,Qg,ev,H,_f,Qf,k_,ah,Mb,np,F_],styles:['.required[_ngcontent-%COMP%]{color:red}mat-form-field[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:3px;background-color:#f5f5f5;font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei;width:100%}mat-radio-group[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}mat-radio-button[_ngcontent-%COMP%]{margin-right:30px}.detail_panel[_ngcontent-%COMP%]{margin-top:20px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;margin-top:5px}.inline-form-field-20[_ngcontent-%COMP%]{width:20%;margin-right:5px}.inline-form-field-60[_ngcontent-%COMP%]{width:55%;margin-right:5px}.inline-form-field-80[_ngcontent-%COMP%]{width:75%;margin-right:5px}']}),AE);function jE(e,t){if(1&e&&(i.Wb(0,"tr"),i.Wb(1,"td"),i.Wb(2,"a",7),i.Jc(3),i.Vb(),i.Vb(),i.Wb(4,"td",8),i.Jc(5),i.Vb(),i.Wb(6,"td",8),i.Jc(7),i.Vb(),i.Vb()),2&e){var n=t.$implicit;i.Cb(2),i.tc("href",n.url,i.Dc),i.Cb(1),i.Lc(" ",n.url," "),i.Cb(2),i.Lc(" ",n.PV," "),i.Cb(2),i.Lc(" ",n.UV," ")}}EE=$localize(_templateObject238()),PE=$localize(_templateObject239()),RE=$localize(_templateObject240());var YE,VE,WE,FE,HE,BE,zE,NE,UE=((YE=function(){function e(t,n,i,r){_classCallCheck(this,e),this.route=t,this.rpcService=n,this.router=i,this.messageService=r}return _createClass(e,[{key:"ngOnInit",value:function(){this.app_id=this.route.snapshot.paramMap.get("app_id"),this.host=this.route.snapshot.paramMap.get("host"),this.getRefererURLs(this.app_id,this.host)}},{key:"getRefererURLs",value:function(e,t){var n=this;this.rpcService.getResponseByCustomBody({action:"get_referer_urls",app_id:e,host:t},(function(e){n.referer_urls=e}))}},{key:"getAppNameByID",value:function(e){return"0"==e?"All":this.rpcService.appmap[e]}}]),e}()).\u0275fac=function(e){return new(e||YE)(i.Pb(wo),i.Pb(Ec),i.Pb(As),i.Pb(Tc))},YE.\u0275cmp=i.Jb({type:YE,selectors:[["app-referer"]],decls:23,vars:3,consts:[[1,"container"],["fxLayout","row wrap"],["fxFlex","100%",1,"access_div"],[1,"referer_table"],["width","60%"],["width","20%"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"td-align-center"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"div"),i.Wb(4,"span"),i.bc(5,EE),i.Vb(),i.Jc(6),i.Vb(),i.Wb(7,"div"),i.Wb(8,"span"),i.bc(9,PE),i.Vb(),i.Jc(10),i.Vb(),i.Vb(),i.Vb(),i.Rb(11,"br"),i.Wb(12,"div",1),i.Wb(13,"div",2),i.Wb(14,"table",3),i.Wb(15,"tr"),i.Wb(16,"th",4),i.bc(17,RE),i.Vb(),i.Wb(18,"th",5),i.Jc(19,"PV (14 days)"),i.Vb(),i.Wb(20,"th",5),i.Jc(21,"UV (14 days)"),i.Vb(),i.Vb(),i.Ic(22,jE,8,4,"tr",6),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(6),i.Lc(": ",t.host," "),i.Cb(4),i.Lc(": ",t.getAppNameByID(t.app_id)," "),i.Cb(12),i.sc("ngForOf",t.referer_urls))},directives:[lf,mk,Lk,H],styles:['.referer_table[_ngcontent-%COMP%]{width:100%;border:1px solid #d5d5d5;background-color:#e5e5e5;word-break:break-all;word-wrap:break-all;border-collapse:collapse}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#ddd}.referer_table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#d5d5d5;border:1px solid #f5f5f5;padding:8px}.referer_table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.referer_table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #f5f5f5;padding:8px}.td-align-center[_ngcontent-%COMP%]{text-align:center}div[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}']}),YE),qE=n("0FX9"),JE=["qrcElement"],KE=((WE=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.renderer=t,this.platformId=n,this.colordark="",this.colorlight="",this.level="",this.hidetitle=!1,this.size=0,this.usesvg=!1,this.allowEmptyString=!1,this.qrdata="",this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.scale=4,this.width=10,this.qrcode=null,this.isValidQrCodeText=function(e){return!1===i.allowEmptyString?!(void 0===e||""===e||"null"===e||null===e):!(void 0===e)},""!==this.colordark&&console.warn("[angularx-qrcode] colordark is deprecated, use colorDark."),""!==this.colorlight&&console.warn("[angularx-qrcode] colorlight is deprecated, use colorLight."),""!==this.level&&console.warn("[angularx-qrcode] level is deprecated, use errorCorrectionLevel."),!1!==this.hidetitle&&console.warn("[angularx-qrcode] hidetitle is deprecated."),0!==this.size&&console.warn("[angularx-qrcode] size is deprecated, use `width`. Defaults to 10."),!1!==this.usesvg&&console.warn("[angularx-qrcode] usesvg is deprecated, use [elementType]=\"'img'\".")}return _createClass(e,[{key:"ngAfterViewInit",value:function(){se(this.platformId)||this.createQRCode()}},{key:"ngOnChanges",value:function(){this.createQRCode()}},{key:"toDataURL",value:function(){var e=this;return new Promise((function(t,n){Object(qE.toDataURL)(e.qrdata,{color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,version:e.version,width:e.width},(function(e,i){e?n(e):t(i)}))}))}},{key:"toCanvas",value:function(e){var t=this;return new Promise((function(n,i){Object(qE.toCanvas)(e,t.qrdata,{color:{dark:t.colorDark,light:t.colorLight},errorCorrectionLevel:t.errorCorrectionLevel,margin:t.margin,scale:t.scale,version:t.version,width:t.width},(function(e){e?i(e):n("success")}))}))}},{key:"toSVG",value:function(){var e=this;return new Promise((function(t,n){Object(qE.toString)(e.qrdata,{color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,type:"svg",version:e.version,width:e.width},(function(e,i){e?n(e):t(i)}))}))}},{key:"renderElement",value:function(e){var t=!0,n=!1,i=void 0;try{for(var r,a=this.qrcElement.nativeElement.childNodes[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var o=r.value;this.renderer.removeChild(this.qrcElement.nativeElement,o)}}catch(s){n=!0,i=s}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}this.renderer.appendChild(this.qrcElement.nativeElement,e)}},{key:"createQRCode",value:function(){var e=this;this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):void 0!==this.version&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto"),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty");var t;switch(this.elementType){case"canvas":t=this.renderer.createElement("canvas"),this.toCanvas(t).then((function(){e.renderElement(t)})).catch((function(e){console.error("[angularx-qrcode] canvas error: ",e)}));break;case"svg":t=this.renderer.createElement("svg","svg"),this.toSVG().then((function(n){t.innerHTML=n,e.renderer.setAttribute(t,"height","".concat(e.width)),e.renderer.setAttribute(t,"width","".concat(e.width)),e.renderElement(t)})).catch((function(e){console.error("[angularx-qrcode] svg error: ",e)}));break;case"url":case"img":default:t=this.renderer.createElement("img"),this.toDataURL().then((function(n){t.setAttribute("src",n),e.renderElement(t)})).catch((function(e){console.error("[angularx-qrcode] img/url error: ",e)}))}}catch(n){console.error("[angularx-qrcode] Error generating QR Code: ",n.message)}}}]),e}()).\u0275fac=function(e){return new(e||WE)(i.Pb(i.F),i.Pb(i.C))},WE.\u0275cmp=i.Jb({type:WE,selectors:[["qrcode"]],viewQuery:function(e,t){var n;1&e&&i.Gc(JE,!0),2&e&&i.zc(n=i.kc())&&(t.qrcElement=n.first)},inputs:{colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",size:"size",usesvg:"usesvg",allowEmptyString:"allowEmptyString",qrdata:"qrdata",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",margin:"margin",scale:"scale",width:"width",version:"version"},features:[i.Ab()],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,t){1&e&&i.Rb(0,"div",null,0),2&e&&i.Eb(t.cssClass)},encapsulation:2,changeDetection:0}),WE),GE=((VE=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:VE}),VE.\u0275inj=i.Mb({factory:function(e){return new(e||VE)},providers:[]}),VE);FE=$localize(_templateObject241()),HE=$localize(_templateObject242()),BE=$localize(_templateObject243()),zE=$localize(_templateObject244()),NE=$localize(_templateObject245());var $E,ZE,XE=(($E=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.messageService=n,this.router=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.qrData="otpauth://totp/"+this.rpcService.auth_user.username+"?secret="+this.rpcService.auth_user.totp_key+"&issuer=JANUSEC"}},{key:"verify",value:function(){var e=this;this.rpcService.getResponseByCustomBody({action:"verify_totp",uid:this.rpcService.auth_user.username,code:this.code},(function(){e.messageService.add("verify ok, please login"),e.router.navigate(["/login"])}))}}]),e}()).\u0275fac=function(e){return new(e||$E)(i.Pb(Ec),i.Pb(Tc),i.Pb(As))},$E.\u0275cmp=i.Jb({type:$E,selectors:[["app-authcode-register"]],decls:18,vars:5,consts:[[1,"container"],[1,"notes"],[3,"qrdata","width","errorCorrectionLevel"],["matInput","","required","",3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"h1"),i.bc(2,FE),i.Vb(),i.Wb(3,"div",1),i.bc(4,HE),i.Vb(),i.Rb(5,"qrcode",2),i.Wb(6,"div"),i.Wb(7,"span"),i.bc(8,BE),i.Vb(),i.Jc(9),i.Vb(),i.Rb(10,"br"),i.Wb(11,"mat-form-field"),i.Wb(12,"mat-label"),i.bc(13,zE),i.Vb(),i.Wb(14,"input",3),i.jc("ngModelChange",(function(e){return t.code=e})),i.Vb(),i.Vb(),i.Wb(15,"section"),i.Wb(16,"button",4),i.jc("click",(function(){return t.verify()})),i.bc(17,NE),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(5),i.sc("qrdata",t.qrData)("width",256)("errorCorrectionLevel","M"),i.Cb(4),i.Lc(" ",t.rpcService.auth_user.totp_key," "),i.Cb(5),i.sc("ngModel",t.code))},directives:[KE,op,Qf,xp,At,li,Vt,ai,_f],styles:[""]}),$E),QE=["label",$localize(_templateObject246())];ZE=$localize(_templateObject247());var eP,tP,nP,iP,rP,aP,oP=["placeholder",$localize(_templateObject248())],sP=["placeholder",$localize(_templateObject249())],cP=["placeholder",$localize(_templateObject250())],lP=["placeholder",$localize(_templateObject251())];eP=$localize(_templateObject252()),tP=$localize(_templateObject253()),nP=$localize(_templateObject254()),iP=$localize(_templateObject255()),rP=$localize(_templateObject256()),aP=$localize(_templateObject257());var uP,dP=["label",$localize(_templateObject258())];uP=$localize(_templateObject259());var hP,fP=["placeholder",$localize(_templateObject260())];function pP(e,t){if(1&e&&(i.Wb(0,"mat-option",11),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}function mP(e,t){if(1&e&&(i.Wb(0,"mat-option",11),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.id),i.Cb(1),i.Lc(" ",n.name," ")}}function _P(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"button",12),i.jc("click",(function(){i.Cc(n);var e=i.nc();return e.newCCPolicy(e.selected_app_id)})),i.bc(2,hP),i.Vb(),i.Vb()}}hP=$localize(_templateObject261());var bP,gP,vP,yP,kP,wP,CP=["placeholder",$localize(_templateObject262())],SP=["placeholder",$localize(_templateObject263())],xP=["placeholder",$localize(_templateObject264())],MP=["placeholder",$localize(_templateObject265())];function LP(e,t){if(1&e&&(i.Wb(0,"mat-option",11),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.sc("value",n.value),i.Cb(1),i.Lc(" ",n.name," ")}}function OP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"h3"),i.Jc(2),i.Vb(),i.Wb(3,"mat-form-field"),i.Wb(4,"input",2),i.dc(5,CP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.interval_milliseconds=e})),i.Vb(),i.Vb(),i.Wb(6,"mat-form-field"),i.Wb(7,"input",2),i.dc(8,SP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.max_count=e})),i.Vb(),i.Vb(),i.Wb(9,"mat-form-field"),i.Wb(10,"input",2),i.dc(11,xP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.block_seconds=e})),i.Vb(),i.Vb(),i.Wb(12,"mat-form-field"),i.Wb(13,"mat-select",3),i.dc(14,MP),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.action=e})),i.Ic(15,LP,2,2,"mat-option",4),i.Vb(),i.Vb(),i.Wb(16,"section"),i.Wb(17,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.stat_by_url=e})),i.bc(18,bP),i.Vb(),i.Vb(),i.Wb(19,"section"),i.Wb(20,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.stat_by_ua=e})),i.bc(21,gP),i.Vb(),i.Vb(),i.Wb(22,"section"),i.Wb(23,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.stat_by_cookie=e})),i.bc(24,vP),i.Vb(),i.Vb(),i.Wb(25,"section"),i.Wb(26,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return i.Cc(n),i.nc().app_cc_policy.is_enabled=e})),i.bc(27,yP),i.Vb(),i.Vb(),i.Wb(28,"div"),i.Wb(29,"button",6),i.jc("click",(function(){i.Cc(n);var e=i.nc();return e.updateCCPolicy(e.selected_app_id)})),i.bc(30,kP),i.Vb(),i.Wb(31,"button",12),i.jc("click",(function(){i.Cc(n);var e=i.nc();return e.deleteCCPolicy(e.selected_app_id)})),i.bc(32,wP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(2),i.Lc("",r.application.name," CC Policy"),i.Cb(2),i.sc("ngModel",r.app_cc_policy.interval_milliseconds),i.Cb(3),i.sc("ngModel",r.app_cc_policy.max_count),i.Cb(3),i.sc("ngModel",r.app_cc_policy.block_seconds),i.Cb(3),i.sc("ngModel",r.app_cc_policy.action),i.Cb(2),i.sc("ngForOf",r.enum_action_values),i.Cb(2),i.sc("ngModel",r.app_cc_policy.stat_by_url),i.Cb(3),i.sc("ngModel",r.app_cc_policy.stat_by_ua),i.Cb(3),i.sc("ngModel",r.app_cc_policy.stat_by_cookie),i.Cb(3),i.sc("ngModel",r.app_cc_policy.is_enabled)}}bP=$localize(_templateObject266()),gP=$localize(_templateObject267()),vP=$localize(_templateObject268()),yP=$localize(_templateObject269()),kP=$localize(_templateObject270()),wP=$localize(_templateObject271());var DP,TP,AP,EP,PP,RP,IP,jP,YP,VP,WP,FP,HP,BP,zP=((DP=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.has_custom_cc_policy=!1,this.is_new_policy=!1,this.enum_action_values=[],this.global_cc_policy=new bc,this.app_cc_policy=new bc,this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getCCPolicy("0"))}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e});else this.router.navigate(["/"])}},{key:"getCCPolicy",value:function(e){var t=this;this.rpcService.getResponse("get_cc_policy",(function(n){null!=n&&("0"==e?t.global_cc_policy=n:(t.app_cc_policy=n,t.has_custom_cc_policy="0"!=t.app_cc_policy.app_id||!!t.is_new_policy),t.is_new_policy=!1)}),e)}},{key:"newCCPolicy",value:function(e){this.is_new_policy=!0,this.has_custom_cc_policy=!0,this.app_cc_policy.app_id=e}},{key:"updateCCPolicy",value:function(e){var t;"0"==e?t=this.global_cc_policy:(t=this.app_cc_policy).app_id!=e&&(t.app_id=e);var n=this;this.rpcService.getResponse("update_cc_policy",(function(){n.messageService.add("CC policy updated!")}),e,t)}},{key:"deleteCCPolicy",value:function(e){if("0"!=e){this.has_custom_cc_policy=!1;var t=this;this.rpcService.getResponse("del_cc_policy",(function(){t.messageService.add("CC policy deleted!")}),e,null)}}},{key:"onSelectApp",value:function(){var e=this;this.rpcService.getResponse("get_app",(function(t){null!=t&&(e.application=t)}),this.selected_app_id),this.getCCPolicy(this.selected_app_id),this.is_new_policy=!1}},{key:"getVulnNameByID",value:function(e){return this.rpcService.vulntypemap[e]}}]),e}()).\u0275fac=function(e){return new(e||DP)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},DP.\u0275cmp=i.Jb({type:DP,selectors:[["app-cc"]],decls:48,vars:13,consts:[[1,"container"],[6,"label"],["matInput","","type","number","required","",3,"ngModel","ngModelChange",6,"placeholder"],[3,"ngModel","ngModelChange",6,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["mat-button","","mat-stroked-button","",3,"click"],[1,"notes"],[1,"fullrow"],[3,"ngModel","ngModelChange","selectionChange",6,"placeholder"],[4,"ngIf"],[3,"value"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"mat-tab-group"),i.Wb(2,"mat-tab",1),i.dc(3,QE),i.Wb(4,"div"),i.Wb(5,"h2"),i.bc(6,ZE),i.Vb(),i.Wb(7,"mat-form-field"),i.Wb(8,"input",2),i.dc(9,oP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.interval_milliseconds=e})),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"input",2),i.dc(12,sP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.max_count=e})),i.Vb(),i.Vb(),i.Wb(13,"mat-form-field"),i.Wb(14,"input",2),i.dc(15,cP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.block_seconds=e})),i.Vb(),i.Vb(),i.Wb(16,"mat-form-field"),i.Wb(17,"mat-select",3),i.dc(18,lP),i.jc("ngModelChange",(function(e){return t.global_cc_policy.action=e})),i.Ic(19,pP,2,2,"mat-option",4),i.Vb(),i.Vb(),i.Wb(20,"section"),i.Wb(21,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_url=e})),i.bc(22,eP),i.Vb(),i.Vb(),i.Wb(23,"section"),i.Wb(24,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_ua=e})),i.bc(25,tP),i.Vb(),i.Vb(),i.Wb(26,"section"),i.Wb(27,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.stat_by_cookie=e})),i.bc(28,nP),i.Vb(),i.Vb(),i.Wb(29,"section"),i.Wb(30,"mat-checkbox",5),i.jc("ngModelChange",(function(e){return t.global_cc_policy.is_enabled=e})),i.bc(31,iP),i.Vb(),i.Vb(),i.Wb(32,"button",6),i.jc("click",(function(){return t.updateCCPolicy("0")})),i.bc(33,rP),i.Vb(),i.Rb(34,"hr"),i.Wb(35,"div",7),i.bc(36,aP),i.Vb(),i.Vb(),i.Vb(),i.Wb(37,"mat-tab",1),i.dc(38,dP),i.Wb(39,"div"),i.Wb(40,"h2"),i.bc(41,uP),i.Vb(),i.Wb(42,"mat-form-field",8),i.Wb(43,"mat-select",9),i.dc(44,fP),i.jc("ngModelChange",(function(e){return t.selected_app_id=e}))("selectionChange",(function(){return t.onSelectApp()})),i.Ic(45,mP,2,2,"mat-option",4),i.Vb(),i.Vb(),i.Ic(46,_P,3,0,"div",10),i.Vb(),i.Ic(47,OP,33,10,"div",10),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(8),i.sc("ngModel",t.global_cc_policy.interval_milliseconds),i.Cb(3),i.sc("ngModel",t.global_cc_policy.max_count),i.Cb(3),i.sc("ngModel",t.global_cc_policy.block_seconds),i.Cb(3),i.sc("ngModel",t.global_cc_policy.action),i.Cb(2),i.sc("ngForOf",t.enum_action_values),i.Cb(2),i.sc("ngModel",t.global_cc_policy.stat_by_url),i.Cb(3),i.sc("ngModel",t.global_cc_policy.stat_by_ua),i.Cb(3),i.sc("ngModel",t.global_cc_policy.stat_by_cookie),i.Cb(3),i.sc("ngModel",t.global_cc_policy.is_enabled),i.Cb(13),i.sc("ngModel",t.selected_app_id),i.Cb(2),i.sc("ngForOf",t.rpcService.applications),i.Cb(1),i.sc("ngIf",t.selected_app_id&&!t.has_custom_cc_policy),i.Cb(1),i.sc("ngIf",t.has_custom_cc_policy&&t.application))},directives:[JO,YO,op,xp,en,At,li,Vt,ai,k_,H,fv,_f,z,ah],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),DP),NP=["ipPaginator"];function UP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,RP),i.Vb())}function qP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"input",18),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.ip_addr=e})),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.ip_addr)("disabled",!r.editable)}}function JP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,IP),i.Vb())}function KP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-select",19),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.is_allow=e})),i.Wb(2,"mat-option",20),i.bc(3,jP),i.Vb(),i.Wb(4,"mat-option",20),i.bc(5,YP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.is_allow)("disabled",!r.editable),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1)}}function GP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," WAF "),i.Vb())}function $P(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-select",19),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.apply_to_waf=e})),i.Wb(2,"mat-option",20),i.bc(3,VP),i.Vb(),i.Wb(4,"mat-option",20),i.bc(5,WP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.apply_to_waf)("disabled",!r.editable),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1)}}function ZP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.Jc(1," CC "),i.Vb())}function XP(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-select",19),i.jc("ngModelChange",(function(e){return i.Cc(n),t.$implicit.apply_to_cc=e})),i.Wb(2,"mat-option",20),i.bc(3,FP),i.Vb(),i.Wb(4,"mat-option",20),i.bc(5,HP),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngModel",r.apply_to_cc)("disabled",!r.editable),i.Cb(1),i.sc("value",!0),i.Cb(2),i.sc("value",!1)}}function QP(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,BP),i.Vb())}function eR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",24),i.jc("click",(function(){i.Cc(n);var e=i.nc().index;return i.nc().saveIP(e)})),i.Jc(1,"save"),i.Vb()}}function tR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-icon",25),i.jc("click",(function(){return i.Cc(n),i.nc().$implicit.editable=!0})),i.Jc(1,"edit"),i.Vb()}}function nR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Ic(1,eR,2,0,"mat-icon",21),i.Ic(2,tR,2,0,"mat-icon",22),i.Wb(3,"span"),i.Jc(4,"\xa0\xa0\xa0"),i.Vb(),i.Wb(5,"mat-icon",23),i.jc("click",(function(){i.Cc(n);var e=t.index;return i.nc().deleteIP(e)})),i.Jc(6," delete_outline"),i.Vb(),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.sc("ngIf",r.editable),i.Cb(1),i.sc("ngIf",!r.editable)}}function iR(e,t){1&e&&i.Rb(0,"mat-header-row")}function rR(e,t){1&e&&i.Rb(0,"mat-row")}TP=$localize(_templateObject272()),AP=$localize(_templateObject273()),EP=$localize(_templateObject274()),PP=$localize(_templateObject275()),RP=$localize(_templateObject276()),IP=$localize(_templateObject277()),jP=$localize(_templateObject278()),YP=$localize(_templateObject279()),VP=$localize(_templateObject280()),WP=$localize(_templateObject281()),FP=$localize(_templateObject282()),HP=$localize(_templateObject283()),BP=$localize(_templateObject284());var aR,oR,sR,cR,lR,uR,dR,hR,fR=function(){return[10,20,50]},pR=((aR=function(){function e(t,n,i){_classCallCheck(this,e),this.messageService=t,this.rpcService=n,this.router=i,this.enum_action_values=[],this.ipDisplayedColumns=["ip_addr","is_allow","apply_to_waf","apply_to_cc","editable"],this.ip_policies=[],this.rpcService.auth_user.logged&&(0==this.rpcService.applications.length&&this.rpcService.getApplications(),0==this.rpcService.vulntypes.length&&this.rpcService.getVulnTypes((function(){})),this.getIPPolicies())}return _createClass(e,[{key:"ngOnInit",value:function(){if(0!=this.rpcService.auth_user.logged)for(var e in this.rpcService.auth_user.need_modify_pwd&&this.router.navigate(["/appuser/"+this.rpcService.auth_user.user_id]),vc)"number"==typeof vc[e]&&this.enum_action_values.push({value:vc[e],name:e});else this.router.navigate(["/"])}},{key:"getIPPolicies",value:function(){var e=this;this.rpcService.getResponse("get_ip_policies",(function(t){e.ip_policies=t,e.ipPolicyDataSource=new Qh(e.ip_policies),e.ipPolicyDataSource.paginator=e.ipPaginator,e.ipPaginator.pageIndex=0,e.ipPageLength=e.ip_policies.length}))}},{key:"addIPPolicy",value:function(){var e=new Dc;e.id="0",e.ip_addr="127.0.0.1",e.is_allow=!0,e.apply_to_waf=!0,e.apply_to_cc=!0,e.editable=!0,this.ip_policies.splice(0,0,e),this.ipPolicyDataSource.data=this.ip_policies}},{key:"saveIP",value:function(e){var t=this;this.rpcService.getResponse("update_ip_policy",(function(n){t.ip_policies[e]=n,t.ip_policies[e].editable=!1,t.ipPolicyDataSource.data=t.ip_policies}),"0",this.ip_policies[e])}},{key:"deleteIP",value:function(e){var t=this,n=this.ip_policies[e];"0"==n.id?(t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies):this.rpcService.getResponse("del_ip_policy",(function(){t.ip_policies.splice(e,1),t.ipPolicyDataSource.data=t.ip_policies}),n.id,null)}}]),e}()).\u0275fac=function(e){return new(e||aR)(i.Pb(Tc),i.Pb(Ec),i.Pb(As))},aR.\u0275cmp=i.Jb({type:aR,selectors:[["app-ip-policy"]],viewQuery:function(e,t){var n;1&e&&i.Sc(NP,!0),2&e&&i.zc(n=i.kc())&&(t.ipPaginator=n.first)},decls:35,vars:8,consts:[[1,"container"],[1,"notes"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","ip_addr"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","is_allow"],["matColumnDef","apply_to_waf"],["matColumnDef","apply_to_cc"],["matColumnDef","editable"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","showFirstLastButtons"],["ipPaginator",""],["mat-stroked-button","",3,"click"],["matListIcon",""],["matInput","","placeholder","IP Address","required","",3,"ngModel","disabled","ngModelChange"],[1,"custom_select",3,"ngModel","disabled","ngModelChange"],[3,"value"],["class","btn_icon","inline","true","matTooltip","Save","matTooltipPosition","left",3,"click",4,"ngIf"],["class","btn_icon","inline","true","matTooltip","Edit","matTooltipPosition","left",3,"click",4,"ngIf"],["inline","true","matTooltip","Delete","matTooltipPosition","right",1,"btn_icon",3,"click"],["inline","true","matTooltip","Save","matTooltipPosition","left",1,"btn_icon",3,"click"],["inline","true","matTooltip","Edit","matTooltipPosition","left",1,"btn_icon",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"h2"),i.bc(2,TP),i.Vb(),i.Wb(3,"ul",1),i.Wb(4,"li"),i.bc(5,AP),i.Vb(),i.Wb(6,"li"),i.bc(7,EP),i.Vb(),i.Vb(),i.Wb(8,"div",2),i.Wb(9,"mat-table",3,4),i.Ub(11,5),i.Ic(12,UP,2,0,"mat-header-cell",6),i.Ic(13,qP,2,2,"mat-cell",7),i.Tb(),i.Ub(14,8),i.Ic(15,JP,2,0,"mat-header-cell",6),i.Ic(16,KP,6,4,"mat-cell",7),i.Tb(),i.Ub(17,9),i.Ic(18,GP,2,0,"mat-header-cell",6),i.Ic(19,$P,6,4,"mat-cell",7),i.Tb(),i.Ub(20,10),i.Ic(21,ZP,2,0,"mat-header-cell",6),i.Ic(22,XP,6,4,"mat-cell",7),i.Tb(),i.Ub(23,11),i.Ic(24,QP,2,0,"mat-header-cell",6),i.Ic(25,nR,7,2,"mat-cell",7),i.Tb(),i.Ic(26,iR,1,0,"mat-header-row",12),i.Ic(27,rR,1,0,"mat-row",13),i.Vb(),i.Rb(28,"mat-paginator",14,15),i.Vb(),i.Wb(30,"button",16),i.jc("click",(function(){return t.addIPPolicy()})),i.Wb(31,"mat-icon",17),i.Jc(32,"add_circle_outline"),i.Vb(),i.Wb(33,"span"),i.bc(34,PP),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(9),i.sc("dataSource",t.ipPolicyDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.ipDisplayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.ipDisplayedColumns),i.Cb(1),i.sc("length",t.ipPageLength)("pageSize",20)("pageSizeOptions",i.wc(7,fR))("showFirstLastButtons",!0))},directives:[Rh,Fh,Vh,jh,Nh,qh,nb,_f,Mb,wS,Bh,zh,xp,At,li,Vt,ai,k_,ah,z,F_,Kh,$h],styles:['.fullrow[_ngcontent-%COMP%]{width:100%}.custommargin[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:5px}.notes[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:5px}.notes[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:5px;list-style-type:none}.custom_select[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{font-family:Helvetica,Arial,PingFang SC,"Source Han Serif SC",Microsoft YaHei}.custom_select[_ngcontent-%COMP%]{width:50%}.btn_icon[_ngcontent-%COMP%]{cursor:pointer}.search_box[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d0d0d0;border-radius:15px;padding:6px;vertical-align:middle}.center_column[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}']}),aR);function mR(e,t){1&e&&(i.Wb(0,"mat-icon",15),i.Jc(1,"check_circle_outline"),i.Vb())}function _R(e,t){1&e&&(i.Wb(0,"mat-icon",16),i.Jc(1,"highlight_off"),i.Vb())}oR=$localize(_templateObject285()),sR=$localize(_templateObject286()),cR=$localize(_templateObject287()),lR=$localize(_templateObject288()),uR=$localize(_templateObject289()),dR=$localize(_templateObject290()),hR=$localize(_templateObject291());var bR,gR,vR,yR,kR,wR,CR,SR,xR,MR,LR,OR,DR=((bR=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.dialogRef=n,this.data=i,this.regex_match=new Cc,this.discovery_rule=i.discovery_rule}return _createClass(e,[{key:"testRegex",value:function(){this.regex_match.matched=null,this.regex_match.preprocess=!1,this.regex_match.payload=this.discovery_rule.sample,this.regex_match.pattern=this.discovery_rule.regex;var e=this;0!=this.regex_match.payload.length&&0!=this.regex_match.pattern.length&&this.rpcService.getResponse("test_regex",(function(t){null!=t&&(e.regex_match=t)}),null,e.regex_match)}},{key:"saveDiscoveryRule",value:function(){var e=this;this.rpcService.getResponse("update_discovery_rule",(function(t){e.discovery_rule=t}),this.discovery_rule.id,this.discovery_rule),this.dialogRef.close()}}]),e}()).\u0275fac=function(e){return new(e||bR)(i.Pb(Ec),i.Pb(Ox),i.Pb(Dx))},bR.\u0275cmp=i.Jb({type:bR,selectors:[["discovery-rule-dialog"]],decls:38,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["matInput","","required","",3,"ngModel","ngModelChange"],["field_name",""],["align","end"],["sample",""],["matInput","","required","",3,"ngModel","ngModelChange","focusout"],["regex_pattern",""],["matSuffix","","color","primary",4,"ngIf"],["matSuffix","","color","warn",4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],["description",""],["mat-dialog-actions",""],["mat-stroked-button","",3,"click"],["mat-stroked-button","","mat-dialog-close",""],["matSuffix","","color","primary"],["matSuffix","","color","warn"]],template:function(e,t){if(1&e&&(i.Wb(0,"h1",0),i.bc(1,oR),i.Vb(),i.Wb(2,"div",1),i.Wb(3,"mat-form-field"),i.Wb(4,"mat-label"),i.bc(5,sR),i.Vb(),i.Wb(6,"input",2,3),i.jc("ngModelChange",(function(e){return t.discovery_rule.field_name=e})),i.Vb(),i.Wb(8,"mat-hint",4),i.Jc(9),i.Vb(),i.Vb(),i.Wb(10,"mat-form-field"),i.Wb(11,"mat-label"),i.bc(12,cR),i.Vb(),i.Wb(13,"input",2,5),i.jc("ngModelChange",(function(e){return t.discovery_rule.sample=e})),i.Vb(),i.Wb(15,"mat-hint",4),i.Jc(16),i.Vb(),i.Vb(),i.Wb(17,"mat-form-field"),i.Wb(18,"mat-label"),i.bc(19,lR),i.Vb(),i.Wb(20,"input",6,7),i.jc("ngModelChange",(function(e){return t.discovery_rule.regex=e}))("focusout",(function(){return t.testRegex()})),i.Vb(),i.Ic(22,mR,2,0,"mat-icon",8),i.Ic(23,_R,2,0,"mat-icon",9),i.Wb(24,"mat-hint",4),i.Jc(25),i.Vb(),i.Vb(),i.Wb(26,"mat-form-field"),i.Wb(27,"mat-label"),i.bc(28,uR),i.Vb(),i.Wb(29,"input",10,11),i.jc("ngModelChange",(function(e){return t.discovery_rule.description=e})),i.Vb(),i.Wb(31,"mat-hint",4),i.Jc(32),i.Vb(),i.Vb(),i.Vb(),i.Wb(33,"div",12),i.Wb(34,"button",13),i.jc("click",(function(){return t.saveDiscoveryRule()})),i.bc(35,dR),i.Vb(),i.Wb(36,"button",14),i.bc(37,hR),i.Vb(),i.Vb()),2&e){var n=i.Ac(7),r=i.Ac(14),a=i.Ac(21),o=i.Ac(30);i.Cb(6),i.sc("ngModel",t.discovery_rule.field_name),i.Cb(3),i.Lc("",(null==n.value?null:n.value.length)||0,"/256"),i.Cb(4),i.sc("ngModel",t.discovery_rule.sample),i.Cb(3),i.Lc("",(null==r.value?null:r.value.length)||0,"/512"),i.Cb(4),i.sc("ngModel",t.discovery_rule.regex),i.Cb(2),i.sc("ngIf",t.regex_match.matched),i.Cb(1),i.sc("ngIf",null!=t.regex_match.matched&&!t.regex_match.matched),i.Cb(2),i.Lc("",(null==a.value?null:a.value.length)||0,"/512"),i.Cb(4),i.sc("ngModel",t.discovery_rule.description),i.Cb(3),i.Lc("",(null==o.value?null:o.value.length)||0,"/512")}},directives:[jx,Yx,op,Qf,xp,At,li,Vt,ai,Xf,z,Vx,_f,Ix,Mb,np],styles:[".container[_ngcontent-%COMP%]{margin:5px}mat-form-field[_ngcontent-%COMP%]{width:100%;background-color:#fefefe;border:3px solid #fff;box-sizing:border-box}.width50[_ngcontent-%COMP%]{width:50%!important;box-sizing:border-box}button[_ngcontent-%COMP%]{margin-top:20px;margin-right:5px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}.notice[_ngcontent-%COMP%]{font-size:small;background-color:#f5f5f5;padding:5px}"]}),bR),TR=["*",[["mat-toolbar-row"]]],AR=["*","mat-toolbar-row"],ER=ud((function e(t){_classCallCheck(this,e),this._elementRef=t})),PR=((yR=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||yR)},yR.\u0275dir=i.Kb({type:yR,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),yR),RR=((vR=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e)))._platform=n,r._document=i,r}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){var e=this;Object(i.W)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return e._checkToolbarMixedModes()})))}},{key:"_checkToolbarMixedModes",value:function(){var e=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))})).filter((function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)})).some((function(e){return!(!e.textContent||!e.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}]),t}(ER)).\u0275fac=function(e){return new(e||vR)(i.Pb(i.l),i.Pb(el),i.Pb(s))},vR.\u0275cmp=i.Jb({type:vR,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var r;1&e&&i.Ib(n,PR,!0),2&e&&i.zc(r=i.kc())&&(t._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.Gb("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.zb],ngContentSelectors:AR,decls:2,vars:0,template:function(e,t){1&e&&(i.rc(TR),i.qc(0),i.qc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),vR),IR=((gR=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:gR}),gR.\u0275inj=i.Mb({factory:function(e){return new(e||gR)},imports:[[cd],cd]}),gR),jR=["rulesPaginator"];function YR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,SR),i.Vb())}function VR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell",19),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().editDataDiscoveryRule(e)})),i.Jc(1),i.Vb()}if(2&e){var r=t.$implicit;i.Cb(1),i.Lc(" ",r.field_name," ")}}function WR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,xR),i.Vb())}function FR(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.sample," ")}}function HR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,MR),i.Vb())}function BR(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.regex," ")}}function zR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,LR),i.Vb())}function NR(e,t){if(1&e&&(i.Wb(0,"mat-cell"),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n.description," ")}}function UR(e,t){1&e&&(i.Wb(0,"mat-header-cell"),i.bc(1,OR),i.Vb())}function qR(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-cell"),i.Wb(1,"mat-icon",20),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().editDataDiscoveryRule(e)})),i.Jc(2,"edit "),i.Vb(),i.Wb(3,"span"),i.Jc(4,"\xa0\xa0"),i.Vb(),i.Wb(5,"mat-icon",20),i.jc("click",(function(){i.Cc(n);var e=t.$implicit;return i.nc().deleteDataDiscoveryRule(e)})),i.Jc(6,"delete "),i.Vb(),i.Vb()}}function JR(e,t){1&e&&i.Rb(0,"mat-header-row")}function KR(e,t){1&e&&i.Rb(0,"mat-row")}kR=$localize(_templateObject292()),wR=$localize(_templateObject293()),CR=$localize(_templateObject294()),SR=$localize(_templateObject295()),xR=$localize(_templateObject296()),MR=$localize(_templateObject297()),LR=$localize(_templateObject298()),OR=$localize(_templateObject299());var GR,$R,ZR,XR,QR,eI=function(){return[10,20,50]};GR=$localize(_templateObject300()),$R=$localize(_templateObject301()),ZR=$localize(_templateObject302()),XR=$localize(_templateObject303()),QR=$localize(_templateObject304());var tI,nI,iI,rI=[{path:"",redirectTo:"/index.html",pathMatch:"full"},{path:"index.html",component:YT},{path:"dashboard",component:mx},{path:"application/:id",component:dy},{path:"applications",component:Xb},{path:"forwarding",component:tE},{path:"vip/:id",component:IE},{path:"certificates",component:wg},{path:"certificate/:id",component:uw},{path:"usermgmt",component:Aw},{path:"appuser/:id",component:Zw},{path:"waf",component:bC},{path:"cc",component:zP},{path:"ip-policy",component:pR},{path:"policy/:id",component:hS},{path:"nodes",component:zS},{path:"node/:id",component:XS},{path:"logs",component:mL},{path:"cclogs",component:JL},{path:"settings",component:RT},{path:"log/:id",component:yL},{path:"cclog/:id",component:ZL},{path:"login",component:zk},{path:"webssh",component:GT},{path:"health",component:AA},{path:"referring/:app_id/:host",component:UE},{path:"authcode-register",component:XE},{path:"discovery-rules",component:(nI=function(){function e(t,n){_classCallCheck(this,e),this.rpcService=t,this.dialog=n,this.discovery_rules=[],this.displayedColumns=["field_name","sample","regex","description","action"],this.getDiscoveryRules()}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"addDataDiscoveryRule",value:function(){this.editDataDiscoveryRule({id:"0",field_name:"",sample:"",regex:"",description:"",editor:this.rpcService.auth_user.username,update_time:0})}},{key:"editDataDiscoveryRule",value:function(e){var t=this;this.dialog.open(DR,{width:"500px",data:{discovery_rule:e}}).afterClosed().subscribe((function(e){t.getDiscoveryRules()}))}},{key:"getDiscoveryRules",value:function(){var e=this;this.rpcService.getResponse("get_discovery_rules",(function(t){null==t&&(t=[]),e.discovery_rules=t,e.discoveryRulesDataSource=new Qh(e.discovery_rules),e.discoveryRulesDataSource.paginator=e.rulesPaginator}))}},{key:"deleteDataDiscoveryRule",value:function(e){if(confirm("Are you sure to delete discovery rule for: "+e.field_name+"?")){var t=this;this.rpcService.getResponse("del_discovery_rule",(function(e){t.getDiscoveryRules()}),e.id)}}}]),e}(),nI.\u0275fac=function(e){return new(e||nI)(i.Pb(Ec),i.Pb(Px))},nI.\u0275cmp=i.Jb({type:nI,selectors:[["app-discovery-rules"]],viewQuery:function(e,t){var n;1&e&&i.Sc(jR,!0),2&e&&i.zc(n=i.kc())&&(t.rulesPaginator=n.first)},decls:33,vars:6,consts:[[1,"container"],["mat-stroked-button","",3,"click"],[1,"spacer"],["mat-stroked-button","","routerLink","/settings",1,"back_link"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","field_name"],[4,"matHeaderCellDef"],["class","pointer",3,"click",4,"matCellDef"],["matColumnDef","sample"],[4,"matCellDef"],["matColumnDef","regex"],["matColumnDef","description"],["matColumnDef","action"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions"],["rulesPaginator",""],[1,"pointer",3,"click"],["inline","true",1,"pointer",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,kR),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"mat-toolbar"),i.Wb(6,"button",1),i.jc("click",(function(){return t.addDataDiscoveryRule()})),i.bc(7,wR),i.Vb(),i.Rb(8,"span",2),i.Wb(9,"a",3),i.bc(10,CR),i.Vb(),i.Vb(),i.Wb(11,"div",4),i.Wb(12,"mat-table",5,6),i.Ub(14,7),i.Ic(15,YR,2,0,"mat-header-cell",8),i.Ic(16,VR,2,1,"mat-cell",9),i.Tb(),i.Ub(17,10),i.Ic(18,WR,2,0,"mat-header-cell",8),i.Ic(19,FR,2,1,"mat-cell",11),i.Tb(),i.Ub(20,12),i.Ic(21,HR,2,0,"mat-header-cell",8),i.Ic(22,BR,2,1,"mat-cell",11),i.Tb(),i.Ub(23,13),i.Ic(24,zR,2,0,"mat-header-cell",8),i.Ic(25,NR,2,1,"mat-cell",11),i.Tb(),i.Ub(26,14),i.Ic(27,UR,2,0,"mat-header-cell",8),i.Ic(28,qR,7,0,"mat-cell",11),i.Tb(),i.Ic(29,JR,1,0,"mat-header-row",15),i.Ic(30,KR,1,0,"mat-row",16),i.Vb(),i.Rb(31,"mat-paginator",17,18),i.Vb(),i.Vb()),2&e&&(i.Cb(12),i.sc("dataSource",t.discoveryRulesDataSource),i.Cb(17),i.sc("matHeaderRowDef",t.displayedColumns),i.Cb(1),i.sc("matRowDefColumns",t.displayedColumns),i.Cb(1),i.sc("pageSize",20)("pageSizeOptions",i.wc(5,eI)))},directives:[lf,RR,_f,bf,Es,Rh,Fh,Vh,jh,Nh,qh,nb,Bh,zh,Mb,Kh,$h],styles:[".spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),nI)},{path:"api-interface",component:(tI=function(){function e(t){_classCallCheck(this,e),this.rpcService=t}return _createClass(e,[{key:"ngOnInit",value:function(){this.rpcService.getAPIKey()}}]),e}(),tI.\u0275fac=function(e){return new(e||tI)(i.Pb(Ec))},tI.\u0275cmp=i.Jb({type:tI,selectors:[["app-api-interface"]],decls:122,vars:43,consts:[[1,"container"],["matLine",""],[1,"wrapkey"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Wb(1,"div"),i.Wb(2,"mat-card"),i.Wb(3,"h2"),i.bc(4,GR),i.Vb(),i.Vb(),i.Vb(),i.Wb(5,"div"),i.Wb(6,"h3",1),i.bc(7,$R),i.Vb(),i.Wb(8,"span",2),i.Jc(9),i.Vb(),i.Wb(10,"div"),i.Wb(11,"h2"),i.bc(12,ZR),i.Vb(),i.Wb(13,"h4"),i.Jc(14,"1.1 Interface Address"),i.Vb(),i.Wb(15,"p"),i.Jc(16,' All operations of the API use the POST method. If "primary_node" -> "admin" -> "listen" in config.json is false, then remove the ":9080". '),i.Vb(),i.Wb(17,"code"),i.Jc(18," POST http://IP_or_Domain_Name:9080/janusec-admin/ui-api "),i.Vb(),i.Wb(19,"h4"),i.Jc(20,"1.2 Content-Type"),i.Vb(),i.Wb(21,"code"),i.Jc(22," Content-Type: application/json "),i.Vb(),i.Wb(23,"h4"),i.Jc(24,"1.3 JSON Body for get object(s)"),i.Vb(),i.Wb(25,"code"),i.Jc(26),i.Vb(),i.Wb(27,"p"),i.Jc(28," id is a snowflake id string, not a number, because it exceeds the range of number. id is required for one object, not required for objects list. "),i.Vb(),i.Wb(29,"h4"),i.Jc(30,"1.4 Response of objects list"),i.Vb(),i.Wb(31,"code"),i.Jc(32),i.Vb(),i.Wb(33,"h4"),i.Jc(34,"1.5 Response of one object"),i.Vb(),i.Wb(35,"code"),i.Jc(36),i.Vb(),i.Wb(37,"h4"),i.Jc(38,"1.6 JSON Body for creating or updating an object"),i.Vb(),i.Wb(39,"p"),i.Jc(40," Let id = '0' for creating an object."),i.Vb(),i.Wb(41,"code"),i.Jc(42),i.Vb(),i.Wb(43,"h4"),i.Jc(44,"1.7 Response of updation one object"),i.Vb(),i.Wb(45,"p"),i.Jc(46,"Please keep the format of the object the same with you get it, and if the object has a time parameter, skip it or set it to 0."),i.Vb(),i.Wb(47,"code"),i.Jc(48),i.Vb(),i.Wb(49,"h4"),i.Jc(50,"1.8 JSON Body for deletion an object"),i.Vb(),i.Wb(51,"code"),i.Jc(52),i.Vb(),i.Wb(53,"h4"),i.Jc(54,"1.9 Response of deletion one object"),i.Vb(),i.Wb(55,"code"),i.Jc(56),i.Vb(),i.Wb(57,"h2"),i.bc(58,XR),i.Vb(),i.Wb(59,"h4"),i.Jc(60,"2.1 Parameter: auth_key"),i.Vb(),i.Wb(61,"p"),i.Jc(62," The auth_key is a time-related parameter, please make sure the time is correct. The auth_key needs to be regenerated every time a request is submitted, it is generated by function GenAuthKey(hex.DecodeString(APIKey)) and it is used to verify the identity of the requester. "),i.Vb(),i.Wb(63,"code"),i.Wb(64,"pre"),i.Jc(65),i.Vb(),i.Vb(),i.Wb(66,"h4"),i.Jc(67,"2.2 Parameter: action"),i.Vb(),i.Wb(68,"p"),i.Jc(69,"The parameter action can take the following values (string):"),i.Vb(),i.Wb(70,"ul"),i.Wb(71,"li"),i.Jc(72," get_certs: get all digital certificates, not include acme automatic certificates. The result will not include the private key of certificates. "),i.Vb(),i.Wb(73,"li"),i.Jc(74," get_cert: get digital certificate with designated id, parameter id (string) is required. "),i.Vb(),i.Wb(75,"li"),i.Jc(76," get_apps: get all web applications. "),i.Vb(),i.Wb(77,"li"),i.Jc(78," get_app: get the web application with designated id, parameter id (string) is required. "),i.Vb(),i.Wb(79,"li"),i.Jc(80," get_vip_apps: get all virtual IP applications, i.e. TCP/UDP port forwarding applications. "),i.Vb(),i.Wb(81,"li"),i.Jc(82," get_vip_app: get the virtual IP applications with designated id (string). "),i.Vb(),i.Wb(83,"li"),i.Jc(84," get_vuln_types: get all vulnerability types. "),i.Vb(),i.Wb(85,"li"),i.Jc(86," get_group_policies: get all group policies/rules for WAF. "),i.Vb(),i.Wb(87,"li"),i.Jc(88," get_group_policy: get the group policy/rule for WAF with designated id (string). "),i.Vb(),i.Wb(89,"li"),i.Jc(90," get_cc_policy: get CC policy with designated application id, parameter id is required and use application id string here, '0' for all applications. "),i.Vb(),i.Wb(91,"li"),i.Jc(92," update_cert: update the digital certificate with designated id (string), if id = '0' then create a new digital certificate. "),i.Vb(),i.Wb(93,"li"),i.Jc(94," update_app: update the web application with designated id (string), if id = '0' then create a new web application. "),i.Vb(),i.Wb(95,"li"),i.Jc(96," update_vip_app: update the virtual IP application, if id = '0' then create a new port forwarding. "),i.Vb(),i.Wb(97,"li"),i.Jc(98," del_cert: delete the digital certificate with designated id (string). "),i.Vb(),i.Wb(99,"li"),i.Jc(100," del_app: delete the web application with designated id (string). "),i.Vb(),i.Wb(101,"li"),i.Jc(102," del_vip_app: delete the virtual IP application with designated id (string). "),i.Vb(),i.Wb(103,"li"),i.Jc(104," del_group_policy: delete the group policy/rule for WAF with designated id (string). "),i.Vb(),i.Wb(105,"li"),i.Jc(106," del_cc_policy: delete the CC policy/rule for designated web application. "),i.Vb(),i.Vb(),i.Wb(107,"h2"),i.bc(108,QR),i.Vb(),i.Wb(109,"p"),i.Jc(110,"To update a web application, the body would like the following (Its format should be single line, without spaces or line breaks):"),i.Vb(),i.Wb(111,"code"),i.Wb(112,"pre"),i.Jc(113),i.Vb(),i.Vb(),i.Wb(114,"p"),i.Jc(115," Parameter route_type: 1 for Reverse_Proxy (default), 2 for Local_FastCGI, 4 for Static_Website, 8 for K8S_Ingress. "),i.Vb(),i.Wb(116,"p"),i.Jc(117," Parameter node_id is not used now. "),i.Vb(),i.Wb(118,"p"),i.Jc(119," Parameter ip_method: 1 for REMOTE_ADDR (default), 2 for X_Forwarded_For, 4 for X_REAL_IP, 8 for REAL_IP "),i.Vb(),i.Wb(120,"p"),i.Jc(121," Please set id = '0' for new object (such as certificate, application, virtual ip application, destination, domain, group policy, cc policy etc.). "),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e&&(i.Cb(9),i.Kc(t.rpcService.hexAPIKey),i.Cb(17),i.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),i.Cb(6),i.Mc(" ","{",'"err":null,"object":[...]',"}"," "),i.Cb(4),i.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),i.Cb(6),i.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"...", "object":...',"}"," "),i.Cb(6),i.Oc(" ","{",'"err":null,"object":',"{","...","}"," ","}"," "),i.Cb(4),i.Mc(" ","{",'"auth_key":"...", "action":"...", "id":"..."',"}"," "),i.Cb(4),i.Mc(" ","{",'"err":null',"}"," "),i.Cb(9),i.Qc([" auth_key := GenAuthKey(hex.DecodeString(APIKey)) \n\n func GenAuthKey(key []byte) string ","{","\n authTime := AuthTime","{","\n CurTime: time.Now().Unix()\n ","}","\n authTimeBytes, err := json.Marshal(authTime)\n if err != nil ","{",'\n fmt.Println("GenAuthKey", err)\n ',"}","\n encryptedAuthBytes := EncryptWithKey(authTimeBytes, key)\n return hex.EncodeToString(encryptedAuthBytes)\n ","}","\n\n type AuthTime struct ","{",'\n CurTime int64 `json:"cur_time"`\n ',"}","\n\n func EncryptWithKey(plaintext []byte, key []byte) []byte ","{","\n block, err := aes.NewCipher(key)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewCipher", err)\n ',"}","\n nonce := make([]byte, 12)\n _, err = io.ReadFull(rand.Reader, nonce)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey ReadFull", err)\n ',"}","\n aesgcm, err := cipher.NewGCM(block)\n if err != nil ","{",'\n fmt.Println("EncryptWithKey NewGCM", err)\n ',"}","\n ciphertext := aesgcm.Seal(nonce, nonce, plaintext, nil)\n return ciphertext\n ","}","\n\n "]),i.Cb(48),i.Pc(" ","{",'\n "auth_key":"...",\n "action":"update_app",\n "id":"1642051816726204416",\n "object":',"{",'\n "id":"1642051816726204416",\n "name":"Test",\n "internal_scheme":"http",\n "destinations":[',"{",'\n "id":"1642051816839450624",\n "route_type":1,\n "request_route":"/",\n "backend_route":"/",\n "destination":"127.0.0.1:5000",\n "pods_api":"",\n "pod_port":"80",\n "pods":"",\n "app_id":"1642051816726204416",\n "node_id":"0",\n "online":true,\n "check_time":0\n ',"}",'],\n "domains":[',"{",'\n "id":"1642051816931725312",\n "name":"www.example.com",\n "app_id":"1642051816726204416",\n "cert_id":"1642094823705939968",\n "redirect":false,\n "location":""\n ',"}",'],\n "redirect_https":false,\n "hsts_enabled":false,\n "waf_enabled":true,\n "shield_enabled":false,\n "ip_method":1,\n "description":"Test",\n "oauth_required":false,\n "session_seconds":7200,\n "owner":"admin",\n "csp_enabled":false,\n "csp":"",\n "cache_enabled":true\n ',"}","\n ","}","\n "))},directives:[lf,Pd],styles:[""]}),tI)}],aI=((iI=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:iI}),iI.\u0275inj=i.Mb({factory:function(e){return new(e||iI)},imports:[[$s.forRoot(rI)],$s]}),iI);function oI(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:su,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new sI(i,n))}}var sI=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new cI(e,this.delay,this.scheduler))}}]),e}(),cI=function(e){function t(e,n,i){var r;return _classCallCheck(this,t),(r=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e))).delay=n,r.scheduler=i,r.queue=[],r.active=!1,r.errored=!1,r}return _inherits(t,e),_createClass(t,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new lI(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Hp.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Hp.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(e,a)}else this.unsubscribe(),t.active=!1}}]),t}(yi.a),lI=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n},uI=["mat-menu-item",""],dI=["*"];function hI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",0),i.jc("keydown",(function(e){return i.Cc(n),i.nc()._handleKeydown(e)}))("click",(function(){return i.Cc(n),i.nc().closed.emit("click")}))("@transformMenu.start",(function(e){return i.Cc(n),i.nc()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return i.Cc(n),i.nc()._onAnimationDone(e)})),i.Wb(1,"div",1),i.qc(2),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),i.Db("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var fI,pI,mI,_I,bI,gI,vI,yI,kI,wI,CI={transformMenu:Object(Xe.n)("transformMenu",[Object(Xe.k)("void",Object(Xe.l)({opacity:0,transform:"scale(0.8)"})),Object(Xe.m)("void => enter",Object(Xe.g)([Object(Xe.i)(".mat-menu-content, .mat-mdc-menu-content",Object(Xe.e)("100ms linear",Object(Xe.l)({opacity:1}))),Object(Xe.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(Xe.l)({transform:"scale(1)"}))])),Object(Xe.m)("* => void",Object(Xe.e)("100ms 25ms linear",Object(Xe.l)({opacity:0})))]),fadeInItems:Object(Xe.n)("fadeInItems",[Object(Xe.k)("showing",Object(Xe.l)({opacity:1})),Object(Xe.m)("void => *",[Object(Xe.l)({opacity:0}),Object(Xe.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},SI=((fI=function(){function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this._template=t,this._componentFactoryResolver=n,this._appRef=i,this._injector=r,this._viewContainerRef=a,this._document=o,this._changeDetectorRef=s,this._attached=new dr.a}return _createClass(e,[{key:"attach",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new im(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new om(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),e}()).\u0275fac=function(e){return new(e||fI)(i.Pb(i.M),i.Pb(i.j),i.Pb(i.g),i.Pb(i.s),i.Pb(i.P),i.Pb(s),i.Pb(i.h))},fI.\u0275dir=i.Kb({type:fI,selectors:[["ng-template","matMenuContent",""]]}),fI),xI=new i.r("MAT_MENU_PANEL"),MI=dd(ld((function e(){_classCallCheck(this,e)}))),LI=((pI=function(e){function t(e,n,i,r){var a;return _classCallCheck(this,t),(a=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this)))._elementRef=e,a._focusMonitor=i,a._parentMenu=r,a.role="menuitem",a._hovered=new dr.a,a._focused=new dr.a,a._highlighted=!1,a._triggersSubmenu=!1,i&&i.monitor(a._elementRef,!1),r&&r.addItem&&r.addItem(_assertThisInitialized(a)),a._document=n,a}return _inherits(t,e),_createClass(t,[{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){var e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3,n="";if(e.childNodes)for(var i=e.childNodes.length,r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(zr(1)).subscribe((function(){return e._focusFirstItem(t)})):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t="mat-elevation-z".concat(Math.min(4+e,24)),n=Object.keys(this._classList).find((function(e){return e.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(Qr(this._allItems)).subscribe((function(t){e._directDescendantItems.reset(t.filter((function(t){return t._parentMenu===e}))),e._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=Pc(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Pc(e)}},{key:"panelClass",set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(e){t._classList[e]=!1})),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach((function(e){t._classList[e]=!0})),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}}]),e}()).\u0275fac=function(e){return new(e||_I)(i.Pb(i.l),i.Pb(i.A),i.Pb(OI))},_I.\u0275dir=i.Kb({type:_I,contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,SI,!0),i.Ib(n,LI,!0),i.Ib(n,LI,!1)),2&e&&(i.zc(r=i.kc())&&(t.lazyContent=r.first),i.zc(r=i.kc())&&(t._allItems=r),i.zc(r=i.kc())&&(t.items=r))},viewQuery:function(e,t){var n;1&e&&i.Sc(i.M,!0),2&e&&i.zc(n=i.kc())&&(t.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),_I),AI=((mI=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(TI)).\u0275fac=function(e){return EI(e||mI)},mI.\u0275dir=i.Kb({type:mI,features:[i.zb]}),mI),EI=i.Zb(AI),PI=((bI=function(e){function t(e,n,i){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i))}return _inherits(t,e),t}(AI)).\u0275fac=function(e){return new(e||bI)(i.Pb(i.l),i.Pb(i.A),i.Pb(OI))},bI.\u0275cmp=i.Jb({type:bI,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[i.Bb([{provide:xI,useExisting:AI},{provide:AI,useExisting:bI}]),i.zb],ngContentSelectors:dI,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.rc(),i.Ic(0,hI,3,6,"ng-template"))},directives:[W],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[CI.transformMenu,CI.fadeInItems]},changeDetection:0}),bI),RI=new i.r("mat-menu-scroll-strategy"),II={provide:RI,deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},jI=rl({passive:!0}),YI=((yI=function(){function e(t,n,r,a,o,s,c,l){var u=this;_classCallCheck(this,e),this._overlay=t,this._element=n,this._viewContainerRef=r,this._parentMenu=o,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=la.a.EMPTY,this._hoverSubscription=la.a.EMPTY,this._menuCloseSubscription=la.a.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.o,this.onMenuClose=this.menuClosed,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,jI),s&&(s._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=a}return _createClass(e,[{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,jI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return e.closeMenu()})),this._initMenu(),this.menu instanceof AI&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof AI?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(ki((function(e){return"void"===e.toState})),zr(1),ol(t.lazyContent._attached)).subscribe({next:function(){return t.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new wm({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe((function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")}))}},{key:"_setPosition",value:function(e){var t=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=r[0],o=r[1],s=a,c=o,l=n,u=i,d=0;this.triggersSubmenu()?(u=n="before"===this.menu.xPosition?"start":"end",i=l="end"===n?"start":"end",d="bottom"===a?8:-8):this.menu.overlapTrigger||(s="top"===a?"bottom":"top",c="top"===o?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:l,overlayY:a,offsetY:d},{originX:i,originY:s,overlayX:u,overlayY:a,offsetY:d},{originX:n,originY:c,overlayX:l,overlayY:o,offsetY:-d},{originX:i,originY:c,overlayX:u,overlayY:o,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMenu?this._parentMenu.closed:bi(),r=this._parentMenu?this._parentMenu._hovered().pipe(ki((function(t){return t!==e._menuItemInstance})),ki((function(){return e._menuOpen}))):bi();return Object(Ah.a)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){Gu(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&this.openMenu()}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(ki((function(t){return t===e._menuItemInstance&&!t.disabled})),oI(0,Rp)).subscribe((function(){e._openedBy="mouse",e.menu instanceof AI&&e.menu._isAnimating?e.menu._animationDone.pipe(zr(1),oI(0,Rp),ol(e._parentMenu._hovered())).subscribe((function(){return e.openMenu()})):e.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new im(this.menu.templateRef,this._viewContainerRef)),this._portal}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe((function(e){t._destroyMenu(),"click"!==e&&"tab"!==e||!t._parentMenu||t._parentMenu.closed.emit(e)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),e}()).\u0275fac=function(e){return new(e||yI)(i.Pb(qm),i.Pb(i.l),i.Pb(i.P),i.Pb(RI),i.Pb(AI,8),i.Pb(LI,10),i.Pb(Jc,8),i.Pb(Ju))},yI.\u0275dir=i.Kb({type:yI,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&i.jc("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&i.Db("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),yI),VI=((vI=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:vI}),vI.\u0275inj=i.Mb({factory:function(e){return new(e||vI)},providers:[II],imports:[cd]}),vI),WI=((gI=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:gI}),gI.\u0275inj=i.Mb({factory:function(e){return new(e||gI)},providers:[II],imports:[[ae,cd,Gd,Xm,VI],VI]}),gI);function FI(e,t){if(1&e&&(i.Wb(0,"button",9),i.Wb(1,"mat-icon",0),i.Jc(2,"account_circle"),i.Vb(),i.Jc(3),i.Vb()),2&e){var n=i.nc(),r=i.Ac(9);i.sc("matMenuTriggerFor",r),i.Cb(3),i.Lc(" ",n.rpcService.auth_user.username," ")}}function HI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"button",10),i.jc("click",(function(){return i.Cc(n),i.nc().navigate("/login")})),i.bc(1,wI),i.Vb()}}kI=$localize(_templateObject305()),wI=$localize(_templateObject306());var BI,zI=((BI=function(){function e(t,n,i){_classCallCheck(this,e),this.rpcService=t,this.http=n,this.router=i,this.logoPath="assets/images/logo.png",this.personIcon="assets/images/person_1x.png"}return _createClass(e,[{key:"navigate",value:function(e){this.router.navigate([e])}},{key:"ngOnInit",value:function(){null==localStorage.getItem("lang")&&navigator.language.indexOf("zh")>-1&&(localStorage.setItem("lang","zh-cn"),window.location.reload())}},{key:"switchLanguage",value:function(){var e=localStorage.getItem("lang");null==e||""==e||"en"==e?localStorage.setItem("lang","zh-cn"):localStorage.setItem("lang","en"),window.location.reload()}},{key:"logout",value:function(){this.rpcService.getResponse("logout",(function(){}),null,null),this.rpcService.auth_user={user_id:"0",username:"",passwd:"",logged:!1,is_super_admin:!1,is_cert_admin:!1,is_app_admin:!1,need_modify_pwd:!1,totp_key:"",totp_verified:!1},this.router.navigate(["/login"])}}]),e}()).\u0275fac=function(e){return new(e||BI)(i.Pb(Ec),i.Pb(Gi),i.Pb(As))},BI.\u0275cmp=i.Jb({type:BI,selectors:[["app-navbar"]],decls:21,vars:3,consts:[["color","secondary"],["src","assets/images/logo.png","alt","JANUSEC",1,"logo"],["routerLink","/",1,"text-logo"],[1,"spacer"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(i.Wb(0,"mat-toolbar",0),i.Wb(1,"span"),i.Rb(2,"img",1),i.Vb(),i.Wb(3,"span"),i.Wb(4,"a",2),i.Jc(5,"JANUSEC"),i.Vb(),i.Vb(),i.Rb(6,"span",3),i.Ic(7,FI,4,2,"button",4),i.Wb(8,"mat-menu",5,6),i.Wb(10,"button",7),i.jc("click",(function(){return t.switchLanguage()})),i.Wb(11,"mat-icon"),i.Jc(12,"language"),i.Vb(),i.Wb(13,"span"),i.bc(14,kI),i.Vb(),i.Vb(),i.Rb(15,"mat-divider"),i.Wb(16,"button",7),i.jc("click",(function(){return t.logout()})),i.Wb(17,"mat-icon"),i.Jc(18,"exit_to_app"),i.Vb(),i.Jc(19," Exit "),i.Vb(),i.Vb(),i.Ic(20,HI,2,0,"button",8),i.Vb()),2&e&&(i.Cb(7),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(1),i.sc("overlapTrigger",!1),i.Cb(12),i.sc("ngIf",0==t.rpcService.auth_user.logged))},directives:[RR,Es,z,PI,LI,Mb,Qb,_f,YI],styles:[".icon[_ngcontent-%COMP%]{padding:0 14px}.spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 1 auto}.mat-toolbar[_ngcontent-%COMP%]{height:40px;padding-left:1px;padding-top:1px}.logo-span[_ngcontent-%COMP%]{height:38px}.logo[_ngcontent-%COMP%]{width:24px;height:24px;margin:5px 0 0 5px}.text-logo[_ngcontent-%COMP%]{display:block;font-family:Arial,Helvetica,sans-serif;font-size:24px;color:#f5f5f5;width:174px;text-decoration:none;text-shadow:2px 2px 4px #000;box-shadow:1px 1px 1px #d5d5d5;padding-left:5px}"]}),BI);function NI(e,t){if(1&e&&(i.Wb(0,"mat-list-item",6),i.Jc(1),i.Vb()),2&e){var n=t.$implicit;i.Cb(1),i.Lc(" ",n," ")}}function UI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"div",1),i.Wb(2,"div",2),i.Wb(3,"mat-list",3),i.Ic(4,NI,2,1,"mat-list-item",4),i.Vb(),i.Vb(),i.Wb(5,"div",5),i.jc("click",(function(){return i.Cc(n),i.nc().messageService.clear()})),i.Wb(6,"mat-icon"),i.Jc(7,"clear"),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.Cb(4),i.sc("ngForOf",r.messageService.messages)}}var qI,JI=((qI=function(){function e(t){_classCallCheck(this,e),this.messageService=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||qI)(i.Pb(Tc))},qI.\u0275cmp=i.Jb({type:qI,selectors:[["app-messages"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"flex-row"],[1,"flex-90"],["role","list"],["class","alert",4,"ngFor","ngForOf"],["title","Clear",1,"flex-10","middle",3,"click"],[1,"alert"]],template:function(e,t){1&e&&i.Ic(0,UI,8,1,"div",0),2&e&&i.sc("ngIf",t.messageService.messages.length)},directives:[z,yS,H,Mb,CS],styles:[".messagelist[_ngcontent-%COMP%]{margin:0}"]}),qI),KI=["*"];function GI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",2),i.jc("click",(function(){return i.Cc(n),i.nc()._onBackdropClicked()})),i.Vb()}if(2&e){var r=i.nc();i.Gb("mat-drawer-shown",r._isShowingBackdrop())}}function $I(e,t){1&e&&(i.Wb(0,"mat-drawer-content"),i.qc(1,2),i.Vb())}var ZI=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],XI=["mat-drawer","mat-drawer-content","*"];function QI(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div",2),i.jc("click",(function(){return i.Cc(n),i.nc()._onBackdropClicked()})),i.Vb()}if(2&e){var r=i.nc();i.Gb("mat-drawer-shown",r._isShowingBackdrop())}}function ej(e,t){1&e&&(i.Wb(0,"mat-sidenav-content",3),i.qc(1,2),i.Vb())}var tj=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],nj=["mat-sidenav","mat-sidenav-content","*"],ij={transformDrawer:Object(Xe.n)("transform",[Object(Xe.k)("open, open-instant",Object(Xe.l)({transform:"none",visibility:"visible"})),Object(Xe.k)("void",Object(Xe.l)({"box-shadow":"none",visibility:"hidden"})),Object(Xe.m)("void => open-instant",Object(Xe.e)("0ms")),Object(Xe.m)("void <=> open, open-instant => void",Object(Xe.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function rj(e){throw Error("A drawer was already declared for 'position=\"".concat(e,"\"'"))}var aj,oj,sj,cj,lj,uj,dj,hj,fj,pj,mj,_j,bj,gj,vj,yj,kj,wj,Cj,Sj,xj,Mj,Lj,Oj,Dj,Tj,Aj,Ej,Pj=new i.r("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),Rj=new i.r("MAT_DRAWER_CONTAINER"),Ij=((lj=function(e){function t(e,n,i,r,a){var o;return _classCallCheck(this,t),(o=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,i,r,a)))._changeDetectorRef=e,o._container=n,o}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))}}]),t}(Jp)).\u0275fac=function(e){return new(e||lj)(i.Pb(i.h),i.Pb(Object(i.U)((function(){return Yj}))),i.Pb(i.l),i.Pb(qp),i.Pb(i.A))},lj.\u0275cmp=i.Jb({type:lj,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i.zb],ngContentSelectors:KI,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),lj),jj=((cj=function(){function e(t,n,r,a,o,s,c){var l=this;_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=a,this._ngZone=o,this._doc=s,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new dr.a,this._animationEnd=new dr.a,this._animationState="void",this.openedChange=new i.o(!0),this._destroyed=new dr.a,this.onPositionChanged=new i.o,this._modeChanged=new dr.a,this.openedChange.subscribe((function(e){e?(l._doc&&(l._elementFocusedBeforeDrawerWasOpened=l._doc.activeElement),l._takeFocus()):l._restoreFocus()})),this._ngZone.runOutsideAngular((function(){vf(l._elementRef.nativeElement,"keydown").pipe(ki((function(e){return 27===e.keyCode&&!l.disableClose&&!iu(e)})),ol(l._destroyed)).subscribe((function(e){return l._ngZone.run((function(){l.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(Ip((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&l.openedChange.emit(l._opened)}))}return _createClass(e,[{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then((function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()}))}},{key:"_restoreFocus",value:function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"toggle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(t){e.openedChange.pipe(zr(1)).subscribe((function(e){return t(e?"open":"close")}))}))}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}},{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=Pc(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=Pc(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(Pc(e))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(ki((function(e){return e})),Object(bt.a)((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(ki((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),Object(bt.a)((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(ki((function(e){return!e})),Object(bt.a)((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(ki((function(e){return e.fromState!==e.toState&&"void"===e.toState})),Object(bt.a)((function(){})))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}}]),e}()).\u0275fac=function(e){return new(e||cj)(i.Pb(i.l),i.Pb(ju),i.Pb(Ju),i.Pb(el),i.Pb(i.A),i.Pb(s,8),i.Pb(Rj,8))},cj.\u0275cmp=i.Jb({type:cj,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.Hb("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(i.Db("align",null),i.Rc("@transform",t._animationState),i.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:KI,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"div",0),i.qc(1),i.Vb())},encapsulation:2,data:{animation:[ij.transformDrawer]},changeDetection:0}),cj),Yj=((sj=function(){function e(t,n,r,a,o){var s=this,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._dir=t,this._element=n,this._ngZone=r,this._changeDetectorRef=a,this._animationMode=l,this._drawers=new i.E,this.backdropClick=new i.o,this._destroyed=new dr.a,this._doCheckSubject=new dr.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new dr.a,t&&t.change.pipe(ol(this._destroyed)).subscribe((function(){s._validateDrawers(),s.updateContentMargins()})),o.change().pipe(ol(this._destroyed)).subscribe((function(){return s.updateContentMargins()})),this._autosize=c}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Qr(this._allDrawers),ol(this._destroyed)).subscribe((function(t){e._drawers.reset(t.filter((function(t){return!t._container||t._container===e}))),e._drawers.notifyOnChanges()})),this._drawers.changes.pipe(Qr(null)).subscribe((function(){e._validateDrawers(),e._drawers.forEach((function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)})),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(cu(10),ol(this._destroyed)).subscribe((function(){return e.updateContentMargins()}))}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach((function(e){return e.open()}))}},{key:"close",value:function(){this._drawers.forEach((function(e){return e.close()}))}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){var i=this._left._width;t+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r=this._right._width;n+=r,t-=r}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run((function(){return e._contentMarginChanges.next(e._contentMargins)})))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return e._doCheckSubject.next()}))}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(ki((function(e){return e.fromState!==e.toState})),ol(this._drawers.changes)).subscribe((function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()})),"side"!==e.mode&&e.openedChange.pipe(ol(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(ol(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(zr(1)).subscribe((function(){t._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(ol(Object(Ah.a)(this._drawers.changes,this._destroyed))).subscribe((function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()}))}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach((function(t){"end"==t.position?(null!=e._end&&rj("end"),e._end=t):(null!=e._start&&rj("start"),e._start=t)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}},{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=Pc(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:Pc(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),e}()).\u0275fac=function(e){return new(e||sj)(i.Pb(Jc,8),i.Pb(i.l),i.Pb(i.A),i.Pb(i.h),i.Pb(Kp),i.Pb(Pj),i.Pb(dt,8))},sj.\u0275cmp=i.Jb({type:sj,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,Ij,!0),i.Ib(n,jj,!0)),2&e&&(i.zc(r=i.kc())&&(t._content=r.first),i.zc(r=i.kc())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&i.Sc(Ij,!0),2&e&&i.zc(n=i.kc())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i.Bb([{provide:Rj,useExisting:sj}])],ngContentSelectors:XI,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.rc(ZI),i.Ic(0,GI,1,2,"div",0),i.qc(1),i.qc(2,1),i.Ic(3,$I,2,0,"mat-drawer-content",1)),2&e&&(i.sc("ngIf",t.hasBackdrop),i.Cb(3),i.sc("ngIf",!t._content))},directives:[z,Ij],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),sj),Vj=((oj=function(e){function t(e,n,i,r,a){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,n,i,r,a))}return _inherits(t,e),t}(Ij)).\u0275fac=function(e){return new(e||oj)(i.Pb(i.h),i.Pb(Object(i.U)((function(){return Hj}))),i.Pb(i.l),i.Pb(qp),i.Pb(i.A))},oj.\u0275cmp=i.Jb({type:oj,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Hc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i.zb],ngContentSelectors:KI,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),oj),Wj=((aj=function(e){function t(){var e;return _classCallCheck(this,t),(e=_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments)))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return _inherits(t,e),_createClass(t,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=Pc(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=Rc(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=Rc(e)}}]),t}(jj)).\u0275fac=function(e){return Fj(e||aj)},aj.\u0275cmp=i.Jb({type:aj,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.Db("align",null),i.Hc("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.Gb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.zb],ngContentSelectors:KI,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(i.rc(),i.Wb(0,"div",0),i.qc(1),i.Vb())},encapsulation:2,data:{animation:[ij.transformDrawer]},changeDetection:0}),aj),Fj=i.Zb(Wj),Hj=((uj=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,_getPrototypeOf(t).apply(this,arguments))}return _inherits(t,e),t}(Yj)).\u0275fac=function(e){return Bj(e||uj)},uj.\u0275cmp=i.Jb({type:uj,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var r;1&e&&(i.Ib(n,Vj,!0),i.Ib(n,Wj,!0)),2&e&&(i.zc(r=i.kc())&&(t._content=r.first),i.zc(r=i.kc())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i.Bb([{provide:Rj,useExisting:uj}]),i.zb],ngContentSelectors:nj,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(i.rc(tj),i.Ic(0,QI,1,2,"div",0),i.qc(1),i.qc(2,1),i.Ic(3,ej,2,0,"mat-sidenav-content",1)),2&e&&(i.sc("ngIf",t.hasBackdrop),i.Cb(3),i.sc("ngIf",!t._content))},directives:[z,Vj,Jp],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),uj),Bj=i.Zb(Hj),zj=((hj=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:hj}),hj.\u0275inj=i.Mb({factory:function(e){return new(e||hj)},imports:[[ae,cd,Gp,tl],cd]}),hj),Nj=((dj=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||dj)},dj.\u0275cmp=i.Jb({type:dj,selectors:[["app-footer"]],decls:3,vars:0,consts:[[1,"footer"]],template:function(e,t){1&e&&(i.Wb(0,"mat-toolbar"),i.Wb(1,"div",0),i.Jc(2," All Rights Reserved by \xa9JANUSEC "),i.Vb(),i.Vb())},directives:[RR],styles:[".mat-toolbar[_ngcontent-%COMP%]{font-size:14px;height:36px;font-family:Arial Narrow,Arial,sans-serif;text-align:center}.footer[_ngcontent-%COMP%]{text-align:center;-webkit-box-flex:1;flex:1 1 auto}"]}),dj);function Uj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",16),i.Wb(2,"mat-icon"),i.Jc(3,"forward"),i.Vb(),i.Wb(4,"span"),i.bc(5,xj),i.Vb(),i.Vb(),i.Vb())}function qj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",17),i.Wb(2,"mat-icon"),i.Jc(3,"blur_on"),i.Vb(),i.Wb(4,"span"),i.bc(5,Mj),i.Vb(),i.Vb(),i.Vb())}function Jj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",18),i.Wb(2,"mat-icon"),i.Jc(3,"blur_on"),i.Vb(),i.Wb(4,"span"),i.bc(5,Lj),i.Vb(),i.Vb(),i.Vb())}function Kj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",19),i.Wb(2,"mat-icon"),i.Jc(3,"blur_on"),i.Vb(),i.Wb(4,"span"),i.bc(5,Oj),i.Vb(),i.Vb(),i.Vb())}function Gj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",20),i.Wb(2,"mat-icon"),i.Jc(3,"games"),i.Vb(),i.Wb(4,"span"),i.bc(5,Dj),i.Vb(),i.Vb(),i.Vb())}function $j(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",21),i.Wb(2,"mat-icon"),i.Jc(3,"blur_circular"),i.Vb(),i.Wb(4,"span"),i.bc(5,Tj),i.Vb(),i.Vb(),i.Vb())}function Zj(e,t){1&e&&(i.Wb(0,"mat-list-item"),i.Wb(1,"a",22),i.Wb(2,"mat-icon"),i.Jc(3,"settings"),i.Vb(),i.Wb(4,"span"),i.bc(5,Aj),i.Vb(),i.Vb(),i.Vb())}function Xj(e,t){if(1&e){var n=i.Yb();i.Wb(0,"mat-sidenav",4,5),i.jc("openedChange",(function(e){return i.Cc(n),i.nc().showSidenav=e})),i.Wb(2,"mat-nav-list"),i.Wb(3,"mat-list-item"),i.Wb(4,"a",6),i.Wb(5,"mat-icon"),i.Jc(6,"dashboard"),i.Vb(),i.Wb(7,"span"),i.bc(8,fj),i.Vb(),i.Vb(),i.Vb(),i.Wb(9,"mat-accordion"),i.Wb(10,"mat-expansion-panel",7),i.Wb(11,"mat-expansion-panel-header"),i.Wb(12,"mat-panel-title"),i.Wb(13,"mat-icon"),i.Jc(14,"list"),i.Vb(),i.Wb(15,"span"),i.bc(16,pj),i.Vb(),i.Vb(),i.Vb(),i.Wb(17,"mat-list-item"),i.Wb(18,"a",8),i.Wb(19,"mat-icon"),i.Jc(20,"lock_outline"),i.Vb(),i.Wb(21,"span"),i.bc(22,mj),i.Vb(),i.Vb(),i.Vb(),i.Wb(23,"mat-list-item"),i.Wb(24,"a",9),i.Wb(25,"mat-icon"),i.Jc(26,"explore"),i.Vb(),i.Wb(27,"span"),i.bc(28,_j),i.Vb(),i.Vb(),i.Vb(),i.Ic(29,Uj,6,0,"mat-list-item",3),i.Wb(30,"mat-list-item"),i.Wb(31,"a",10),i.Wb(32,"mat-icon"),i.Jc(33,"supervisor_account"),i.Vb(),i.Wb(34,"span"),i.bc(35,bj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(36,"mat-accordion"),i.Wb(37,"mat-expansion-panel",7),i.Wb(38,"mat-expansion-panel-header"),i.Wb(39,"mat-panel-title"),i.Wb(40,"mat-icon"),i.Jc(41,"security"),i.Vb(),i.Wb(42,"span"),i.bc(43,gj),i.Vb(),i.Vb(),i.Vb(),i.Ic(44,qj,6,0,"mat-list-item",3),i.Ic(45,Jj,6,0,"mat-list-item",3),i.Ic(46,Kj,6,0,"mat-list-item",3),i.Vb(),i.Vb(),i.Wb(47,"mat-accordion"),i.Wb(48,"mat-expansion-panel",7),i.Wb(49,"mat-expansion-panel-header"),i.Wb(50,"mat-panel-title"),i.Wb(51,"mat-icon"),i.Jc(52,"cloud_queue"),i.Vb(),i.Wb(53,"span"),i.bc(54,vj),i.Vb(),i.Vb(),i.Vb(),i.Wb(55,"mat-list-item"),i.Wb(56,"a",11),i.Wb(57,"mat-icon"),i.Jc(58,"computer"),i.Vb(),i.Wb(59,"span"),i.Jc(60,"Web SSH"),i.Vb(),i.Vb(),i.Vb(),i.Ic(61,Gj,6,0,"mat-list-item",3),i.Ic(62,$j,6,0,"mat-list-item",3),i.Wb(63,"mat-list-item"),i.Wb(64,"a",12),i.Wb(65,"mat-icon"),i.Jc(66,"check_circle_outline"),i.Vb(),i.Wb(67,"span"),i.bc(68,yj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Wb(69,"mat-accordion"),i.Wb(70,"mat-expansion-panel",7),i.Wb(71,"mat-expansion-panel-header"),i.Wb(72,"mat-panel-title"),i.Wb(73,"mat-icon"),i.Jc(74,"assignment"),i.Vb(),i.Wb(75,"span"),i.bc(76,kj),i.Vb(),i.Vb(),i.Vb(),i.Wb(77,"mat-list-item"),i.Wb(78,"a",13),i.Wb(79,"mat-icon"),i.Jc(80,"blur_on"),i.Vb(),i.Wb(81,"span"),i.bc(82,wj),i.Vb(),i.Vb(),i.Vb(),i.Wb(83,"mat-list-item"),i.Wb(84,"a",14),i.Wb(85,"mat-icon"),i.Jc(86,"blur_on"),i.Vb(),i.Wb(87,"span"),i.bc(88,Cj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Rb(89,"mat-divider"),i.Ic(90,Zj,6,0,"mat-list-item",3),i.Rb(91,"mat-divider"),i.Wb(92,"mat-list-item"),i.Wb(93,"a",15),i.jc("click",(function(){return i.Cc(n),i.nc().toggleSidenav()})),i.Wb(94,"mat-icon"),i.Jc(95,"navigate_before"),i.Vb(),i.Wb(96,"span"),i.bc(97,Sj),i.Vb(),i.Vb(),i.Vb(),i.Vb(),i.Vb()}if(2&e){var r=i.nc();i.sc("opened",r.showSidenav),i.Cb(10),i.sc("expanded",!0),i.Cb(19),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(8),i.sc("expanded",!0),i.Cb(7),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(2),i.sc("expanded",!0),i.Cb(13),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(1),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin),i.Cb(8),i.sc("expanded",!0),i.Cb(20),i.sc("ngIf",1==r.rpcService.auth_user.is_super_admin)}}function Qj(e,t){if(1&e){var n=i.Yb();i.Wb(0,"div"),i.Wb(1,"button",23),i.jc("click",(function(){return i.Cc(n),i.nc().toggleSidenav()})),i.Wb(2,"mat-icon"),i.Jc(3,"navigate_next"),i.Vb(),i.Wb(4,"span"),i.bc(5,Ej),i.Vb(),i.Vb(),i.Vb()}}fj=$localize(_templateObject307()),pj=$localize(_templateObject308()),mj=$localize(_templateObject309()),_j=$localize(_templateObject310()),bj=$localize(_templateObject311()),gj=$localize(_templateObject312()),vj=$localize(_templateObject313()),yj=$localize(_templateObject314()),kj=$localize(_templateObject315()),wj=$localize(_templateObject316()),Cj=$localize(_templateObject317()),Sj=$localize(_templateObject318()),xj=$localize(_templateObject319()),Mj=$localize(_templateObject320()),Lj=$localize(_templateObject321()),Oj=$localize(_templateObject322()),Dj=$localize(_templateObject323()),Tj=$localize(_templateObject324()),Aj=$localize(_templateObject325()),Ej=$localize(_templateObject326());var eY,tY,nY,iY,rY,aY,oY,sY,cY,lY,uY,dY,hY,fY,pY,mY,_Y,bY,gY,vY,yY,kY=((tY=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.rpcService=n,this.position="right",this.showSidenav=!0}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"toggleSidenav",value:function(){this.showSidenav=!this.showSidenav}}]),e}()).\u0275fac=function(e){return new(e||tY)(i.Pb(As),i.Pb(Ec))},tY.\u0275cmp=i.Jb({type:tY,selectors:[["app-root"]],decls:9,vars:2,consts:[[1,"sidenav-container"],["mode","side","class","sidenav","role","navigation",3,"opened","openedChange",4,"ngIf"],["role","region",1,"content"],[4,"ngIf"],["mode","side","role","navigation",1,"sidenav",3,"opened","openedChange"],["sidenav",""],["routerLink","/dashboard"],[1,"nav-panel",3,"expanded"],["routerLink","/certificates"],["routerLink","/applications"],["routerLink","/usermgmt"],["routerLink","/webssh"],["routerLink","/health"],["routerLink","/logs"],["routerLink","/cclogs"],[3,"click"],["routerLink","/forwarding"],["routerLink","/waf"],["routerLink","/cc"],["routerLink","/ip-policy"],["routerLink","/nodes"],["routerLink","/api-interface"],["routerLink","/settings"],[1,"btn_shownav",3,"click"]],template:function(e,t){1&e&&(i.Ub(0),i.Rb(1,"app-navbar"),i.Rb(2,"app-messages"),i.Wb(3,"mat-sidenav-container",0),i.Ic(4,Xj,98,12,"mat-sidenav",1),i.Wb(5,"mat-sidenav-content",2),i.Ic(6,Qj,6,0,"div",3),i.Rb(7,"router-outlet"),i.Vb(),i.Vb(),i.Rb(8,"app-footer"),i.Tb()),2&e&&(i.Cb(4),i.sc("ngIf",t.rpcService.auth_user.logged),i.Cb(2),i.sc("ngIf",0==t.showSidenav))},directives:[zI,JI,Hj,z,Vj,Ws,Nj,Wj,gS,CS,Es,Mb,tv,Xg,Qg,ev,Qb],styles:[".sidenav-container[_ngcontent-%COMP%]{min-height:800px}.sidenav[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:top;align-items:top;-webkit-box-pack:center;justify-content:center;width:210px}mat-icon[_ngcontent-%COMP%]{font-size:14px;vertical-align:middle}.mat-sidenav[_ngcontent-%COMP%]{background-color:#e5e5e5}.mat-list-item[_ngcontent-%COMP%]{font-size:12px;font-family:Arial Narrow,Arial,sans-serif;padding-top:1px}.btn_shownav[_ngcontent-%COMP%]{margin-top:2px;padding:10px 5px;border:0;height:36px}.mat-sidenav[_ngcontent-%COMP%], .nav-panel[_ngcontent-%COMP%]{background-color:#f5f5f5}.nav-panel[_ngcontent-%COMP%]{padding:0}.sub_list[_ngcontent-%COMP%]{margin:0}.mat-expansion-panel-header[_ngcontent-%COMP%]{padding:0 16px;font-size:12px}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]:last-of-type{border-radius:0}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%], .mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{height:32px} .mat-expansion-panel-body{padding:0 12px!important}mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none!important}"]}),tY),wY=((eY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:eY}),eY.\u0275inj=i.Mb({factory:function(e){return new(e||eY)},imports:[[cd,Gd],cd]}),eY),CY={provide:new i.r("mat-autocomplete-scroll-strategy"),deps:[qm],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},SY=((nY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:nY}),nY.\u0275inj=i.Mb({factory:function(e){return new(e||nY)},providers:[CY],imports:[[Dh,Xm,cd,ae],Dh,cd]}),nY),xY=new i.r("mat-chips-default-options"),MY={separatorKeyCodes:[13]},LY=((dY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:dY}),dY.\u0275inj=i.Mb({factory:function(e){return new(e||dY)},providers:[Ed,{provide:xY,useValue:MY}]}),dY),OY=((uY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:uY}),uY.\u0275inj=i.Mb({factory:function(e){return new(e||uY)},imports:[[Bd,cd],Bd,cd]}),uY),DY=((lY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:lY}),lY.\u0275inj=i.Mb({factory:function(e){return new(e||lY)},imports:[[ae,cd],cd]}),lY),TY=((cY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:cY}),cY.\u0275inj=i.Mb({factory:function(e){return new(e||cY)},imports:[[cd,ae],cd]}),cY),AY=((sY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:sY}),sY.\u0275inj=i.Mb({factory:function(e){return new(e||sY)},imports:[[ae,cd],cd]}),sY),EY=((oY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:oY}),oY.\u0275inj=i.Mb({factory:function(e){return new(e||oY)}}),oY),PY=((aY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:aY}),aY.\u0275inj=i.Mb({factory:function(e){return new(e||aY)},imports:[[EY,Gd,cd,vu],EY,cd]}),aY),RY=((rY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:rY}),rY.\u0275inj=i.Mb({factory:function(e){return new(e||rY)},imports:[[Xm,dm,ae,gf,cd],cd]}),rY),IY=((iY=function e(){_classCallCheck(this,e),this.changes=new dr.a,this.sortButtonLabel=function(e){return"Change sorting for ".concat(e)}}).\u0275fac=function(e){return new(e||iY)},iY.\u0275prov=Object(i.Lb)({factory:function(){return new iY},token:iY,providedIn:"root"}),iY),jY={provide:IY,deps:[[new i.B,new i.K,IY]],useFactory:function(e){return e||new IY}},YY=((pY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:pY}),pY.\u0275inj=i.Mb({factory:function(e){return new(e||pY)},providers:[jY],imports:[[ae]]}),pY),VY=((fY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:fY}),fY.\u0275inj=i.Mb({factory:function(e){return new(e||fY)},imports:[[Kc]]}),fY),WY=((hY=function e(){_classCallCheck(this,e),this.changes=new dr.a,this.optionalLabel="Optional"}).\u0275fac=function(e){return new(e||hY)},hY.\u0275prov=Object(i.Lb)({factory:function(){return new hY},token:hY,providedIn:"root"}),hY),FY={provide:WY,deps:[[new i.B,new i.K,WY]],useFactory:function(e){return e||new WY}},HY=((yY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:yY}),yY.\u0275inj=i.Mb({factory:function(e){return new(e||yY)},providers:[FY,Ed],imports:[[cd,ae,dm,gf,VY,Lb,Gd],cd]}),yY),BY=((vY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:vY}),vY.\u0275inj=i.Mb({factory:function(e){return new(e||vY)},imports:[[_y]]}),vY),zY=((gY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:gY}),gY.\u0275inj=i.Mb({factory:function(e){return new(e||gY)},imports:[[_y]]}),gY),NY=((bY=function(){function e(t,n){_classCallCheck(this,e),se(n)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return _createClass(e,null,[{key:"withConfig",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:e,providers:t.serverLoaded?[{provide:yy,useValue:Object.assign(Object.assign({},vy),t)},{provide:wy,useValue:n,multi:!0},{provide:ky,useValue:!0}]:[{provide:yy,useValue:Object.assign(Object.assign({},vy),t)},{provide:wy,useValue:n,multi:!0}]}}}]),e}()).\u0275mod=i.Nb({type:bY}),bY.\u0275inj=i.Mb({factory:function(e){return new(e||bY)(i.fc(ky),i.fc(i.C))},imports:[[Pk,BY,zY],Pk,BY,zY]}),bY),UY=((_Y=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:_Y}),_Y.\u0275inj=i.Mb({factory:function(e){return new(e||_Y)},imports:[nu,SY,gf,wY,df,mv,LY,BM,Hx,iv,sp,OY,Lb,Mp,SS,WI,Ad,ib,DY,TY,hE,Gd,w_,zj,AY,PY,RY,YY,Xh,eD,IR,B_,HY]}),_Y),qY=((mY=function e(){_classCallCheck(this,e)}).\u0275mod=i.Nb({type:mY,bootstrap:[kY]}),mY.\u0275inj=i.Mb({factory:function(e){return new(e||mY)},providers:[Tc,Ec,{provide:v,useClass:M}],imports:[[UY,$e,pt,NY,fi,ur,aI,GE]]}),mY);Object(i.T)(),Ke().bootstrapModule(qY).catch((function(e){return console.log(e)}))},zZGF:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},zavE:function(e,t,n){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},zx6S:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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] [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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]); \ No newline at end of file diff --git a/static/janusec-admin/polyfills-es2015.1e29effa56bec4fa8b35.js b/static/janusec-admin/polyfills-es2015.1e29effa56bec4fa8b35.js deleted file mode 100644 index eca866a..0000000 --- a/static/janusec-admin/polyfills-es2015.1e29effa56bec4fa8b35.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+lvF":function(e,t,n){e.exports=n("VTer")("native-function-to-string",Function.toString)},"+rLv":function(e,t,n){var o=n("dyZX").document;e.exports=o&&o.documentElement},"0/R4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"0YWM":function(e,t,n){var o=n("EemH"),r=n("OP3Y"),i=n("aagx"),a=n("XKFU"),s=n("0/R4"),c=n("y3w9");a(a.S,"Reflect",{get:function e(t,n){var a,l,u=arguments.length<3?t:arguments[2];return c(t)===u?t[n]:(a=o.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:s(l=r(t))?e(l,n,u):void 0}})},"1uSB":function(e,t,n){"use strict";(function(e){function o(e){const t=function(e){let t="";for(let n=0;n=55296&&o<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,o=(o-55296<<10)+t-56320+65536)}o<=127?t+=String.fromCharCode(o):o<=2047?t+=String.fromCharCode(o>>6&31|192,63&o|128):o<=65535?t+=String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128):o<=2097151&&(t+=String.fromCharCode(o>>18&7|240,o>>12&63|128,o>>6&63|128,63&o|128))}return t}(e);let n=i(t,0),o=i(t,102072);return 0!=n||0!=o&&1!=o||(n^=319790063,o^=-1801410264),[n,o]}function r(e,t=""){let n=o(e);if(t){const e=o(t);n=function(e,t){const n=e[0],o=t[0],r=l(e[1],t[1]),i=r[0],a=r[1];return[c(c(n,o),i),a]}(function(e,t){const n=e[0],o=e[1];return[n<<1|o>>>31,o<<1|n>>>31]}(n),e)}return function(e){let t="",n="1";for(let o=e.length-1;o>=0;o--)t=h(t,d(f(e,o),n)),n=d(256,n);return t.split("").reverse().join("")}([2147483647&n[0],n[1]].reduce((e,t)=>e+function(e){let t="";for(let n=0;n<4;n++)t+=String.fromCharCode(e>>>8*(3-n)&255);return t}(t),""))}function i(e,t){let n,o=2654435769,r=2654435769;const i=e.length;for(n=0;n+12<=i;n+=12){o=c(o,p(e,n,s.Little)),r=c(r,p(e,n+4,s.Little));const i=a(o,r,t=c(t,p(e,n+8,s.Little)));o=i[0],r=i[1],t=i[2]}return o=c(o,p(e,n,s.Little)),r=c(r,p(e,n+4,s.Little)),t=c(t,i),a(o,r,t=c(t,p(e,n+8,s.Little)<<8))[2]}function a(e,t,n){return e=u(e,t),e=u(e,n),e^=n>>>13,t=u(t,n),t=u(t,e),t^=e<<8,n=u(n,e),n=u(n,t),n^=t>>>13,e=u(e,t),e=u(e,n),e^=n>>>12,t=u(t,n),t=u(t,e),t^=e<<16,n=u(n,e),n=u(n,t),n^=t>>>5,e=u(e,t),e=u(e,n),e^=n>>>3,t=u(t,n),t=u(t,e),t^=e<<10,n=u(n,e),n=u(n,t),[e,t,n^=t>>>15]}n.d(t,"a",(function(){return r})),"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var s=function(e){return e[e.Little=0]="Little",e[e.Big=1]="Big",e}({});function c(e,t){return l(e,t)[1]}function l(e,t){const n=(65535&e)+(65535&t),o=(e>>>16)+(t>>>16)+(n>>>16);return[o>>>16,o<<16|65535&n]}function u(e,t){const n=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(n>>16)<<16|65535&n}function f(e,t){return t>=e.length?0:255&e.charCodeAt(t)}function p(e,t,n){let o=0;if(n===s.Big)for(let r=0;r<4;r++)o+=f(e,t+r)<<24-8*r;else for(let r=0;r<4;r++)o+=f(e,t+r)<<8*r;return o}function h(e,t){let n="";const o=Math.max(e.length,t.length);for(let r=0,i=0;r=10?(i=1,n+=o-10):(i=0,n+=o)}return n}function d(e,t){let n="",o=t;for(;0!==e;e>>>=1)1&e&&(n=h(n,o)),o=h(o,o);return n}}).call(this,n("aWmh"))},"2OiF":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"3xty":function(e,t,n){var o=n("XKFU"),r=n("2OiF"),i=n("y3w9"),a=(n("dyZX").Reflect||{}).apply,s=Function.apply;o(o.S+o.F*!n("eeVq")((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var o=r(e),c=i(n);return a?a(o,t,c):s.call(o,t,c)}})},"4R4u":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5:function(e,t,n){e.exports=n("hN/g")},"5yqK":function(e,t){"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))?function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,o=arguments.length;for(n=0;nc;)o.f(e,n=a[c++],t[n]);return e}},I5cv:function(e,t,n){var o=n("XKFU"),r=n("Kuth"),i=n("2OiF"),a=n("y3w9"),s=n("0/R4"),c=n("eeVq"),l=n("8MEG"),u=(n("dyZX").Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));o(o.S+o.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(l.apply(e,o))}var c=n.prototype,h=r(s(c)?c:Object.prototype),d=Function.apply.call(e,h,t);return s(d)?d:h}})},IlFx:function(e,t,n){var o=n("XKFU"),r=n("y3w9"),i=Object.isExtensible;o(o.S,"Reflect",{isExtensible:function(e){return r(e),!i||i(e)}})},Iw71:function(e,t,n){var o=n("0/R4"),r=n("dyZX").document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},JiEa:function(e,t){t.f=Object.getOwnPropertySymbols},K0xU:function(e,t,n){var o=n("VTer")("wks"),r=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(e.exports=function(e){return o[e]||(o[e]=a&&i[e]||(a?i:r)("Symbol."+e))}).store=o},KroJ:function(e,t,n){var o=n("dyZX"),r=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),s=n("+lvF"),c=(""+s).split("toString");n("g3g5").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(i(n,"name")||r(n,"name",t)),e[t]!==n&&(l&&(i(n,a)||r(n,a,e[t]?""+e[t]:c.join(String(t)))),e===o?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},Kuth:function(e,t,n){var o=n("y3w9"),r=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),s=function(){},c=function(){var e,t=n("Iw71")("iframe"),o=i.length;for(t.style.display="none",n("+rLv").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("